Observed since 20 Oct, 20:53 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
YAML configuration provider for aeterna
aeterna-config-yaml is the optional PyYAML adapter for aeterna-config. It loads a
single YAML mapping document through the standard configuration-provider interface.
aeterna-config package.aeterna-config.Both dependencies are installed automatically with this package.
With pip:
pip install aeterna-config-yaml
With uv:
uv add aeterna-config-yaml
Given a settings.yaml file:
service:
host: localhost
port: 8080
load it into an Aeterna configuration snapshot:
import asyncio
from aeterna.config import ConfigurationBuilder
from aeterna.config_yaml import YamlProvider
async def main() -> None:
configuration = await ConfigurationBuilder().add(YamlProvider("settings.yaml")).build()
print(configuration.require("service:port")) # 8080
asyncio.run(main())
YamlProvider implements aeterna.config.ConfigurationProvider, so it can be added to
ConfigurationBuilder alongside mapping, environment, or other providers. Its provider
name is yaml:<path> and its encoding defaults to "utf-8".
Multiple documents and non-mapping roots raise aeterna.config.MergeError; duplicate
keys are rejected by the YAML loader. When loaded through ConfigurationBuilder, unsafe
parse or I/O failures cross the public boundary as aeterna.config.ProviderError.
YamlProvider(path, encoding="utf-8"): asynchronous provider for one YAML mapping
document.The package defines no public exceptions; it uses errors from aeterna.config.
From the repository root:
uv sync --locked
uv run pytest tests/test_yaml.py
Download counts and popularity will appear here as the collector receives them.
| Version | Published | Direct dependencies | Open version |
|---|---|---|---|
| 1.0.0.dev1 | 20 Sept 2026 | 2 |
This describes our collected data; it is not a security assessment.
Observed since 20 Oct, 20:53 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
package:f4b45a71617e5189be916537f4516a3c79ca5e415813741d0369b967a6be37d5