Finance mosaix is a DuckDB-based personal finance application for importing Excel transaction sheets, tracking cash flow, monitoring assets, and visualizing results with a Streamlit dashboard.
Disclaimer: this project was mainly realized with CoPilot assistance, using the Raptor mini model for content generation and implementation guidance.
src/finance_mosaix/core/: core finance logic, database schema, migrations, import and query helpers, CLIsrc/finance_mosaix/dashboard/: Streamlit dashboard UI, charts, and data viewstest/: automated tests for import logic and queriesdocs/: project-specific documentation and usage guidesCONTRIBUTING.md: contribution guidelinesLICENSE: MIT license
- Public brand name:
Finance mosaix - Internal code/package name:
FinanceMosaix - Project root folder:
finance-mosaix/ - The virtual environment is created under
finance-mosaix/.venv.
Finance mosaix is named for the way it brings many finance data pieces together into a single, structured view. It combines budgets, cash flow, assets, reports, and transaction history into one coherent, dynamic picture.
- Create a Python virtual environment in the project root.
Linux/macOS:
python3 -m venv .venv
source .venv/bin/activateWindows:
python -m venv .venv
.\.venv\Scripts\activate- Install the package and runtime dependencies:
python -m pip install --upgrade pip
python -m pip install -e .- Generate a sample database with realistic data:
python -m finance_mosaix.dashboard.create_sample_databaseThis creates finance_sample.duckdb in the project root.
- Start the dashboard:
python start_dashboard.py- Open the URL shown by Streamlit to view charts and reports.
The sample database includes:
- checking, savings, and brokerage accounts
- income and expense transactions
- stock portfolio snapshots
- goods depreciation valuations
- interest account balance changes
This dataset is suitable for taking a dashboard screenshot or exploring the app immediately.
After pip install -e . the finance-mosaix console script is available:
finance-mosaix --init
finance-mosaix --import path/to/file.xlsx
finance-mosaix --balance
finance-mosaix --spending 30
finance-mosaix --search "rent"More detailed documentation is available in docs/:
This project is licensed under the MIT License. See LICENSE for details.
