Skip to main content

Upload a signed image to cloudinary effectively

Project description

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.

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

cloudinary-upload-0.0.2.tar.gz (2.0 kB view details)

Uploaded Source

Built Distribution

cloudinary_upload-0.0.2-py3-none-any.whl (4.9 kB view details)

Uploaded Python 3

File details

Details for the file cloudinary-upload-0.0.2.tar.gz.

File metadata

  • Download URL: cloudinary-upload-0.0.2.tar.gz
  • Upload date:
  • Size: 2.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.8.10

File hashes

Hashes for cloudinary-upload-0.0.2.tar.gz
Algorithm Hash digest
SHA256 669d9b0a7c5425507a2c7b75dc19ead126f16bcb8bee2373f2ec397592753532
MD5 3acf97d16a013125c75153343ce5c49a
BLAKE2b-256 b14c8e90cfaddc874688118f1568c3f86c3d2fabc9acb6d03e6ecb4acc4aaa63

See more details on using hashes here.

File details

Details for the file cloudinary_upload-0.0.2-py3-none-any.whl.

File metadata

File hashes

Hashes for cloudinary_upload-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 eb9ddd0c61f56cc651fe453d0a4e7f555ab05b1d2dd1cda879d87efcc80e4ba4
MD5 a6cbf04a0e1803334144ce9f5e6b4c45
BLAKE2b-256 5ce1949d8b38eac1310fd80e2cc82d317b0c5280982ea412a8d94d9d65889694

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page