Skip to main content

A community-driven collection of useful Streamlit components and utilities that extend Streamlit's functionality.

Project description


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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

streamlit_extras-1.3.0.tar.gz (345.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

streamlit_extras-1.3.0-py3-none-any.whl (602.7 kB view details)

Uploaded Python 3

File details

Details for the file streamlit_extras-1.3.0.tar.gz.

File metadata

  • Download URL: streamlit_extras-1.3.0.tar.gz
  • Upload date:
  • Size: 345.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.2 {"installer":{"name":"uv","version":"0.11.2","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for streamlit_extras-1.3.0.tar.gz
Algorithm Hash digest
SHA256 437be7422230a13b9606f9f6ec22e5f2595bde4b8352ce01ab43c6552bf0aeab
MD5 27f63ac0a33aba65e2c5624c10a5230a
BLAKE2b-256 5b700bf3fb54419aa82879d8767288283daee7ba8acca546434869f60d8db13d

See more details on using hashes here.

File details

Details for the file streamlit_extras-1.3.0-py3-none-any.whl.

File metadata

  • Download URL: streamlit_extras-1.3.0-py3-none-any.whl
  • Upload date:
  • Size: 602.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.2 {"installer":{"name":"uv","version":"0.11.2","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for streamlit_extras-1.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 3cdf9deede3f5560ee179158fcb9c8232fa1da54fca8439ed8bab9d3185d35f9
MD5 9e10634176b1cc113753e8a47027c6e3
BLAKE2b-256 935c35330b8b756ea9e2bcb3aa0f94ed949c5bb29ce1e4bf2f1aa89ea2497b07

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page