You are browsing as a guest. Sign up (or log in) to start making projects!

1h 6m 14s logged

Setting up Python engine & handling Hackatime local config

Worked on the Hackatime macOS Menu Bar Widget!

This morning I finished creating the basic skeleton for this project by setting up the project environment using Python3 and creating the basic data tracking engine (tracker.py).

The code tries to read local credentials from ~/.wakatime.cfg in order to be able to connect to the statusbar API of Hackatime. Error handling for a non-existent config file and parsing for total coding time, active projects and languages done. Next step would be to get the actual API key working and design the actual menu bar application using rumps.

0
2

Comments 0

No comments yet. Be the first!