Skip to main content
Join the official 2019 Python Developers SurveyStart the survey!

A simple personal task queue to track todo items

Project description

Tasks

Proof of concept for a simple task queue, with a focus on UX and clean internal design.

Screenshot of a tasks session

Tasks can be installed through pip: pip3 install tasks, run with tasks.

Status for i3

Follow these steps to add the output of status to your i3 status bar.

  1. Set up a cron job (crontab -e) that saves the status every minute.

    * * * * * /path/to/tasks status > $HOME/.tasks.status
    
  2. Configure i3 to use the provided status wrapper (installed alongside the tasks command.)

    ...
        status_command tasks-i3status
    ...
    

Automatic standup email

The standup command shows (among other things) recently completed items. One use case is to send this list to your phone to have it ready for a daily standup. The repo contains a script (under scripts) to send stdin as an email with Mailgun which you can then combine with a cron job as follows.

API_KEY=...
DOMAIN=...
EMAIL=...
30 9 * * tue,wed,thu,fri /path/to/tasks standup 1 | /path/to/mailgun.sh
30 9 * * mon /path/to/tasks standup 3 | /path/to/mailgun.sh

Development

To get started, have a look at the todo items for this project.

make dev_install  # one-time setup
make todo

Contributing

Pull requests are welcome. Please do keep in mind that the code is heavily inspired by the Elm architecture and consider the following guidelines.

  • Avoid mutation whenever possible, take advantage of PEP 448 to create updated versions of collections instead.
  • Side effects (and only side effects) should be in main.py; all other modules should be limited to pure code.
  • Avoid classes unless you have a really good reason for them (the code does not have any classes at the moment.)

Project details


Download files

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

Files for tasks, version 2.5.0
Filename, size File type Python version Upload date Hashes
Filename, size tasks-2.5.0-py3-none-any.whl (10.6 kB) File type Wheel Python version py3 Upload date Hashes View hashes
Filename, size tasks-2.5.0.tar.gz (7.5 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page