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:
$ 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.3.0.tar.gz
(7.1 kB
view details)
Built Distribution
File details
Details for the file daylio-parser-0.3.0.tar.gz
.
File metadata
- Download URL: daylio-parser-0.3.0.tar.gz
- Upload date:
- Size: 7.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.8 CPython/3.9.6 Linux/5.13.13-200.fc34.x86_64
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0092689eb376f931a28e50bba3937b3be1c6478ebc45c64f1922a34b50b86337 |
|
MD5 | e368553b5affe2fef55c40cecf6134fd |
|
BLAKE2b-256 | c0aeabc2548f408599f9233d11b6ce518522fd1a398ad0a5525b885d32a069f2 |
File details
Details for the file daylio_parser-0.3.0-py3-none-any.whl
.
File metadata
- Download URL: daylio_parser-0.3.0-py3-none-any.whl
- Upload date:
- Size: 7.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.8 CPython/3.9.6 Linux/5.13.13-200.fc34.x86_64
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4700f3b1e2d05797191e3bd0865d33946e2ab4f7a1a6a982448a439cda7f7423 |
|
MD5 | 66d49be0ae84d4b3440ee990a73ed30c |
|
BLAKE2b-256 | e83daabef84b8b9863225d4eab529baa2199ae580e805e87312ace77f421b783 |