Skip to main content

Workstation Toolbox

Pomodoro

Pomodoro is a terminal timer for focused work and scheduled breaks. It shows a live progress bar, counts down with a monotonic clock, and rings the terminal bell when a session finishes.

The package is lupaxa-pomodoro. The command is pomodoro.

What it Does

  • Runs a work session, then a short break, and repeats that pair.
  • Takes a long break after the last work session. There is no short break immediately before it.
  • Shows the session, a progress bar, the percentage, and the remaining time.
  • Pauses, resumes, skips, and quits from the keyboard without pressing Enter.
  • Prints a summary of completed work sessions and focus time.
  • Keeps going when the terminal cannot sound the bell.

Note: Skipped and unfinished sessions are not counted as completed work, and they do not add to the focus time.

Requirements

  • Python 3.11 or newer
  • macOS, Linux, or Windows

Install

pip install lupaxa-pomodoro

From a checkout:

make init
make python-install-dev

The console script is pomodoro. python -m lupaxa.pomodoro runs the same entry point.

Quick Start

pomodoro

That starts a 25 minute work session. The default run is four work sessions, a 5 minute short break between them, and a 15 minute long break at the end.

pomodoro --work 50 --short-break 10 --long-break 20 --cycles 4

Durations are minutes. --cycles is the number of work sessions.

Options

Argument Default Description
--work 25 Work duration in minutes
--short-break 5 Short break duration in minutes
--long-break 15 Long break duration in minutes
--cycles 4 Number of work sessions
--auto-start on Start the next session as soon as one finishes
--no-auto-start off Wait for Enter before each subsequent session
--no-sound off Disable the terminal bell
--no-clear off Leave the terminal contents in place
--version Print the version and exit
--help Print usage and exit

Durations must be positive numbers. The cycle count must be a positive integer. Invalid arguments exit with status 2.

With --no-auto-start, the first session still starts immediately. Later sessions wait until you press Enter. q at that prompt quits.

Controls

Key Action
p Pause or resume
s Skip the current session
q Quit
Ctrl+C Quit

Pausing keeps the remaining time. Skipping does not mark the session complete. Quitting restores the terminal and exits with status 130.

Work is green, a short break is cyan, a long break is magenta, and a paused timer is yellow.

Exit Codes

Code Meaning
0 The cycle finished
2 The arguments were invalid
130 You quit or pressed Ctrl+C
1 The timer failed
The Lupaxa Project Footer

Metadata

Release files for lupaxa-pomodoro 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for lupaxa-pomodoro 0.1.0
File Size Uploaded Provenance Actions
lupaxa_pomodoro-0.1.0.tar.gz 13.0 kB With provenance Details for lupaxa_pomodoro-0.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for lupaxa-pomodoro 0.1.0
File Interpreter ABI Platform Actions
lupaxa_pomodoro-0.1.0-py3-none-any.whl Python 3 none any Details for lupaxa_pomodoro-0.1.0-py3-none-any.whl

Total release size: 28.9 kB

Release files / lupaxa_pomodoro-0.1.0.tar.gz

Download URL lupaxa_pomodoro-0.1.0.tar.gz
Size 13.0 kB
Tags Source
SHA-256 checksum
How to use checksums
b3082fb5728942c2c3f06652419b3d1981c8f03bb8d98dbaac5ae23c8dd025af
BLAKE2b-256 checksum
How to use checksums
38d4ecbf11a755cf215f413f38987e432abcaedefa2b2f5faea03601846c8ebf
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 21, 2026.

Transparency log

Release files / lupaxa_pomodoro-0.1.0-py3-none-any.whl

Download URL lupaxa_pomodoro-0.1.0-py3-none-any.whl
Size 16.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e28e5d4c8c3799c196761bfcd55c67870bce7551d0435261c52c7e985a96416e
BLAKE2b-256 checksum
How to use checksums
819ba39cbaa0bc653cd409926df18c81c14a1efeeafa0297a668c2c70e747ca5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 21, 2026.

Transparency log

Security for lupaxa-pomodoro 0.1.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for lupaxa_pomodoro-0.1.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 21, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files Full provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page