Skip to content

About

Personal finance app that imports Excel transaction sheets into a local DuckDB and shows cash flow, assets and budgets in a Streamlit dashboard, packaged as a desktop app with Electron.

Topics

Resources

Contributing

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

Finance mosaix

Finance mosaix icon

Python Tests Build package Publish docs Release Please License: MIT Python 3.11+

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.

img.png

Disclaimer: this project was mainly realized with CoPilot assistance, using the Raptor mini model for content generation and implementation guidance.

What it includes

  • src/finance_mosaix/core/: core finance logic, database schema, migrations, import and query helpers, CLI
  • src/finance_mosaix/dashboard/: Streamlit dashboard UI, charts, and data views
  • test/: automated tests for import logic and queries
  • docs/: project-specific documentation and usage guides
  • CONTRIBUTING.md: contribution guidelines
  • LICENSE: MIT license

Naming

  • Public brand name: Finance mosaix
  • Internal code/package name: FinanceMosaix
  • Project root folder: finance-mosaix/
  • The virtual environment is created under finance-mosaix/.venv.

Why Finance mosaix?

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.

Quick start

  1. Create a Python virtual environment in the project root.

Linux/macOS:

python3 -m venv .venv
source .venv/bin/activate

Windows:

python -m venv .venv
.\.venv\Scripts\activate
  1. Install the package and runtime dependencies:
python -m pip install --upgrade pip
python -m pip install -e .
  1. Generate a sample database with realistic data:
python -m finance_mosaix.dashboard.create_sample_database

This creates finance_sample.duckdb in the project root.

  1. Start the dashboard:
python start_dashboard.py
  1. Open the URL shown by Streamlit to view charts and reports.

Sample data

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.

Command-line usage

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"

Docs

More detailed documentation is available in docs/:

License

This project is licensed under the MIT License. See LICENSE for details.

About

Personal finance app that imports Excel transaction sheets into a local DuckDB and shows cash flow, assets and budgets in a Streamlit dashboard, packaged as a desktop app with Electron.

Topics

Resources

Contributing

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages