Skip to main content

Luma Skill Hub Python client

A small Python client for a running Luma Skill Hub registry. It can search, inspect, resolve, download and submit skill packages. The registry server and Web UI are deployed separately with Docker Compose.

Install from source

From the skill-hub/examples/python directory, use Python 3.10 or later.

python3 -m pip install .
export SKILLHUB_URL=https://skills.example.com

Point SKILLHUB_URL to your actual instance. Set SKILLHUB_TOKEN for authenticated calls. Create tokens from the console and select the capabilities required for your task.

from skillhub_client import SkillHubClient

client = SkillHubClient()
results = client.search(keyword="notes", size=5)
match = results["items"][0]
version = client.resolve(match["namespace"], match["slug"])["version"]
package = client.download(match["namespace"], match["slug"], version=version)

Use client.publish("./my-skill.zip", "global") with an authorized skill:submit token. The result describes the submitted version and its status. Follow the registry's scan and review progress until the version is available. The example script in the repository demonstrates both operations.

Prepare a PyPI release

The distribution candidate is luma-skill-hub-client. The import remains skillhub_client. Build and validate a source distribution and wheel from this directory.

python3 -m pip install build twine
python3 -m build
python3 -m twine check --strict dist/*

Install the wheel in a fresh virtual environment and repeat the read workflow against a test registry. Before a first upload, confirm control of the distribution name and configure a dedicated publisher. Configure TestPyPI separately if using it to rehearse the upload. PyPI Trusted Publishing

The client derives from the upstream Python example documented in the source attribution. Its Apache-2.0 license is included in the source distribution and wheel.

Metadata

Release files for luma-skill-hub-client 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for luma-skill-hub-client 0.1.0
File Size Uploaded Provenance Actions
luma_skill_hub_client-0.1.0.tar.gz 8.4 kB Without provenance Details for luma_skill_hub_client-0.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for luma-skill-hub-client 0.1.0
File Interpreter ABI Platform Actions
luma_skill_hub_client-0.1.0-py3-none-any.whl Python 3 none any Details for luma_skill_hub_client-0.1.0-py3-none-any.whl

Total release size: 17.3 kB

Release files / luma_skill_hub_client-0.1.0.tar.gz

Download URL luma_skill_hub_client-0.1.0.tar.gz
Size 8.4 kB
Tags Source
SHA-256 checksum
How to use checksums
ab6c5336940efc42f450dc81111ae31f78c448a385ea629838bbff014fefef5f
BLAKE2b-256 checksum
How to use checksums
6d64dc2b82eaf7034159b7e2085bbe3afe2d798ee7781d88d2e80dbddaf5f89a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.2

Release files / luma_skill_hub_client-0.1.0-py3-none-any.whl

Download URL luma_skill_hub_client-0.1.0-py3-none-any.whl
Size 8.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
5d8b08905210722717ea898c5192befc288e9f2e0ef593b95e9b302e40c27b8e
BLAKE2b-256 checksum
How to use checksums
c29d15d19d9eb321fed25a5968ef666bab5369d6b2634a861e44249e0c109a97
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.2

Security for luma-skill-hub-client 0.1.0

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.

No provenance found

None of the files in this release were uploaded with provenance metadata.

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

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page