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.1.tar.gz (2.0 kB view details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: cloudinary-upload-0.0.1.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.1.tar.gz
Algorithm Hash digest
SHA256 e2284a48ea2bcc4d1fe66f5da2f4edb4d11ab2351e98a5d3bd06ce9972b42ca2
MD5 b0cc8ace05979591997b0dfcb8bb5178
BLAKE2b-256 2bf17435de2888cbc08a0bf43c138ab7fa66c076d56369622515c10c4f8e778d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cloudinary_upload-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 cf557ce0edd6dabf5220aa8bb00f8c23e75e59fa6a373d36212b565d0f962959
MD5 fb54705b34e3b43d8916140ac6e22109
BLAKE2b-256 d1866728ea7503715e535f203d09f0daa95955e904e4776caafb3fb089d82b15

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