Skip to main content

yamlpp

Simple YAML preprocessor, resolves anchors. This is meant for preprocessing .gitlab-ci.yml files. The anchors will be preprocessed, so you can see what the file looks like if you wrote out everything by hand.

Example

Here is example.yml (taken from https://docs.gitlab.com/ee/ci/yaml/#anchors):

.job_template: &job_definition
  script:
    - test project

.postgres_services:
  services: &postgres_definition
    - postgres # urmom
    - ruby

.mysql_services:
  services: &mysql_definition
    - mysql
    - ruby

test:postgres:
  <<: *job_definition
  services: *postgres_definition

test:mysql:
  <<: *job_definition
  services: *mysql_definition

If you run yamlpp example.yml the output will be:

.job_template:
  script:
    - test project

.postgres_services:
  services:
    - postgres
    - ruby

.mysql_services:
  services:
    - mysql
    - ruby

test:postgres:
  script:
    - test project
  services:
    - postgres
    - ruby

test:mysql:
  script:
    - test project
  services:
    - mysql
    - ruby

Metadata

Release files for yamlpp 1.0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for yamlpp 1.0.1
File Size Uploaded Provenance Actions
yamlpp-1.0.1.tar.gz 2.2 kB Without provenance Details for yamlpp-1.0.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for yamlpp 1.0.1
File Interpreter ABI Platform Actions
yamlpp-1.0.1-py2-none-any.whl Python 2 none any Details for yamlpp-1.0.1-py2-none-any.whl

Total release size: 5.7 kB

Release files / yamlpp-1.0.1.tar.gz

Download URL yamlpp-1.0.1.tar.gz
Size 2.2 kB
Tags Source
SHA-256 checksum
How to use checksums
a09799a142c2ab488ac1e78c93f95da26062784102d24adf5af7b6103c275770
BLAKE2b-256 checksum
How to use checksums
14c7a2d04e2f8fc3f3d027a6b5dcf7f1af5805a26dd5df37d746582a8e0f7e77
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.15.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/44.0.0 requests-toolbelt/0.9.1 tqdm/4.42.1 CPython/2.7.15

Release files / yamlpp-1.0.1-py2-none-any.whl

Download URL yamlpp-1.0.1-py2-none-any.whl
Size 3.5 kB
Tags Python 2
SHA-256 checksum
How to use checksums
e8ee242d731f8a0b27cef2707244c10c25f67558fc7cf5431649c2b8a5d0793b
BLAKE2b-256 checksum
How to use checksums
fc4c577b136e42e5556bc29add64d6793af60da91a08e14f44c0c5053ea788e3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.15.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/44.0.0 requests-toolbelt/0.9.1 tqdm/4.42.1 CPython/2.7.15

Security for yamlpp 1.0.1

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