A library that converts financial data from SpareBank 1 into structured Beancount accounting format.
Project description
beancount-no-sparebank1
A Python library for importing SpareBank 1 (Norway) bank data into Beancount accounting format.
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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file beancount_no_sparebank1-0.2.0.tar.gz.
File metadata
- Download URL: beancount_no_sparebank1-0.2.0.tar.gz
- Upload date:
- Size: 7.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
67ee2ff1e1aa7c346d24040535454c370c75d9491d01409baca756c5cea37727
|
|
| MD5 |
487e7cb417201505af3d4907f626dca5
|
|
| BLAKE2b-256 |
43186a62246fed4f88160a9a9906c1f8bcb66cb32d6e601ae3952a9733a8c12f
|
Provenance
The following attestation bundles were made for beancount_no_sparebank1-0.2.0.tar.gz:
Publisher:
release.yml on staticaland/beancount-no-sparebank1
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
beancount_no_sparebank1-0.2.0.tar.gz -
Subject digest:
67ee2ff1e1aa7c346d24040535454c370c75d9491d01409baca756c5cea37727 - Sigstore transparency entry: 188545041
- Sigstore integration time:
-
Permalink:
staticaland/beancount-no-sparebank1@782dee836c961951ebab0f69eec26593ce333d48 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/staticaland
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@782dee836c961951ebab0f69eec26593ce333d48 -
Trigger Event:
workflow_dispatch
-
Statement type:
File details
Details for the file beancount_no_sparebank1-0.2.0-py3-none-any.whl.
File metadata
- Download URL: beancount_no_sparebank1-0.2.0-py3-none-any.whl
- Upload date:
- Size: 2.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
58b48366c78e1c50a651431c77a634417bc5207ee389ddce5553f995148e0ba7
|
|
| MD5 |
28c60394061e4647d11e774c3a7011bf
|
|
| BLAKE2b-256 |
70f593baf62db04a64081acab1d183c7c679153136a215560db5a3d7c88a52f4
|
Provenance
The following attestation bundles were made for beancount_no_sparebank1-0.2.0-py3-none-any.whl:
Publisher:
release.yml on staticaland/beancount-no-sparebank1
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
beancount_no_sparebank1-0.2.0-py3-none-any.whl -
Subject digest:
58b48366c78e1c50a651431c77a634417bc5207ee389ddce5553f995148e0ba7 - Sigstore transparency entry: 188545043
- Sigstore integration time:
-
Permalink:
staticaland/beancount-no-sparebank1@782dee836c961951ebab0f69eec26593ce333d48 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/staticaland
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@782dee836c961951ebab0f69eec26593ce333d48 -
Trigger Event:
workflow_dispatch
-
Statement type: