0 purchases
streamlitqs 0.3.3
QueryParams Widgets for Streamlit
The functions in this library allow you to easily create "permalink-like" functionality in your application,
This can let users to share links with others that will populate streamlit with the same set of input values
that they were using. Or you can use the query string to pass data into your streamlit application from
another website or program.
Installation
First install Streamlit (of course!) then install this library:
pip install streamlit-qs
Or, to install the latest source:
pip install git+https://github.com/Asaurus1/streamlit-qs.git@main
Example
import streamlit as st
import streamlit_qs as stqs
st.markdown("[Click this URL](?input_some_text=Hello+World)")
stqs.text_input_qs("Enter Some Text", key="input_some_text")
For more examples, including :sparkles:customization options:sparkles:, see
the demo app.
Version Compatibility
For Streamlit v1.29.0 or below use release v0.2.0 of this app
For Streamlit v1.30.0 or above, use the latest released version of this app above v0.2.0
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.