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.2.tar.gz
(7.0 kB
view details)
Built Distribution
File details
Details for the file daylio_parser-0.4.2.tar.gz
.
File metadata
- Download URL: daylio_parser-0.4.2.tar.gz
- Upload date:
- Size: 7.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.6.1 CPython/3.11.5 Linux/6.5.5-200.fc38.x86_64
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f85cf63ceef293baf78106256129ec9082aabb4272f658fd6c9ba079872e0739 |
|
MD5 | ad55e81b140b93e1f00767de418e3843 |
|
BLAKE2b-256 | 0b16007f111601b0c314964d2fba2a2711d991173e314d337616b8e79dcb6a09 |
File details
Details for the file daylio_parser-0.4.2-py3-none-any.whl
.
File metadata
- Download URL: daylio_parser-0.4.2-py3-none-any.whl
- Upload date:
- Size: 8.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.6.1 CPython/3.11.5 Linux/6.5.5-200.fc38.x86_64
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f613170e24760cbb6a0a52f209df6c808a6ab79ab9cc74302ca6ac465834b09d |
|
MD5 | 3ccbf9a7acab7d50749ab3fcca9da367 |
|
BLAKE2b-256 | 134c15fe97d936e0c1056d32e9473ec3da77d590d2005d4a3397973008c0964b |