--- id: streamlit-embedcode version: "0.1.2" license: unclear license_treatment: unclear maintenance: abandoned --- # streamlit-embedcode — Streamlit component for embedded code snippets License: unclear · Maintenance: abandoned · Downloads: 263.3K/mo ## What it is and what it does streamlit-embedcode is a Streamlit component that wraps code-sharing services (GitHub gist, GitLab snippets, Pastebin, CodePen, Ideone, and TagMyCode) into embeddable iframe components for display within Streamlit apps. It lets you reference external code snippets by URL and render them inline, with optional control over iframe height, width, and scrolling behavior. The package depends only on streamlit and installs with low friction. However, it has been abandoned since 2021-05-17 and receives no maintenance, so its compatibility with modern Streamlit versions and the stability of the external services' embed APIs are both unknown. Use it for: - Display GitHub gist snippets in a Streamlit documentation or tutorial app without copying code into the app itself - Embed CodePen projects or Pastebin pastes directly in a Streamlit dashboard for reference or demonstration - Create a code-sharing portal in Streamlit that pulls snippets from multiple external services via URL - Show GitLab snippets or Ideone solutions in a Streamlit learning or code-review interface ## Worth the install? AI-flagged interpretation of the facts above — verify before relying. Embeds code snippets from external services (GitHub gist, GitLab, Pastebin, CodePen, Ideone, TagMyCode) directly into Streamlit apps via iframe components. No—the package is abandoned (last release 2021-05-17, no commits for 1915 days) with no maintenance signal, an unclear license, and unknown compatibility with current Streamlit versions. Only install if you are maintaining a legacy Streamlit app that already uses it and you have verified the component still works with your current environment. ## Install pip install streamlit-embedcode uv add streamlit-embedcode poetry add streamlit-embedcode ## Installing streamlit-embedcode Before you install: Installation is straightforward with a single dependency on streamlit, but the package has been abandoned since May 2021 with no maintenance for 1915 days, so expect no updates for bugs or compatibility issues. License in practice: License status is unclear—no SPDX identifier or raw license text is available—so legal terms for use and redistribution cannot be determined from the package metadata. Quickstart: pip install streamlit-embedcode import streamlit as st from streamlit_embedcode import github_gist github_gist("https://gist.github.com/randyzwitch/be8c5e9fb5b8e7b046afebcac12e5087/") Requires Python >=3.6; compatibility with current Streamlit versions is unknown given the package has not been maintained since 2021-05-17. Verify before relying: - Whether the component still works with current Streamlit versions given the 1915-day gap since last release - Whether the external code-sharing services' embed APIs remain compatible with the component's iframe approach - What the actual license is, since it is not declared in package metadata ## Package facts - License: not declared (unclear) - Python support: supports_current - Install friction: low - Maintenance: abandoned - Downloads: 263.3K/month (top 15,000 on PyPI) - Known vulnerabilities: none known ## Tags embed code snippets streamlit, github gist streamlit component, pastebin embed streamlit, code sharing streamlit, streamlit iframe code display, codepen streamlit embed, gitlab snippets streamlit, abandoned, streamlit-component [View on SkillFed](https://skillfed.io/packages/streamlit-embedcode) · [View on PyPI](https://pypi.org/project/streamlit-embedcode/)