Python version of Gina Trapani's popular bash script.
Project description
todo.py
A port of the popular todo.txt-cli project from bash to python.
Dependencies
This only requires GitPython if you want to have todo.py also manage a git repository which tracks the related files. Running the script once will give you the URL to download it. Please note that GitPython is written for git --version 1.7.2+.
If you’re on Windows and running the script out of cmd.exe, install colorama for ‘termcolor’ support.
Installation
From the repo
If you want to install the copy locally (i.e. to a personal directory) you can simply download one of the packages and run the install.sh script.
Be sure to run ./install.sh -h first. You can decide where you would like the script installed (the default is $HOME/bin/) and where you would like an alias for the script, e.g., t or tpy, written (the default is $HOME/.bashrc).
Using pypi
If you would prefer a system-wide installation, you can use install todo.py from PyPi like so:
$ pip install todo.py
Be aware that making a system-wide installation will not automattically create an alias for your use. You will have to edit either your .bashrc or .bash_profile (or respective shell configuration filse) to include something along the lines of:
alias t='$HOME/bin/todo.py'
Hacking
Enjoy, contribute, and feel free to clone. I’m doing this blind [1] as best as possible for fun.
Important Information
History
0.3
Add add-on functionality!
Add colorama support for users using the script in cmd.exe on Windows
Add tests for get_config()
Add @usage decorator for actions
Add unittests for the @usage decorator
Add sample_addons directory with Matt Stave’s suggestions
PEP257 (Docstring) compliance
Help documentation automattically generated
Fix rare occurrence where script whips out todo.txt file
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.