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.3.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.3.0
File Size Uploaded Provenance Actions
yamlin-0.3.0.tar.gz 34.4 kB With provenance Details for yamlin-0.3.0.tar.gz

Built distribution (wheel)

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

Total release size: 39.6 kB

Release files / yamlin-0.3.0.tar.gz

Download URL yamlin-0.3.0.tar.gz
Size 34.4 kB
Tags Source
SHA-256 checksum
How to use checksums
8ca8be562eab793f9e23633acd1369a223c5ea31de803a93739be8727ea094f3
BLAKE2b-256 checksum
How to use checksums
085cdd4e8c7f8c550876c6bd09f5cba80ded13a01258134db789dd9fc58caec3
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.3.0-py3-none-any.whl

Download URL yamlin-0.3.0-py3-none-any.whl
Size 5.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
fc26ac4f691b9fd175d718a34470d2a8c9b3674e726be7c4cff3913a9b4fdf25
BLAKE2b-256 checksum
How to use checksums
5ca7ac3ec1a10c90a32e1b2cdf8107370eba12d9470c533b22047fa2cf3e4fe0
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.3.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.3.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