Name | streamlit-list-widget JSON |
Version |
0.1.11
JSON |
| download |
home_page | None |
Summary | Streamlit component that allows you to do handle a list of clickable items |
upload_time | 2024-10-17 17:18:31 |
maintainer | None |
docs_url | None |
author | Marco Sanguineti |
requires_python | >=3.7 |
license | None |
keywords |
|
VCS |
|
bugtrack_url |
|
requirements |
No requirements were recorded.
|
Travis-CI |
No Travis.
|
coveralls test coverage |
No coveralls.
|
# streamlit-list-widget
[![Open in Streamlit](https://static.streamlit.io/badges/streamlit_badge_black_white.svg)](https://st-list-widget-component.streamlit.app/)
Streamlit component that allows you to create a list of clickable items.
## Installation instructions
```sh
pip install streamlit-list-widget
```
## Usage instructions
```python
import streamlit as st
from streamlit_list_widget import streamlit_list_widget
images = {
"Golden Retriever": "https://www.zooplus.it/magazine/wp-content/uploads/2017/05/fotolia_66749097.jpg",
"Labrador": "https://www.tuttogreen.it/wp-content/uploads/2019/03/shutterstock_1212827962.jpg",
"Pomerania": "https://www.purina.it/sites/default/files/2021-02/BREED%20Hero_0095_pomeranian.jpg",
"Alberto": "https://m.media-amazon.com/images/I/61k4ead-zGL._AC_UF350,350_QL80_.jpg",
}
with st.sidebar:
selected = streamlit_list_widget(items=list(images.keys()), title="Dogs")
if selected:
st.title(selected)
st.image(images[selected], caption=selected)
```
### Todo
- [x] Read release notes from file
Raw data
{
"_id": null,
"home_page": null,
"name": "streamlit-list-widget",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.7",
"maintainer_email": null,
"keywords": null,
"author": "Marco Sanguineti",
"author_email": "marco.sanguineti.info@gmail.com",
"download_url": "https://files.pythonhosted.org/packages/fc/85/842141f95efacb20141b9fb855935978e2dfc6579ee2701422bc30545821/streamlit-list-widget-0.1.11.tar.gz",
"platform": null,
"description": "# streamlit-list-widget\n[![Open in Streamlit](https://static.streamlit.io/badges/streamlit_badge_black_white.svg)](https://st-list-widget-component.streamlit.app/)\n\nStreamlit component that allows you to create a list of clickable items.\n\n## Installation instructions\n\n```sh\npip install streamlit-list-widget\n```\n\n## Usage instructions\n\n```python\nimport streamlit as st\n\nfrom streamlit_list_widget import streamlit_list_widget\n\nimages = {\n \"Golden Retriever\": \"https://www.zooplus.it/magazine/wp-content/uploads/2017/05/fotolia_66749097.jpg\",\n \"Labrador\": \"https://www.tuttogreen.it/wp-content/uploads/2019/03/shutterstock_1212827962.jpg\",\n \"Pomerania\": \"https://www.purina.it/sites/default/files/2021-02/BREED%20Hero_0095_pomeranian.jpg\",\n \"Alberto\": \"https://m.media-amazon.com/images/I/61k4ead-zGL._AC_UF350,350_QL80_.jpg\",\n}\n\nwith st.sidebar:\n selected = streamlit_list_widget(items=list(images.keys()), title=\"Dogs\")\n\nif selected:\n st.title(selected)\n st.image(images[selected], caption=selected)\n```\n\n\n### Todo\n\n- [x] Read release notes from file\n",
"bugtrack_url": null,
"license": null,
"summary": "Streamlit component that allows you to do handle a list of clickable items",
"version": "0.1.11",
"project_urls": null,
"split_keywords": [],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "fcaabe920efa2e83b22de4e5716d14f1056695941e90cb6beab2037a8242103f",
"md5": "cab5d6c58959ee81dc977ce2c19e5784",
"sha256": "9125b74a3f54541d13c1ded252ec24fd3d714f67e6b12a2d9c42543a0332c759"
},
"downloads": -1,
"filename": "streamlit_list_widget-0.1.11-py3-none-any.whl",
"has_sig": false,
"md5_digest": "cab5d6c58959ee81dc977ce2c19e5784",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.7",
"size": 409965,
"upload_time": "2024-10-17T17:18:29",
"upload_time_iso_8601": "2024-10-17T17:18:29.220929Z",
"url": "https://files.pythonhosted.org/packages/fc/aa/be920efa2e83b22de4e5716d14f1056695941e90cb6beab2037a8242103f/streamlit_list_widget-0.1.11-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "fc85842141f95efacb20141b9fb855935978e2dfc6579ee2701422bc30545821",
"md5": "0fe6e8252ff6a6b2e7eaea42f9a5af20",
"sha256": "0d263a7951e4bcd1057c7c263edb2c370d461395cc8d0dc34ce4715eaeeaa7a9"
},
"downloads": -1,
"filename": "streamlit-list-widget-0.1.11.tar.gz",
"has_sig": false,
"md5_digest": "0fe6e8252ff6a6b2e7eaea42f9a5af20",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.7",
"size": 407435,
"upload_time": "2024-10-17T17:18:31",
"upload_time_iso_8601": "2024-10-17T17:18:31.211653Z",
"url": "https://files.pythonhosted.org/packages/fc/85/842141f95efacb20141b9fb855935978e2dfc6579ee2701422bc30545821/streamlit-list-widget-0.1.11.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-10-17 17:18:31",
"github": false,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"lcname": "streamlit-list-widget"
}