PyTimeClock, todo.txt pomodoro to track where your time goes.

Why track your time?

There are plenty of article on the internet about how our focus is being degraded over time due to all the interruptions we are getting either from work or from the many dings, chimes, and notifications from all the social media, and chat programs.

By tracking my time my goals are to:

How pytimeclock works

You start the program, and it scans your todo.txt file along with some other added default tasks for something to work on. You select what you want to work on (yay fzf) and it adds it to the bottom of the list with a little timer next to it with how long you've been working on it (red text/white background). After 20 minutes (currently; eventually set on task) the current tasks text switches from red/white to green.

While you are working on the task you can do some other stuff:

Designing pytimeclock

Recently I've realized that I start most projects (technical or art) from the wrong end. I have an idea and then I instantly start working on the details, but what I should be doing is getting the ugliest version of my idea out and working; an actual prototype. When coding, this means I don't go off looking for the library I need to do XYZ, instead I block out the logic of what I want my program to do, or in art, block out the major shapes and colors. Then once you have these big blocks in place, you come back and start to fill the details.

With pytimeclock I started with the ugliest working version I could. I just wanted something I could quickly play with and see if this idea was even what I wanted. I knew I wanted a fancy tui interface of some sort, but held back on just researching python TUI libraries all day, and trying to build up something based off stuff I might not actually need.

By having something I could play with, I ended up having ideas for features that made sense, because I was actually using the tool, as opposed to features that sounded cool based on an imaginary tool I had never used.

Once I had the tool working, I came back and added the details, and cleaned up the code. It still isn't perfect and clean, but the tool works, and you can iterate on something that is real, you can't iterate on something living in your imagination.


Note this is still a WIP but you can grab pytimelcock here

Back Contact Me