Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/dxphilo/cloudinary
code for an article guide on uploading images to cloudinary with python
https://github.com/dxphilo/cloudinary
Last synced: about 2 months ago
JSON representation
code for an article guide on uploading images to cloudinary with python
- Host: GitHub
- URL: https://github.com/dxphilo/cloudinary
- Owner: dxphilo
- Created: 2023-08-01T14:07:44.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-08-01T14:19:07.000Z (over 1 year ago)
- Last Synced: 2024-04-23T18:35:49.003Z (8 months ago)
- Language: Python
- Size: 2.93 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# cloudinary
code for an article guide on uploading images to cloudinary with python## Installation and Setup
1. Create a new directory for your project and navigate to it:
```bash
mkdir my_fastapi_app
cd my_fastapi_app
```
# .env
```
APP_NAME = "YourAppName"
PORT = 8000
CLOUDINARY_CLOUD_NAME = "YourCloudinaryCloudName"
CLOUDINARY_API_SECRET = "YourCloudinaryApiSecret"
CLOUDINARY_API_KEY = "YourCloudinaryApiKey"
```Set up a virtual environment (optional but recommended) to isolate your project dependencies:
```
python3 -m venv venv
```
For macOS/Linux:```
source venv/bin/activate
```For Windows:
```
venv\Scripts\activate
```
install dependencies```
pip install
```
Run the application
```
python3 main.py
```