Skip to main content

A Python module to parse Daylio exports

Project description

ci-badge docs-badge py-versions-badge pypi-badge

daylio-parser

A Python module to parse Daylio CSV exports

Development

Install poetry, tox and tox-poetry.

Installing the virtual env:

$ poetry install

Switching into the venv:

$ poetry shell

Running test for the current python version:

$ pytest -v --cov=daylio_parser --cov-report term-missing tests

Running all checks with tox prior to running GitHub actions:

$ tox

TODO

  • Parse CSV into entries (parser.py)
  • Implement MoodConfig (config.py) to allow multiple moods
    • Plus a default config for clean Daylio installs
  • Stats
    • Mood stability algorithm
    • Average moods by day
    • Average mood by activity
    • Find mood periods — aka periods of moods meeting certain criteria
    • Extend mood period search — search above, below and in between thresholds
  • Prepare data for plotting
    • Splitting entries into bands
    • Interpolating data for smooth charts
    • Calculating rolling mean
  • Re-export data into other formats
    • JSON

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

daylio_parser-0.4.2.tar.gz (7.0 kB view hashes)

Uploaded Source

Built Distribution

daylio_parser-0.4.2-py3-none-any.whl (8.4 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page