Metadata-Version: 2.4
Name: beancount-sparkasse
Version: 0.1.0
Summary: Beancount v3 importers for Sparkasse CSV exports
Keywords: beancount,beangulp,sparkasse
Author: Henri Sota
Author-email: Henri Sota <sotahenry@gmail.com>
License-Expression: MIT
License-File: LICENSE
Classifier: Programming Language :: Python :: 3
Classifier: Topic :: Office/Business :: Financial :: Accounting
Requires-Dist: beancount>=3
Requires-Dist: beangulp>=0.2
Requires-Python: >=3.10
Project-URL: Repository, https://github.com/henrisota/beancount-sparkasse
Description-Content-Type: text/markdown

# beancount-sparkasse

[Beancount](https://beancount.github.io/) v3 importers for Sparkasse online
banking exports, built on [beangulp](https://github.com/beancount/beangulp).

- `AccountImporter` reads the account exports **CSV-CAMT** and
  **CSV - gefilterte Einträge**.
- `CreditCardImporter` reads the credit card export.

```python
import beangulp
from beancount_sparkasse import AccountImporter, CreditCardImporter

importers = [
    AccountImporter(iban="DE17 1234 5678 0000 0000 01", account="Assets:Bank:Checking"),
    CreditCardImporter(card="4111 **** **** 1111", account="Liabilities:CreditCard"),
]

if __name__ == "__main__":
    beangulp.Ingest(importers)()
```

## Development

```
uv run prek install --hook-type pre-commit --hook-type pre-push
uv run pytest
```
