Skip to main content

yaml-include

Install

Simply install this tool using pip :

pip install yaml-include

Features :

  • Include document using !include <PATH>
  • Recursive inclusion
  • Relative & absolute path

Usage

Given those three files :

root.yaml

- Document :
    !include version.yaml

- Job :
    !include jobs/job1.yaml

version.yaml

- name : "4.19.35"
- sha1 : "37dadf3"

jobs/job1.yaml

- name: "Test"
- target: "imx8mq"

You can generate your file with included documents using :

yaml-include root.yaml --output-file generated.yaml

or simply print the result :

yaml-include root.yaml

Resulting this output :

- Document:
  - name: 4.19.35
  - sha1: 37dadf3
- Job:
  - name: Test
  - target: imx8mq

Help

usage: yaml-include [-h] [-o OUTPUT_FILE] root_document

positional arguments:
  root_document         Root document

optional arguments:
  -h, --help            show this help message and exit
  -o OUTPUT_FILE, --output-file OUTPUT_FILE
                        Path for your generated file.

Metadata

Release files for yaml-include 1.0.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 yaml-include 1.0.0
File Size Uploaded Provenance
yaml-include-1.0.0.tar.gz 2.2 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for yaml-include 1.0.0
File Interpreter ABI Platform
yaml_include-1.0.0-py3-none-any.whl Python 3 none any Details

Total release size: 4.8 kB

Release files / yaml-include-1.0.0.tar.gz

Download URL yaml-include-1.0.0.tar.gz
Size 2.2 kB
Tags Source
SHA-256 checksum
How to use checksums
8c7f022a7494169307acbe3580a8164bd1b6404cf50bd5ff6afee205deff5cac
BLAKE2b-256 checksum
How to use checksums
d1c18a378c309112ef6b36005480f870432b967b854b4c287616025d8481da2e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.6.0 requests/2.24.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.6.9

Release files / yaml_include-1.0.0-py3-none-any.whl

Download URL yaml_include-1.0.0-py3-none-any.whl
Size 2.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
bacc9ff25d38b531a7cfb39d6c32dbead1506af65fb9ba36e133290c6bbe1f2a
BLAKE2b-256 checksum
How to use checksums
44a08d13f9b068685beda7d9189246fc475b4ccb15f3c9f34bd597ec0d2f20b8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.6.0 requests/2.24.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.6.9

Security for yaml-include 1.0.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

1.0.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