streamlit-extras

A library to discover, try, install and share Streamlit extras


Keywords
data, python, streamlit, ui, web
License
Apache-2.0
Install
pip install streamlit-extras==0.7.5

Documentation


PyPI version

🪢 streamlit-extras

A Python library with useful Streamlit extras

streamlit-extras is a Python library putting together useful Streamlit bits of code (extras).

CleanShot 2023-10-18 at 14 56 43

Highlights

  • 📙  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!

Getting Started

Installation

pip install streamlit-extras

Or with uv:

uv add streamlit-extras

Usage

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""",
)

Development

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

Documentation

Visit https://arnaudmiribel.github.io/streamlit-extras

Contribution

PRs are welcome! Guidelines here

README template taken from LukasMasuch/streamlit-pydantic