Git Product home page Git Product logo

wyrd-core's Introduction

wyrd-core

The core part of the program

Installation

Nothing is needed to install the program, just pulling it from the repo. However, it has a few prerequisites in order to run:

Files

deadline.py
Not used yet. This module should define the Deadline class.
grouping.py
Defines groupings of SOEs (StateOrEvents). They are used as prerequisites of tasks, and can be used to capture structure of more complex tasks or plans.
person.py
Not used yet. This module will handle users' identities.
scheduler.py
Not used yet. This module will take care of scheduling tasks into the time available.
task.py
Defines State, Event, Task, and a few other concepts. Especially the Task class is used heavily in the program as of now.
util.py
Utility functions.
worktime.py
Implements classes related to time and work slots, namely Interval and WorkSlot.
wyrdin.py
The main module of the program. Defines the user session using Session (the class) and session (a global variable), and handles parsing the command line.
backend/generic.py
Defines DBObject as an object with a unique ID assigned. All serializable classes that hold user's data should extend DBObject.
backend/xml.py
Handles writing user's data to XML files and reading the data back from those files.
frontend/cli.py
Implements the command-line user interface.
nlp/parsers.py
Provides methods for parsing objects used in the program from strings.

wyrd-core's People

Contributors

mkorvas avatar richardlitt avatar

Watchers

 avatar  avatar  avatar

wyrd-core's Issues

JSON backend

Implement a JSON backend, parallel to the current XML backend.

Profile and optimise (run the program indefinitely?)

Each run of wyrdin is getting slower (compared to earlier versions). This should be redeemed by optionally running a profiler to identify the culprit, and then either optimising the code in its current functionality, or perhaps running the program in a cycle, indefinitely. The latter option seems favourable, as it would be natural to run WyrdIn that way anyway, and it would cancel the need of repeated imports for each command.

Switching backends

Allow for switching from one backend to another one (to read for instance pickled data and save them as XML).

DST in timezone

Handle DST (daylight savings time) in timezone information correctly. So far, it is ignored.

Document installation

Continuously document what issues can arise during installation, and how to solve them.

`status' command breaking in a basic use case

In the python3.1 branch, the status command is getting a Task object where it is expecting a WorkSlot. This causes the program to break down when called with the `status' command.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.