Skip to main content

Streamlit component of draggable list

Project description

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)

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-DragDropList-0.0.1.tar.gz (684.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

Streamlit_DragDropList-0.0.1-py3-none-any.whl (692.9 kB view details)

Uploaded Python 3

File details

Details for the file Streamlit-DragDropList-0.0.1.tar.gz.

File metadata

  • Download URL: Streamlit-DragDropList-0.0.1.tar.gz
  • Upload date:
  • Size: 684.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.3

File hashes

Hashes for Streamlit-DragDropList-0.0.1.tar.gz
Algorithm Hash digest
SHA256 ca671d2cacb52e66304aba7b35848d8e8211f74834331f79f746c02bd3b987fe
MD5 04e463c50e9c0937ce58f07da3d1c049
BLAKE2b-256 3c62ac6c3274f89876ae2ca034569ad81fbf10d2244d8bf80da55e0a4d1cef41

See more details on using hashes here.

File details

Details for the file Streamlit_DragDropList-0.0.1-py3-none-any.whl.

File metadata

File hashes

Hashes for Streamlit_DragDropList-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 fc1b69d075e0cc461bc38bff315c3d1f052b164611adabbfef8986d490f8959f
MD5 b0a5f666d060275b554eef58f82973b4
BLAKE2b-256 5f0529aa5278d4123dd8c50150cf98b99f9d6a5621e8090fcb735bd46927525e

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