Skip to main content

todotxt interactive interface that forces you to specify attributes

Project description

full-todotxt

PyPi version Python 3.8|3.9|3.10|3.11

todotxt interactive interface that forces you to specify certain attributes.

demo gif

For each todo, you have to specify at least one project tag (e.g. +work) and a priority (A).

Though not required for each todo, it will prompt you want to specify a deadline, which will store a deadline key-value pair to the todo with the datetime as the value.

For example:

(A) measure space for shelving +home deadline:2020-05-13-15-30

... which specifies 2020-05-13 at 3:30PM.

If the todo.txt file is not provided as the first argument, it tries to guess based on typical locations

The my.todotxt.active module in HPI parses the deadline back into python:

$ hpi query my.todotxt.active.todos -s | jq 'select(.deadline) | .raw' -r
(C) 2023-10-01 drink water +self deadline:2023-10-02T00-00-0700

Installation

Requires:

python3.8+

To install with pip, run:

python3 -m pip install full-todotxt

Usage

Usage: full_todotxt [OPTIONS] [TODOTXT_FILE]

  If TODOTXT_FILE is not specified, the environment variable FULL_TODOTXT_FILE will be used.

Options:
  --add-due / --no-add-due        Add due: key/value flag based on deadline:  [default: no-add-due]
  -t, --time-format TEXT          Specify a different time format for deadline:  [env var: FULL_TODOTXT_TIME_FORMAT;
                                  default: %Y-%m-%d-%H-%M]
  -f, --full-screen / -p, --prompts
                                  Use prompts or the full screen dialog editor [default: full-screen]
  -h, --help                      Show this message and exit.

This checks many possible locations for the todo.txt file:

  • TODOTXT_FILE passed to full_todotxt
  • $FULL_TODOTXT_FILE environment variable
  • $TODO_DIR/todo.txt
  • $XDG_CONFIG_HOME/todo/todo.txt
  • ~/.config/todo/todo.txt
  • ~/.todo/todo.txt
  • ~/.todo.txt
  • ~/todo.txt

Project details


Download files

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

Source Distribution

full_todotxt-0.2.4.tar.gz (7.1 kB view details)

Uploaded Source

Built Distribution

full_todotxt-0.2.4-py3-none-any.whl (7.8 kB view details)

Uploaded Python 3

File details

Details for the file full_todotxt-0.2.4.tar.gz.

File metadata

  • Download URL: full_todotxt-0.2.4.tar.gz
  • Upload date:
  • Size: 7.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.5

File hashes

Hashes for full_todotxt-0.2.4.tar.gz
Algorithm Hash digest
SHA256 e63c3fcfd8785628c7008da1f683477bfef0bfbdffab47aaae404adde607c885
MD5 9b5425576af323c1d61cad907fb3cd59
BLAKE2b-256 55d9aace5d040dad9c8192848d4afdbeea3598a067115b5087285ad80241d926

See more details on using hashes here.

File details

Details for the file full_todotxt-0.2.4-py3-none-any.whl.

File metadata

File hashes

Hashes for full_todotxt-0.2.4-py3-none-any.whl
Algorithm Hash digest
SHA256 327295569d56ea738e199a719cc987c2557026c7cfc7adcefddba64ec2219ca8
MD5 4c99f7c2742e8a7c419912cb3db0f4a2
BLAKE2b-256 cf85791585336961d0946efcac0c57170b2bd5510a1222cd22fb98fb4772bb5c

See more details on using hashes here.

Supported by

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