A high-level overview of the Lume Python SDK
The Lume Python SDK is designed to be simple and intuitive. The API is centered around a few core functions and a primary data object, LumeRun
.
This reference is divided into the following sections:
lume.run()
for interacting with the Lume platform.LumeRun
object that represents a pipeline execution.The SDK authenticates automatically by reading the LUME_API_KEY
from your environment variables. You can also initialize the client explicitly using the lume.init()
function, which is useful in environments where you cannot set environment variables.
The most common workflow involves two primary steps:
lume.run()
to trigger a new pipeline.LumeRun
object to monitor the execution, either by blocking with run.wait()
or by periodically checking its status
.