You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# Something else happened, which can be unrelated to ImageKit; the reason will be indicated in the message field
1232
1236
```
1233
1237
1234
-
## Development
1238
+
## Sample
1235
1239
1236
-
To integrate ImageKit in the Python, the code samples covered here are hosted on Github - https://github.com/imagekit-samples/quickstart/tree/master/python.
To integrate ImageKit Samples in the Python, the code samples covered here are hosted on Github - https://github.com/imagekit-samples/quickstart/tree/master/python.
1238
1250
1239
1251
You will find `sample.py` in root folder.
1240
1252
@@ -1250,24 +1262,27 @@ imagekit = ImageKit(
1250
1262
url_endpoint='your url_endpoint'
1251
1263
)
1252
1264
```
1253
-
1254
-
- You will find the dependencies in `python/requirements.txt` file.
1255
-
1256
-
## Install dependencies
1257
-
1265
+
1258
1266
To install dependencies that are in the `requirements.txt` file can fire this command to install them:
1259
1267
1260
1268
```shell
1261
-
pip install -r requirements.txt
1269
+
# You will find the dependencies in `python/requirements.txt` file.
1270
+
pip install -r python/requirements.txt
1262
1271
```
1263
1272
1264
1273
Now run `sample.py`. If you are using CLI Tool (Terminal/Command prompt), open the project in CLI and execute it.
1265
1274
1266
1275
```shell
1267
-
cd project-name
1268
-
pip install imagekitio # if not installed already
1269
-
python sample.py # to run sample.py file
1276
+
# if not installed already
1277
+
pip install imagekitio
1278
+
1279
+
# if installing local sdk
1280
+
pip install -e <path_to_local_sdk>
1281
+
1282
+
# to run sample.py file
1283
+
python3 python/sample.py
1270
1284
```
1285
+
1271
1286
## Support
1272
1287
1273
1288
For any feedback or to report any issues or general implementation support, please reach out
0 commit comments