Skip to main content

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

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 as stq.sidebar.checkbox and so on.

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

streamlit_query_wrapper-0.1.2.tar.gz (7.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

streamlit_query_wrapper-0.1.2-py3-none-any.whl (8.1 kB view details)

Uploaded Python 3

File details

Details for the file streamlit_query_wrapper-0.1.2.tar.gz.

File metadata

  • Download URL: streamlit_query_wrapper-0.1.2.tar.gz
  • Upload date:
  • Size: 7.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.11.10

File hashes

Hashes for streamlit_query_wrapper-0.1.2.tar.gz
Algorithm Hash digest
SHA256 cd246b39f7b49fcffafcbe69b743fddc818320b666b6297d6e70896a87671c5f
MD5 b9b4acd18cee947dfed522533ce70b0e
BLAKE2b-256 983426fdae53c633f50979f8b9cd1da0b1ecf0cc928da295fafb9383bcb64aad

See more details on using hashes here.

File details

Details for the file streamlit_query_wrapper-0.1.2-py3-none-any.whl.

File metadata

File hashes

Hashes for streamlit_query_wrapper-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 2256d205723a14eeddb1d260eb569833e456eb9df3a34767fbffe11d4a39a243
MD5 a8819f9239b0e709db96d3aa4e261c36
BLAKE2b-256 0038c38207acd66081a5a8ec98f087b6caafe444448088a2fc21338b5773fd41

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page