Streamlit component of draggable list
Project description
streamlit-draggable-list
A Streamlit wrapper component on react-smooth-dnd
Exmple
import streamlit as st
from st_draggable_list import DraggableList
st.title("DraggableList")
data = [
{"id": "oct", "order": 10, "name": "Oct"},
{"id": "nov", "order": 11, "name": "Nov"},
{"id": "dec", "order": 12, "name": "Dec"},
{"id": "jan", "order": 1, "name": "Jan"},
{"id": "feb", "order": 2, "name": "Feb"},
{"id": "mar", "order": 3, "name": "Mar"},
{"id": "apr", "order": 4, "name": "Apr"},
{"id": "may", "order": 5, "name": "May"},
{"id": "jun", "order": 6, "name": "Jun"},
{"id": "jul", "order": 7, "name": "Jul"},
{"id": "aug", "order": 8, "name": "Aug"},
{"id": "Sep", "order": 9, "name": "Sep"},
]
slist = DraggableList(data, key="foo")
st.write(slist)
Component value
Install
pip install streamlit-draggable-list
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file streamlit-draggable-list-0.0.1.tar.gz.
File metadata
- Download URL: streamlit-draggable-list-0.0.1.tar.gz
- Upload date:
- Size: 1.5 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.10.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4bd2098f7e2667e7c4515a7e54984a49a022aa23647fb75f9e2816fb13311f52
|
|
| MD5 |
c2a9e4d83c1101af44bfff6f4dc4b1dd
|
|
| BLAKE2b-256 |
3af4aa413c40576a0cc8508fad7817af810199f1ebe00157a4946156c344b6f1
|
File details
Details for the file streamlit_draggable_list-0.0.1-py3-none-any.whl.
File metadata
- Download URL: streamlit_draggable_list-0.0.1-py3-none-any.whl
- Upload date:
- Size: 1.6 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.10.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
24a52cc31c188ce3bbcb7d0c762087cc08fcf714ec5a7822e60d8c893ae627c0
|
|
| MD5 |
fe8b1167903cb495990107c79eb6ff36
|
|
| BLAKE2b-256 |
bc8eccd0c5798e6a6860f768380cc74db0945fa6d471013726b86d9c09256e7d
|