Easy progress bar for streamlit based on the awesome streamlit.progress and tqdm
Project description
stqdm
stqdm is the simplest way to handle a progress bar in streamlit app.
How to install
pip install stqdm
How to use
You can find some examples in examples/
Use stqdm in main
from time import sleep
from stqdm import stqdm
for _ in stqdm(range(50)):
sleep(0.5)
Use stqdm in sidebar
from time import sleep
import streamlit as st
from stqdm import stqdm
for _ in stqdm(range(50), st_container=st.sidebar):
sleep(0.5)
Customize the bar with tqdm parameters
from time import sleep
from stqdm import stqdm
for _ in stqdm(range(50), desc="This is a slow task", mininterval=1):
sleep(0.5)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
stqdm-0.0.2.tar.gz
(6.8 kB
view hashes)
Built Distribution
stqdm-0.0.2-py3-none-any.whl
(10.7 kB
view hashes)