$npx skillfedfor your agent

dynamic-yaml

Enables self referential yaml entries

With conditionsPyPI UtilitiesReleased Apr 2024576.5K downloads / mopermissive licensePure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — dynamic_yaml-2.0.0-py3-none-any.whl
v2.0.0 · released 2024-04-09 · Python >=3.0 · 1 runtime deps: pyyaml

Yes, if you need lightweight configuration templating in YAML. The package is simple, has minimal dependencies, and solves a real problem—avoiding repetition in configuration files. However, maintenance is dormant (last update 2024-04-09), so adopt it only if you can tolerate no active support. The MIT license carries no restrictions. Not suitable if you need active bug fixes or features.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires pyyaml to be installed; strings containing braces must be quoted in YAML to distinguish them from mapping syntax.
  • Low install friction with a single runtime dependency (pyyaml).
  • Maintenance is dormant—last release was 2024-04-09 with no recent commits, though the repository remains active and has not been archived.

License · maintenance · safety

permissive license (permissive) — MIT License permits unrestricted use, modification, and distribution for both commercial and private projects, with only attribution and license notice required.

last release 2024-04-09 (857 days) · last repo commit 2024-04-09 · 45 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 576,509 downloads/mo, #5,929 on PyPI

Verify before relying

import dynamic_yaml

with open('config.yaml') as f:
    cfg = dynamic_yaml.load(f)
    print(cfg.dirs.venv)  # Resolves interpolated references
  • Whether the package handles circular reference detection or will hang on cyclic interpolations.
  • Performance characteristics when resolving deeply nested or large configuration trees.
  • Compatibility with recent pyyaml versions and Python 3.12+.
Same gist for agents: .md · .json

What it is and what it does

Dynamic YAML extends PyYAML to support self-referential configuration values. Instead of repeating paths or values throughout a YAML file, you can use Python format string syntax (curly braces) to reference other keys in the configuration tree—for example, `{dirs.home}/venvs/{project_name}` will resolve to the actual values of those keys. This turns static YAML into a lightweight templating system suitable for managing complex configuration hierarchies.

The package works by wrapping PyYAML's loader and providing a `load()` function that returns an object with attribute access to configuration keys. References are resolved dynamically when accessed, and you can also dump the resolved configuration back to YAML. It integrates naturally with tools like argparse, allowing command-line arguments to override configuration values that other parts of the config depend on.

Use it for

  • Build configuration files where paths are defined once at the root and reused throughout nested sections.
  • Generate environment-specific configs (dev, staging, prod) by changing a few base values and letting references propagate.
  • Combine with argparse to override base parameters and have dependent paths update automatically.
  • Export resolved configurations to YAML for deployment or documentation without manual path expansion.
  • Reduce duplication in large configuration files by centralizing repeated values as references.

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

With conditions

Yes, if you need lightweight configuration templating in YAML.

The package is simple, has minimal dependencies, and solves a real problem—avoiding repetition in configuration files. However, maintenance is dormant (last update 2024-04-09), so adopt it only if you can tolerate no active support. The MIT license carries no restrictions. Not suitable if you need active bug fixes or features.

Install

dynamic-yaml on PyPI

Before you install

Low install friction with a single runtime dependency (pyyaml). Maintenance is dormant—last release was 2024-04-09 with no recent commits, though the repository remains active and has not been archived.

Requires pyyaml to be installed; strings containing braces must be quoted in YAML to distinguish them from mapping syntax.

License in practice

MIT License permits unrestricted use, modification, and distribution for both commercial and private projects, with only attribution and license notice required.

Quickstart

import dynamic_yaml

with open('config.yaml') as f:
    cfg = dynamic_yaml.load(f)
    print(cfg.dirs.venv)  # Resolves interpolated references

Verify before relying

  • Whether the package handles circular reference detection or will hang on cyclic interpolations.
  • Performance characteristics when resolving deeply nested or large configuration trees.
  • Compatibility with recent pyyaml versions and Python 3.12+.

Package facts

Licensepermissive license permissive
Python supportSupports the current Python release >=3.0
Install frictionLow. Pure-Python wheel
Runtime dependencies
1 package
pyyaml
MaintenanceDormant 857 days since the last release
Last repo commit
First released
Downloads576,509 / month, #5,929 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
License :: OSI Approved :: MIT LicenseProgramming Language :: PythonProgramming Language :: Python :: 3

Evidence: dynamic_yaml-2.0.0-py3-none-any.whl

Tags

Capabilities
yaml configuration interpolationself-referential yamldynamic yaml referencesyaml variable substitutionyaml config templatingnested yaml referencesyaml string formatting
Topics
yaml-configconfiguration-management
PyPI keywords
yamlconfiguration

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 › “self-referential yaml”

  • dynamic-yamlAdds dynamic string interpolation to YAML configuration files,…
  • adaptixAdaptix converts between data models, dictionaries, and JSON with…
  • djangorestframework-recursiveAdds a RecursiveField to Django REST Framework that serializes and…

Give your agent the search over MCP, or paste the wish link into any chat.

More Utilities packages

idna Worth it
PyPI · Python Modules · released Jun 2026

Converts domain names between Unicode and ASCII-compatible encoding (Punycode) according to IDNA 2008 and Unicode Technical Standard 46, with security validation and broader script coverage than the standard library.

Install it if you work with internationalized domain names, need to validate domains, or use HTTP clients that depend on it transitively.

BSD-3-Clausepure Python · 3.9+
1.8Bdownloads / mo
charset-normalizer Worth it
PyPI · Utilities · released Aug 2026

Detects and normalizes text encoding from unknown or ambiguous sources, supporting all IANA character sets that Python's core library provides codecs for, with the ability to register custom codecs.

permissive licensepure Python · 3.7+
1.7Bdownloads / mo
setuptools Worth it
PyPI · Python Modules · released Aug 2026

Setuptools is a Python build backend and package management tool that handles building, distributing, and installing Python packages, including support for C/C++ extension modules.

MITpure Python · 3.10+
1.6Bdownloads / mo
pluggy Worth it
PyPI · Libraries · released May 2025

Pluggy provides a plugin system that lets you define hook specifications and register implementations to be called in sequence, enabling extensible Python applications without tight coupling.

Install it if you're building an extensible application or framework.

MITpure Python · 3.9+aging
1.3Bdownloads / mo
Pygments Worth it
PyPI · Utilities · released Mar 2026

Pygments is a syntax highlighter that colorizes source code and text in over 500 languages and formats, outputting to HTML, LaTeX, RTF, SVG, images, or ANSI terminal sequences.

Install it if you need to display or transform source code.

BSD-2-Clausepure Python · 3.9+
1.3Bdownloads / mo
six With conditions
PyPI · Libraries · released Dec 2024

Six provides utility functions to write Python code that runs on both Python 2.7 and Python 3.3+, smoothing over language differences between the two versions.

MITpure Python
1.2Bdownloads / mo

See also envyaml · HiYaPyCo · PyYAML · yamllint · yacman · anyconfig · HyperPyYAML · pyaml · condor-git-config · yacs