Giter Club home page Giter Club logo

holygrail's Introduction

HolyGrail

http://worlddomination.be/holygrail

HolyGrail aims to be a base library to interact with a todo (missions) database. It provides a simple interface allowing you to interact with your todo in several ways. It's a GTD (getting things done) oriented approach.

This means that you can create and use whatever client you like (on the same db) and even use multiple interfaces on the same database (ie: cli, mail, web application etc).

Yes, this is nerdy and I like it.

My main inspiration is Tracks (getontracks.org).

This database handle:
  • missions (todos)
  • quests (projects)
  • realms (contexts)

and all operations on them via one main class: Grail.

I found the todo/project/context vocabulary boring and non motivating so I've chose to use the medieval one.

If you like tracks main view, I have written a main_view method that recreate this behavior.

For the moment their isn't any released client but I'm working on a ncurse one (I have also a really dirty cli client).

Installation

(sudo) python setup.py install

Create a ~/.holygrailrc file and add:

[holygrail]
uri=value # according to http://www.sqlobject.org/SQLObject.html#declaring-a-connection

For example for sqlite:

uri=sqlite:/home/user/.holygrail.db

or for mysql (don't forget to create the username/database etc ...):

uri=mysql://username:password@localhost/database

If you have questions, bugs etc ... ping me on irc.freenode.net, nick Bram, or mail me at <[email protected]>

Tests

cd holygrail && python test_holygrail.py

Or use nosetests/py.test.

Changelog

  • 0.2.1 Perceval
    • Various doc updates and rehosting of the project on github
    • also: wheels
  • 0.2 Perceval
    • API change: now every list_* methods return a generator, not a list. This increase the performances.
    • API change: last_completed_missions return only 5 missions by default, an argument can increase this number
    • fix a bug with quest and realm "get_missions" method that won't return any missions if the quest/realm is hidden
    • refactoring and various tests
  • 0.1.2
    • fix fail import on privates class
  • 0.1.1
    • get_missions() of realm and project now respect missions visibility and have an "all_mission attribute"
    • due missions in the super main view are now correctly sorted
    • unittests and refactoring for the super main view
    • when the database isn't specify in the config file, give an url who point to some help
    • update the remove method of realm description
    • remove method of a realm update the positions of the realms
    • list_realms(all_realms=True) now respect realms positions
  • 0.1 Galahad
    • first release

holygrail's People

Contributors

psycojoker avatar

Watchers

 avatar

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.