Skip to main content

hugpy-harness

Hugpy Harness is the command-line and terminal client for a single Hugpy Wrapper. Use it to inspect a worker, query its model catalog and open chat or a named session.

Installation

Use Python 3.11 or later on a client with access to a Wrapper endpoint.

python -m pip install hugpy-harness

Quick start

Read the endpoint selected for this worker, then query the service.

hugpy-harness endpoint
hugpy-harness status
hugpy-harness models

endpoint returns the role and URL. If no installed endpoint is available, pass --base URL after the headless command.

Settings and sessions

hugpy-harness schema and hugpy-harness settings query a compatible Wrapper’s settings interface. --model MODEL scopes settings to a model. A settings write is checked against the worker’s readback. Those commands use the /v1/settings/schema, /v1/settings/box and /v1/settings/pair interfaces. On the staged Wrapper 0.2, run hugpy-wrapper settings and hugpy-wrapper set KEY VALUE on the worker for its database-backed configuration.

hugpy-harness tui opens the terminal interface. hugpy-harness sessions lists sessions, and hugpy-harness serve runs the session service. hugpy-chat is the Wrapper-bound chat entry point. The default Wrapper journal uses .hugpy_wrapper/chat.

Python client

from hugpy_harness import Harness

worker = Harness()
print(worker.status())

Shared terminal implementation APIs live in hugpy_terminal. Use hugpy-fleet to inspect multiple workers through Core.

Metadata

Release files for hugpy-harness 0.1.32

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

Source distribution (sdist)

Source distribution for hugpy-harness 0.1.32
File Size Uploaded Provenance Actions
hugpy_harness-0.1.32.tar.gz 31.4 kB Without provenance Details for hugpy_harness-0.1.32.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for hugpy-harness 0.1.32
File Interpreter ABI Platform Actions
hugpy_harness-0.1.32-py3-none-any.whl Python 3 none any Details for hugpy_harness-0.1.32-py3-none-any.whl

Total release size: 36.2 kB

Release files / hugpy_harness-0.1.32.tar.gz

Download URL hugpy_harness-0.1.32.tar.gz
Size 31.4 kB
Tags Source
SHA-256 checksum
How to use checksums
499b8a897802c7cbcd15ac0f5c03efd8cd93b21cf79aa8e84525255c661cccdf
BLAKE2b-256 checksum
How to use checksums
1a3477b9cfc6080939409c166052adaa0cbb55e670203c86d6b19ec436d44572
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.3

Release files / hugpy_harness-0.1.32-py3-none-any.whl

Download URL hugpy_harness-0.1.32-py3-none-any.whl
Size 4.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
7503f2ebc49907a546bbf29dfa21da228670fc426527431d7c713cb57b3cd229
BLAKE2b-256 checksum
How to use checksums
8a8f4f38b026e776acbf194939ebcd07ad11d8ab806149625d07de83f26cc41f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.3

Security for hugpy-harness 0.1.32

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.

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