Registry / web-framework / streamlit-notify

streamlit-notify

JSON →
library0.3.1pypypi✓ verified 85d ago

A Streamlit component that provides toast notifications that persist across reruns. Current version 0.3.1. Release cadence is irregular.

pip install streamlit-notify
INSTALL
IMPORT
SIG · STREAMLIT-NOTIFY
S
streamlit-notify
web-frameworkpythonv0.3.1
Install
15.5s avg
Import
1230ms
Disk
433MB
Pass rate
10/ 10
Env Coverage10 / 10
glibc
3.93.13
musl
3.93.13
Install & Compatibility
Where this runs
tested against v0.3.1 · pip install
no network on importno background threads
Install × environment matrix
Each cell = how many times install + import succeeded across repeated harness runs. Partial = flaky.
glibc = Debian/Ubuntu slim · musl = Alpine Linux
musl
py 3.103.95 runs
installs and imports cleanly · install 0.0s · import 1.602s · 444.9MB
glibc
py 3.103.95 runs
installs and imports cleanly · install 15.5s · import 0.858s · 414MB
433MB installed
● package 433MB
Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

notify
from streamlit_notify import notify

Basic usage of streamlit-notify to show a toast.

import streamlit as st from streamlit_notify import notify notify("Hello, World!")
Debug
Known issues
gotchanotify() must be called inside a Streamlit app. It will not work in a plain Python script.
fix
Ensure you have a Streamlit app running (e.g., import streamlit as st before calling notify).
affects: all
gotchaThe notification may not appear if called before the first streamlit rerun. Use st.rerun() or place notify after a user interaction.
fix
Call notify() after a button click or other user action, or add st.rerun() after notify if needed.
affects: all
Errors
Common errors & fixes
ModuleNotFoundError: No module named 'streamlit_notify'
The package is not installed or installed in the wrong environment.
fix
Run 'pip install streamlit-notify' in the same Python environment where you run your Streamlit app.
AttributeError: module 'streamlit_notify' has no attribute 'notify'
Import path is incorrect or the version is very old (pre-0.2.0).
fix
Use 'from streamlit_notify import notify'. If that fails, upgrade with 'pip install --upgrade streamlit-notify' and check the correct function name in the docs.
Upgrade
Version history
0.3.1latest on PyPI · released Jul 1, 2025
Audit
Dependencies
streamlitrequiredRequired: streamlit-notify is a Streamlit component
Agent activity
7 hits · last 30 days
node
6
Resources
streamlit-notify — pip install streamlit-notify · libregistry