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

  • !keyring <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: !keyring 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.6.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.6.0
File Size Uploaded Provenance Actions
yamlin-0.6.0.tar.gz 32.1 kB With provenance Details for yamlin-0.6.0.tar.gz

Built distribution (wheel)

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

Total release size: 37.4 kB

Release files / yamlin-0.6.0.tar.gz

Download URL yamlin-0.6.0.tar.gz
Size 32.1 kB
Tags Source
SHA-256 checksum
How to use checksums
5971a4fa5812020d27572df8b5683a1db9bfd688a78d2dec62f55cb812acfc7f
BLAKE2b-256 checksum
How to use checksums
715b7821622c3696aa7668c39c0ae7c4162f33e4bdbfdc2fec22f924369db9b3
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 16, 2026.

Transparency log

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

Download URL yamlin-0.6.0-py3-none-any.whl
Size 5.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
f1c1de7a6455ab514cce1d8596d307519d532fd2a769563d4feca4c8eeeb6c65
BLAKE2b-256 checksum
How to use checksums
b3255e4bcf90df38c8ad6ada0b1a0a19d866a0a48bf4e17562c91a313729589f
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 16, 2026.

Transparency log

Security for yamlin 0.6.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.6.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 16, 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