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 streamlit_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 = streamlit_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.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 163c875fc7b2ff9ec627eb7656700860b710519970247159058b2d6482e26bd8 |
|
MD5 | 7593a352a3c4bbd8573de7d013a9fb36 |
|
BLAKE2b-256 | 8e4d57823bc028599d77a6cc2ec708404479177c3c7558db95ee838d60c7f7be |
Close
Hashes for streamlit_editable_list-0.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 912f05e632c9196a1ac2bef4f4cb48fee651084a0354f602960b53effa222a47 |
|
MD5 | ee9fd3be58972c50374fc9feb3b66c9a |
|
BLAKE2b-256 | 128668922c07b33c1409f5e6fcfebb49d620ce1045f6a48626db4e445cede9a0 |