Skip to main content

Patch yaml files.

Project description

yaml-patcher

https://img.shields.io/pypi/v/yaml_patcher.svg https://img.shields.io/travis/albertoeaf/yaml_patcher.svg Documentation Status

Patch yaml files.

Installation

pip install yaml_patcher

Features

Patch a YAML configuration file with another that specifies the transformations. For now only supports a replace operation with a literal path.

Follows the format in https://github.com/krishicks/yaml-patch.

To run just use:

yaml_patcher base.yaml patch.yaml patched_output.yaml

Credits

This package was created with Cookiecutter and the audreyr/cookiecutter-pypackage project template.

History

0.1.0 (2020-11-27)

  • First release on PyPI.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

yaml_patcher-0.1.0.tar.gz (8.6 kB view details)

Uploaded Source

File details

Details for the file yaml_patcher-0.1.0.tar.gz.

File metadata

  • Download URL: yaml_patcher-0.1.0.tar.gz
  • Upload date:
  • Size: 8.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/50.3.0.post20201006 requests-toolbelt/0.9.1 tqdm/4.50.0 CPython/3.7.6

File hashes

Hashes for yaml_patcher-0.1.0.tar.gz
Algorithm Hash digest
SHA256 d34d975e8f17502e8a58ba034f0f897786fb1ddfab20cb3414080fa38ac12023
MD5 6fc04a676fc17bcbe784367785079c82
BLAKE2b-256 e0c3c8d159583ba0d0d391354fb65211f3ea141887de46cb631631a6dd12c621

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page