Skip to main content

Pymodoro

Build and Test

A Pomodoro timer that runs in the background while you keep using your terminal. Start a session and forget about it — the progress bar shows up above your prompt every time you press Enter, and alerts appear when work or break sessions end.

Installation

pip install pyodoro

Requires Python 3.12+.

Usage

pymodoro

You'll be prompted for work duration, break duration, and number of cycles. Press Enter at each prompt to accept the defaults. The timer starts in the background and you get your terminal back immediately.

Commands

Command Description
pymodoro Start an interactive Pomodoro session in the background
pymodoro --show Show a live-updating progress bar (Ctrl+C to dismiss)
pymodoro --status Print the current progress bar and time remaining
pymodoro --stop Stop the running session
pymodoro --check-notify Print progress bar and phase alerts (used by shell integration below)
pymodoro --version Show the package version

Prompt integration (bash / zsh)

To see the progress bar above every command prompt, add this to your ~/.bashrc (or ~/.zshrc):

PROMPT_COMMAND="pymodoro --check-notify;${PROMPT_COMMAND}"

Now every time you press Enter, the tomato bar and timer appear right above your prompt. When a work or break session ends, the alert appears there too.

VS Code terminal

If you use VS Code's integrated terminal, make sure it runs bash as a login shell so it sources your .bashrc. In settings.json:

"terminal.integrated.shellArgs.windows": ["-l"]

Development

git clone https://github.com/NarezIn/pymodoro.git
cd pymodoro
pip install pipenv
pipenv install --dev
pipenv shell

Running tests

python -m pytest tests/ --cov=pomodoro

License

MIT

Metadata

Release files for pyodoro 1.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 pyodoro 1.1.0
File Size Uploaded Provenance Actions
pyodoro-1.1.0.tar.gz 20.4 kB With provenance Details for pyodoro-1.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for pyodoro 1.1.0
File Interpreter ABI Platform Actions
pyodoro-1.1.0-py3-none-any.whl Python 3 none any Details for pyodoro-1.1.0-py3-none-any.whl

Total release size: 43.8 kB

Release files / pyodoro-1.1.0.tar.gz

Download URL pyodoro-1.1.0.tar.gz
Size 20.4 kB
Tags Source
SHA-256 checksum
How to use checksums
3b2ccc78e2bc79dea2626d05b38b3faf4f61e2eeeaf671ac431f58835d3160cd
BLAKE2b-256 checksum
How to use checksums
b541e53101eea138c3288780d3391dc54daf68d958462b3f3405f9fec355b797
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

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 May 29, 2026.

Transparency log

Release files / pyodoro-1.1.0-py3-none-any.whl

Download URL pyodoro-1.1.0-py3-none-any.whl
Size 23.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
f3510bf7cb3219e70bf0f3fea918acfeec51274ee30701149072945b0cc512df
BLAKE2b-256 checksum
How to use checksums
e92ebed9dd0640ffa24f2f97c2cc82710387d142e0d498e40adf100f61e98fc5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

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 May 29, 2026.

Transparency log

Security for pyodoro 1.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 pyodoro-1.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 May 29, 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

1.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