skip to navigation
skip to content

Not Logged In

pda 0.1.5

A command line tool managing all sorts of TODO lists

Latest Version: 0.3.0.2

pda is a command line tool used to manage useful lists in your daily ife - such as TODO, TOLEARN and TOREAD lists, etc. You can use it to create as many lists as you want.

Install

$ sudo pip install pda

Or (but not recommended):

$ sudo easy_install pda

Synopsis

List names can be any string you want, personally I have todo, tolearn and toread as available list names. List data is always stored locally. And, depends on the configuration setting in your configuration file (~/.pdaconfig), list data can also be synced to Github Issue and accessed through pda; that is how you make your todo list(s) portable via web interface.

If no configuration file is provided, pda assumes it is to be used in local mode; in other words, list data only stored locally.

For more detailed usage:

CREATE tasks

To add (-a option) a task in a list. If list with listname has not yet created, this command will automatically create such list in database. See example below:

# Command format:
#
# $ pda -a <task summary text> <-t PERIOD> <-p PRIORITY> <listname>
#
# ===> add a task in a list named <listname>
#
# <-t> specifies the time frame this task is scheduled to
#      allowed values are => d (day), w (week), m (month), s (season), y (year)
#
# <-p> specifies the priority of this task
#      allowed values are => 1 (low), 2 (medium), 3 (high), 4 (must), 5 (urgmust)

$ pda -a 'wash dishes' -t d -p 4 todo

UPDATE tasks

All the attributes of a task can be changed to the specified values in the options. If a value with an option is not specified in the command, then the corresponding attribute in list will stay unchanged.

# Command format:
#
# $ pda -r <N>
#
# ===> delete a task numbered <N>

$ pda -r 5

# Command format:
#
# $ pda -e <N> -s <task summary text> <-t PERIOD> <-p PRIORITY> <listname>
#
# ===> update a task numbered <N> in a list named <listname>
#
# <-s> specifies the NEW task summary
#
# <-t> specifies the NEW time frame this task is scheduled to
#      allowed values are => d (day), w (week), m (month), s (season), y (year)
#
# <-p> specifies the NEW priority of this task
#      allowed values are => 1 (low), 2 (medium), 3 (high), 4 (must), 5 (urgmust)
#
# <lisname> specifies the NEW list this task belongs to

$ pda -e 3 -s 'vacuum floor this week' -t w

QUERY lists

To list ALL the tasks stored in the database:

$ pda

To list ALL the tasks belongs to the list named todo:

$ pda todo

To list ALL the tasks belongs to time frame month:

$ pda -tm

To list ALL the tasks which have priority urgmust (urgent must):

$ pda -p5

To list ALL the tasks which belongs to time frame week and have priority high and belongs to the list named toread:

$ pda -tw -p3 toread

Release History

0.1.4 (2014-04-01)

  • Fixed broken reStructuredText.

0.1.3 (2014-04-01)

  • Removed unused import PdaConfig.
  • Fixed sync_remote_dbstore method bug for transition between local mode and remote mode.
  • Fixed max_task_number attribute getter for shelve is empty.

0.1.2 (2014-03-31)

  • Fixed format string bug (#50) to be compatible with python 2.6.

0.1.1 (2014-03-30)

  • Removed debugging assert statements.

0.1.0 (2014-03-30)

  • Birth!
 
File Type Py Version Uploaded on Size
pda-0.1.5-py27-none-any.whl (md5) Python Wheel py27 2014-04-04 13KB
pda-0.1.5.tar.gz (md5) Source 2014-04-04 13KB
  • Downloads (All Versions):
  • 97 downloads in the last day
  • 358 downloads in the last week
  • 2135 downloads in the last month