streamlit-tz
Streamlit component that returns the user browser IANA timezone
Installation instructions
pip install streamlit-tz
Usage instructions
from datetime import datetime, UTC
from zoneinfo import ZoneInfo
import streamlit as st
from streamlit_tz import streamlit_tz
tz = streamlit_tz()
now = datetime.now(UTC)
st.write(f"Time UTC: {now}")
st.write(f"Time in {tz}: {now.astimezone(ZoneInfo(tz))}")
Metadata
Release files for streamlit-tz 0.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| streamlit_tz-0.1.1.tar.gz | 3.8 kB | Without provenance | Details for streamlit_tz-0.1.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| streamlit_tz-0.1.1-py3-none-any.whl | Python 3 | none | any | Details for streamlit_tz-0.1.1-py3-none-any.whl |
Total release size: 8.4 kB
Release files / streamlit_tz-0.1.1.tar.gz
| Download URL | streamlit_tz-0.1.1.tar.gz |
|---|---|
| Size | 3.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
ea813a46a7764d63c23e143d5210d306faa9c8aa89a7096d032c22f1aa90b40e
|
|
BLAKE2b-256 checksum How to use checksums |
ef976396f4f2f69d142d8c86f218489f4a916ba33c5ac004c132cc0b6333ab64
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.12.4
|
Release files / streamlit_tz-0.1.1-py3-none-any.whl
| Download URL | streamlit_tz-0.1.1-py3-none-any.whl |
|---|---|
| Size | 4.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
ef3f7ccefd73043c605d5c6054a7ea794c449a33c0aa56062340434738de2415
|
|
BLAKE2b-256 checksum How to use checksums |
f8017cb8aa4a3c3d042ac18436520dac17d99cb4622b7f1061f4ffe3eea31459
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.12.4
|
Security for streamlit-tz 0.1.1
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.