Skip to main content

hugpy-engine

The 0.4 series manages inference engines on a worker. It detects drivers and installed runtimes, describes the models and inputs each backend accepts, and prepares launch commands for Hugpy Wrapper.

Installation

Install the worker edition in a Python 3.11 or later environment. Media and Oracle use the earlier Engine client library in a separate environment.

python -m pip install 'hugpy-engine>=0.4,<0.5'

Quick start

Inspect the host before downloading any backend.

hugpy-engine engines
hugpy-engine drivers
hugpy-engine requirements
hugpy-engine install all --plan

Choose an engine name from the report. Run hugpy-engine install ENGINE to install it, then hugpy-engine use ENGINE to see its launch and request examples.

Worker interface

hugpy-engine inputs reports the required and optional inputs for each task. hugpy-engine ask ENGINE MODEL --say "Hello" starts an engine on a compatible local model, sends a chat request and stops the process. hugpy-engine calls displays recent launch and call records.

hugpy-engine sync refreshes export.sqlite3. Discovery and Wrapper read backend declarations from the export. Wrapper uses hugpy-engine request for launch details and hugpy-engine record to return execution records. The Engine database retains the host’s settings, environment inventory and history.

Compatibility with media services

For this release, the arms build uses hugpy-engine 0.3.16.1. That distribution provides Python client APIs such as execute_prompt. The worker build uses 0.4.0.21 and provides the hugpy-engine executable and export interface. Both builds have the same distribution name. Keep the worker and arms installations in separate virtual environments, and let Media or Oracle resolve the client requirement in the arms environment.

For an isolated check of the 0.3 arms environment, import the client there:

from hugpy_engine import execute_prompt

A worker installation can be inspected separately with hugpy-engine report --json. This separation lets a media application submit work to the fleet without installing its inference backends in the application environment.

Metadata

Release files for hugpy-engine 0.4.1

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-engine 0.4.1
File Size Uploaded Provenance Actions
hugpy_engine-0.4.1.tar.gz 286.5 kB Without provenance Details for hugpy_engine-0.4.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for hugpy-engine 0.4.1
File Interpreter ABI Platform Actions
hugpy_engine-0.4.1-py3-none-any.whl Python 3 none any Details for hugpy_engine-0.4.1-py3-none-any.whl

Total release size: 620.6 kB

Release files / hugpy_engine-0.4.1.tar.gz

Download URL hugpy_engine-0.4.1.tar.gz
Size 286.5 kB
Tags Source
SHA-256 checksum
How to use checksums
5333cb90703b6c149471cfd3818de33389aef8f27bdd44a2397ed7989ba02910
BLAKE2b-256 checksum
How to use checksums
75febf22d9d9daf357ebe1faaa91c2dd1cab70d165dc1992632defb2c8b49885
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.3

Release files / hugpy_engine-0.4.1-py3-none-any.whl

Download URL hugpy_engine-0.4.1-py3-none-any.whl
Size 334.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
950b259d6285042192eb0a0359562fe3091b8eaf76b566490331a7b6d935eb66
BLAKE2b-256 checksum
How to use checksums
a8b366f89445fdd29c45858ce2022994491423ef39e621ffc3cba35f331584df
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.3

Security for hugpy-engine 0.4.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.

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