Skip to main content

A package to generate yaml file. Convert Json String to Yaml

Project description

PyPI Version PyPI Version Image

YamlGen

yamlgen is an utility python library on PyPI. It's a yaml generator. It convert jsonstring to yaml file.

:rotating_light:

Features

Installation

Installation is done using the pip install command:

   $ pip install yamlgen
   $ pip3 install yamlgen

Usage:

Usage: yamlgen [OPTIONS]

Options:

  -d, --data TEXT  Supply payload in jsonstring format e.g
                   {"name": "app-1", "version": "v1"}

  --help           Show this message and exit.
// Generate svc policy file

yamlgen -d '{"name": "test-app", "image": [{"name": "image-1"}, {"name": "image-2"}]}'

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

yamlgen-1.0.0.tar.gz (2.5 kB view hashes)

Uploaded Source

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