cloudinary-upload-0.0.4
توضیحات
Upload a signed image to cloudinary effectively
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | cloudinary-upload-0.0.4 |
| نام | cloudinary-upload |
| نسخه کتابخانه | 0.0.4 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | - |
| ایمیل نویسنده | - |
| آدرس صفحه اصلی | https://github.com/faradayafrica/cloudinary-image-upload |
| آدرس اینترنتی | https://pypi.org/project/cloudinary-upload/ |
| مجوز | CC0 1.0 |
# About
This library allows you to upload a signed image to cloudinary effectively.
<br>
## Installation
Install the library to begin using it. <br>
pip install cloudinary-upload
Configure `.env` with your cloudinary credentials. <br>
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. <br>
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: <br>
print("Image URL: ", upload_true['url'])
<br>
## 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.
نیازمندی
| مقدار | نام |
|---|---|
| - | cloudinary |
| - | python-decouple |
| - | importlib-metadata |
نحوه نصب
نصب پکیج whl cloudinary-upload-0.0.4:
pip install cloudinary-upload-0.0.4.whl
نصب پکیج tar.gz cloudinary-upload-0.0.4:
pip install cloudinary-upload-0.0.4.tar.gz