Install & Compatibility
Where this runs
tested against v2026.4.23 · 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 · 83.5MB
glibcpy 3.10–3.95 runs
installs and imports cleanly · install 8.3s · import 0.000s · 84MB
89MB installed
● package 89MB
Code
Verified usage
Verified import paths — ran on the pinned version, not inferred.
AIHub
✓ from lightning_sdk import AIHub
✗ from lightning_sdk import LightningClient
Studio
✓ from lightning_sdk import Studio
✗ from lightning_sdk import LightningClient
Job
✓ from lightning_sdk import Job
✗ from lightning_sdk import LightningClient
Initialize the Lightning client with an API key environment variable and create a studio.
import os
from lightning_sdk import LightningClient, Studio
# Authenticate using API key (set as environment variable)
client = LightningClient(api_key=os.environ.get('LIGHTNING_API_KEY', ''))
# Create a new studio
studio = client.create_studio(name='my-studio')
print(f"Created studio: {studio.id}")
Upgrade
Version history
2026.6.8.post0latest on PyPI · released Jun 9, 2026
Audit
Dependencies
lightningrequiredCore Lightning AI framework for studio operations
requestsrequiredHTTP client for API calls