Typed parser and query SDK for Realbyte Money Manager .mmbak backups.
Project description
moneymanager-parser
Typed Python SDK and offline CLI for Realbyte Money Manager .mmbak exports.
A .mmbak export is a ZIP-wrapped SQLite database. This package reads the export locally,
resolves common schema aliases across app versions, and exposes transactions, summaries, flexible
queries, schema inspection, categories, accounts, and currencies. Core parsing uses only the Python
standard library. Income is exposed by the API, but expense-oriented analysis should treat it as
informational because Money Manager exports can vary by installation.
The backup's currencies are read from the CURRENCY table when present. currency() returns the main
currency (ISO, symbol, name); amounts are stored in the account/transaction currency and are not
converted.
Install
After the first release:
pip install moneymanager-parser
Quickstart
from moneymanager_parser import MoneyManagerBackup
with MoneyManagerBackup.from_file("backup.mmbak") as backup:
main = backup.currency()
if main:
print(main.iso, main.symbol)
for txn in backup.transactions():
print(txn.date, txn.kind, txn.category, txn.amount)
print(backup.query(month="2026-01", group_by="category").as_dict())
Custom transaction type maps are supported:
MoneyManagerBackup.from_file("backup.mmbak", type_map={0: "income", 1: "expense", 7: "transfer"})
CLI
mmbak query backup.mmbak --month 2026-01 --group-by category --top 10
mmbak schema backup.mmbak
mmbak currency backup.mmbak
All commands print JSON and never contact external services.
Development
python3 -m venv .venv
. .venv/bin/activate
pip install -e '.[dev]'
ruff check .
ruff format --check .
mypy src
pytest --cov
Contributing
Issues and pull requests are welcome. Please include tests for schema variants and avoid committing personal exports; test backups should be generated synthetically.
License
MIT © 2026 Shubham Sharma
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
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 moneymanager_parser-0.1.0.tar.gz.
File metadata
- Download URL: moneymanager_parser-0.1.0.tar.gz
- Upload date:
- Size: 13.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0e2aee63f2495f127b29d01b41a2876b1041e5e13713187abdfcdf353e364469
|
|
| MD5 |
2de1b42dc4f16db7c02f3af6934817f0
|
|
| BLAKE2b-256 |
88f38c42f03b7292cd7139ae21b3b6ce30aea27920c737858aa0730f7096ed83
|
Provenance
The following attestation bundles were made for moneymanager_parser-0.1.0.tar.gz:
Publisher:
release.yml on shubham1172/moneymanager-parser
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
moneymanager_parser-0.1.0.tar.gz -
Subject digest:
0e2aee63f2495f127b29d01b41a2876b1041e5e13713187abdfcdf353e364469 - Sigstore transparency entry: 1686349249
- Sigstore integration time:
-
Permalink:
shubham1172/moneymanager-parser@d2c6748946444f99aa856657370c52f59b920e03 -
Branch / Tag:
refs/tags/v0.1.0 - Owner: https://github.com/shubham1172
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@d2c6748946444f99aa856657370c52f59b920e03 -
Trigger Event:
push
-
Statement type:
File details
Details for the file moneymanager_parser-0.1.0-py3-none-any.whl.
File metadata
- Download URL: moneymanager_parser-0.1.0-py3-none-any.whl
- Upload date:
- Size: 12.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6ee79a206f5d699a69a0bd86d4c7df425eb4b7e5264dfd8b2b948eaeba5c40fe
|
|
| MD5 |
929443aded9e7358d663b917aa176d4c
|
|
| BLAKE2b-256 |
ac5441011ea061c9aa441b3591cae60da12ffbbe8ad844ec25fb4d684dac7232
|
Provenance
The following attestation bundles were made for moneymanager_parser-0.1.0-py3-none-any.whl:
Publisher:
release.yml on shubham1172/moneymanager-parser
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
moneymanager_parser-0.1.0-py3-none-any.whl -
Subject digest:
6ee79a206f5d699a69a0bd86d4c7df425eb4b7e5264dfd8b2b948eaeba5c40fe - Sigstore transparency entry: 1686349376
- Sigstore integration time:
-
Permalink:
shubham1172/moneymanager-parser@d2c6748946444f99aa856657370c52f59b920e03 -
Branch / Tag:
refs/tags/v0.1.0 - Owner: https://github.com/shubham1172
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@d2c6748946444f99aa856657370c52f59b920e03 -
Trigger Event:
push
-
Statement type: