Skip to main content

CLI coffee cooldown timer with a shrinking ASCII bar.

Project description

decafe-timer

PyPI - Version PyPI - Python Version

A lightweight CLI cooldown timer for coffee breaks and caffeine tracking. It was created for people who worry about taking too much caffeine and becoming dependent on it.

decafe-timer screenshot

Installation

pipx install decafe-timer

Usage

Basics

decafe-timer 45m          # start a new timer, print one snapshot
decafe-timer 3h/5h        # start with 3h remaining out of a 5h total
decafe-timer              # resume the latest timer, one snapshot
decafe-timer run 45m      # start a new timer and watch it count down
decafe-timer run          # resume the live UI for an active timer
decafe-timer clear        # clear the current timer (shows ---)

Options

decafe-timer --one-line        # use the single-line ASCII layout
decafe-timer --graph-only      # snapshot with the ASCII bar only
decafe-timer --bar-style blocks        # use the classic block bar
decafe-timer --bar-style counting-rod  # use the counting rod bar
decafe-timer --color=always    # force ANSI colors on
decafe-timer --color=never     # force ANSI colors off
decafe-timer --run 45m         # alias for `run` (start live countdown)
decafe-timer --run             # alias for `run` (resume live countdown)
decafe-timer --clear           # alias for `clear` (shows ---)
decafe-timer 0                 # clear using a zero duration
decafe-timer --version         # show the current version

License

decafe-timer is distributed under the terms of the MIT license.

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

decafe_timer-0.7.0.tar.gz (1.9 MB view details)

Uploaded Source

Built Distribution

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

decafe_timer-0.7.0-py3-none-any.whl (10.8 kB view details)

Uploaded Python 3

File details

Details for the file decafe_timer-0.7.0.tar.gz.

File metadata

  • Download URL: decafe_timer-0.7.0.tar.gz
  • Upload date:
  • Size: 1.9 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: Hatch/1.16.2 cpython/3.12.3 HTTPX/0.28.1

File hashes

Hashes for decafe_timer-0.7.0.tar.gz
Algorithm Hash digest
SHA256 1c84b8b65abe4d46d1ef2db153fe05fc237022f3a2f8fe7b8e08d4ca57d3e5bf
MD5 31b5a5b59fe674b70d6c2300e24cf08f
BLAKE2b-256 e1fe65ca35e8ed5a33ff8981eb8b9b24d0e02fa41f352380fb04c2f0d7a88445

See more details on using hashes here.

File details

Details for the file decafe_timer-0.7.0-py3-none-any.whl.

File metadata

  • Download URL: decafe_timer-0.7.0-py3-none-any.whl
  • Upload date:
  • Size: 10.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: Hatch/1.16.2 cpython/3.12.3 HTTPX/0.28.1

File hashes

Hashes for decafe_timer-0.7.0-py3-none-any.whl
Algorithm Hash digest
SHA256 2a39b572f2e1a1e646f46f24ba9210bca96b15d577c4fa48274d3e5782dea0b1
MD5 4905ca57f7e3282a725a2675e87ec0c8
BLAKE2b-256 2defb3bc8ed7812b7d2a46cc4461990e2ba50465d835a96fdbc8e3d4fc3fb383

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