-
appdirs
A small Python module for determining appropriate platform-specific dirs, e.g. a "user data dir".
-
InfluxDB
Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
To automate time spent on each activity a ruby script was written that took a string with time ranges when task was active:
Database location and schema To store database user files directory was used. The issue here is that each OS has it's own path for this directory. But there is no problem, Python is known for having libraries almost for everything and identifying user directory is no exception: for this job appdirs has been chosen. When app starts for the first time it will check whether database exists and if no database file was found it will create an empty database with the following schema:
You can check the source code of tiempo-tracker on Github.
Related posts
-
Show HN: Anthropic's Prompt Engineering Interactive Tutorial (Web Version)
-
Python Quiz Program: Building Blocks of My Portfolio
-
38% of webpages that existed in 2013 are no longer accessible a decade later
-
International Scientific Report on the Safety of Advanced AI [pdf]
-
I created a Python script to download data from Solafans MPPT charger