HyFI: Hydra Fast Interface
HyFI composes Hydra configs, validates them with Pydantic, and runs reproducible workflows. Every run writes a manifest with the resolved config, the code version, and per-step results, so the same run can be repeated later, by a person or by a coding agent.
HyFI 2.0 is a rewrite. The 1.x line stays on the v1 branch; pin hyfi<2 to keep it.
Install
uv add hyfi # or: pip install hyfi
uvx hyfi --version # run without installing
Python 3.11 or newer. Core dependencies: hydra-core, omegaconf, pydantic, python-dotenv.
Quick start
Put configs in ./conf:
# conf/workflow/charcount.yaml
name: charcount
steps:
- run: pathlib.Path
with: {_args_: [README.md]}
- run: pathlib.Path.read_text # receives the previous result as its first argument
- run: builtins.len
hyfi run workflow=charcount --dry-run # resolve every step without running it
hyfi run workflow=charcount # run it and write .hyfi/runs/<run_id>/manifest.json
hyfi rerun <run_id> # run the recorded config again
From Python or a notebook:
import hyfi
cfg = hyfi.compose(["workflow=charcount"])
manifest = hyfi.run_workflow(cfg)
print(manifest.status, [s.status for s in manifest.steps])
What is in the box
compose()/instantiate()/BaseConfig: Hydra composition with Pydantic validation, from the CLI, code, or notebooks. Nothing happens at import time.- Plugins: any package can ship config groups through the
hyfi.pluginsentry point. - Workflows: ordered steps, each a Python callable built with Hydra
instantiate; results pipe into the next step. - Run manifests: resolved config, git SHA,
uv.lockhash, Python and platform, timings, errors. - Execution allowlist:
--allow 'mypkg.*'limits which callables a config may run (forwarded to Hydra 1.4's execution whitelist). - Agent-friendly CLI:
--jsonon every command,hyfi config schemafor JSON Schema, non-zero exit codes on failure.
Citation
@software{lee_hyfi,
author = {Young Joon Lee},
title = {HyFI: Hydra Fast Interface},
year = 2023,
url = {https://github.com/entelecheia/hyfi}
}
License
Metadata
Release files for hyfi 2.0.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 |
|---|---|---|---|---|
| hyfi-2.0.1.tar.gz | 175.3 kB | With provenance | Details for hyfi-2.0.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| hyfi-2.0.1-py3-none-any.whl | Python 3 | none | any | Details for hyfi-2.0.1-py3-none-any.whl |
Total release size: 194.7 kB
Release files / hyfi-2.0.1.tar.gz
| Download URL | hyfi-2.0.1.tar.gz |
|---|---|
| Size | 175.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
9d662c9e549ff80fe8d14a504df57995a2f5550de9f15616d296bc00118c611b
|
|
BLAKE2b-256 checksum How to use checksums |
15eaf8ee17788da709a7014aef1e32b2bfa489ff2afae4414106e1df2799a704
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 19, 2026.
Transparency logRelease files / hyfi-2.0.1-py3-none-any.whl
| Download URL | hyfi-2.0.1-py3-none-any.whl |
|---|---|
| Size | 19.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
07c68b737cecd7a426c80d76b6564acf75b6b32c9cea4cd489cdeec55e832f62
|
|
BLAKE2b-256 checksum How to use checksums |
ed74dcfb8b9899bb8e7507d718f41269b580cca58dcd8ba0dc2ff9896b1352e6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 19, 2026.
Transparency logSecurity for hyfi 2.0.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.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for hyfi-2.0.1.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 19, 2026.
Transparency logA 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.