Skip to main content

A Streamlit component to edit a list of items.

Project description

streamlit-editable-list

A Streamlit component to edit a list of entries, made of several inputs.

Installation instructions

pip install streamlit-editable-list

Usage instructions

import streamlit as st

from streamlit_editable_list import editable_list

input_params = [
    {
        "type": "text",
        "placeholder": "Enter text",
        "value": "",
    },
    {
        "type": "number",
        "placeholder": "Enter number",
        "value": 0,
    },
    {
        "list": "countries",
        "placeholder": "Select country",
        "value": "",
        "options": ["Switzerland", "France", "Germany"],
    }
]

initial_data = [
    ["Hello", 1, "Switzerland"],
    ["World", 2, "France"],
]

new_data = editable_list(initial_data, input_params)

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_editable_list-0.0.3.tar.gz (454.3 kB view details)

Uploaded Source

Built Distribution

streamlit_editable_list-0.0.3-py3-none-any.whl (458.6 kB view details)

Uploaded Python 3

File details

Details for the file streamlit_editable_list-0.0.3.tar.gz.

File metadata

File hashes

Hashes for streamlit_editable_list-0.0.3.tar.gz
Algorithm Hash digest
SHA256 6a0392be4e10afc3c5445ed2ec9f81b5222947be1c149725a46a82b7a8e05339
MD5 3245f7fa4f1603039ce249bfb2d01eec
BLAKE2b-256 2802463563191c03cceb4b6a39d03025b6baf6525c913d9a9bd9ffa945f2aaff

See more details on using hashes here.

File details

Details for the file streamlit_editable_list-0.0.3-py3-none-any.whl.

File metadata

File hashes

Hashes for streamlit_editable_list-0.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 238fc1a71fb3fb807bdf0e7c0147786b71975f69c4fa54bf5c29912b5690c92c
MD5 53844df6d7c77e5b654212d312cd0999
BLAKE2b-256 1b44020aa90de4ddc9947f8fc1342af074e18c9a30d1077d947dddd40bebc7e5

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page