lucen-sdk — the MouseMouse API client for Python
The typed client for the MouseMouse REST API,
generated from the hub's OpenAPI contract (served by every hub at
/openapi.yaml, browsable at mousemouse.ai/docs/api)
with openapi-python-client.
One module per operation, one attrs class per schema; httpx underneath.
This is the layer the lucen command line
(lucen-cli) and the MCP server
(lucen-mcp) are built on. If you want
to script the hub, from lucen import Hub in lucen-cli is the friendlier
surface; use this package when you want the contract itself.
pip install lucen-sdk # or: uv add lucen-sdk
from lucen_sdk import AuthenticatedClient, Client
from lucen_sdk.api.auth import get_me
from lucen_sdk.api.repos import get_repo, list_repos
from lucen_sdk.models import RepoKind
public = Client(base_url="https://api.mousemouse.ai")
robot = get_repo.sync("lucen", "laika", client=public) # public repos need no key
hub = AuthenticatedClient(base_url="https://api.mousemouse.ai", token="lucen_sk_...")
me = get_me.sync(client=hub)
page = list_repos.sync(client=hub, kind=RepoKind.MODEL, limit=20)
Every operation has sync, sync_detailed (the Response with status and
headers), asyncio and asyncio_detailed. Errors are RFC 9457 Problem
objects; a private resource is 404, never 403. Keys are scoped
read ⊂ write ⊂ train, and some operations are session-only (a key of any
scope is refused: minting keys, approving a policy onto a robot).
The version follows the contract: a new minor is a breaking change to the
generated surface, a patch adds operations or fields. Regenerated by the hub's
make sdk; never hand-edited.
Apache-2.0. © 2026 Lucen Robotics.
Metadata
Release files for lucen-sdk 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| lucen_sdk-0.1.0.tar.gz | 505.3 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| lucen_sdk-0.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 1.7 MB
Release files / lucen_sdk-0.1.0.tar.gz
| Download URL | lucen_sdk-0.1.0.tar.gz |
|---|---|
| Size | 505.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
2b01318422ab04213822a4f1b41fc42ab823d1d3af293676aa44ed9411b068c2
|
|
BLAKE2b-256 checksum How to use checksums |
1f2bbaa658408118151417f856d807174a8e8e3958df4e68556c205ad46f5dcd
|
| 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 Oct 13, 2026.
Transparency logRelease files / lucen_sdk-0.1.0-py3-none-any.whl
| Download URL | lucen_sdk-0.1.0-py3-none-any.whl |
|---|---|
| Size | 1.2 MB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
ed93437a12c26e75e4ad54260407898a4c1747cd6715464851d8232319724253
|
|
BLAKE2b-256 checksum How to use checksums |
abcc2627c6cc36890c90fd1f136c58f795a1f371f085e3ebe5be1fd61c3a80b5
|
| 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 Oct 13, 2026.
Transparency log