{"id":14970824,"url":"https://github.com/randyzwitch/streamlit-embedcode","last_synced_at":"2025-05-12T14:32:26.646Z","repository":{"id":51285305,"uuid":"276151743","full_name":"randyzwitch/streamlit-embedcode","owner":"randyzwitch","description":"Streamlit component for embedding code snippets such as GitHub gists, CodePen snippets, Gitlab snippets, etc.","archived":false,"fork":false,"pushed_at":"2021-05-17T19:02:53.000Z","size":184,"stargazers_count":65,"open_issues_count":1,"forks_count":11,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-05-02T04:17:00.265Z","etag":null,"topics":["data-analysis","data-science","data-visualization","python","streamlit","streamlit-component"],"latest_commit_sha":null,"homepage":"https://share.streamlit.io/randyzwitch/streamlit-embedcode/examples/streamlit_app.py","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/randyzwitch.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null},"funding":{"github":"randyzwitch"}},"created_at":"2020-06-30T16:21:26.000Z","updated_at":"2025-04-27T02:52:11.000Z","dependencies_parsed_at":"2022-08-30T13:51:07.055Z","dependency_job_id":null,"html_url":"https://github.com/randyzwitch/streamlit-embedcode","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/randyzwitch%2Fstreamlit-embedcode","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/randyzwitch%2Fstreamlit-embedcode/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/randyzwitch%2Fstreamlit-embedcode/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/randyzwitch%2Fstreamlit-embedcode/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/randyzwitch","download_url":"https://codeload.github.com/randyzwitch/streamlit-embedcode/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253754959,"owners_count":21958933,"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":["data-analysis","data-science","data-visualization","python","streamlit","streamlit-component"],"created_at":"2024-09-24T13:44:12.086Z","updated_at":"2025-05-12T14:32:26.620Z","avatar_url":"https://github.com/randyzwitch.png","language":"Python","readme":"# streamlit-embedcode\n\n![Python package](https://github.com/randyzwitch/streamlit-embedcode/workflows/Python%20package/badge.svg)\n\n[![Open in Streamlit](https://static.streamlit.io/badges/streamlit_badge_black_white.svg)](https://share.streamlit.io/randyzwitch/streamlit-embedcode/examples/streamlit_app.py)\n\nstreamlit-embedcode is the easiest way to embed code snippets into your Streamlit app! This [static component](https://docs.streamlit.io/en/stable/develop_streamlit_components.html#create-a-static-component) supports the following code sharing services:\n\n- [GitHub gist](https://gist.github.com/)\n- [GitLab snippets](https://gitlab.com/explore/snippets)\n- [Pastebin](https://pastebin.com/)\n- [CodePen](https://codepen.io/)\n- [Ideone](https://ideone.com/)\n- [TagMyCode](https://tagmycode.com/)\n\n## Installation\n\nstreamlit-embedcode is distributed via [PyPI](https://pypi.org/project/streamlit-embedcode/):\n\n```python\npip install streamlit-embedcode\n```\n\n## Examples\n\nUsing streamlit-embedcode is as simple as importing the code service you want to use:\n\n```python\nimport streamlit as st\nfrom streamlit_embedcode import github_gist\n\ngithub_gist(\"https://gist.github.com/randyzwitch/be8c5e9fb5b8e7b046afebcac12e5087/\")\n```\n\nOptionally, you can provide arguments for `height`, `width` and `scrolling` to control the behavior of the iframe the content is displayed in.\n\n![github_streamlit_embed](https://github.com/randyzwitch/streamlit-embedcode/blob/master/_static/gh_gist_example.png)\n","funding_links":["https://github.com/sponsors/randyzwitch"],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frandyzwitch%2Fstreamlit-embedcode","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frandyzwitch%2Fstreamlit-embedcode","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frandyzwitch%2Fstreamlit-embedcode/lists"}