{"id":23863,"library":"hya","title":"hya","description":"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.","status":"active","version":"0.4.0","language":"python","source_language":"en","source_url":"https://github.com/nickroeker/hya","tags":["omegaConf","resolvers","configuration"],"install":[{"cmd":"pip install hya","lang":"bash","label":"Install from PyPI"}],"dependencies":[],"imports":[{"note":"Main module for using resolvers","symbol":"hya","correct":"import hya"}],"quickstart":{"code":"import os\nfrom omegaconf import OmegaConf\n\n# Register hya resolvers\nimport hya\n\n# Example usage with OmegaConf\ncfg = OmegaConf.create(\"\"\"\nname: \"hello_${env:HOME}\"\n\"\"\")\n# Ensure resolvers are available\nOmegaConf.resolve(cfg)\nprint(cfg.name)","lang":"python","description":"Quickstart: import hya to register custom resolvers, then use them in OmegaConf configurations."},"warnings":[{"fix":"Ensure Python 3.10+ and install OmegaConf: pip install omegaconf","message":"hya requires Python >=3.10 and OmegaConf installed separately.","severity":"gotcha","affected_versions":"all"},{"fix":"Explicitly import hya before creating OmegaConf instances to ensure resolvers are registered.","message":"Importing hya without using its resolvers may cause confusion; resolvers are registered on import.","severity":"gotcha","affected_versions":"all"}],"env_vars":null,"last_verified":"2026-05-01T00:00:00.000Z","next_check":"2026-07-30T00:00:00.000Z","problems":[{"fix":"Run pip install hya","cause":"hya not installed","error":"ModuleNotFoundError: No module named 'hya'"},{"fix":"Add 'import hya' before creating OmegaConf configuration object.","cause":"hya import not executed before OmegaConf instance creation","error":"Resolver 'env' not registered"}],"ecosystem":"pypi","meta_description":null,"install_score":null,"install_tag":null,"quickstart_score":null,"quickstart_tag":null}