Bunqexport 🌈
After the some discussion in the lexware Finanzmanger forum, it looks like the authors do not feel the need to integrate bunq into their application (https://forum.lexware.de/threads/37851/)
Also in the bunq forums, no one seemed to have a prior solution (https://together.bunq.com/d/24026-lexware-quicken-finanzmanager-import-from-bunq).
So I decided to implement a simple export with python and the bunq rest API.
Features
- Connect to bunq (https://www.bunq.com) API with a pregenerated API key (see Tinker example: https://github.com/bunq/tinker_python)
- Export payments from bunq as
jsonandcsvinto one file per account - support special
csvformat with timestamps inDD.MM.YYYYformat in timstamps, as expected fromHaufe-Lexware Finanzmanger, when mode islexware - Unit testing using
nose - Pre-commit checking with
pre-commit
Usage
Install bunqexport and generate an export:
$ pip install bunqexport
$ bunqexport --conf bunq-production.conf --mode lexware
[INFO ] Using conf: bunq-production.conf
[INFO ] found XX while fetching last 200 Payments for account XXXXXXX
[INFO ] Wrote bunq_XXXXXXX_Default.csv
[INFO ] Wrote bunq_XXXXXXX_Default.json
created type counterparty_alias.name amount.currency amount.value description
23.12.2019 CHECKOUT_MERCHANT bunq EUR 200.00 bunq account top up
23.12.2019 MASTERCARD XXXXXXXXXXXXXXXXXXXXXX EUR -16.96 XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
23.12.2019 SAVINGS XXXXXXXXXXX EUR -0.04
24.12.2019 EBA_SCT XXXXXXXXXX EUR 500.00 ---
27.12.2019 EBA_SCT PayPal (Europe) S.a.r.l. et Cie., S.C.A. EUR 0.13 PAYPAL BEVEILIGINGSMAATREGEL
27.12.2019 EBA_SCT PayPal (Europe) S.a.r.l. et Cie., S.C.A. EUR 0.03 PAYPAL BEVEILIGINGSMAATREGEL
...
Contributing
Any contributions are very welcome.
When contributing to this repository, please first discuss the change you wish to make via issue with the owners of this repository before making a change.
Pull Request Process
- Ensure any install or build dependencies are removed before the end of the layer when doing a build.
- Document your changes (whereever useful), e.g in
README.md. - Use
pre-commithooks by installingpip install pre-commitand runpre-commit install.
License
This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/.
Metadata
Release files for bunqexport 0.0.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| bunqexport-0.0.3.tar.gz | 33.8 kB | Without provenance | Details for bunqexport-0.0.3.tar.gz |
Built distributions (wheels)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| bunqexport-0.0.3-py3.9.egg | Legacy Egg format | - | - | Details for bunqexport-0.0.3-py3.9.egg |
| bunqexport-0.0.3-py3-none-any.whl | Python 3 | none | any | Details for bunqexport-0.0.3-py3-none-any.whl |
Total release size: 85.4 kB
Release files / bunqexport-0.0.3.tar.gz
| Download URL | bunqexport-0.0.3.tar.gz |
|---|---|
| Size | 33.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
1dd4cc8a937e109f22d534d7e3b58dc67e661ac0c665c8578c54f7ead46c245d
|
|
BLAKE2b-256 checksum How to use checksums |
8c7de144da559d4974b0476ade077808a0c272fbf77e07af4d4bc94d2be45b1c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.7
|
Release files / bunqexport-0.0.3-py3.9.egg
| Download URL | bunqexport-0.0.3-py3.9.egg |
|---|---|
| Size | 17.2 kB |
| Tags | Egg |
|
SHA-256 checksum How to use checksums |
4193645a0547bed96bce9ebd1ffc551d5b0b01bc39c1b92e7e641414c97367f9
|
|
BLAKE2b-256 checksum How to use checksums |
43080fc69cf0d192bbf7cd67f72e84bb468d6fc45621ab472b2c5593f19fdf78
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.7
|
Release files / bunqexport-0.0.3-py3-none-any.whl
| Download URL | bunqexport-0.0.3-py3-none-any.whl |
|---|---|
| Size | 34.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
a6c25215765bd32767c46bf3cb394a50041266c5782f5ac7b66100e19ce990fe
|
|
BLAKE2b-256 checksum How to use checksums |
0c621b4432df80ff66c3924cb1d7186681d87fbe5329fe5b9e046de614658888
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.7
|
Security for bunqexport 0.0.3
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.