kontolupe 0.2.0__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 nicococo
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
@@ -0,0 +1,361 @@
1
+ Metadata-Version: 2.4
2
+ Name: kontolupe
3
+ Version: 0.2.0
4
+ Summary: The open-source replacement for Finanzguru's analysis: spending, fixed costs, anomalies and FIRE from your bank's CSV exports, on your own computer.
5
+ Keywords: personal-finance,budgeting,banking,csv,fire,finanzen,dkb,sparkasse,ing,streamlit,privacy,local-first
6
+ Author: nicococo
7
+ License-Expression: MIT
8
+ License-File: LICENSE
9
+ Classifier: Development Status :: 4 - Beta
10
+ Classifier: Environment :: Web Environment
11
+ Classifier: Intended Audience :: End Users/Desktop
12
+ Classifier: Natural Language :: English
13
+ Classifier: Natural Language :: German
14
+ Classifier: Operating System :: OS Independent
15
+ Classifier: Programming Language :: Python :: 3
16
+ Classifier: Programming Language :: Python :: 3.12
17
+ Classifier: Programming Language :: Python :: 3.13
18
+ Classifier: Programming Language :: Python :: 3.14
19
+ Classifier: Topic :: Office/Business :: Financial
20
+ Classifier: Topic :: Office/Business :: Financial :: Accounting
21
+ Requires-Dist: pandas>=3.1.1
22
+ Requires-Dist: plotly>=7.2.0
23
+ Requires-Dist: streamlit>=1.67.0
24
+ Requires-Python: >=3.12
25
+ Project-URL: Homepage, https://github.com/nicococo/kontolupe
26
+ Project-URL: Demo, https://kontolupe.streamlit.app/
27
+ Project-URL: FAQ, https://github.com/nicococo/kontolupe/blob/main/docs/FAQ.md
28
+ Project-URL: Issues, https://github.com/nicococo/kontolupe/issues
29
+ Project-URL: Changelog, https://github.com/nicococo/kontolupe/blob/main/CHANGELOG.md
30
+ Description-Content-Type: text/markdown
31
+
32
+ # Kontolupe
33
+
34
+ **The open-source replacement for Finanzguru's analysis. No bank login, no cloud, no contracts to sell you.**
35
+
36
+ [![Try the demo in Streamlit](https://static.streamlit.io/badges/streamlit_badge_black_white.svg)](https://kontolupe.streamlit.app/)
37
+ [![PyPI](https://img.shields.io/pypi/v/kontolupe)](https://pypi.org/project/kontolupe/)
38
+ [![CI](https://github.com/nicococo/kontolupe/actions/workflows/ci.yml/badge.svg)](https://github.com/nicococo/kontolupe/actions/workflows/ci.yml)
39
+ [![Coverage](https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/nicococo/kontolupe/badges/coverage.json)](https://github.com/nicococo/kontolupe/actions/workflows/ci.yml)
40
+
41
+ English · [**Deutsch ↓**](#auf-deutsch) · [**FAQ**](https://github.com/nicococo/kontolupe/blob/main/docs/FAQ.md)
42
+
43
+ Finanzguru wants your bank login, keeps your transactions on its servers and earns its money selling you
44
+ contracts. Kontolupe (German for *account magnifier*) does the part you actually came for: where your money
45
+ goes, what's spoken for every month, what looks wrong, and how far financial independence is. It works from
46
+ the CSV exports your bank already gives you, runs on your own computer, and nothing leaves it.
47
+
48
+ <picture>
49
+ <source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/nicococo/kontolupe/main/docs/screenshots/overview-dark.png">
50
+ <img alt="The overview: last month's spending and income in one sentence, the running result through the month, and the key figures" src="https://raw.githubusercontent.com/nicococo/kontolupe/main/docs/screenshots/overview-light.png">
51
+ </picture>
52
+
53
+ ## Why not just use Finanzguru?
54
+
55
+ Because your bank data is nobody's business model. Kontolupe is the opposite approach:
56
+
57
+ - **Private by design.** Your files are read on your computer and stay there. The app contacts no server
58
+ at all, not even for fonts, and you can check that in your browser's network tab.
59
+ - **A more complete overview.** Running result through the month, a fixed-costs radar, a cushion figure
60
+ ("how much do I need on the 1st to never go below zero?"), month-to-month spread per year, a spending heatmap,
61
+ anomaly detection and a FIRE view, all explained in plain sentences, in English or German.
62
+ - **Simple to run and to understand.** One command to start. Your data is a folder of CSV files; your edits
63
+ are one JSON file next to them. Nothing to migrate, nothing to lose.
64
+ - **Open source.** Read the code, change the rules, keep it forever.
65
+
66
+ The trade-off, honestly: you download a CSV export now and then instead of an automatic sync, and Kontolupe
67
+ analyses your money but doesn't switch your contracts for you.
68
+
69
+ *Kontolupe isn't affiliated with Finanzguru or any bank.*
70
+
71
+ ## Try it in one minute
72
+
73
+ You need [uv](https://docs.astral.sh/uv/getting-started/installation/), a small Python tool manager.
74
+
75
+ ```sh
76
+ uvx kontolupe --demo
77
+ ```
78
+
79
+ This starts Kontolupe with **made-up data** for an invented household and opens it at
80
+ <http://localhost:8501>. Look around; nothing is saved. The sidebar button **Add a demo account with
81
+ generated content** adds another made-up household, with its own account number, marked "(Demo)". It works
82
+ the same with your own data, and you remove a demo account on the Import page like any other file.
83
+
84
+ There's also an [online version](https://kontolupe.streamlit.app/) on Streamlit Community Cloud, with the
85
+ same button.
86
+ Files you add there stay only in your session's memory on the server: nothing is written to disk, other
87
+ visitors can't see them, and they're gone when you close or reload the tab. Still, that's someone else's
88
+ server (Snowflake's, in the US), so for your real bank data, run Kontolupe on your own computer. The
89
+ [FAQ](https://github.com/nicococo/kontolupe/blob/main/docs/FAQ.md#the-online-demo) has the details.
90
+
91
+ ## Use it with your own data
92
+
93
+ ```sh
94
+ uvx kontolupe --data ~/Documents/Finanzen
95
+ ```
96
+
97
+ The first start opens the **Import** page. Drop the CSV export from your online banking there, check the
98
+ preview, and add it. Kontolupe keeps the files in the folder you named (without `--data`, in `./data` wherever
99
+ you start it). To install it for good, `uv tool install kontolupe` and then just `kontolupe --data …`;
100
+ `pip install kontolupe` works too. `uvx kontolupe@latest` or `uv tool upgrade kontolupe` updates it.
101
+
102
+ Add a new export whenever you like: overlapping exports are fine, duplicates are recognised.
103
+
104
+ | Option | What it does |
105
+ |---|---|
106
+ | `--data FOLDER` | where your exports and edits live (default `./data`, or `$KONTOLUPE_DATA`) |
107
+ | `--demo` | start with made-up data instead |
108
+ | `--port 8600` | use another port |
109
+ | `--lan` | allow other devices on your network to open it, and show its network address (there is no login, so only on a network you trust) |
110
+
111
+ ### Which banks?
112
+
113
+ These exports are read directly; the Import page tells you where each bank hides its CSV export.
114
+
115
+ | Bank | Notes |
116
+ |---|---|
117
+ | **DKB** | current and older (before 2023) exports, with balance |
118
+ | **ING** | with balance when the export includes the *Saldo* line |
119
+ | **Sparkasse**, **LBBW/BW-Bank** | *CSV-CAMT V2* (best) and *CSV-MT940*; pending bookings are marked |
120
+ | **Volksbank, Raiffeisenbank, Sparda, PSD, GLS** | the Atruvia export, with balance after each booking |
121
+ | **Deutsche Bank, Postbank, norisbank** | current and older layout, *Soll/Haben* columns, with balance |
122
+ | **Commerzbank** | current and older layout |
123
+ | **N26** | current and older layout |
124
+ | **C24**, **Vivid** | |
125
+ | **comdirect**, **Revolut** | from published descriptions, not yet tested with a real export: please report what goes wrong |
126
+
127
+ **Any other bank**: drop the CSV on the Import page and say once which column is the date, the amount, the
128
+ counterparty and the purpose. Kontolupe saves it as a *Kontolupe CSV* (below), which it always reads.
129
+
130
+ **Add a bank yourself**: each layout is a short entry in [`banks.toml`](https://github.com/nicococo/kontolupe/blob/main/src/kontolupe/banks.toml): which
131
+ columns identify it, which column holds the date, amount and counterparty, and where the IBAN and balance are.
132
+ Put a `banks.toml` with your own entries in your data folder and Kontolupe tries them first. Pull requests that
133
+ add a layout to the built-in file are very welcome; a few made-up rows in the bank's shape for the tests help.
134
+
135
+ PayPal isn't on the list on purpose: its payments show up again in your bank account, so they would count twice.
136
+
137
+ ### Several accounts
138
+
139
+ Drop the exports of all your accounts on the Import page, from DKB or any other bank. Kontolupe tells them
140
+ apart by IBAN (or by the name you give a mapped export), so a current account, a joint account and a
141
+ savings account can live in the same data folder.
142
+
143
+ - **Pick accounts in the sidebar**: choose one or several, or leave the picker empty to see all accounts
144
+ combined. Every view and period follows your choice.
145
+ - **Same names, still apart**: accounts carry their bank's name ("ING Girokonto", "DKB Girokonto"), and two
146
+ that are still called the same show up as "DKB Girokonto …4821" and "DKB Girokonto …0617".
147
+ - **Per-account balances**: the balance chart draws a line per account, and an overdraft is flagged for the
148
+ account it happened in.
149
+ - **Moves between your accounts** are sorted as *Transfers*, which stay out of income and spending, so
150
+ combining accounts doesn't count money twice.
151
+ - **Try it without your own data**: *Add a demo account with generated content* in the sidebar adds made-up
152
+ accounts, each with a new account number and marked "(Demo)".
153
+
154
+ ## What's inside
155
+
156
+ | View | What it answers |
157
+ |---|---|
158
+ | **Overview** | How did the month go? Spending and income in one sentence, the running result day by day, the cushion you need to stay above zero, and a few plain-language insights. |
159
+ | **Spending** | Where did it go? Categories against a typical month, merchants inside each category, spending per day and its pace. |
160
+ | **Fixed costs** | What's spoken for before you buy anything? Subscriptions and contracts found automatically, with price changes and payments that stopped. Their share of your regular income, what's left after them, what to put aside each month for payments that come only a few times a year, when in the month they go out (next to your paydays), the next 30 days, what they actually cost month by month, a price history per contract, and your regular income. Edit them right in the table: correct a payment, delete a row to leave it out, add one your exports can't show, or add one from your payments that wasn't detected. |
161
+ | **Long view** | How do months compare? Income and spending per month, the spread of months per year, your balance over time, a weekday heatmap. |
162
+ | **FIRE** | How far is financial independence? Savings rate over the last 12 months, your FIRE number (and a lean one for essentials only), years to get there, what 100 € a month less spending changes, your biggest levers, and how many months your balance covers. |
163
+ | **Anomalies** | What looks wrong? Unusual amounts, double charges, payments or salary that didn't arrive, new subscriptions, price changes, overdrafts, returned debits. Mark one as fine and it won't be flagged again. |
164
+ | **Transactions** | Search everything, change a payment's category or a merchant's name right in the table. *Suggestions* offers one-click tidying: a category for uncategorised merchants, learned from the ones you've already sorted; merchants that are the same one under several names ("Lidl sagt Danke", "LIDL 4711"); and merchants whose payments ended up in several categories. |
165
+ | **Import** | Add exports, preview them, map columns for other banks, remove files. |
166
+
167
+ Every period works with every view: last month, this month, last or this week, the last 30 or 7 days,
168
+ any single month, or a custom range. With several accounts, pick the ones to look at in the sidebar, or
169
+ leave it empty to see them all combined. The language switch at the bottom of the sidebar shows everything in
170
+ English or German; it starts in your browser's language, and `?lang=de` in a link picks German.
171
+
172
+ ### The FIRE view
173
+
174
+ For the financial-independence crowd: it looks at your last 12 full months (at least three), independent of
175
+ the period in the sidebar.
176
+
177
+ - **Savings rate**: income minus spending, as a share of income, per month and over the year. Money moved to
178
+ savings or a broker (Trade Republic, Scalable, ETF savings plans, and so on: the *Investments* category)
179
+ counts as kept, not spent.
180
+ - **FIRE number**: a year's spending divided by your withdrawal rate (3–4 %, 3.5 % by default), and a *lean*
181
+ number for essentials only: housing, groceries, utilities, insurance, health, mobility, phone, kids, fees.
182
+ - **Years to FI**: from what you've invested so far, what you save a year and a real return you pick (5 % by
183
+ default). The inputs are kept in `edits.json`.
184
+ - **Levers**: what 100 € a month less spending does to the number and the date, your three biggest
185
+ categories as a share of the FIRE number, how much of your spending is fixed, and how many months your
186
+ balance would cover.
187
+ - **The classic table**: years to financial independence by savings rate, from nothing, with yours marked.
188
+
189
+ <table>
190
+ <tr>
191
+ <td><img alt="Spending by category and merchant" src="https://raw.githubusercontent.com/nicococo/kontolupe/main/docs/screenshots/spending.png"></td>
192
+ <td><img alt="Anomalies: payments that don't fit your history" src="https://raw.githubusercontent.com/nicococo/kontolupe/main/docs/screenshots/anomalies.png"></td>
193
+ </tr>
194
+ <tr>
195
+ <td><img alt="Fixed costs found automatically" src="https://raw.githubusercontent.com/nicococo/kontolupe/main/docs/screenshots/fixed-costs.png"></td>
196
+ <td><img alt="The spread of monthly spending per year" src="https://raw.githubusercontent.com/nicococo/kontolupe/main/docs/screenshots/long-view.png"></td>
197
+ </tr>
198
+ </table>
199
+
200
+ ## Categories
201
+
202
+ Payments are sorted by rules: regular expressions matched against the counterparty and purpose, first match
203
+ wins. The defaults in [`rules.toml`](https://github.com/nicococo/kontolupe/blob/main/src/kontolupe/rules.toml) know common German supermarkets, fuel
204
+ stations, streaming services, insurers and so on.
205
+
206
+ - **Quick fixes in the app**: in *Transactions*, change a payment's category, or a merchant's category or
207
+ name for every payment at once. You can add your own categories there too. These edits are saved to
208
+ `edits.json` in your data folder; delete it to undo them all.
209
+ - **Your own rules**: copy [`rules.toml`](https://github.com/nicococo/kontolupe/blob/main/src/kontolupe/rules.toml) into your data folder and edit it.
210
+ Kontolupe then uses yours instead and picks up changes as soon as you save.
211
+
212
+ ## Your data folder
213
+
214
+ ```
215
+ data/
216
+ ├── 30-11-2026_Umsatzliste_Girokonto.csv your exports, as downloaded
217
+ ├── sparkasse.kontolupe.csv another bank's export, after mapping its columns
218
+ ├── edits.json your categories, names, "looks fine" marks and FIRE inputs
219
+ ├── rules.toml optional: your own categorisation rules
220
+ └── banks.toml optional: your own bank layouts
221
+ ```
222
+
223
+ ### Kontolupe CSV
224
+
225
+ A plain format for any bank: account details as `#` lines, then one payment per row, ISO dates and
226
+ `.` as the decimal point. Only `date`, `amount` and `counterparty` are required.
227
+
228
+ ```
229
+ # Kontolupe CSV v1
230
+ # account: DE02120300000000202051
231
+ # account_name: Girokonto
232
+ # balance: 2026-11-30;1968.16
233
+ date;amount;counterparty;purpose;type;status;iban;creditor_id;mandate;reference
234
+ 2026-11-28;-16.12;Amazon;Bestellung 302-8382607;;Gebucht;;;;
235
+ 2026-11-27;2650.00;Brightwave Software GmbH;Gehalt;;Gebucht;;;;
236
+ ```
237
+
238
+ The `balance` line is optional: with it, Kontolupe can draw your balance over time.
239
+
240
+ ## Privacy, precisely
241
+
242
+ - Kontolupe reads and writes only the data folder you give it. Started without one, as the online version
243
+ is, it writes nothing at all: files and edits stay in the session's memory and are gone when it ends.
244
+ - The browser talks only to the Kontolupe process on your computer. The typeface is bundled and
245
+ Streamlit's usage statistics are switched off.
246
+ - By default only your own computer can open the app. `--lan` opens it to your network; there is no login,
247
+ so use that only at home.
248
+ - The Import page "uploads" from your browser to the Kontolupe process, which runs on the same machine or
249
+ one you chose.
250
+
251
+ More questions, from bank exports to how the FIRE number is calculated: see the [FAQ](https://github.com/nicococo/kontolupe/blob/main/docs/FAQ.md).
252
+
253
+ ## Auf Deutsch
254
+
255
+ **Die Open-Source-Alternative zur Finanzguru-Analyse. Ohne Bank-Login, ohne Cloud, ohne Verträge, die dir
256
+ jemand verkaufen will.**
257
+
258
+ [![Demo auf Deutsch ausprobieren](https://static.streamlit.io/badges/streamlit_badge_black_white.svg)](https://kontolupe.streamlit.app/?lang=de)
259
+
260
+ [**Häufige Fragen**](https://github.com/nicococo/kontolupe/blob/main/docs/FAQ.de.md): Datenschutz, Online-Demo, Installation, Banken, Kategorien und wie die Zahlen
261
+ berechnet werden.
262
+
263
+ Kontolupe macht aus den CSV-Exporten deines Onlinebankings eine klare Übersicht deiner Finanzen: was reinkam,
264
+ was rausging, wohin es ging, was jeden Monat fest verplant ist und was auffällt. Es läuft auf deinem eigenen
265
+ Computer. Kein Konto, keine Cloud, kein Bank-Login, kein Tracking. Die ganze Oberfläche gibt es auf Deutsch
266
+ und Englisch.
267
+
268
+ **Warum nicht einfach Finanzguru?** Finanzguru will deinen Bank-Login, speichert deine Umsätze auf seinen
269
+ Servern und verdient an Verträgen, die es dir vermittelt. Deine Bankdaten sind aber kein Geschäftsmodell.
270
+ Kontolupe liest nur Dateien, die du selbst herunterlädst, und schickt nichts irgendwohin: nicht einmal
271
+ Schriften werden nachgeladen, das kannst du im Netzwerk-Tab deines Browsers prüfen. Der Haken, ehrlich gesagt:
272
+ Du lädst ab und zu einen CSV-Export herunter, statt automatisch zu synchronisieren, und Kontolupe analysiert
273
+ dein Geld, wechselt aber keine Verträge für dich. Kontolupe gehört weder zu Finanzguru noch zu einer Bank.
274
+
275
+ ### Ausprobieren
276
+
277
+ Mit [uv](https://docs.astral.sh/uv/getting-started/installation/) startet ein Befehl Kontolupe mit
278
+ erfundenen Daten unter <http://localhost:8501>:
279
+
280
+ ```sh
281
+ uvx kontolupe --demo
282
+ ```
283
+
284
+ Oder [online auf Streamlit Community Cloud](https://kontolupe.streamlit.app/?lang=de): Dort bleiben
285
+ hochgeladene Dateien nur im Speicher deiner Sitzung, nichts wird auf die Festplatte geschrieben, andere sehen
286
+ nichts davon, und alles ist weg, sobald du den Tab schließt. Es ist trotzdem ein fremder Server (von Snowflake, in den
287
+ USA), also nimm für deine echten Umsätze lieber die lokale Version.
288
+
289
+ ### Mit deinen eigenen Daten
290
+
291
+ ```sh
292
+ uvx kontolupe --data ~/Dokumente/Finanzen
293
+ ```
294
+
295
+ Dauerhaft installieren: `uv tool install kontolupe`, danach reicht `kontolupe --data …`. Auch
296
+ `pip install kontolupe` geht.
297
+
298
+ Beim ersten Start öffnet sich die Import-Seite. Zieh deinen CSV-Export hinein, prüf die Vorschau und füg ihn
299
+ hinzu. Überlappende Exporte sind kein Problem, doppelte Buchungen werden erkannt.
300
+
301
+ **Direkt gelesen werden**: DKB, ING, Sparkasse (CSV-CAMT V2 und CSV-MT940, auch LBBW/BW-Bank), Volksbank,
302
+ Raiffeisenbank, Sparda, PSD und GLS, Deutsche Bank, Postbank und norisbank, Commerzbank, N26, C24 und Vivid;
303
+ comdirect und Revolut nach veröffentlichten Beschreibungen, noch ohne echten Test. **Jede andere Bank** geht
304
+ auch: Kontolupe fragt einmal, welche Spalte was ist. Eigene Formate kannst du in einer `banks.toml` in deinem
305
+ Datenordner beschreiben.
306
+
307
+ ### Was drin ist
308
+
309
+ - **Übersicht**: Ausgaben und Einnahmen in einem Satz, das laufende Ergebnis Tag für Tag, der Puffer, den du
310
+ am Monatsanfang brauchst, um nie ins Minus zu rutschen, und ein paar Hinweise in Klartext.
311
+ - **Ausgaben**: Kategorien im Vergleich zu einem typischen Monat, Händler in jeder Kategorie, Ausgaben pro Tag.
312
+ - **Fixkosten**: Abos und Verträge, automatisch gefunden, mit Preisänderungen und beendeten Zahlungen; dazu ihr
313
+ Anteil am festen Einkommen, was danach übrig bleibt, die monatliche Rücklage für Zahlungen, die nur ein paarmal
314
+ im Jahr kommen, ein Kalender, wann im Monat abgebucht wird, die nächsten 30 Tage, der Verlauf über die Monate,
315
+ der Preisverlauf jedes Vertrags und deine festen Einnahmen. Direkt in der Tabelle korrigierst, entfernst und
316
+ ergänzt du Fixkosten, auch solche, die nicht in deinen Exporten stehen.
317
+ - **Langzeit**: Monate im Vergleich, die Streuung pro Jahr, dein Kontostand über die Zeit, ein Wochenrhythmus.
318
+ - **FIRE**: deine Sparquote der letzten 12 Monate, deine FIRE-Zahl (und eine Lean-FIRE-Zahl nur für das
319
+ Nötigste), wie viele Jahre es noch dauert, was 100 € weniger Ausgaben im Monat bringen, deine größten Hebel
320
+ und wie viele Monate dein Kontostand als Notgroschen reicht. Überweisungen an Broker und ETF-Sparpläne zählen
321
+ als gespart, nicht als ausgegeben.
322
+ - **Auffälligkeiten**: ungewöhnliche Beträge, doppelte Abbuchungen, ausgebliebene Zahlungen oder Gehälter,
323
+ neue Abos, Preisänderungen, Überziehungen, Rücklastschriften.
324
+ - **Buchungen**: alles durchsuchen, Kategorien und Händlernamen direkt in der Tabelle ändern. Unter
325
+ *Vorschläge* räumst du mit einem Klick auf: Kategorien für Händler ohne, gelernt aus dem, was du schon sortiert
326
+ hast; Händler, die unter mehreren Namen auftauchen; und Händler, deren Zahlungen in mehreren Kategorien liegen.
327
+ - **Mehrere Konten**: wähle links eines, mehrere oder alle zusammen.
328
+
329
+ ## Development
330
+
331
+ ```sh
332
+ git clone https://github.com/nicococo/kontolupe && cd kontolupe
333
+ uv sync
334
+ uv run pytest # the test suite
335
+ uv run pytest --cov # with coverage, as CI runs it on Python 3.12 to 3.14
336
+ uv run kontolupe --demo # look at it
337
+ uv run python -m kontolupe.demo examples # write another made-up account's exports
338
+ ```
339
+
340
+ The code is small and plain: [`parse.py`](https://github.com/nicococo/kontolupe/blob/main/src/kontolupe/parse.py) reads exports in the layouts of
341
+ [`banks.toml`](https://github.com/nicococo/kontolupe/blob/main/src/kontolupe/banks.toml), [`categorize.py`](https://github.com/nicococo/kontolupe/blob/main/src/kontolupe/categorize.py) applies rules, [`edits.py`](https://github.com/nicococo/kontolupe/blob/main/src/kontolupe/edits.py) layers your
342
+ edits on top, [`analysis.py`](https://github.com/nicococo/kontolupe/blob/main/src/kontolupe/analysis.py) and [`anomalies.py`](https://github.com/nicococo/kontolupe/blob/main/src/kontolupe/anomalies.py) do the
343
+ maths, [`charts.py`](https://github.com/nicococo/kontolupe/blob/main/src/kontolupe/charts.py) draws with Plotly, and [`app.py`](https://github.com/nicococo/kontolupe/blob/main/src/kontolupe/app.py) is the
344
+ Streamlit app. Text is written in English in the code and translated in [`de.py`](https://github.com/nicococo/kontolupe/blob/main/src/kontolupe/de.py) through
345
+ [`i18n.py`](https://github.com/nicococo/kontolupe/blob/main/src/kontolupe/i18n.py); a test fails when a German translation is missing. Built with [Streamlit](https://streamlit.io), [pandas](https://pandas.pydata.org) and
346
+ [Plotly](https://plotly.com/python/).
347
+
348
+ ### Roadmap
349
+
350
+ - Run entirely in the browser with [stlite](https://github.com/whitphx/stlite) (no install, still no server)
351
+ - More bank layouts out of the box (Consorsbank, Trade Republic, …), checked against real exports
352
+ - Direct, local bank sync via FinTS
353
+
354
+ ## Changelog
355
+
356
+ What changed in each release is in [CHANGELOG.md](https://github.com/nicococo/kontolupe/blob/main/CHANGELOG.md).
357
+
358
+ ## License
359
+
360
+ MIT for the code. The bundled Schibsted Grotesk typeface is under the
361
+ [SIL Open Font License](https://github.com/nicococo/kontolupe/blob/main/src/kontolupe/static/OFL.txt).