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.1.tar.gz (7.6 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.1-py3-none-any.whl (7.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: streamlit_query_wrapper-0.1.1.tar.gz
  • Upload date:
  • Size: 7.6 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.1.tar.gz
Algorithm Hash digest
SHA256 da377b3083c671acd1c21658601a360281db3d4ae1e91f3750c18e26d3ac0495
MD5 d98f01dd8fa2beac3dd858961f35ef75
BLAKE2b-256 2b148b15c4d3f287207c502e256085ecc1569f831ca60aef597ddd7c8a25e675

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for streamlit_query_wrapper-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 f556726b909ada55fd7b8665455aa2062b894c66bee39fcbc56e4d2961d33cbb
MD5 3fe011fae8de4b4d8dc2d22d2082cf51
BLAKE2b-256 e3d2370ecc8103e5614b7a1979d2dcaaa926ade4f271759705e1e08d44af7180

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