Skip to main content

Beancount Swedbank Importer

beancount-swedbank-importer provides a python import script for beancount to import CSV exports from swedbank online banking.

Usage

Installation

Install beancountwedbank from pip like this:

    pip install beancountswedbank

Configuration

Write a configuration file, eg. config.py, (or extend your existing one) to include this:

    import beangulp
    import beancountswedbank


    CONFIG = [
        beancountswedbank.CSVImporter('Nyckelkonto', 'Assets:Your:Nyckelkonto', 'SEK'),
    ]


    if __name__ == '__main__':
        main = beangulp.Ingest(CONFIG)
        main()

Nyckelkonto is the literal name of the account as you can see it in the online banking website. It will be used by beancount to match the 4th column of the exported CSV file.

Daily use

  1. Download the CSV file from your Swedbank online banking,
  2. Run config.py extract transaction_file.csv

License

This package is licensed under the MIT License.

Metadata

Release files for beancountswedbank 1.0.1

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

Source distribution (sdist)

Source distribution for beancountswedbank 1.0.1
File Size Uploaded
beancountswedbank-1.0.1.tar.gz 3.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for beancountswedbank 1.0.1
File Interpreter ABI Platform
beancountswedbank-1.0.1-py3-none-any.whl Python 3 none any Details

Total release size: 8.0 kB

Release files / beancountswedbank-1.0.1.tar.gz

Download URL beancountswedbank-1.0.1.tar.gz
Size 3.9 kB
Tags Source
SHA-256 checksum
How to use checksums
11f0d0137bc59d1f6da0827b68f8514765747bdb31b6ff673cd921dcbe81cc10
BLAKE2b-256 checksum
How to use checksums
2c13712e33611fa4d9c82ddbf2a6c698e782d395b8b512cdb394307c30642ad3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.0.1 CPython/3.13.2

Release files / beancountswedbank-1.0.1-py3-none-any.whl

Download URL beancountswedbank-1.0.1-py3-none-any.whl
Size 4.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
09c16de4a20707f48792b69210d72f76f8cc728761be3caf4829f31342a94232
BLAKE2b-256 checksum
How to use checksums
86a8e9c0c2076f9895ef9e9a11bce43b475e59c29b898e3c3d3ef1ff54912bcc
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.0.1 CPython/3.13.2

Release history Release notifications | RSS feed

This release

1.0.1 This release

2 release files

1.0.0

2 release files

0.2.0

2 release files

0.1.3

2 release files

0.1.2

2 release files

0.1.1

2 release files

0.1.0

2 release files

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