Skip to main content
Help improve PyPI by participating in a 5-minute user interface survey!

Beancount Importer for DKB CSV exports

Project Description

https://travis-ci.org/siddhantgoel/beancount-dkb.svg?branch=master

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

Installation

$ pip install beancount-dkb

Usage

from beancount_dkb import ECImporter, CreditImporter

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

    CreditImporter(
        CARD_NUMBER, 'Assets:DKB:Credit', currency='EUR',
        numeric_locale='de_DE.UTF-8', 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.

Release history Release notifications

This version
History Node

0.3.0

History Node

0.2.1

History Node

0.2.0

History Node

0.1.0

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.3.0-py3-none-any.whl (6.7 kB) Copy SHA256 hash SHA256 Wheel py3 Apr 13, 2018
beancount-dkb-0.3.0.tar.gz (4.8 kB) Copy SHA256 hash SHA256 Source None Apr 13, 2018

Supported by

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