Registry / serialization / hya
library0.4.0pypypi✓ verified 83d ago

hya is a library of custom OmegaConf resolvers, providing utilities for configuration management in Python. Current version 0.4.0, released August 2024. Maintained and updated as needed.

pip install hya
INSTALL
IMPORT
SIG · HYA
H
hya
serializationpythonv0.4.0
Install
2.9s avg
Import
377ms
Disk
21MB
Pass rate
10/ 10
Env Coverage10 / 10
glibc
3.93.13
musl
3.93.13
Install & Compatibility
Where this runs
tested against v0.4.0 · pip install
no network on importno background threads
Install × environment matrix
Each cell = how many times install + import succeeded across repeated harness runs. Partial = flaky.
glibc = Debian/Ubuntu slim · musl = Alpine Linux
musl
py 3.103.95 runs
installs and imports cleanly · install 0.0s · import 0.384s · 23.3MB
glibc
py 3.103.95 runs
installs and imports cleanly · install 2.9s · import 0.370s · 24MB
21MB installed
● package 21MB
Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

hya
import hya
Main module for using resolvers

Quickstart: import hya to register custom resolvers, then use them in OmegaConf configurations.

import os from omegaconf import OmegaConf # Register hya resolvers import hya # Example usage with OmegaConf cfg = OmegaConf.create(""" name: "hello_${env:HOME}" """) # Ensure resolvers are available OmegaConf.resolve(cfg) print(cfg.name)
Debug
Known issues
gotchahya requires Python >=3.10 and OmegaConf installed separately.
fix
Ensure Python 3.10+ and install OmegaConf: pip install omegaconf
affects: all
gotchaImporting hya without using its resolvers may cause confusion; resolvers are registered on import.
fix
Explicitly import hya before creating OmegaConf instances to ensure resolvers are registered.
affects: all
Errors
Common errors & fixes
ModuleNotFoundError: No module named 'hya'
hya not installed
fix
Run pip install hya
Resolver 'env' not registered
hya import not executed before OmegaConf instance creation
fix
Add 'import hya' before creating OmegaConf configuration object.
Upgrade
Version history
0.4.0latest on PyPI · released Jan 24, 2026
Audit
Dependencies

No dependency data recorded yet.

Agent activity
10 hits · last 30 days
node
10
Resources