A simple command-line based TODO-app in Python
Project description
A simple command-line based TODO-app in Python
Commands
main.py add <task_description> <...>: Add new tasks. Default priorities: Important = No/0, Urgent = No/0
main.py add --prio <task_description> <important_val> <urgent_val> <...>: Add new tasks with non-default priorities (possible priority values: 0 => No, 1 => Yes)
main.py list: List all non-finished tasks
main.py list all: List all tasks including the finished ones
main.py list --prio [all] <important_val> <urgent_val>: List tasks, filter for specific important/urgent values
main.py rm <task_id> <...>: Delete tasks
main.py done <task_id> <...>: Set a task as done/finished
main.py stats: Display number of finished tasks per day
main.py eisenhower: Display open tasks in an Eisenhower matrix according to set priorities (see https://en.wikipedia.org/wiki/Time_management#The_Eisenhower_Method)
How to continue development (tested on Windows)
Navigate to the root directory of this repository
pip install -e .
Now, you can use tudo list etc. while still applying changes to the underlaying source code
To uninstall, use pip uninstall tudo
How to publish to PyPi (already done)
Register on PyPi (or, for tests, on TestPyPi) the and create a personal .pypirc file in your HOME directory (see https://packaging.python.org/distributing/#create-an-account)
Register the package with python setup.py register -r <testpypi|pypi> (see https://packaging.python.org/distributing/#register-your-project)
Attention: This does not work with the live PyPi version (Server response (410): This API is no longer supported, instead simply upload the file.). Using the register form (https://pypi.python.org/pypi?%3Aaction=submit_form) works.
Upload the package with twine upload dist/* -r <testpypi|pipy> (see https://wiki.python.org/moin/TestPyPI)
Install the package with pip install [-i https://testpypi.python.org/pypi] tudo
To uninstall, use pip uninstall tudo
Also probably a good guide: http://peterdowns.com/posts/first-time-with-pypi.html
Open issues
database.db is currently created & saved in the same directory from where the tudo command was executed (leads to multiple database.db files). But our app should always use the same database location! (What is a good location? The user directory?)
Editing tasks
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 Distributions
Built Distribution
Hashes for tudo-0.1.0.dev6-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9fea19245964f3e6d36056f248b3a0b066246942d39646c7ac998a82e3c0383a |
|
MD5 | 8a8b3cf55a65427c7096dd9363fe4e8a |
|
BLAKE2b-256 | 8ffbe1457590a3411c592553d2e74c39e4fdb37da9ca6da2eb025e431a1605a2 |