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:
$ 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
- Color generator for situations when there's too many moods
- 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.2.0.tar.gz
(6.8 kB
view details)
Built Distribution
File details
Details for the file daylio-parser-0.2.0.tar.gz
.
File metadata
- Download URL: daylio-parser-0.2.0.tar.gz
- Upload date:
- Size: 6.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.5 CPython/3.9.2 Linux/5.11.11-200.fc33.x86_64
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a01cbae88509b4adb6aca2fb421e8c134a5c8f12dedd78cf27e7ec520b219073 |
|
MD5 | 7180731f7ef23e885a41e7b31221fc26 |
|
BLAKE2b-256 | 5d0838b00a9fa518a9647c825f0c6b5ff697c7eccf2f4573bfe551caa23c3e80 |
File details
Details for the file daylio_parser-0.2.0-py3-none-any.whl
.
File metadata
- Download URL: daylio_parser-0.2.0-py3-none-any.whl
- Upload date:
- Size: 7.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.5 CPython/3.9.2 Linux/5.11.11-200.fc33.x86_64
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8be0275619317f53d2bb407fa169143c257b115d93f9b0fe82e7177cae11dc2a |
|
MD5 | 1982806f313b353c1a1f2da1307aa6e5 |
|
BLAKE2b-256 | 6a74055efb516e6a92e9d153d146aaa76a3aa3c886f8c54f5f2e6c8cfcfe82ae |