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.3.tar.gz (2.5 kB view details)

Uploaded Source

File details

Details for the file yamlgen-1.0.3.tar.gz.

File metadata

  • Download URL: yamlgen-1.0.3.tar.gz
  • Upload date:
  • Size: 2.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/3.10.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.7.2

File hashes

Hashes for yamlgen-1.0.3.tar.gz
Algorithm Hash digest
SHA256 a1c0a53767f3f1b212c541dc05836a59e6932fb4bb0fec9c0acaccf67fa62818
MD5 90f7b507ede31def3c26ab4f1cbed869
BLAKE2b-256 3824b0a88986a12909b308652339218d96a002befbe72f0d107534547e631de5

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