streamlit_cld_upload_widget
Embed Cloudinary's Upload Widget as a component in Streamlit application.
Installation instructions
pip install streamlit_cld_upload_widget
Usage instructions
import streamlit as st
from streamlit_cld_upload_widget import upload_widget
value = upload_widget(cloud_name="<<your cloudinary account name>>", upload_preset="<<your unsigned upload preset name")
st.write(value)
Detailed Usage
Upload widget is the tool used for embedding Cloudinary's Upload Widget into your application. The widget has quite a few customization parameters. This python module exposes the following options:
| Parameter | Purpose | Default Value |
|---|---|---|
| cloud_name | This is your Cloudinary account name. To retrieve it, you may have to login to the Cloudinary's console and get the details from `Programmable Media` dashboard. | demo |
| upload_preset | The unsigned upload preset to be used for the upload. If you would like to use signed uploads, this widget may not work for you. | None |
| sources | An array of options listing the sources from where the files can be uploaded. | ['local', 'url'] |
| multiple | Whether multiple files can be selected for upload | False |
| max_files | (If multiple=True), this option imposes limit on the maximum number of file that can be selected at once. |
1 |
| allowed_formats | Lists the file formats that are supported for upload. These are based on the file extensions. | ['webp', 'gif', 'jpg', 'png', 'mp4', 'mov'] |
| show_powered_by | Boolean flag indicating whether Cloudinary branding should be shown on the Upload Widget. | True |
| tags | An array listing the set of tags to be applied to the image at upload. | [] |
| context | A string of the format `name=value | name1=value1` representing the context metadata values |
Metadata
Release files for streamlit-cld-upload-widget 0.1.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_cld_upload_widget-0.1.0.tar.gz | 5.5 kB | Without provenance | Details for streamlit_cld_upload_widget-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| streamlit_cld_upload_widget-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for streamlit_cld_upload_widget-0.1.0-py3-none-any.whl |
Total release size: 12.1 kB
Release files / streamlit_cld_upload_widget-0.1.0.tar.gz
| Download URL | streamlit_cld_upload_widget-0.1.0.tar.gz |
|---|---|
| Size | 5.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
280a44ff157a4692b79fa75405587bc0eae6cf8ff5ee8d96487a8219281897e6
|
|
BLAKE2b-256 checksum How to use checksums |
0f196f72ab0c0af9ca32469e84a8a58f71fddf9d95a505ac0d2c8e9605a396f7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.0.0 CPython/3.10.14
|
Release files / streamlit_cld_upload_widget-0.1.0-py3-none-any.whl
| Download URL | streamlit_cld_upload_widget-0.1.0-py3-none-any.whl |
|---|---|
| Size | 6.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
154936f2db8ee0bbfa3710cf002e001a3399495b7d67f703f2d62bc6311f321a
|
|
BLAKE2b-256 checksum How to use checksums |
b082ef92798c2150a4b7a1d16e35c5e6b898c29be50207eeb0f8b43ad39f29e7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.0.0 CPython/3.10.14
|
Security for streamlit-cld-upload-widget 0.1.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.