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:

$ green 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
    • Generate data for tag clouds (i.e. find most used words in notes)
    • 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.0.tar.gz (7.5 kB view details)

Uploaded Source

Built Distribution

daylio_parser-0.4.0-py3-none-any.whl (8.3 kB view details)

Uploaded Python 3

File details

Details for the file daylio-parser-0.4.0.tar.gz.

File metadata

  • Download URL: daylio-parser-0.4.0.tar.gz
  • Upload date:
  • Size: 7.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.13 CPython/3.10.4 Linux/5.16.20-200.fc35.x86_64

File hashes

Hashes for daylio-parser-0.4.0.tar.gz
Algorithm Hash digest
SHA256 d9184787586428eb80f610f35d5e1d4dfc2d5819997231ef24960d33d89fe936
MD5 7adbf420c7ecafa011a232fc95255029
BLAKE2b-256 389408393e3d68892093b683810d573e6754b5873bfc98cdc8b135d6a85bf369

See more details on using hashes here.

File details

Details for the file daylio_parser-0.4.0-py3-none-any.whl.

File metadata

  • Download URL: daylio_parser-0.4.0-py3-none-any.whl
  • Upload date:
  • Size: 8.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.13 CPython/3.10.4 Linux/5.16.20-200.fc35.x86_64

File hashes

Hashes for daylio_parser-0.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 c18a44e8b371437e3b40bec4e07092656fd75e827976656b9ecf59971b06c63f
MD5 7e6609154e97826770addde22cdb22ec
BLAKE2b-256 164ed5dacd108010161628e6ce6bce73f0bfb7eaa0c814e0f3e2bb0efb0055b1

See more details on using hashes here.

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