A Python module to parse Daylio exports
Project description
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.1.tar.gz
(7.6 kB
view details)
Built Distribution
File details
Details for the file daylio-parser-0.4.1.tar.gz
.
File metadata
- Download URL: daylio-parser-0.4.1.tar.gz
- Upload date:
- Size: 7.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.13 CPython/3.10.4 Linux/5.17.5-200.fc35.x86_64
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1e22dad59a4cd5c6c8ca8004e445981fe9238f6608ca462b79d700073f80c1c1 |
|
MD5 | a8fc5f2f7211664663495b7a3a31e52e |
|
BLAKE2b-256 | 42cc6bc8565d05c82c74d08129abe8e45dc08c621ecbccf3a635d3217829d509 |
File details
Details for the file daylio_parser-0.4.1-py3-none-any.whl
.
File metadata
- Download URL: daylio_parser-0.4.1-py3-none-any.whl
- Upload date:
- Size: 8.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.13 CPython/3.10.4 Linux/5.17.5-200.fc35.x86_64
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d577c5c1dcb4c3385144ff46c87fd2747b7cf183137b5cdb8368e356955c5ce4 |
|
MD5 | 1b0fbecf06a2a653553b1ab70951d034 |
|
BLAKE2b-256 | d7cc9fb55f13f318390ac693193094d7ffea655c606fef34e79af99f5a60edeb |