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
Metadata
Release files for streamlit-draggable-list 0.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| streamlit-draggable-list-0.0.1.tar.gz | 1.5 MB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| streamlit_draggable_list-0.0.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 3.1 MB
Release files / streamlit-draggable-list-0.0.1.tar.gz
| Download URL | streamlit-draggable-list-0.0.1.tar.gz |
|---|---|
| Size | 1.5 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
4bd2098f7e2667e7c4515a7e54984a49a022aa23647fb75f9e2816fb13311f52
|
|
BLAKE2b-256 checksum How to use checksums |
3af4aa413c40576a0cc8508fad7817af810199f1ebe00157a4946156c344b6f1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.10.6
|
Release files / streamlit_draggable_list-0.0.1-py3-none-any.whl
| Download URL | streamlit_draggable_list-0.0.1-py3-none-any.whl |
|---|---|
| Size | 1.6 MB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
24a52cc31c188ce3bbcb7d0c762087cc08fcf714ec5a7822e60d8c893ae627c0
|
|
BLAKE2b-256 checksum How to use checksums |
bc8eccd0c5798e6a6860f768380cc74db0945fa6d471013726b86d9c09256e7d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.10.6
|