Skip to content

Streamlit component that allows you to select timeslot as json data

Notifications You must be signed in to change notification settings

szeyu/streamlit-timeslot-selector

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

streamlit-timeslot-selector

Streamlit component that allows you to select timeslot as json data

Installation instructions

pip install -e git+https://github.com/szeyu/streamlit-timeslot-selector.git@main#egg=streamlit-timeslot-selector

Usage instructions

Demo Image

import streamlit as st
from timeslot_selector import timeslot_selector

color = "red"
days = ['MONDAY', 'TUESDAY', 'WEDNESDAY', 'THURSDAY', 'FRIDAY']
start = "08:00"
end = "20:00"
interval = 30

json = timeslot_selector(color, days, start, end, interval)
st.write(json)

About

Streamlit component that allows you to select timeslot as json data

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published