An interactive dashboard for visualizing and analyzing liquidity data from multiple sources, built with Streamlit and containerized for easy deployment.
βββ Dockerfile # Container build instructions
βββ requirements.txt # Python dependencies
βββ streamlit_app.py # Main Streamlit app entry point
βββ src/ # Source code (data fetchers, UI components, config)
βββ data/ # Static data files
βββ plots/ # Generated plots
βββ docs/ # Documentation
- Docker installed
docker build -t liquidity-dashboard .docker run -p 8501:8501 liquidity-dashboardThen open http://localhost:8501 in your browser.
If you prefer to run locally (without Docker):
- Create a virtual environment and activate it:
python3 -m venv venv source venv/bin/activate - Install dependencies:
pip install -r requirements.txt
- Run the app:
streamlit run streamlit_app.py
- App configuration is managed in
src/config.pyandsrc/common/config.py. - Data sources and update logic are in
src/fetch_*.pyandsrc/components/.
- See
docs/DATA-SOURCES.mdfor details on data origins and update instructions. - Static data is in
data/.
- Build the Docker image as above.
- Test locally to ensure the app runs as expected.
- Push to a container registry (e.g., Docker Hub, GitHub Container Registry, Azure Container Registry):
docker tag liquidity-dashboard yourrepo/liquidity-dashboard:latest docker push yourrepo/liquidity-dashboard:latest
- Deploy using your preferred container orchestration (Kubernetes, Azure Web Apps, etc.).
Create a .dockerignore file to exclude unnecessary files from the image:
__pycache__/
*.pyc
.git/
docs/
plots/
venv/
- If you see file permission errors, ensure the container user has access to
data/andplots/. - For networking issues, confirm port 8501 is open and not in use.
Pull requests are welcome! Please see docs/AGENTS.md for agent-related contributions and docs/REQUIREMENTS_REPORT.md for dependency details.
MIT License (see LICENSE file).