Skip to main content

QueryParams Widgets for Streamlit

GitHub Actions Workflow Status GitHub last commit PyPI - Version PyPI - Python Version PyPI - Wheel PyPI - Implementation PyPI - Downloads Licence Streamlit Version pdm-managed

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 ✨customization options✨, 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

Metadata

Release files for streamlit-qs 0.3.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for streamlit-qs 0.3.3
File Size Uploaded Provenance Actions
streamlit_qs-0.3.3.tar.gz 18.6 kB Without provenance Details for streamlit_qs-0.3.3.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for streamlit-qs 0.3.3
File Interpreter ABI Platform Actions
streamlit_qs-0.3.3-py3-none-any.whl Python 3 none any Details for streamlit_qs-0.3.3-py3-none-any.whl

Total release size: 32.4 kB

Release files / streamlit_qs-0.3.3.tar.gz

Download URL streamlit_qs-0.3.3.tar.gz
Size 18.6 kB
Tags Source
SHA-256 checksum
How to use checksums
aac40b8fd7f20b5393658576a40de2bfef1ffbab5d9dc1ec145038b992d1d15b
BLAKE2b-256 checksum
How to use checksums
a225a9d9ebe4f7f4a1c2c1c4f8d43036ebe7489d7cb90afefbed8a182c17af52
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via pdm/2.15.2 CPython/3.12.3 Linux/6.5.0-35-generic

Release files / streamlit_qs-0.3.3-py3-none-any.whl

Download URL streamlit_qs-0.3.3-py3-none-any.whl
Size 13.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
31c6e0e4f8d31ba7e799c0445b2f33f38fcde2814db53c696d84faab444de8cf
BLAKE2b-256 checksum
How to use checksums
f0be993d59a2907f5e62f417bbe75e157c0c02baa76e90dc4457e4469c45cf53
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via pdm/2.15.2 CPython/3.12.3 Linux/6.5.0-35-generic

Security for streamlit-qs 0.3.3

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page