streamlit-component-dropfilltextarea
Streamlit Component DropFillTextarea allows you to drag and drop files onto a text area, making it easy to fill in large amounts of text quickly. With dropfill_textarea, users can quickly populate text areas with pre-existing text files, reducing manual input and increasing efficiency. The component also offers flexible layout options, allowing users to customize the label and text area's size, position, and other properties. Whether you're a developer or a user, dropfill_textarea is the perfect solution for simplifying your workflow.
Installation instructions
pip install streamlit-component-dropfilltextarea
Usage instructions
Use like default textarea
import streamlit as st
from st_dropfill_textarea import st_dropfill_textarea
value = st_dropfill_textarea("Your label", "")
st.write(value)
Use with layout column (default) or row
st.subheader("Component with column layout (default)")
returnText = st_dropfill_textarea('column layout: ', '',
placeholder="Type at here",
height=200)
st.write(f"Returned text: {returnText}")
st.subheader("Component with row layout")
returnText = st_dropfill_textarea('row layout: ', '',
layout="row",
height=200)
st.write(f"Returned text: {returnText}")
Align multi rows of textarea
labelWidth = 120
label = 'short row: '
text_short = ''
text_short = st_dropfill_textarea(label, text_short,
placeholder="",
layout="row",
labelWidth=labelWidth,
height=200)
label = 'looooong row:'
text_long = ''
text_long = st_dropfill_textarea(label, text_long,
layout="row",
labelWidth=labelWidth,
height=200)
Metadata
Release files for streamlit-component-dropfilltextarea 0.3.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| streamlit-component-dropfilltextarea-0.3.0.tar.gz | 1.0 MB | Without provenance | Details for streamlit-component-dropfilltextarea-0.3.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| streamlit_component_dropfilltextarea-0.3.0-py3-none-any.whl | Python 3 | none | any | Details for streamlit_component_dropfilltextarea-0.3.0-py3-none-any.whl |
Total release size: 2.1 MB
Release files / streamlit-component-dropfilltextarea-0.3.0.tar.gz
| Download URL | streamlit-component-dropfilltextarea-0.3.0.tar.gz |
|---|---|
| Size | 1.0 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
3f99befe26dd30f1a59a776a0697e5b48360fccb75171fe184ef2a7881a1bfc8
|
|
BLAKE2b-256 checksum How to use checksums |
dbbff6c4903af290be43d34311f146c4b394c222ed64a8c6f0719f4bb8efb88a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.3
|
Release files / streamlit_component_dropfilltextarea-0.3.0-py3-none-any.whl
| Download URL | streamlit_component_dropfilltextarea-0.3.0-py3-none-any.whl |
|---|---|
| Size | 1.0 MB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
3a7b586c617964d65a56209ef1de292a697f8a8685e559f0451ec052051b8def
|
|
BLAKE2b-256 checksum How to use checksums |
30e0031fd3b603ec62073ef856592f1bdbc73d0124829f5f65376b0ac883d18d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.3
|
Security for streamlit-component-dropfilltextarea 0.3.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.