Skip to main content

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)

  1. Navigate to the root directory of this repository

  2. pip install -e .

  3. Now, you can use tudo list etc. while still applying changes to the underlaying source code

  4. To uninstall, use pip uninstall tudo

How to publish to PyPi (already done)

  1. 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)

  2. Register the package with python setup.py register -r <testpypi|pypi> (see https://packaging.python.org/distributing/#register-your-project)

  1. 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.

  1. Upload the package with twine upload dist/* -r <testpypi|pipy> (see https://wiki.python.org/moin/TestPyPI)

  2. Install the package with pip install [-i https://testpypi.python.org/pypi] tudo

  3. 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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

tudo-0.1.0.dev6-py3-none-any.whl (8.1 kB view details)

Uploaded Python 3

File details

Details for the file tudo-0.1.0.dev6-py3-none-any.whl.

File metadata

File hashes

Hashes for tudo-0.1.0.dev6-py3-none-any.whl
Algorithm Hash digest
SHA256 9fea19245964f3e6d36056f248b3a0b066246942d39646c7ac998a82e3c0383a
MD5 8a8b3cf55a65427c7096dd9363fe4e8a
BLAKE2b-256 8ffbe1457590a3411c592553d2e74c39e4fdb37da9ca6da2eb025e431a1605a2

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page