End-to-end treasury analytics data product: synthetic data warehouse, SSAS semantic layer, Dash web dashboard, and Jupyter notebooks.
Start from the extracted repository root. That folder should contain
requirements.txt and the treasury-analytics/ directory.
Windows PowerShell:
python -m venv .venv
.\.venv\Scripts\Activate.ps1macOS/Linux:
python3 -m venv .venv
source .venv/bin/activateIf PowerShell blocks activation, run:
Set-ExecutionPolicy -Scope Process -ExecutionPolicy RemoteSignedpip install -r requirements.txtpython treasury-analytics/warehouse/treasury_mock_data.pyThis creates CSV files under treasury-analytics/data/generated/.
python treasury-analytics/warehouse/build_warehouse.pyThis creates the local DuckDB database under treasury-analytics/warehouse/.
python treasury-analytics/dashboard/app.pyOpen the app at:
http://localhost:8050
- No local
.envfile is required for the default setup. - If
pythondoes not point to Python 3 on your machine, usepython3instead. - Run data generation before the warehouse build, because the database loader expects the generated CSV files to exist first.
This repository now includes a static landing page at index.html that links to the two dashboard pages:
Treasury_ALCO_Dashboard.htmlTreasury_Command_Center.html
To publish it with GitHub Pages:
- Push the repository to GitHub.
- In the repository, open
Settings>Pages. - Set the source to deploy from the branch root, or keep the default branch root if your repo uses direct Pages publishing.
- Wait for GitHub Pages to build, then open the Pages URL GitHub provides.
The .nojekyll file at the repository root prevents GitHub Pages from applying Jekyll processing to the static files.