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
Use Python 3.10 or later. Install from PyPI.
python3 -m pip install --upgrade luma-skill-hub-client
To try the current source, run python3 -m pip install . from the skill-hub/examples/python directory. For either installation, configure your registry:
export SKILLHUB_URL=https://skills.example.com
Point SKILLHUB_URL to your instance and set SKILLHUB_TOKEN for authenticated calls. The client uses the environment token only for the configured URL, including its path prefix. For another instance, pass its own base_url and token to SkillHubClient. Create tokens in the console with the capabilities your task requires.
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 is luma-skill-hub-client and the import is skillhub_client. For a future release, 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 uploading a new version, use a dedicated publisher for this distribution. 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.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| luma_skill_hub_client-0.1.1.tar.gz | 8.5 kB | Without provenance | Details for luma_skill_hub_client-0.1.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| luma_skill_hub_client-0.1.1-py3-none-any.whl | Python 3 | none | any | Details for luma_skill_hub_client-0.1.1-py3-none-any.whl |
Total release size: 17.6 kB
Release files / luma_skill_hub_client-0.1.1.tar.gz
| Download URL | luma_skill_hub_client-0.1.1.tar.gz |
|---|---|
| Size | 8.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
753e67ed0d459a9d897eca6e9eb4d3838fe38e6a13d8077c1cadaeb69b3dc52a
|
|
BLAKE2b-256 checksum How to use checksums |
d5ef4bd40e55a74c85f4aa2fe4d7890fd2670d44f14ee959c829eedc3e5d237f
|
| 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.1-py3-none-any.whl
| Download URL | luma_skill_hub_client-0.1.1-py3-none-any.whl |
|---|---|
| Size | 9.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
140a1c563c1b3ed3287bb68d77d6cf36eb3dc8f768c99daafd9e90d41e269f03
|
|
BLAKE2b-256 checksum How to use checksums |
c5603b63437dc2e360741dc76cf2eda268922c075b466e56d6e67bf3135c9f1a
|
| 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.1
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.