{"id":14959503,"url":"https://github.com/streamlit/snowflake-usage-app","last_synced_at":"2025-04-09T11:11:18.190Z","repository":{"id":37597841,"uuid":"502721642","full_name":"streamlit/snowflake-usage-app","owner":"streamlit","description":"A Streamlit app that provides insights on your Snowflake account usage.","archived":false,"fork":false,"pushed_at":"2025-01-27T08:47:40.000Z","size":211,"stargazers_count":57,"open_issues_count":16,"forks_count":28,"subscribers_count":4,"default_branch":"main","last_synced_at":"2025-04-02T09:07:26.162Z","etag":null,"topics":["python","snowflake","streamlit"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/streamlit.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-06-12T20:32:01.000Z","updated_at":"2025-02-06T21:20:26.000Z","dependencies_parsed_at":"2025-02-04T08:41:56.190Z","dependency_job_id":null,"html_url":"https://github.com/streamlit/snowflake-usage-app","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/streamlit%2Fsnowflake-usage-app","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/streamlit%2Fsnowflake-usage-app/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/streamlit%2Fsnowflake-usage-app/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/streamlit%2Fsnowflake-usage-app/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/streamlit","download_url":"https://codeload.github.com/streamlit/snowflake-usage-app/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248027407,"owners_count":21035594,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["python","snowflake","streamlit"],"created_at":"2024-09-24T13:19:51.780Z","updated_at":"2025-04-09T11:11:18.163Z","avatar_url":"https://github.com/streamlit.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003e [!NOTE]\n\u003e Discover many more Streamlit \u0026 Snowflake apps in the [snowflake-demo-streamlit](https://github.com/Snowflake-Labs/snowflake-demo-streamlit) repository\n\n---\n\n# Streamlit demo: 🌀 The Snowflake Usage Insights app\n\nThis app provides insights on a demo Snowflake account usage.\n\nIt was made using :balloon: [Streamlit](https://www.streamlit.io) and the :snowflake: [Snowflake Python connector](https://github.com/snowflakedb/snowflake-connector-python)!\n\n\u003cimg width=\"200\" alt=\"CleanShot 2022-06-13 at 23 03 10@2x\" src=\"https://user-images.githubusercontent.com/7164864/173445058-f2a3302c-a8fc-463f-bed2-0c18155310d0.png\"\u003e\n\n### Can I use this app with my own Snowflake account?\n\nThis demo app currently only supports basic username / password authentication\nto connect to your Snowflake account. For security purposes, we recommend cloning this app and running it **locally** instead of on Streamlit Cloud. If you're interested, head over to the next section!\n\n### Run this app locally\nFollow these steps:\n\n1. **Set up dependencies.** Get [Pipenv](https://pipenv-fork.readthedocs.io/en/latest/install.html#pragmatic-installation-of-pipenv),\nclone/fork this repository and within the directory, run:\n```\npipenv clean \u0026\u0026 pipenv install --python 3.9\n```\n\n2. **Set up credentials.** Create a file `.streamlit/secrets.toml` and fill in your Snowflake account\ncredentials. The file should look like this:\n```\n[sf_usage_app]\nuser = \"...\"\naccount = \"...\"\npassword = \"...\"\nwarehouse = \"...\"\n```\n\n3. **Run the app locally.** Simply run:\n```\npipenv run streamlit run Home.py\n```\n\n🎊 Your browser should now be opened with the Streamlit app running locally!\n\n### Contribute\n\nFeel free to contribute! Simply make sure to:\n1. Install development dependencies `pipenv install --python 3.9 --dev`\n2. Set up pre-commit hooks `pipenv run pre-commit install`\n\n### Questions? Comments?\n\nPlease ask in the [Streamlit community](https://discuss.streamlit.io).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstreamlit%2Fsnowflake-usage-app","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fstreamlit%2Fsnowflake-usage-app","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstreamlit%2Fsnowflake-usage-app/lists"}