HiYaPyCo
Hierarchical Yaml Python Config
Decision gist · record as of 2026-08-14
Yes, if you need hierarchical YAML configuration merging with templating. The package is stable (Production/Stable classifier), actively maintained, has no known vulnerabilities, and low install friction. The GPLv3 license is a blocker only if you cannot distribute under copyleft terms. It is well-suited for application configuration management but adds a dependency for a focused use case—evaluate whether built-in config tools or simpler alternatives meet your needs first.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Low friction: pure Python wheel with only three runtime dependencies (Jinja2, MarkupSafe, PyYAML).
- Actively maintained with recent commits; last release 663 days ago but repository shows ongoing activity.
License · maintenance · safety
GPLv3 (copyleft) — GPLv3 copyleft license requires that any derivative work or distribution be licensed under GPLv3 or later. Acceptable for open-source projects but incompatible with proprietary software unless you obtain a separate license.
last release 2024-10-20 (663 days) · last repo commit 2026-07-06 · 117 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 225,756 downloads/mo, #9,214 on PyPI
Alternatives
Verify before relying
import hiyapyco
conf = hiyapyco.load('config1.yaml', 'config2.yaml', method=hiyapyco.METHOD_MERGE, interpolate=True)
print(hiyapyco.dump(conf, default_flow_style=False))- Whether the package supports Python versions beyond 3.9 and 3.11 (classifiers list only these two tested versions).
- Current test coverage and stability guarantees for edge cases in deep merge and interpolation logic.
What it is and what it does
HiYaPyCo is a Python library for managing configuration through hierarchical overlay of YAML files. It reads multiple YAML files and merges them according to a chosen strategy (simple replacement, deep merge, or list substitution), then optionally interpolates variables using Jinja2 templates. The library is designed to replicate Puppet's Hiera-style configuration management for Python applications.
The package depends on PyYAML for YAML parsing and Jinja2 for template variable substitution. It preserves dictionary ordering during load and merge operations, which is important for interpolation to work correctly. Configuration can be loaded from files or YAML strings, and the merge behavior is customizable through method selection and callback functions.
Use it for
- Manage environment-specific configuration by layering base, environment, and host-level YAML files in order.
- Build templated configuration where values reference other config keys using Jinja2 syntax (e.g., `{{ first }}`)
- Merge default application settings with user overrides while preserving nested structure integrity.
- Load configuration from multiple sources (files or strings) and combine them into a single OrderedDict.
- Customize merge behavior for primitive values or use alternative YAML loaders via callback functions.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, if you need hierarchical YAML configuration merging with templating.
The package is stable (Production/Stable classifier), actively maintained, has no known vulnerabilities, and low install friction. The GPLv3 license is a blocker only if you cannot distribute under copyleft terms. It is well-suited for application configuration management but adds a dependency for a focused use case—evaluate whether built-in config tools or simpler alternatives meet your needs first.
Install
hiyapyco on PyPI
Before you install
Low friction: pure Python wheel with only three runtime dependencies (Jinja2, MarkupSafe, PyYAML). Actively maintained with recent commits; last release 663 days ago but repository shows ongoing activity.
License in practice
GPLv3 copyleft license requires that any derivative work or distribution be licensed under GPLv3 or later. Acceptable for open-source projects but incompatible with proprietary software unless you obtain a separate license.
Quickstart
import hiyapyco
conf = hiyapyco.load('config1.yaml', 'config2.yaml', method=hiyapyco.METHOD_MERGE, interpolate=True)
print(hiyapyco.dump(conf, default_flow_style=False))
Verify before relying
- Whether the package supports Python versions beyond 3.9 and 3.11 (classifiers list only these two tested versions).
- Current test coverage and stability guarantees for edge cases in deep merge and interpolation logic.
Package facts
| License | GPLv3 copyleft |
| Python support | Not specified |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 3 packagesJinja2MarkupSafePyYAML |
| Maintenance | Actively maintained 663 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 225,756 / month, #9,214 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 5 - Production/StableIntended Audience :: DevelopersIntended Audience :: System AdministratorsLicense :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)Programming Language :: Python :: 3Programming Language :: Python :: 3 :: OnlyProgramming Language :: Python :: 3.11Programming Language :: Python :: 3.9 |
Evidence: HiYaPyCo-0.7.0-py2.py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “hierarchical configuration overlay”
- HiYaPyCoLoads and merges multiple YAML configuration files hierarchically…
- ai-edge-model-explorerVisualizes and debugs machine learning model graphs with hierarchical…
- sphinx-commentsIntegrates third-party commenting and annotation services into…
Give your agent the search over MCP, or paste the wish link into any chat.
More Software Development packages
Provides backported and experimental type hints for Python 3.9+, allowing use of newer typing features on older Python versions and enabling early experimentation with type system PEPs before they enter the standard library.
NumPy provides an N-dimensional array object and a comprehensive suite of mathematical, linear algebra, Fourier transform, and random number functions for scientific computing in Python.
FastAPI is a Python web framework for building REST APIs using type hints, with automatic request validation, serialization, and interactive API documentation.
Provides a way to document function parameters, class attributes, return types, and variables inline using Python's `Annotated` type hint syntax instead of traditional docstrings.
Typer builds command-line applications from Python functions using type hints, automatically generating help text, argument parsing, and shell completion.
Install it if you are building CLIs in Python.
Distlib provides low-level packaging utilities for building, distributing, and managing Python software—including metadata handling, version specifiers, wheel support, script installation, and dependency resolution.
See also dynamic-yaml · hierarchical-conf · pyhocon · HyperPyYAML · yamlloader · pyaml-env · anyconfig · pyyml · aspy.yaml · yamlordereddictloader