Registry / ai-ml / lightning-cloud

lightning-cloud

JSON →
library0.6.0pypypi✓ verified 83d ago

A Python library for managing and deploying models on the Lightning AI cloud platform. Current version 0.6.0. Release cadence is irregular, tied to platform updates.

pip install lightning-cloud
INSTALL
IMPORT
SIG · LIGHTNING-CLOUD
L
lightning-cloud
ai-mlpythonv0.6.0
Install
7.0s avg
Import
Disk
74MB
Pass rate
10/ 10
Env Coverage10 / 10
glibc
3.93.13
musl
3.93.13
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
musl
py 3.103.95 runs
installs and imports cleanly · install 0.0s · import 0.000s · 72.3MB
glibc
py 3.103.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
Debug
Known issues
breakingLightning Cloud API is in early development; endpoints and signatures change frequently without deprecation.
fix
Pin to a specific version and test thoroughly before upgrading.
affects: all <1.0
gotchaThe top-level import 'from lightning import cloud' does not work; you must import from 'lightning_cloud' directly.
fix
Use 'from lightning_cloud import ...'
affects: all
gotchaLightningClient may require authentication via environment variable LIGHTNING_API_KEY; if not set, some methods will fail with authentication errors.
fix
Set LIGHTNING_API_KEY environment variable or pass api_key parameter to client.
affects: all
Upgrade
Version history
0.6.0latest on PyPI · released Jan 6, 2026
Audit
Dependencies
lightningoptionalCore Lightning framework often used together
Agent activity
24 hits · last 30 days
node
22
Resources
lightning-cloud — pip install lightning-cloud · libregistry