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.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 | Provenance | Actions |
|---|---|---|---|---|
| hugpy_engine-0.4.0.tar.gz | 280.5 kB | Without provenance | Details for hugpy_engine-0.4.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| hugpy_engine-0.4.0-py3-none-any.whl | Python 3 | none | any | Details for hugpy_engine-0.4.0-py3-none-any.whl |
Total release size: 609.8 kB
Release files / hugpy_engine-0.4.0.tar.gz
| Download URL | hugpy_engine-0.4.0.tar.gz |
|---|---|
| Size | 280.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
472f55488338336255333f75699ed3478c8fabe4b641b633521f3a7f95bc8433
|
|
BLAKE2b-256 checksum How to use checksums |
3f3079d317768fdec0f40d4ac833dc98970df51c411e439269ccd2115d204e4a
|
| 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.0-py3-none-any.whl
| Download URL | hugpy_engine-0.4.0-py3-none-any.whl |
|---|---|
| Size | 329.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
194fbba74e19a53dd702e9eb21c8133fc84981af0d67fca84c74dd7bd180d523
|
|
BLAKE2b-256 checksum How to use checksums |
4187e63dc93309f9e88c2dfa50c1b73b0f8fee33cd5d1598cfa5dd9afe660ab8
|
| 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.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.