Skip to main content

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)

draggable_list

Component value

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)

Source distribution for streamlit-draggable-list 0.0.1
File Size Uploaded
streamlit-draggable-list-0.0.1.tar.gz 1.5 MB Details

Built distribution (wheel)

Table of built distributions (wheels) for streamlit-draggable-list 0.0.1
File Interpreter ABI Platform
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

Release history Release notifications | RSS feed

This release

0.0.1 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page