Skip to main content

yamlin

A small YAML loader with custom tags for resolving values at load time — secrets from the OS keychain, values from the environment, and async placeholders — then dumps the resolved result back out as plain YAML.

Install

uv add yamlin

Tags

  • !keychain <service>/<secret id> — looks up a secret via keyring.
  • !env <NAME> — looks up an environment variable.
  • !sleep <seconds> — waits, then resolves to the number of seconds (useful for testing concurrent resolution).

Example

# config.yaml
database:
  password: !keychain myapp/db-password
  host: !env DB_HOST
uv run keyring set myapp db-password   # store the secret once
export DB_HOST=localhost

yamlin -f config.yaml
database:
  host: localhost
  password: <value stored in the keychain>

Omit -f to read from stdin, and add -o <file> to write to a file instead of stdout.

Metadata

Release files for yamlin 0.4.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for yamlin 0.4.0
File Size Uploaded Provenance Actions
yamlin-0.4.0.tar.gz 34.4 kB With provenance Details for yamlin-0.4.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for yamlin 0.4.0
File Interpreter ABI Platform Actions
yamlin-0.4.0-py3-none-any.whl Python 3 none any Details for yamlin-0.4.0-py3-none-any.whl

Total release size: 39.6 kB

Release files / yamlin-0.4.0.tar.gz

Download URL yamlin-0.4.0.tar.gz
Size 34.4 kB
Tags Source
SHA-256 checksum
How to use checksums
cb3408fae4f297e492e4c5ca32ed018e7b3547c29f4d31ace4a952469524a96e
BLAKE2b-256 checksum
How to use checksums
b127f3aab419cfe709068d458b89356aa052a0d412945fe01ec4a5f154ed1fa6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 15, 2026.

Transparency log

Release files / yamlin-0.4.0-py3-none-any.whl

Download URL yamlin-0.4.0-py3-none-any.whl
Size 5.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
60e3b85ef800dacda76ab64416189f941ef7b6ab99cab76375fea68de9c0c068
BLAKE2b-256 checksum
How to use checksums
e9dd46f64b32a2a012498de7431b84faf65de6fff56e267868d2dae276127364
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 15, 2026.

Transparency log

Security for yamlin 0.4.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for yamlin-0.4.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 15, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page