Skip to main content

Card that the user can select one of the available options. It was created as an alternative to the radio button.

Project description

streamlit-cardselectable: A flexible and extensible content container selectable in Streamlit! drawing

Installation

pip install streamlit-cardselectable

Usage

Currently, there is one function defined:

st_cardselectable(): In this function there are some params:

  • label: label name.
  • options: cards header.
  • explanation: card text.
  • default [optional]: index of the card that will be selected at the first moment.

Example

State: Initial

state_initial

State: Selected

drawing

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_cardselectable-0.0.4.tar.gz (592.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_cardselectable-0.0.4-py3-none-any.whl (599.5 kB view details)

Uploaded Python 3

File details

Details for the file streamlit_cardselectable-0.0.4.tar.gz.

File metadata

  • Download URL: streamlit_cardselectable-0.0.4.tar.gz
  • Upload date:
  • Size: 592.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.10.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.3 CPython/3.9.1

File hashes

Hashes for streamlit_cardselectable-0.0.4.tar.gz
Algorithm Hash digest
SHA256 0ce8f64f38d5a5fe78ad306a2770f9a0052a4464aca4e22ee762f99d7d61969c
MD5 70d5e7cdad63efe50c3db9daae93276e
BLAKE2b-256 bd19e27765e0b3a36706c4bbf0787a90fe93b35b4803834e273ed371ec9fc02a

See more details on using hashes here.

File details

Details for the file streamlit_cardselectable-0.0.4-py3-none-any.whl.

File metadata

  • Download URL: streamlit_cardselectable-0.0.4-py3-none-any.whl
  • Upload date:
  • Size: 599.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.10.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.3 CPython/3.9.1

File hashes

Hashes for streamlit_cardselectable-0.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 38248c09844834f65bf290d321e6b6ff412eb0f3bd0d7e463c1dd000abd367e2
MD5 8aef4ceaa8af077805b9cb41c4455cf5
BLAKE2b-256 6c94225ded2dee375d9ca7becada2485eecc83b59a7f56241db8a98cf39231b9

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