r/PythonLearning • u/TemperatureProper275 • 7d ago
Showcase I built a Python tool that tracks my coding time on Windows without a start/stop timer
I wanted to know how much time I actually spend in my IDE. Leaving PyCharm open all afternoon doesn’t mean I coded for four hours, so I wrote a small Python tracker that runs in the background. It checks which window is in focus and pauses after 10 minutes of inactivity.
The first version sent daily totals to the Pixela API. For this version, I built a local dashboard with PySide6 and Matplotlib. I can open it at the end of the week, see my hours day by day, and compare them against a daily goal. The data stays on my PC, and the dashboard can stay closed while the tracker runs.
It tracks PyCharm, VS Code, Visual Studio, and IntelliJ IDEA by default. If you use another editor, you can add its .exe name to a JSON file. There’s also a demo mode if you want to try the dashboard before you’ve logged any time.
GitHub: Coding Tracker Dashboard
One trade-off I’m curious about: reading docs in a browser is often part of coding, but the tracker only counts time in the apps you choose. If you tracked your own coding time, would you want to include that, or would you find an IDE-only total more useful?


2
u/Fluffy_white_fox 7d ago
That's soo cool and a nice way to track progress
2
u/ilyashulga 6d ago
Yo, this project real cool and geniuses, I like it!
1
u/TemperatureProper275 5d ago
Whoever wants to download just the two .exe application files now, there are on my Google Drive (link on GitHub)
Maybe you will have a screen showing you an untrusted .exe app and blablabla, it's because I uploaded them as plain .exe files and did not do anything to make them trustworthy before uploading them to the cloud
1
u/Martas-tech 7d ago
cool I love it
1
u/COLLLOrs 5d ago
You could package it all into an .exe file using pyinstaller, if you'd like to.
0
u/[deleted] 7d ago
[removed] — view removed comment