Skip to content

minolee/streamlit_query_wrapper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

streamlit_query_wrapper

About

This project provides wrapper of default streamlit input widgets(checkbox, multibox, etc.).

With sharable link, you can access with exactly same setting you used.

Install

pip install streamlit-query-wrapper

Usage

import streamlit_query_wrapper as stq

stq.radio("Test", ["Hello", "world"])

stq.sharable_link() # shows st.code component with sharable URL

Result drawing

Now you can access your page with given link. If you access your page with given URL, all settings you made will be loaded.

Components

Works with basic streamlit input components.

Supports

  • checkbox
  • radio
  • selectbox
  • multiselect
  • slider
  • text_input
  • number_input

Also works with st.sidebar. You can use either stq.sidebar.checkbox, or stq.checkbox in with st.sidebar statement.

As in original streamlit, this module uses label as default key value, and duplicate is not allowed.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages