Skip to main content

Easier and safer concurrency for Streamlit

Project description

streamlit-concurrency

Easier and safer concurrency for streamlit.

This library provide 2 APIs:

  • run_in_executor: transform function to run concurrently in executor (ThreadPoolExecutor)
    • with configurable caching like st.cache_data, even for async function
    • transformed function can access st.session_state and widgets from other threads
  • use_state: manage page state in and across pages

Links:

License

Apache 2.0

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

Uploaded Source

Built Distribution

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

streamlit_concurrency-0.1.2-py3-none-any.whl (26.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: streamlit_concurrency-0.1.2.tar.gz
  • Upload date:
  • Size: 18.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for streamlit_concurrency-0.1.2.tar.gz
Algorithm Hash digest
SHA256 e15dc8eda5ac7e16aca4a8bc5edfc1e5d7e5ee633b3c6ca1753eec310cc1b5b5
MD5 113fe9f30c8e032de2ac366f32f4397e
BLAKE2b-256 80325430a96e6a50d0e107295dd32505dfab4cfbfaa034b254e91f9f0801adff

See more details on using hashes here.

Provenance

The following attestation bundles were made for streamlit_concurrency-0.1.2.tar.gz:

Publisher: publish-pypi.yaml on jokester/streamlit-concurrency

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

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

File metadata

File hashes

Hashes for streamlit_concurrency-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 757f95572d325603bbd4b23c38821ce4e5edadfdc5a885a36ef45356c04aba61
MD5 7527df25f6096f768eeb1a49885235ab
BLAKE2b-256 60827f14d4491aac8669329fa054aaae078e0096792dcb488d71b9db3ea4d21c

See more details on using hashes here.

Provenance

The following attestation bundles were made for streamlit_concurrency-0.1.2-py3-none-any.whl:

Publisher: publish-pypi.yaml on jokester/streamlit-concurrency

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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