parsemypsa
has the purpose of analyzing the export files of LinkMyPeugeot app. It includes for now a
fixed selection of metrics.
This is NOT AN OFFICIAL tool and it's not linked in any way to Peugeot.
- Average info on trips and consumption
- Last trip info
Coming next:
- Custom queries
If you cloned this repository, you can create a tarball with:
python setup.py sdist
This will create an archive, that you can install (ideally on a venv) with:
pip install <archive>
Then the launcher should be available in your $PATH
Hint: Launching tox as explained below will also generate a zip file that you can reuse directly
This script is using tox, so just launch it (if you want with a specific environment):
tox -e py35
This will also show the code coverage for the tests.
python main.py --help usage: main.py [-h] [--log-level LOG_LEVEL] [--version] [--db-file DB_FILE] [input_file]
Parse files produced by LinkMyPeugeot App.
- positional arguments:
- input_file input file to parse
- optional arguments:
-h, --help show this help message and exit --log-level LOG_LEVEL logging level (e.g. DEBUG) --version show the version and exit --db-file DB_FILE specify sqlite3 to use as destination, if not specified db will be IN Memory
Merci to Peugeot IT, because your app crashes badly at startup and so you motivated me to write this and analyse properly my data :-)