Skip to main content

Beancount DKB Importer

https://github.com/siddhantgoel/beancount-dkb/workflows/beancount-dkb/badge.svg https://img.shields.io/pypi/v/beancount-dkb.svg https://img.shields.io/pypi/pyversions/beancount-dkb.svg https://img.shields.io/badge/code%20style-black-000000.svg

beancount-dkb provides an Importer for converting CSV exports of DKB (Deutsche Kreditbank) account summaries to the Beancount format.

Installation

$ pip install beancount-dkb

In case you prefer installing from the Github repository, please note that master is the development branch so stable is what you should be installing from.

Usage

from beancount_dkb import ECImporter, CreditImporter

IBAN_NUMBER = 'DE99 9999 9999 9999 9999 99' # your real IBAN number

CARD_NUMBER = '9999 9999 9999 9999'         # your real Credit Card number

CONFIG = [
    ECImporter(
        IBAN_NUMBER,
        'Assets:DKB:EC',
        currency='EUR',
        file_encoding='utf-8',
    ),

    CreditImporter(
        CARD_NUMBER,
        'Assets:DKB:Credit',
        currency='EUR',
        file_encoding='utf-8',
    )
]

FAQ

ERROR:root:Importer beancount_dkb.ec.ECImporter.identify() raised an unexpected error: 'utf-8' codec can't decode byte 0xf6 in position 17: invalid start byte

Change the file_encoding parameter. It seems like the CSV exports are ISO-8859-1 encoded, but utf-8 seems like a useful default.

Contributing

Contributions are most welcome!

Please make sure you have Python 3.5+ and Poetry installed.

  1. Git clone the repository - git clone https://github.com/siddhantgoel/beancount-dkb

  2. Install the packages required for development - poetry install

  3. That’s basically it. You should now be able to run the test suite - poetry run py.test.

Metadata

Release files for beancount-dkb 0.8.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for beancount-dkb 0.8.3
File Size Uploaded Provenance Actions
beancount-dkb-0.8.3.tar.gz 6.0 kB Without provenance Details for beancount-dkb-0.8.3.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for beancount-dkb 0.8.3
File Interpreter ABI Platform Actions
beancount_dkb-0.8.3-py3-none-any.whl Python 3 none any Details for beancount_dkb-0.8.3-py3-none-any.whl

Total release size: 14.8 kB

Release files / beancount-dkb-0.8.3.tar.gz

Download URL beancount-dkb-0.8.3.tar.gz
Size 6.0 kB
Tags Source
SHA-256 checksum
How to use checksums
307368cd51df65b7775b2f26047e0ba56195d26debdcff04cd2d69dc5aa73095
BLAKE2b-256 checksum
How to use checksums
121a48130f30caa01d6127bb6c6761c08e39de709577cb54ae2de2604ab592b5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.1.2 CPython/3.8.5 Linux/4.19.0-13-amd64

Release files / beancount_dkb-0.8.3-py3-none-any.whl

Download URL beancount_dkb-0.8.3-py3-none-any.whl
Size 8.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
2fbe9412807e0d9d97f88c11d65aad2aa905629ae61486029fb26d371069189e
BLAKE2b-256 checksum
How to use checksums
45aa5ea9883513b519b652bd2a852c78fe33246d3509499aeb2a91a56443c25d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.1.2 CPython/3.8.5 Linux/4.19.0-13-amd64

Security for beancount-dkb 0.8.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.

Release history Release notifications | RSS feed

This release

0.8.3 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page