Skip to main content

streamlit_cld_media_library

Import Cloudinary's Media Library Widget as a component in Streamlit application.

Installation instructions

pip install cld_media_library

Usage instructions

import streamlit as st

from streamlit_cld_media_library import cld_media_library

value = streamlit_cld_media_library(cloud_name="<<your cloudinary account name>>", api_key="<<your api key>>")

st.write(value)

Detailed Usage

Media Library Widget is a method to embed Cloudinary's Digital Asset Management (DAM) capability into your application. The widget has a bunch of configuration parameters. For simplicity, this python module exposes the following:

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
api_key This is part of your access credentials to Cloudinary. You can get this information from the same place as `cloud_name`. 123456 - this is an invalid value by design.
remove_header When the widget loads, it has the Cloudinary logo on top. You can suppress this by setting a value to `True` False (i.e. display the logo)
max_files Users can choose one or more files. Set this parameter to control the number of files that a user can select. 5
button_caption ML Widget is invoked on clicking a button. This option controls the name of this button. "Select Image or Video"
insert_caption When a user selects an image/video on the ML widget, a call to action button is activated. This controls the name of this call-to-action button. "Insert"

Metadata

Release files for cld-media-library 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for cld-media-library 0.1.0
File Size Uploaded Provenance Actions
cld_media_library-0.1.0.tar.gz 5.9 kB Without provenance Details for cld_media_library-0.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for cld-media-library 0.1.0
File Interpreter ABI Platform Actions
cld_media_library-0.1.0-py3-none-any.whl Python 3 none any Details for cld_media_library-0.1.0-py3-none-any.whl

Total release size: 13.1 kB

Release files / cld_media_library-0.1.0.tar.gz

Download URL cld_media_library-0.1.0.tar.gz
Size 5.9 kB
Tags Source
SHA-256 checksum
How to use checksums
d7fd9b0b0093f9e1f39410ae2d7ec5ad1f0921cdc04a36ea34dc2a6a461943bc
BLAKE2b-256 checksum
How to use checksums
2e02656628c57a2a43e9819a13ddd4af5fe253787ca71ae887815ad73f52aa48
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.10.13

Release files / cld_media_library-0.1.0-py3-none-any.whl

Download URL cld_media_library-0.1.0-py3-none-any.whl
Size 7.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
a2aa0c0da59273e3ac791451b533b56afd18329d99f9d7b4b856d0a2aa489caf
BLAKE2b-256 checksum
How to use checksums
719d8bfcc23faed09a54aeeb4b2fe7b7fcd9db506afaeeb05b924b74e4f45185
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.10.13

Security for cld-media-library 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.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page