Skip to main content

dvm-finance

Integrated personal-finance app: download, parse, categorize, and review bank statements locally, in a single, local, single-user web application. No login, no charts, no LLM — rules + manual categorization, tables, and an audit trail.

Install & run (PyPI)

With PyPI, simply:

pip install dvm-finance
dvm-finance

Or with uv for no-venv installation:

uvx dvm-finance

For development from a local checkout / wheel:

uvx --from /path/to/your/checkout dvm-finance
uvx --from dist/dvm_finance-0.1.0-py3-none-any.whl dvm-finance

First run

dvm-finance             # serves http://127.0.0.1:8000 and prints the URL

On first start the app creates its data directory (SQLite DB, downloaded statements, snapshot exports) and migrates the schema automatically. Defaults to the platform user-data dir; the startup line prints the folder in use. Override it with --data-dir or DVM_FINANCE_DATA_DIR. Other flags: --port (default 8000), --host (default 127.0.0.1) and --no-browser (do not open the browser at the start).

The app binds to 127.0.0.1 and has no authentication — do not widen the bind address on an untrusted network.

An empty install offers three ways in: migrate a legacy database (below), upload statement files on the Import page (MT940/STA, ABN XLS, generic CSV, PayPal TXT, Wise CSV, SEB CSV, First Tech OFX), or download directly from the same page. To try the app first, click Load sample data on the empty Transactions page.

Migrating from abn-analyst

One-time, idempotent import of all transactions, rules + conditions, budgets and manual categorizations from a legacy abn_analyst.db (opened read-only):

dvm-finance migrate-legacy /path/to/abn_analyst.db

Re-running skips already-present rows. A per-table summary is printed.

Sharing data with a second person

  • Export (the Export page in the ⋮ menu): one click writes a versioned, gzipped-JSON snapshot of transactions, rules, budgets and change reports, offered as a download.
  • Import (their machine): upload the file on the Export page. The merge is incoming wins — new records are inserted, conflicting records (including manual categorizations and rule edits) are overwritten by the snapshot; local records absent from the snapshot are never deleted. The database is backed up first and an import report is stored for review.
  • Second-user setup is two commands: uvx dvm-finance, then import a snapshot in the browser.

Security note: snapshot files contain your full financial data and are not encrypted. Exchange them only over a channel you trust.

Downloads

  • ABN AMRO: click "Start ABN download" — a headed Chromium opens; authenticate with the ABN AMRO app; statements are fetched, saved and imported automatically. Requires Playwright browsers:

    playwright install chromium
    

    The app works fine without them (upload/rules/trends); the Import page shows install instructions when they are missing.

  • PayPal, Wise, SEB and First Tech: start Chrome with remote debugging first, then click the start button of the bank. Log in to the bank in that Chrome window when the job asks. SEB needs the BankID login. First Tech gives one OFX file for all accounts and at most two years of history. For PayPal:

    /Applications/Google\ Chrome.app/Contents/MacOS/Google\ Chrome \
      --remote-debugging-port=9226 --user-data-dir=~/.chrome/debugdir \
      https://www.paypal.com/reports/dlog
    

SEB and First Tech amounts are converted to the euro with the ECB reference rates. If the app cannot get the rates, it refuses the file and stores no transaction. Try the import again later.

Claude Code skill: home finance analysis

The repository holds the skill home-finance for Claude Code. With the skill, Claude reads the dvm-finance database and answers questions about your transactions, trends, budgets, and cash flow. It also gives advice on how to manage the home finances. The app itself does not use an LLM. The skill runs in Claude Code only.

The skill opens the database read-only. It makes each change through the app, and it asks you first.

Install the skill

Add this repository as a plugin marketplace, then install the plugin. In a Claude Code session, type:

/plugin marketplace add divyavanmahajan/dvm-finance
/plugin install home-finance@dvm-finance

From the shell, use these commands:

claude plugin marketplace add divyavanmahajan/dvm-finance
claude plugin install home-finance@dvm-finance

To install the skill from a local clone, give the path of the clone:

/plugin marketplace add ./path/to/dvm-finance

To install the skill without the plugin system, copy the skill folder into your personal skills folder:

mkdir -p ~/.claude/skills
cp -r plugins/home-finance/skills/home-finance ~/.claude/skills/

Use the skill

Start a new Claude Code session after the installation. Then ask a question, for example:

  • "How much did we spend on groceries each month this year?"
  • "Which budgets are over the limit this month?"
  • "Show the cash flow and the savings rate for the last 12 months."
  • "Find the subscriptions that I still pay for."

If the data folder is not in the default location, set DVM_FINANCE_DATA_DIR, or tell Claude the path.

Development

source ~/venv/bin/activate
pip install -e ".[dev]"
playwright install chromium

ruff check .                 # lint
pytest                       # unit + integration (e2e/slow deselected)
pytest --cov=abn_combined    # coverage (fails under 80%)
pytest -m e2e                # Playwright end-to-end flows (headless Chromium)
dvm-finance --data-dir ./devdata   # run against a scratch data dir

See docs/architecture.md, docs/developer.md and docs/product.md for design notes, and docs/core-beliefs.md for the project's golden principles.

Metadata

Release files for dvm-finance 2.4.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for dvm-finance 2.4.1
File Size Uploaded Provenance Actions
dvm_finance-2.4.1.tar.gz 250.9 kB With provenance Details for dvm_finance-2.4.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for dvm-finance 2.4.1
File Interpreter ABI Platform Actions
dvm_finance-2.4.1-py3-none-any.whl Python 3 none any Details for dvm_finance-2.4.1-py3-none-any.whl

Total release size: 575.0 kB

Release files / dvm_finance-2.4.1.tar.gz

Download URL dvm_finance-2.4.1.tar.gz
Size 250.9 kB
Tags Source
SHA-256 checksum
How to use checksums
b572426d8594e9744ff382a81154aed2ccabf9c0c8e2a7313ee6100cc51e8f9b
BLAKE2b-256 checksum
How to use checksums
14e8a8e1178fb7ec34bea70c0718c2413a7eeb2479c1b03c532ca3385ef6510b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 28, 2026.

Transparency log

Release files / dvm_finance-2.4.1-py3-none-any.whl

Download URL dvm_finance-2.4.1-py3-none-any.whl
Size 324.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
4f4533cf90b9747b66ce9385b8ac491ba4cf787921cd19b2c9c4d6fb6e018eda
BLAKE2b-256 checksum
How to use checksums
9ab62dd4da1603b8e3364f8e657329a55c800170614abee7195d8062aee8fad8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 28, 2026.

Transparency log

Security for dvm-finance 2.4.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for dvm_finance-2.4.1.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 28, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page