Skip to main content

About

This library allows you to upload a signed image to cloudinary effectively.


Installation

Install the library to begin using it.

pip install cloudinary-upload

Configure .env with your cloudinary credentials.

CLOUDINARY_NAME=xxxxxxx
CLOUDINARY_API_KEY=xxxxxxxxxxx
CLOUDINARY_API_SECRET=xxxxxxxxx-xxxxxxx

In the file (.py) that you wish to use it, import the library.

from cloudinary_upload import upload_image_cloudinary

upload_true = upload_image_cloudinary(image_file="/path/to/image.png")

The upload_true variable is going to give you a bunch of meaningful information from cloudinary, you can get the image_url by printing:

print("Image URL: ", upload_true['url'])

Contribute

All contributions are welcome:

  • Read the issues, Fork the project and do a Pull Request.
  • Request a new topic creating a New issue with the enhancement tag.
  • Find any kind of errors in the README and create a New issue with the details or fork the project and do a Pull Request.
  • Suggest a better or more pythonic way for existing examples.

Metadata

Release files for cloudinary-upload 0.0.4

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

Source distribution (sdist)

Source distribution for cloudinary-upload 0.0.4
File Size Uploaded
cloudinary-upload-0.0.4.tar.gz 2.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for cloudinary-upload 0.0.4
File Interpreter ABI Platform
cloudinary_upload-0.0.4-py3-none-any.whl Python 3 none any Details

Total release size: 8.6 kB

Release files / cloudinary-upload-0.0.4.tar.gz

Download URL cloudinary-upload-0.0.4.tar.gz
Size 2.8 kB
Tags Source
SHA-256 checksum
How to use checksums
565225a8fab92bae9eefbd9561e89cf03de9950a9098a736210814aacfa98ab8
BLAKE2b-256 checksum
How to use checksums
d4e3c1992593e2e66fc686e7a5cbbf0d21b3736b590e3035125fc47952e81678
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.8.10

Release files / cloudinary_upload-0.0.4-py3-none-any.whl

Download URL cloudinary_upload-0.0.4-py3-none-any.whl
Size 5.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
0bc6172a8da50f8afaddf1d9e9836034c9f744703e3d2a2d11a7a5be265448b2
BLAKE2b-256 checksum
How to use checksums
621d7fa6ecea93ec4d035065fff0d32f57f7d441c19efaa7fa69be4b98f00fb6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.8.10

Release history Release notifications | RSS feed

This release

0.0.4 This release

2 release files

0.0.3

1 release file

0.0.2

2 release files

0.0.1

2 release files

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