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.5.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.5.0
File Size Uploaded Provenance Actions
yamlin-0.5.0.tar.gz 32.1 kB With provenance Details for yamlin-0.5.0.tar.gz

Built distribution (wheel)

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

Total release size: 37.3 kB

Release files / yamlin-0.5.0.tar.gz

Download URL yamlin-0.5.0.tar.gz
Size 32.1 kB
Tags Source
SHA-256 checksum
How to use checksums
7b0a1aa768181509769483864838f4308049da17d0ad34718b30414305744dce
BLAKE2b-256 checksum
How to use checksums
81e2e596bff7bc9211c2f7ac6f3c7edae5649c3258eb2027d89ddd79d26438aa
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.5.0-py3-none-any.whl

Download URL yamlin-0.5.0-py3-none-any.whl
Size 5.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
842ca88e36beedecf01b9cead99f55987de1e743316c330167ec94ab58443723
BLAKE2b-256 checksum
How to use checksums
11cb55db1e7cacf1fb773176e273c4055fd1c6811d22cfa8643df03ccd108735
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.5.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.5.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