Skip to main content

Add your description here

Project description

beancount-no-sparebank1

A Python library for importing SpareBank 1 (Norway) bank data into Beancount accounting format.

sb12

Features

  • Import transactions from CSV exports of SpareBank 1 deposit accounts
  • Extract balance statements from PDF account statements ("kontoutskrift")
  • Flexible transaction categorization with customizable rules

Quick start

import beangulp
import beancount_no_sparebank1

importers = [
    beancount_no_sparebank1.deposit.DepositAccountImporter(
        'Assets:Checking',
        currency='NOK',
        narration_to_account_mappings=[
            ('GITHUB', 'Expenses:Cloud-Services:Source-Hosting:Github'),
            ('Fedex', 'Expenses:Postage:FedEx'),
            ('FREMTIND', 'Expenses:Insurance'),
        ]
    ),
    beancount_no_sparebank1.balance.PDFStatementImporter(
        'Assets:Checking',
        currency='NOK'
    ),
]

if __name__ == '__main__':
    ingest = beangulp.Ingest(importers)
    ingest()

See also

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

beancount_no_sparebank1-0.1.0.tar.gz (6.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

beancount_no_sparebank1-0.1.0-py3-none-any.whl (8.0 kB view details)

Uploaded Python 3

File details

Details for the file beancount_no_sparebank1-0.1.0.tar.gz.

File metadata

  • Download URL: beancount_no_sparebank1-0.1.0.tar.gz
  • Upload date:
  • Size: 6.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for beancount_no_sparebank1-0.1.0.tar.gz
Algorithm Hash digest
SHA256 a11fe1b3494c4c5110d0a767b11c9571edd72fcf7e49f8dec1cbae17454bfa17
MD5 5b6156288749d67aec52e3367aea18fb
BLAKE2b-256 cc7b6a9039df7e3cbae176f6df6c7de82c4545deda4924f7aa61cfe48decb2dd

See more details on using hashes here.

Provenance

The following attestation bundles were made for beancount_no_sparebank1-0.1.0.tar.gz:

Publisher: release.yml on staticaland/beancount-no-sparebank1

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file beancount_no_sparebank1-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for beancount_no_sparebank1-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 2f9c24719083270c6dc87064050ce2ccf1fd82bf930cd32e9f2dff951a3db421
MD5 44709c415d3a9e0e91d59e85d38c10dc
BLAKE2b-256 2761f3b50c13cb874142a42bb295fb0a32f045a24dd3d34bf9b00dca633bae39

See more details on using hashes here.

Provenance

The following attestation bundles were made for beancount_no_sparebank1-0.1.0-py3-none-any.whl:

Publisher: release.yml on staticaland/beancount-no-sparebank1

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

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