Skip to main content

pyyaml-loaders

PyPI package page.

PyYAML loaders with enhanced functionalities.

Description

IgnoreLoader

Ignore all constructors with tag !. Load YAML file as is.

IncludeLoader

Tag: !include

Include values from other fields in the same YAML file, or from other file, while potentially replacing a subfield in the included field with a given value.

Syntax:

!include [OTHER_FILE#]FIELD_TO_INCLUDE [SUBFIELD_TO_REPLACE:VALUE_TO_REPLACE_WITH]

Installation

pip install pyyaml-loaders

Usage

In preamble:

from pyyaml_loaders import IncludeLoader, IgnoreLoader

When loading YAML file:

with open(yaml_file, "r") as f:
    data = yaml.load(f, IncludeLoader)

(or IgnoreLoader instead of IncludeLoader)

Metadata

Release files for pyyaml-loaders 0.2.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 pyyaml-loaders 0.2.0
File Size Uploaded Provenance Actions
pyyaml_loaders-0.2.0.tar.gz 16.4 kB Without provenance Details for pyyaml_loaders-0.2.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for pyyaml-loaders 0.2.0
File Interpreter ABI Platform Actions
pyyaml_loaders-0.2.0-py3-none-any.whl Python 3 none any Details for pyyaml_loaders-0.2.0-py3-none-any.whl

Total release size: 33.1 kB

Release files / pyyaml_loaders-0.2.0.tar.gz

Download URL pyyaml_loaders-0.2.0.tar.gz
Size 16.4 kB
Tags Source
SHA-256 checksum
How to use checksums
cea6cde69357b8d774803ec41afaf038990f33589c623d48ae02fbd620051760
BLAKE2b-256 checksum
How to use checksums
53d6f3ee427745499d57168121388fd1325b060213b1d832578c90d188637022
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.12.6

Release files / pyyaml_loaders-0.2.0-py3-none-any.whl

Download URL pyyaml_loaders-0.2.0-py3-none-any.whl
Size 16.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
54f273496dcf19ec8f757b7b680daf37a9b56d0589a6061f0d1dca7fe3a56e85
BLAKE2b-256 checksum
How to use checksums
5cc0dbfde5027319b745125e7101e9565b9520db0fdc9cce7ba86180649ddba1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.12.6

Security for pyyaml-loaders 0.2.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.

No provenance found

None of the files in this release were uploaded with provenance metadata.

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.

Release history Release notifications | RSS feed

This release

0.2.0 This release

2 release files No provenance

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