Streamlit component Example:
pip install streamlit-component-DragDrop
import streamlit as st
from st_dragdrop_list import ST_DragDropList
st.title("Streamlit DragDropList")
data = [
{"id": "element_1", "order": 0, "name": "Test regel 1"},
{"id": "element_2", "order": 1, "name": "Test regel 2"},
{"id": "element_3", "order": 2, "name": "Test regel 3"},
]
st_list = ST_DragDropList(data, key="my_list")
elements = [element['name'] for element in st_list]
st.write(elements)
Release files for Streamlit-DragDropList 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-DragDropList-0.0.1.tar.gz | 684.6 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| Streamlit_DragDropList-0.0.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 1.4 MB
Release files / Streamlit-DragDropList-0.0.1.tar.gz
| Download URL | Streamlit-DragDropList-0.0.1.tar.gz |
|---|---|
| Size | 684.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
ca671d2cacb52e66304aba7b35848d8e8211f74834331f79f746c02bd3b987fe
|
|
BLAKE2b-256 checksum How to use checksums |
3c62ac6c3274f89876ae2ca034569ad81fbf10d2244d8bf80da55e0a4d1cef41
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.3
|
Release files / Streamlit_DragDropList-0.0.1-py3-none-any.whl
| Download URL | Streamlit_DragDropList-0.0.1-py3-none-any.whl |
|---|---|
| Size | 692.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
fc1b69d075e0cc461bc38bff315c3d1f052b164611adabbfef8986d490f8959f
|
|
BLAKE2b-256 checksum How to use checksums |
5f0529aa5278d4123dd8c50150cf98b99f9d6a5621e8090fcb735bd46927525e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.3
|