Skip to content

Android app usage (powered by usageDirect) visualized.

License

Notifications You must be signed in to change notification settings

Vinfall/usage-direct-viz

Repository files navigation

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 marginal1 I can't be convinced to learn it any further. Probably org mode is better. Let alone Markdown.

Usage

pip install -r requirements.txt
python visualize.py

Now check files in output directory.

Ceveats

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.


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