Luzmo SDK for Python
raw JSON → 1.0.0 verified Fri May 01 auth: no python
Official Python SDK for the Luzmo Core API. Version 1.0.0, supports Python >=3.6 and <4.0. Enables programmatic management of dashboards, datasets, and users. Released with moderate cadence.
pip install luzmo-sdk Common errors
error ImportError: No module named 'luzmo' ↓
cause Old import path for unofficial SDK; correct module is 'luzmo_sdk'.
fix
Install luzmo-sdk and use: from luzmo_sdk import Client
error luzmo_sdk.exceptions.AuthenticationError: Invalid API key or secret ↓
cause API key/secret missing, wrong, or environment variables not set.
fix
Verify LUZMO_API_KEY and LUZMO_API_SECRET are set correctly in environment.
Warnings
gotcha The SDK uses snake_case method names (e.g., list_items) while API docs may show camelCase. ↓
fix Always check the SDK source or official docs for method signatures.
deprecated Python 3.6 / 3.7 support is deprecated but still works; future releases may drop EOL versions. ↓
fix Use Python 3.8 or later for future-proofing.
gotcha Some endpoints return paginated responses without automatic pagination; you must iterate manually. ↓
fix Check if the method has an 'all' parameter or use a while loop on next page tokens.
Imports
- Client wrong
from luzmo import Clientcorrectfrom luzmo_sdk import Client - __version__ wrong
import luzmo; print(luzmo.__version__)correctfrom luzmo_sdk import __version__
Quickstart
from luzmo_sdk import Client
import os
api_key = os.environ.get('LUZMO_API_KEY', '')
api_secret = os.environ.get('LUZMO_API_SECRET', '')
client = Client(api_key, api_secret)
# List dashboards
for db in client.dashboards.list():
print(db['name'])