Install & Compatibility
Where this runs
tested against v0.6.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 · 72.3MB
glibcpy 3.10–3.95 runs
installs and imports cleanly · install 7.0s · import 0.000s · 72MB
74MB installed
● package 74MB
Code
Verified usage
Verified import paths — ran on the pinned version, not inferred.
LocalSourceCodeDir
✓ from lightning_cloud import LocalSourceCodeDir
✗ from lightning_cloud import LightningClient
env
✓ from lightning_cloud import env
source_code
✓ from lightning_cloud import source_code
Initialize LightningClient and fetch projects
from lightning_cloud import LightningClient
client = LightningClient()
# Use client to interact with Lightning AI cloud
# Example: list projects
projects = client.get_projects()
print(projects)
lightning --version
Upgrade
Version history
0.6.0latest on PyPI · released Jan 6, 2026
Audit
Dependencies
lightningoptionalCore Lightning framework often used together