Skip to main content

Pomodoro in your terminal

Project description

Termdoro

Termdoro is pomodoro in your terminal.

Default Configuration

  • Work: 25 minutes
  • Break: 5 minutes
  • Long break: 15 minutes
  • Long break after 4 sessions
  • Total of 6 sessions

Installation

pip install termdoro

Usage

Usage: termdoro [OPTIONS] [TIME]
 If OPTIONS and TIME is not given, termdoro will operate in
 pomodoro mode.

 Or you can use termdoro in stopwatch and countdown mode:

 Start a countdown to or from TIME. Example values for TIME:
 10, '1h 5m 30s', '12:00', '2020-01-01', '2020-01-01 14:00 UTC'.

 If TIME is not given, termdoro will operate in stopwatch mode
 and count forward.

 Hotkeys:
     L       Lap (stopwatch mode only)
     R       Reset
     SPACE   Pause (will delay absolute TIME)
     +       Plus (will add 10 seconds)
     -       Minus (will subtract 10 seconds)
     Q       Quit

Options:
 -a, --alt-format              Use colon-separated time format
 -b, --blink                   Flash terminal at end of countdown
 -B, --no-bell                 Don't ring terminal bell at end of countdown
 -c, --critical N              Draw final N seconds in red and announce them
                               individually with --voice or --exec-cmd
                               (defaults to 3)
 --config                      Configure pomodoro session settings
 -f, --font FONT               Choose from
                               http://www.figlet.org/examples.html
 --pomodoro                    Start pomodoro (default behavior)
 -p, --voice-prefix TEXT       Add TEXT to the beginning of --voice and
                               --exec annunciations (except per-second ones)
 -q, --quit-after N            Quit N seconds after countdown (use with -b or
                               -t) or terminate stopwatch after N seconds
 -s, --no-seconds              Don't show seconds (except for last minute of
                               countdown and first minute of stopwatch)
 --stopwatch                   Start a stopwatch
 -t, --text TEXT               Text to display at end of countdown
 -T, --title TEXT              Text to display on top of countdown/stopwatch
 -W, --no-window-title         Don't update terminal title with
                               remaining/elapsed time
 -v, --voice VOICE             Spoken countdown (at fixed intervals with per-
                               second annunciations starting at --critical;
                               requires `espeak` on Linux or `say` on macOS;
                               choose VOICE from `say -v '?'` or `espeak
                               --voices`)
 -o, --outfile PATH            File to write current remaining/elapsed time
                               to
 --exec-cmd CMD                Runs CMD every second. '{0}' and '{1}' in CMD
                               will be replaced with the remaining/elapsed
                               number of seconds and a more sparse
                               annunciation as in --voice, respectively. For
                               example, to get a callout at five seconds
                               only, use: --exec-cmd "if [ '{0}' == '5' ];
                               then say -v Alex {1}; fi"
 --no-figlet                   Don't use ASCII art for display
 --no-figlet-y-offset INTEGER  Vertical offset within the terminal (only for
                               --no-figlet)
 --no-text-magic               Don't try to replace non-ASCII characters (use
                               with -t)
 --version                     Show version and exit
 -z, --time                    Show current time instead of
                               countdown/stopwatch
 -Z, --time-format TEXT        Format for --time (defaults to "%H:%M:%S",
                               ignores --no-seconds)
 --help                        Show this message and exit.

Credits

Termdoro uses trehn/termdown for the terminal countdown timer and stopwatch.

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

termdoro-1.1.3.tar.gz (13.1 kB view details)

Uploaded Source

Built Distribution

termdoro-1.1.3-py3-none-any.whl (12.7 kB view details)

Uploaded Python 3

File details

Details for the file termdoro-1.1.3.tar.gz.

File metadata

  • Download URL: termdoro-1.1.3.tar.gz
  • Upload date:
  • Size: 13.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.25.0 requests-toolbelt/0.9.1 urllib3/1.26.2 tqdm/4.55.0 importlib-metadata/4.10.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.10

File hashes

Hashes for termdoro-1.1.3.tar.gz
Algorithm Hash digest
SHA256 f74224fbcc062e13dcf5be4891248e520a0b3cd4dd8267268b1edd9bab3c361f
MD5 bcaa1f69aaa62e8f02369db25baafb93
BLAKE2b-256 fea0e71cd4bdfcefa2f47f61755a6675cb7f14f0b99a493186ade585df4632f0

See more details on using hashes here.

File details

Details for the file termdoro-1.1.3-py3-none-any.whl.

File metadata

  • Download URL: termdoro-1.1.3-py3-none-any.whl
  • Upload date:
  • Size: 12.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.25.0 requests-toolbelt/0.9.1 urllib3/1.26.2 tqdm/4.55.0 importlib-metadata/4.10.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.10

File hashes

Hashes for termdoro-1.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 394e4b50ba166a303c4c238cfc97831aab1bb86d3285f2fa64e456b7421c0c74
MD5 de4a4b71ec8bc78e5a39b1c80635e6e5
BLAKE2b-256 7b0e4fd0e698647dd7b5493683cc17c205183fd8a51a397850ef20696f46cf53

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