Install & Compatibility
Where this runs
tested against v5.7.0 · pip install
no network on importno background threads
Install × environment matrix
Each cell = how many times install + import succeeded across repeated harness runs. Partial = flaky.
glibc = Debian/Ubuntu slim · musl = Alpine Linux
muslpy 3.10–3.95 runs
installs and imports cleanly · install 0.0s · import 0.000s · 34.6MB
glibcpy 3.10–3.95 runs
installs and imports cleanly · install 3.9s · import 0.000s · 34MB
33MB installed
● package 33MB
Code
Verified usage
Verified import paths — ran on the pinned version, not inferred.
Client
✓ from imagekitio import Client
✗ from imagekitio import ImageKitClient
AsyncClient
✓ from imagekitio import AsyncClient
AsyncImageKit
✓ from imagekitio import AsyncImageKit
Initialize the client with your credentials and upload a file.
import os
from imagekitio import ImageKitClient
client = ImageKitClient(
private_key=os.environ.get('IMAGEKIT_PRIVATE_KEY', 'your_private_key'),
public_key=os.environ.get('IMAGEKIT_PUBLIC_KEY', 'your_public_key'),
url_endpoint=os.environ.get('IMAGEKIT_URL_ENDPOINT', 'https://ik.imagekit.io/your_imagekit_id')
)
# Upload a file
upload = client.upload_file(
file=open('path/to/image.jpg', 'rb'),
file_name='example.jpg'
)
print(upload.url)
Upgrade
Version history
5.7.0latest on PyPI · released Jun 18, 2026
Audit
Dependencies
No dependency data recorded yet.