Skip to main content

streamlit-page-link-params

An alternative to the official Streamlit page_link component that supports query parameters.

Installation instructions

Requirements: streamlit >= 1.37, Python >= 3.8

pip install streamlit-page-link-params

Usage instructions

Basic, no params

page_link("pages/p1.py", label="go to p1")

Basic, use_container_width=True, with params: use_container_width=true

page_link("pages/p1.py", label="go to p1", use_container_width=True, query_params={"use_container_width": "true"})

use html, with params: html=true

page_link_html('<a href="/p1" style="font-size: 30px;">go to p1</a>', query_params={{"html": "true"}})

use html, with style, with params: html=true&with_style=color

page_link_html("""
<style>
.myPageLink {
    color: green !important;
}
</style>
<a href="/p1" class="myPageLink">go to p1</a>
""", query_params={"html": "true", "with_style": "color"})

Metadata

Release files for streamlit-page-link-params 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-page-link-params 0.3.3
File Size Uploaded Provenance Actions
streamlit_page_link_params-0.3.3.tar.gz 5.8 kB Without provenance Details for streamlit_page_link_params-0.3.3.tar.gz

Built distribution (wheel)

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

Total release size: 12.5 kB

Security for streamlit-page-link-params 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