A wrapper for Streamlit components accessable via query parameters
Project description
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
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
checkboxradioselectboxmultiselectslidertext_inputnumber_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.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file streamlit_query_wrapper-0.1.3.tar.gz.
File metadata
- Download URL: streamlit_query_wrapper-0.1.3.tar.gz
- Upload date:
- Size: 7.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.11.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b56f1a8b383dabf4273d1feb3c54b19159fa90e8097226050c546d236f590dce
|
|
| MD5 |
c28955f94df818515be3a81c3fa8c445
|
|
| BLAKE2b-256 |
f098c0ce8e0695c87297098404b140b0ba11f770398018e8930106136d75b6d3
|
File details
Details for the file streamlit_query_wrapper-0.1.3-py3-none-any.whl.
File metadata
- Download URL: streamlit_query_wrapper-0.1.3-py3-none-any.whl
- Upload date:
- Size: 8.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.11.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
444606710be02b541558ac7c47afaa5b88c34cd98e2edca8ef967b1636d5c083
|
|
| MD5 |
5543710c823e2ae445ddca88b5a6824d
|
|
| BLAKE2b-256 |
5a17617f08b70a017485fc2d9f4883fea8001bee63a9fff4436df6769e7e2270
|