pymato

The Simple(-ish) Python Tomato (Pomodoro) timer. Now with more pomodouroboros!

Usage

$ uv --index https://dev.waynewerner.com/python/ tool install pymato[fancy]

Unless you just want the basic interface:

$ uv --index https://dev.waynewerner.com/python/ tool install pymato
$ pymato pom testing out pymato
Task - doing something cool
██████████ 24:59

When the timer runs out it will emit a visual bell, so your terminal should blink or notify you of activity. Want to see what you've been working on?

$ pymato log
2018-02-28
	?	25m writing pymato documentation
	?	25m doing something cool
-----------------------------------------
	?	50m total pomodoro time

That's the classic style of operation. Pymato actually has three different modes of operation:

The first two are what they say on the tin -- the stopwatch you use if you simply want to track how long it takes you to do a task. Hit ctrl+c to stop the tracker:

$ pymato track show this example
Task - show this example
^C0:00:04
0:00:04 time spent, save?
[y]/n: y
$ pymato log
2018-02-28
	?	25m     writing pymato documentation
	?	25m     doing something cool
	?	     5s doing something cool
-----------------------------------------
	?	50m  5s total pomodoro time

The last lil' bit to the classic styles is that if you are in the middle of a pom and you get interrupted, you can hit ctrl+c, like with the stopwatch:

Task - Show an interrupted task
^C██████████ 0:24:55Aborted - save to log anyway?
y/[n]: 

You'll get asked whether to save the current interval. If you do, it will get tacked onto your log.

But that's just the basic stuff.

Glyph Lefkowitz realized that time is marching on, even if you remember to pom or not.

He built Pomodouroboros, which specifically works on Mac, specifically for his own needs. I really love the idea, so I cribbed it and included it here within pymato.

The basic interface looks like this:

$ pymato go
Starting 16 pomodoros with 5 minute breaks, split by a 1 hour break.
Press ^C to set your intention within 60s of the start of each pom.
Poms with intention set can be reviewed a the start of the next pom.
░░░░░░░░░░ ( 1/16) ? Not set
░░░░░░░░░░ ( 2/16) ? Some kind of something
░░░░░░░░░░ ( 3/16) - This got distracted
░░░░░░░░░░ ( 4/16) = This one was focused
░░░░░░░░░░ ( 5/16) + Show a completed thing
░░░░░░░░░░ ( 6/16) ? - Not set
^C caught - set your intention: This has the intention set
░░░░██████ (12:49) This has the intenion set

Then for the break period you'll see this:

5m break - This has the intention set, evaluation? (blank for help): 
[-:distracted, =:focused, +:achieved]: +
░░░░░░░░░░ ( 7/16) + This has the intenion set
░░░░██████ (02:49) Break time!

If you want to really, really, really quit, hitting ctrl+c three times in quick succession will yeet yourself out of the process, saving whatever progress you've made to the log.

But... if you don't want the most basic interface, and you want something a little more fancy you can use the fancy Pymato interface, dubbed marinara.

Run marinara and you'll get basically the same abilities, just with a fancier UI. You can see your log, you can run a basic stopwatch style, or basic pomodoro tracker... or get the pomodouroboros style, which is the default.


Changelog

2026.1.0 - UNRELEASED