Skip to main content

Beancount Importer for DKB CSV exports

Project description

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


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


from beancount_dkb import ECImporter, CreditImporter

        IBAN_NUMBER, 'Assets:DKB:EC', currency='EUR',
        numeric_locale='de_DE.UTF-8', file_encoding='utf-8'

        CARD_NUMBER, 'Assets:DKB:Credit', currency='EUR',
        numeric_locale='de_DE.UTF-8', file_encoding='utf-8'


ERROR:root:Importer 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.


Contributions are most welcome!

Please make sure you have Python 3.5+ installed.

  1. Git clone the repository - git clone
  2. Install the packages required for development - pip install -r
  3. That’s basically it. You should now be able to run the test suite - py.test.

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
beancount_dkb-0.6.4-py3-none-any.whl (7.6 kB) Copy SHA256 hash SHA256 Wheel py3
beancount-dkb-0.6.4.tar.gz (6.0 kB) Copy SHA256 hash SHA256 Source None

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page