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.
Source Distribution
File details
Details for the file todo.py-0.3.tar.gz
.
File metadata
- Download URL: todo.py-0.3.tar.gz
- Upload date:
- Size: 27.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 479884d93620518f403f111aa975113b363c48923b3e8cb74928ce434660116f |
|
MD5 | daa2d0ccbb9349b739f539aa252d79c5 |
|
BLAKE2b-256 | 068af86adaa16dc010304cde2d93d04039e041732090e2b8289fe23cd7f05d28 |