QuirionExport is a simple tool to automate data retrieval from the Quirion API. It allows you to export your investment data into CSV files and download documents from the postbox.
- Python 3.8 or higher
- Access to the Quirion API (credentials are required)
Download the executable from the releases page or build it from source.
- Run the executable by double-clicking it or from the command line:
./dist/QuirionExport- Run the tool from the command line:
python src/main.pyThe output will be saved in the output directory. It generates a CSV file for each product in your Quirion account. Use the ImportVorlagen.dat template file to import the import templates into your financial software to facilitate the import of the generated CSV files. Additionally, it can download the unread postbox documents and save them to the output/documents directory.
You can specify a loglevel for the output.
The default is INFO, but you can set it to either DEBUG, INFO, WARNING, ERROR, or CRITICAL.
python src/main.py --log-level DEBUG- Clone the repository:
git clone https://github.com/jonaslang1/QuirionExport cd QuirionExport - Install dependencies:
pip install -r requirements.txt
Feel free to open issues, submit pull requests or fork the repository.
-
To generate the executable, install
pyinstaller:pip install -U pyinstaller
-
Then run:
pyinstaller --onefile --specpath ./dist --name=QuirionExport src/main.py
The executable will be available in the dist directory.
To run the tests, run:
pytestor, if you want to see the output in a more verbose format:
pytest -vYou can also run the tests with coverage:
pytest --cov --cov-report=html:target/coverageThis will generate an HTML report in the target/coverage directory. Open the index.html file in your browser to view the coverage report.
Install the pylint package:
pip install pylintLint all Python files:
pylint $(git ls-files '*.py')Or only modified files:
pylint $(git ls-files -m '*.py')If you encounter issues or have questions, please open an issue in the repository.
This project is currently not licensed. All rights reserved.