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

TBA

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.0.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.0-py3-none-any.whl (7.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: streamlit_query_wrapper-0.1.0.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.0.tar.gz
Algorithm Hash digest
SHA256 f434592f90577456b77c58ec565903079ded7318ec5747c6fcb5ceed3f4b3742
MD5 68119cfbb0d10e8baabc10c1ee5b814e
BLAKE2b-256 84cf8887775d1f99254b828daa2f03f30155f693972f51a4f6ee8c608382defb

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for streamlit_query_wrapper-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 547f8971378601085a96a1a55443f85fdeaab7ee0050444cc96b8ab8f61de734
MD5 e20c9c6704f682f43c337963ed5bed98
BLAKE2b-256 376be2ff0ad7d7b2e69d537173c91f6533747428a5df10b0a4b9e77ac16c7445

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