Skip to main content

Streamlit component that gets the client's timezone.

Project description

Streamlit Client Timezone

Streamlit custom component to get the client's timezone as a tzinfo object.

Usage

timezone = client_timezone(key="client-timezone")

time_loaded = datetime.now(tz=timezone)

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_client_timezone-0.1.2.tar.gz (402.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

streamlit_client_timezone-0.1.2-py3-none-any.whl (405.9 kB view details)

Uploaded Python 3

File details

Details for the file streamlit_client_timezone-0.1.2.tar.gz.

File metadata

File hashes

Hashes for streamlit_client_timezone-0.1.2.tar.gz
Algorithm Hash digest
SHA256 b8fc94eed381dfd51db652c7960f4f51bb2638acf95bb1cd0b9ea10ed0f751b4
MD5 26acda37d93ec5c5dcf068ebe3cddee9
BLAKE2b-256 9d1f0015173705844ae3113404512f8ed73c8dd60388b544a2e83f3ec7a4e7bd

See more details on using hashes here.

File details

Details for the file streamlit_client_timezone-0.1.2-py3-none-any.whl.

File metadata

File hashes

Hashes for streamlit_client_timezone-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 e295f132c08753ceedcd3174396d097d79ad12020c8c810690da45132336e14e
MD5 538bf0ae24a2a1eb3884d86cea8534bc
BLAKE2b-256 43151873b8dc5d28cd48751fe06b33b31182278f32c8d4bf5a05ec937f0cd45c

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