Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mito-ds/snowflake-streamlit-bank-performance-demo
A demo of the Mito Streamlit Spreadsheet
https://github.com/mito-ds/snowflake-streamlit-bank-performance-demo
mitosheet streamlit
Last synced: 3 days ago
JSON representation
A demo of the Mito Streamlit Spreadsheet
- Host: GitHub
- URL: https://github.com/mito-ds/snowflake-streamlit-bank-performance-demo
- Owner: mito-ds
- License: mit
- Created: 2023-07-31T03:31:05.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-08-03T18:46:57.000Z (over 1 year ago)
- Last Synced: 2024-11-08T10:12:08.130Z (about 2 months ago)
- Topics: mitosheet, streamlit
- Language: Python
- Homepage: https://www.trymito.io
- Size: 448 KB
- Stars: 16
- Watchers: 1
- Forks: 28
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Compare the world's largest banks
This streamlit app helps you compare important metrics, like Total Desposits, amongst the world's largest banks.
The app pulls data from Snowflake and uses the Mito spreadsheet for Streamlit to display it to the user. The user can further analyze the data using the spreadsheet and pre-made graphs.
![Alt text](app_screenshot.png?raw=true "Streamlit App")
### Mito Streamlit Package
To learn more about creating Streamlit applications using the Mito spreadsheet, checkout the docs [here](https://docs.trymito.io/mito-for-streamlit/getting-started)### The Data
This app is connected to a Snowflake database that contains financial and economic data aggregated by [Cybersyn](https://docs.cybersyn.com/our-data-products/economic-and-financial/financial-and-economic-essentials?utm_source=snowflake.com&utm_medium=website&utm_campaign=website_docs) from the following sources: FDIC, FFIEC, FRED, BLS, CFPB, Bank of England, Bank of International Settlements, Bank of Canada, Banco de Mexico, and Banco Central do Brasil.### Run Locally
1. Set up your data by creating a Snowflake account and then creating a database with [this](https://app.snowflake.com/marketplace/listing/GZTSZAS2KF7/cybersyn-inc-cybersyn-financial-economic-essentials) data. Its free!2. Create a virtual environment:
```
python3 -m venv venv
```3. Start the virtual environment:
```
source venv/bin/activate
```4. Install the required python packages:
```
pip install -r requirements.txt
```5. Create a file `.streamlit/secrets.toml` in the root folder with the following format:
```
[snowflake]
account = "xxx"
user = "xxx"
password = "xxx"
```6. Start the streamlit app
```
streamlit run main.py
```