{"id":19123951,"url":"https://github.com/cheatsheet-lang/streamlit","last_synced_at":"2026-04-17T04:32:25.825Z","repository":{"id":102494227,"uuid":"276113955","full_name":"Cheatsheet-lang/Streamlit","owner":"Cheatsheet-lang","description":"Cheatsheet for getting started with streamlit framework","archived":false,"fork":false,"pushed_at":"2021-10-16T05:58:51.000Z","size":12,"stargazers_count":1,"open_issues_count":1,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-22T13:55:08.852Z","etag":null,"topics":["cheatsheet","hacktoberfest","hacktoberfest2020","streamlit"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Cheatsheet-lang.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":"2020-06-30T13:55:49.000Z","updated_at":"2022-10-02T04:44:57.000Z","dependencies_parsed_at":null,"dependency_job_id":"e0ee6c52-6c60-4994-9b64-7e0b502b2940","html_url":"https://github.com/Cheatsheet-lang/Streamlit","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Cheatsheet-lang/Streamlit","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Cheatsheet-lang%2FStreamlit","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Cheatsheet-lang%2FStreamlit/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Cheatsheet-lang%2FStreamlit/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Cheatsheet-lang%2FStreamlit/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Cheatsheet-lang","download_url":"https://codeload.github.com/Cheatsheet-lang/Streamlit/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Cheatsheet-lang%2FStreamlit/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31915124,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-16T18:22:33.417Z","status":"online","status_checked_at":"2026-04-17T02:00:06.879Z","response_time":62,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["cheatsheet","hacktoberfest","hacktoberfest2020","streamlit"],"created_at":"2024-11-09T05:27:44.381Z","updated_at":"2026-04-17T04:32:25.790Z","avatar_url":"https://github.com/Cheatsheet-lang.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Streamlit Cheatsheet\n\nStreamlit is a Web Framework which is build for Data Scientist to readily convert their projects/analysis into a web application.\n\n## Installation\nTo install streamlit run the following command at the prompt, after cloning this repo.\n\n```shell\n$ sudo pip3 install -r requirements.txt\n```\n\n```shell\n$ streamlit run app.py\n```\n\n## Getting Started\n```python3\n# The well known alias\n\nimport streamlit as st\n```\n\n### altair_chart\n```python3\n# c is the altair chart object\n\nst.altair_chart(c, use_container_width=True)\n```\n\n### area_chart\n```python3\n# chart_data is a pd.DataFrame object\n\nst.area_chart(chart_data)\n```\n\n### audio\n```python3\n# audio_bytes is a BytesIO object\n\nst.audio(audio_bytes, format='audio/ogg')\n```\n\n### checkbox\n```python3\n# data is a pd.DataFrame object\n\nshow_data = st.checkbox('Show Raw Data')\n\nif show_data:\n    st.write(data)\n```\n\n### selectbox\n```python3\noption = st.selectbox('Which Language do you know?', ('C', 'Python', 'Java'))\n\nst.write('You Know:', option)\n```\n\n### text\n```python3\n# To display text in it\n\nst.text(\"This is simply a text\")\n```\n\n### latex\n```python3\n# Render latex code on the dashboard\n\nst.latex(r'''\nE = MC^2\n''')\n```\n\n### markdown\n```python3\n# Display markdown code\n\nst.markdown(\"I have rendered **markdown code** in this\")\n```\n\n### title\n```python3\n# Display the title(it is usually in bold and caps)\n\nst.title('Display Title')\n```\n\n### header\n```python3\n# Header of any section(much less bold than title)\n\nst.header('Section Header')\n```\n\n### subheader\n```python3\n# This is a subheader\n\nst.subheader('My Subheader')\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcheatsheet-lang%2Fstreamlit","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcheatsheet-lang%2Fstreamlit","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcheatsheet-lang%2Fstreamlit/lists"}