Skip to content

jonaslang1/QuirionExport

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

89 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

QuirionExport

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.

Requirements

  • Python 3.8 or higher
  • Access to the Quirion API (credentials are required)

Installation

Download the executable from the releases page or build it from source.

Usage

  1. Run the executable by double-clicking it or from the command line:
./dist/QuirionExport
  1. Run the tool from the command line:
python src/main.py

Output

The 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.

Options

Log Level

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

Contribute

  1. Clone the repository:
    git clone https://github.com/jonaslang1/QuirionExport
    cd QuirionExport
  2. Install dependencies:
    pip install -r requirements.txt

Feel free to open issues, submit pull requests or fork the repository.

Generate the Executable

  1. To generate the executable, install pyinstaller:

    pip install -U pyinstaller
  2. Then run:

    pyinstaller --onefile --specpath ./dist --name=QuirionExport src/main.py

The executable will be available in the dist directory.

Testing

To run the tests, run:

pytest

or, if you want to see the output in a more verbose format:

pytest -v

You can also run the tests with coverage:

pytest --cov --cov-report=html:target/coverage

This will generate an HTML report in the target/coverage directory. Open the index.html file in your browser to view the coverage report.

Linting

Install the pylint package:

pip install pylint

Lint all Python files:

pylint $(git ls-files '*.py')

Or only modified files:

pylint $(git ls-files -m '*.py')

Troubleshooting & Support

If you encounter issues or have questions, please open an issue in the repository.

License

This project is currently not licensed. All rights reserved.

About

This is a simple tool to export data from Quirion's API to a CSV file.

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages