Skip to main content

A plugin that allows users to dynamically create yaml classes and convert into a yaml file when done

Project description

Features

Easily build yaml classes and convert to a yaml file when done

Each class has the following functionality:

  • add(string variable, value) #Adds a variable to the class

  • get(string variable) #Gets a variable from the class

  • yaml() #Returns a yamlized version of the class to be used as value for other yaml classes

  • build(string filename) #Builds the yaml file from the yaml class and outputs to desired filename

installation

pip install yaml-designer

Example

from yaml_designer import yamlclass

myclass = yamlclass()

myclass.add("newvariable", "value")

myclass.build("output.yaml")

Requirements

pip install pyyaml

License

Distributed under the terms of the BSD-3_ license, "yaml-designer" is free and open source software

Issues

If you encounter any problems, please file an issue_ along with a detailed description.

.. _BSD-3: https://opensource.org/licenses/BSD-3-Clause .. _file an issue: https://github.com/MichaelE55/yaml-designer/issues

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_designer-0.1.3.tar.gz (3.2 kB view details)

Uploaded Source

Built Distribution

yaml_designer-0.1.3-py3-none-any.whl (4.2 kB view details)

Uploaded Python 3

File details

Details for the file yaml_designer-0.1.3.tar.gz.

File metadata

  • Download URL: yaml_designer-0.1.3.tar.gz
  • Upload date:
  • Size: 3.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.4.2 requests/2.22.0 setuptools/69.5.1 requests-toolbelt/0.8.0 tqdm/4.30.0 CPython/3.8.10

File hashes

Hashes for yaml_designer-0.1.3.tar.gz
Algorithm Hash digest
SHA256 f82d224bee6475ae261c90873cad30943949ecb18c21c1ddea5609b5ed0e4a8b
MD5 9384954a0a81e291dcedb24b5293b0a3
BLAKE2b-256 1121f22231da37340d73c69e4beac1b5533b0ba7cf6ede12d6927b948f52a7b5

See more details on using hashes here.

File details

Details for the file yaml_designer-0.1.3-py3-none-any.whl.

File metadata

  • Download URL: yaml_designer-0.1.3-py3-none-any.whl
  • Upload date:
  • Size: 4.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.4.2 requests/2.22.0 setuptools/69.5.1 requests-toolbelt/0.8.0 tqdm/4.30.0 CPython/3.8.10

File hashes

Hashes for yaml_designer-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 46db76b3c45b84058a87f8c18a2c5e4c7d0f85d8a0a4208e4c5eca50bd1ecb3c
MD5 fe4eaced52f9d313078dc1a3121cd241
BLAKE2b-256 698065fa84cddd79b1892cf44263cc49659e9809ea4d351cf9968554806e5b5f

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