Skip to main content

Streamlit RockyRoad Tools

Project description

Streamlit Rocky Road Tools

A collection of custom Streamlit components and tools.

Components

st_notification_bar

A customizable notification bar component for Streamlit applications.

Features:

  • Displays notification messages with optional "Learn more" links
  • Persistent dismissal using localStorage
  • Customizable styling with black background and styled buttons
  • React + TypeScript implementation
  • Full width layout within Streamlit constraints

Installation:

pip install streamlit-rockyroad-tools

Usage:

import streamlit as st
from streamlit_rockyroad_tools import st_notification_bar

st_notification_bar(
    message="This is a notification from our sponsors.",
    learn_more="https://example.com",
    key="my_notification"
)

Development

Each component has its own frontend directory with React/TypeScript source code.

To develop the notification bar:

cd st_notification_bar/frontend
npm install
npm start

Then run your Streamlit app in another terminal:

streamlit run st_notification_bar/my_notification_bar_example.py

Project details


Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

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

streamlit_rockyroad_tools-0.0.3-py3-none-any.whl (406.1 kB view details)

Uploaded Python 3

File details

Details for the file streamlit_rockyroad_tools-0.0.3-py3-none-any.whl.

File metadata

File hashes

Hashes for streamlit_rockyroad_tools-0.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 0c405ff6156f97b7ca1c13d1250368ad9630e656f068d7c31df58f32bbbe2ecc
MD5 b715b805a9815b668ea6807c59720563
BLAKE2b-256 e522594c7683fdd2fc186f43db2485e706a2e39dd99359af43bed6285132d024

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