Vinfall / usage-direct-viz

Android app usage (powered by usageDirect) visualized.

Repository from Github https://github.comVinfall/usage-direct-vizRepository from Github https://github.comVinfall/usage-direct-viz

usage-direct-viz

Visualization of exported usageDirect SQLite3 database.

Hint

It's so painful to add hyperlink in rst...

Intro

This is mainly a silly little project to add some charts to:

  1. personal OKR
  2. personal monthly activity report

Tip

Chances are you won't find it useful.

I use it to learn the standard library sqlite3 in Python, basic visualization in Plotly, and grammer of reStructuredText.

Note

Although so far I only find sidebar and built-in admonitions useful. The benefits are so marginal [1] I can't be convinced to learn it any further. Probably org mode is better. Let alone Markdown.

[1]The ranting is caused by my not using extension. reStructuredText is much more powerful with that.

Usage

pip install .
python visualize.py

# it's easier with uv, not need to manage venv yourself
uv run visualize.py

Now check files in output directory.

Caveats

The database schema of usageDirect is kinda weird, especially the epochDay part,
and I have no intention to sanitize those as I only intend to run this once a month.

License

usage-direct-viz is released into Public Domain under The Unlicense.

About

Android app usage (powered by usageDirect) visualized.

License:The Unlicense


Languages

Language:Python 60.0%Language:SQL 31.3%Language:Makefile 8.7%