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
Built Distribution
Close
Hashes for streamlit_editable_list-0.0.2.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | a2039cb824e8156fa02a7775010a63600b91e4b65dc2d8f0fba13afea89c2225 |
|
MD5 | 64056a77fdc58847fff26b864fe4a63e |
|
BLAKE2b-256 | 6ce4e9f94debe0136416d350cae5ec87954889df0b20e4884a5d91e2843c33bd |
Close
Hashes for streamlit_editable_list-0.0.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | bb1cc6094f04f869ef74783eb49b2a76606e4f7b5faec109ceefaa54fe6d6ddc |
|
MD5 | 11d40884007184999e60678c43b8b4f1 |
|
BLAKE2b-256 | 916f35ea7bec5760101ff72b9595868ee0f4631b0653de406cda7caec7039c6e |