lumilake
Python SDK for Lumilake server APIs and local deploy helpers. It provides sync and async resource clients for common server surfaces; the CLI remains the complete command surface for operational helpers. The SDK lives inside the lumilake distribution and ships behind the [sdk] extra so basic installs stay slim.
Install
Server-API + filesystem init (small surface; httpx only):
pip install 'lumilake[sdk]'
Add deploy lifecycle (client.deploy.up/down/...). Pulls in [deploy] (Docker SDK, FlowMesh stack helpers); client.deploy.* calls into lumilake_deploy directly:
pip install 'lumilake[sdk,deploy]'
In the workspace:
uv sync --group lint --group test --extra sdk --extra deploy
Without [deploy], every client.deploy.* method except init raises DeployError with an install hint on first call. Server-API resources work in either configuration.
Sync usage
from lumilake import LumilakeClient
with LumilakeClient.from_config() as client: # reads ~/.lumilake/config.toml
client.health()
client.jobs.list()
client.jobs.submit({"workflow": ...})
client.deploy.up()
Async usage
from lumilake import AsyncLumilakeClient
async with AsyncLumilakeClient.from_config() as client:
await client.health()
await client.jobs.list()
await client.jobs.submit({"workflow": ...})
await client.deploy.up()
Constructing either client without .from_config() resolves the server URL in this order: explicit base_url=, LUMILAKE_BASE_URL, then ~/.lumilake/config.toml. .from_config(path=...) reads a specific TOML file directly.
CLI and SDK surfaces
| Surface | Sync | Async |
|---|---|---|
lumilake deploy up |
writes ~/.lumilake/config.toml |
- |
lumilake info / health |
client.health() |
same, await |
lumilake deploy {init,up,down,clean,restart,reset,logs,update-flowmesh} |
client.deploy.<verb>(...) |
await client.deploy.<verb>(...) |
lumilake deploy {doctor,build,status} |
CLI only | CLI only |
| Job submit/preview/list/list_all/get/progress/result/inputs/artifact/cancel/wait/watch | client.jobs.<verb>(...) |
await client.jobs.<verb>(...) |
lumilake worker {list,get} (+ list_all) |
client.workers.<verb>(...) |
await client.workers.<verb>(...) |
lumilake trace {list,get} (+ list_all) |
client.traces.<verb>(...) |
await client.traces.<verb>(...) |
Design notes
- Sync + async parity. One sync class, one async class, and each SDK resource exposes both. Shared base classes (
BaseClient/BaseAsyncClient) handle version-prefix, envelope unwrapping, and error-to-exception mapping. Async resourcesawaitthe same code paths. - Two transport modes. Server-API resources speak HTTP (
httpx.Client/httpx.AsyncClient). Deploy lifecycle callslumilake_deploydirectly; async dispatches the same Python calls throughasyncio.to_threadso the event loop stays responsive across Docker and FlowMesh setup work. - Config shared with the CLI.
from_config()reads the same~/.lumilake/config.tomlthe CLI writes fromlumilake deploy up. - Never raw
docker compose up. Deploy resource always uses thelumilake_deploymachinery — the project rule applies inside the SDK too. - Context-manager support.
with LumilakeClient(...) as client:(sync) andasync with AsyncLumilakeClient(...) as client:close the underlying httpx client cleanly.
Metadata
Release files for lumilake-sdk 0.1.6
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| lumilake_sdk-0.1.6.tar.gz | 29.0 kB | With provenance | Details for lumilake_sdk-0.1.6.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| lumilake_sdk-0.1.6-py3-none-any.whl | Python 3 | none | any | Details for lumilake_sdk-0.1.6-py3-none-any.whl |
Total release size: 63.3 kB
Release files / lumilake_sdk-0.1.6.tar.gz
| Download URL | lumilake_sdk-0.1.6.tar.gz |
|---|---|
| Size | 29.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
0822b530d2f2f9a54549ccda94748cb45380144f5a5304f5331e24d2923547a5
|
|
BLAKE2b-256 checksum How to use checksums |
57622f6f7f7f20f75f5c4eb91094af38ddca38135b71810235046dbad21b85b7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 21, 2026.
Transparency logRelease files / lumilake_sdk-0.1.6-py3-none-any.whl
| Download URL | lumilake_sdk-0.1.6-py3-none-any.whl |
|---|---|
| Size | 34.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
097c301159bde71606edd5d87a7886267c32819145b049fe77edb8bd93315d0f
|
|
BLAKE2b-256 checksum How to use checksums |
a5e8bd16ce76acb4bdabd54bac377368591b778d989c6950f246aabb1466fe7f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 21, 2026.
Transparency logSecurity for lumilake-sdk 0.1.6
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for lumilake_sdk-0.1.6.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 21, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.