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
Metadata
Release files for todo.py 0.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| todo.py-0.3.tar.gz | 27.5 kB | Without provenance | Details for todo.py-0.3.tar.gz |
Release files / todo.py-0.3.tar.gz
| Download URL | todo.py-0.3.tar.gz |
|---|---|
| Size | 27.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
479884d93620518f403f111aa975113b363c48923b3e8cb74928ce434660116f
|
|
BLAKE2b-256 checksum How to use checksums |
068af86adaa16dc010304cde2d93d04039e041732090e2b8289fe23cd7f05d28
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for todo.py 0.3
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.