Skip to main content

A Glorified TODO list

Project description

Track prioritized notes with this glorified TODO list.

Installation

Use pip to install Backlog.

pip install backlog

Usage

Backlog can be invoked from a command-line or imported in Python.

CLI

$ backlog --help
Usage: backlog [OPTIONS] COMMAND [ARGS]...

  Manage a Backlog.

Options:
  --path PATH  Specify the path to use for the backlog file.
  --version    Show the version and exit.
  --help       Show this message and exit.

Commands:
  add     Add an entry to the backlog.
  random  Select a random entry from the backlog.
  remove  Remove entries from the backlog.
  show    Show entries in the backlog.
$ backlog add --priority 100 'Pay the water bill'
$ backlog add --priority 200 --note "eggs, bread, milk" 'Buy groceries'
$ backlog add 'Clean out the freezer'
$ backlog show
total 3
Pay the water bill             100
Buy groceries                  200  eggs, bread, milk
Clean out the freezer            0
$ backlog random
Buy groceries
priority: 200
eggs, bread, milk
$ backlog show --pattern bill
total 1
Pay the water bill             100

API

>>> from backlog import Backlog
>>> help(Backlog)
>>> backlog = Backlog(
...     entries=[
...         Backlog.Entry('Pay the water bill', priority=100),
...         Backlog.Entry('Buy groceries', priority=200, note='eggs, bread, milk'),
...         Backlog.Entry('Clean out the freezer'),
...     ],
... )
>>> backlog.random()
Backlog.Entry(title='Buy groceries', priority=200, note='eggs, bread, milk')
>>> list(backlog.search('bill'))
[Backlog.Entry(title='Pay the water bill', priority=100, note='')]

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

backlog-2.0.4.tar.gz (22.6 kB view details)

Uploaded Source

Built Distribution

backlog-2.0.4-py3-none-any.whl (13.9 kB view details)

Uploaded Python 3

File details

Details for the file backlog-2.0.4.tar.gz.

File metadata

  • Download URL: backlog-2.0.4.tar.gz
  • Upload date:
  • Size: 22.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.1.1 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.8.2

File hashes

Hashes for backlog-2.0.4.tar.gz
Algorithm Hash digest
SHA256 915350d94dba602f2ff28b0a81624263a5f1087785d89c17580723ac4d16b20e
MD5 950bc0861aa0fa8c87193f505b4b75d6
BLAKE2b-256 28ba5445aa736df2c660c68f6ea8d249fbcb30cace563f673ccb11766ca6f39e

See more details on using hashes here.

File details

Details for the file backlog-2.0.4-py3-none-any.whl.

File metadata

  • Download URL: backlog-2.0.4-py3-none-any.whl
  • Upload date:
  • Size: 13.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.1.1 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.8.2

File hashes

Hashes for backlog-2.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 be0501c3b88c6418b7df965604658f605242752a4452049630587c29696ef312
MD5 4be16f8eb4341251dc24ec913c5ac0be
BLAKE2b-256 60627a8fe6f8eab6435262c061e74054f783870f15cc43630b6a31ee18ec9099

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