Skip to content

fyne-coder/streamlit-extras

 
 

Repository files navigation


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

About

Discover, try, install and share Streamlit re-usable bits we call "extras"!

Resources

License

Contributing

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 99.7%
  • Other 0.3%