No project description provided
Project description
decafe-timer
Table of Contents
Installation
pip install decafe-timer
Usage
The CLI revolves around three ideas:
- Passing a duration creates a new cooldown; omitting it resumes whatever is already running. You can use single durations (
2h,15m30s,0:45:00) or a remaining/total pair like3h/5h(spaces around/are allowed, and mixed formats like3h/4:50:00work too). --rundecides whether to keep the Rich UI updating until the cooldown expires. Without--run, the command prints the current status once and exits.- Style flags pick the ASCII layout: default multi-line (
Remaining/Expires at+ bar),--one-line(HH:MM:SS 𝅛𝅛𝅛𝅚𝅚…), or--graph-only(just the bar with no time stamp). They’re accepted on any invocation; when paired with--run, the live updates switch to that ASCII style instead of the Rich progress bar. Snapshots print[You may drink coffee now.]once the timer finishes.
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 Rich UI for an active timer
decafe-timer --run --one-line 10m # live ASCII updates instead of Rich
decafe-timer --graph-only # snapshot with the ASCII bar only
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.4.3.tar.gz
(1.1 MB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file decafe_timer-0.4.3.tar.gz.
File metadata
- Download URL: decafe_timer-0.4.3.tar.gz
- Upload date:
- Size: 1.1 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: Hatch/1.16.2 cpython/3.12.3 HTTPX/0.28.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
53ab0d2ecd61b56ea740e26c124c3b0ca31052b8d99fc7b5e894573dcbedfbb1
|
|
| MD5 |
780dc0d3a49c823d31041e2363275cfc
|
|
| BLAKE2b-256 |
9f3ef1b75b90feb802b32144d0c6ebe0fb8fad47f859efcb7a294ba1234335ed
|
File details
Details for the file decafe_timer-0.4.3-py3-none-any.whl.
File metadata
- Download URL: decafe_timer-0.4.3-py3-none-any.whl
- Upload date:
- Size: 8.7 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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8185de774ea26337957fca0146dd98d846e32390cf30785bfe0944ad959aa996
|
|
| MD5 |
9358435c1674a352d023dc731ad7a7b2
|
|
| BLAKE2b-256 |
89f155f7309bfeb9dadb7a4d60166d2cc5cf6ef82e0df4376e460ebdc807b1b0
|