Skip to main content

LUML Python API Client

Project description

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

  1. Go to luml.ai and log in
  2. Open SettingsAPI Keys
  3. Click Generate new key and copy it

API key settings page

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 SettingsOrganization.

Documentation

https://docs.luml.ai/api-reference/client/

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

luml_api-0.2.0-py3-none-any.whl (45.4 kB view details)

Uploaded Python 3

File details

Details for the file luml_api-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: luml_api-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 45.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.28 {"installer":{"name":"uv","version":"0.11.28","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}

File hashes

Hashes for luml_api-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 fa5a5a0b76cc6d4f27aa6bc213cb44dfdeaea82359d0fd79012a104b9740bd63
MD5 4b5d5a23a8b51c0710898191cc9f37e9
BLAKE2b-256 2dc9125bb65c894cf1deef39d835c504b0b37a135cc87924cbf7e3650b24024c

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page