A Python library with useful Streamlit extras
streamlit-extras
is a Python library putting together useful Streamlit bits of code (extras).
- 📙 Discover: Visit our documentation to discover all extras.
- ⬇️ Install:
streamlit-extras
is a PyPI package with all extras included. Get them all using pip! - 🫴 Share: Go ahead and share your own extras, it's just a PR away!
pip install streamlit-extras
Or with uv:
uv add streamlit-extras
Here's an example with one of the easiest extras around, stoggle
from streamlit_extras.stoggle import stoggle
stoggle(
"Click me!",
"""🥷 Surprise! Here's some additional content""",
)
This project uses uv for dependency management.
# Install uv
curl -LsSf https://astral.sh/uv/install.sh | sh
# Clone and setup
git clone https://github.com/arnaudmiribel/streamlit-extras.git
cd streamlit-extras
uv sync
# Run tests
uv run pytest
# Run the gallery
uv run streamlit run gallery/streamlit_app.py
Visit https://arnaudmiribel.github.io/streamlit-extras
PRs are welcome! Guidelines here
README template taken from LukasMasuch/streamlit-pydantic