Skip to main content

CSV importer script from Swedbank online banking for beancount

Project description

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.

Project details


Download files

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

Source Distribution

beancountswedbank-1.0.0.tar.gz (3.7 kB view details)

Uploaded Source

Built Distribution

beancountswedbank-1.0.0-py3-none-any.whl (4.0 kB view details)

Uploaded Python 3

File details

Details for the file beancountswedbank-1.0.0.tar.gz.

File metadata

  • Download URL: beancountswedbank-1.0.0.tar.gz
  • Upload date:
  • Size: 3.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.13.2

File hashes

Hashes for beancountswedbank-1.0.0.tar.gz
Algorithm Hash digest
SHA256 b0f340d1bd245c5d261af5e4d6fe9f117028a0c30579a85e7fddbc5a0cf67dea
MD5 10df017ceb68104ac3f761f6865ac841
BLAKE2b-256 313a1a1bb78150b0d5d5f0246d6e8cd7dac2c188471749948db84b184cb42b20

See more details on using hashes here.

File details

Details for the file beancountswedbank-1.0.0-py3-none-any.whl.

File metadata

File hashes

Hashes for beancountswedbank-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 ed3905b9128072647d2aaff78fec27bf566b4bec9a47a6515ee3d3b7ce79caa2
MD5 49024a65bd7d26e15802ef279c896392
BLAKE2b-256 52b98f18d34ab48768be16a42c1afd698f7a3f63287446f96f44e5c013177d2d

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page