LUML API Client
Python client for the LUML REST API. Use this to programmatically manage your LUML cloud resources — organizations, collections, orbits, artifacts, and storage secrets.
Main use cases:
- Upload and retrieve artifacts (models, datasets, files)
- Manage collections and orbits within your organization
- Integrate LUML into your own pipelines or tooling
Installation
pip install luml-api
Getting your API key
- Go to luml.ai and log in
- Open Settings → API Keys
- Click Generate new key and copy it
Set it as an environment variable:
export LUML_API_KEY=your_api_key_here
Or pass it directly when initializing the client:
from luml_api import LumlClient
client = LumlClient(api_key="your_api_key_here")
Usage
Initialize the client with your organization and orbit, then start querying resources:
from luml_api import LumlClient
luml = LumlClient(
api_key="your_api_key_here",
organization="your_organization_id",
orbit="your_orbit_id",
)
# List all organizations available to your account
orgs = luml.organizations.list()
for org in orgs:
print(org.id, org.name)
# List orbits in your organization
orbits = luml.orbits.list()
for orbit in orbits:
print(orbit.id, orbit.name)
# List collections in the current orbit
for collection in luml.collections.list_all():
print(collection.id, collection.name, collection.type)
The organization and orbit IDs can be found in the LUML platform under Settings → Organization.
Documentation
Release files for luml_api 0.3.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| luml_api-0.3.0-py3-none-any.whl | Python 3 | none | any | Details |
Release files / luml_api-0.3.0-py3-none-any.whl
| Download URL | luml_api-0.3.0-py3-none-any.whl |
|---|---|
| Size | 61.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
6acaf9a6b8d21222e2e9c08fb7fd3e190d0b64c474b50ae72f7b272f9fbceecc
|
|
BLAKE2b-256 checksum How to use checksums |
5d316401b1cff01b640fd4051f16ffb05f56e85d596cd4b14cc84a3965b8164e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.12.10 {"installer":{"name":"uv","version":"0.12.10","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|