Skip to main content

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

Metadata

Release files for yaml-designer 0.1.3

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

Source distribution (sdist)

Source distribution for yaml-designer 0.1.3
File Size Uploaded
yaml_designer-0.1.3.tar.gz 3.2 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for yaml-designer 0.1.3
File Interpreter ABI Platform
yaml_designer-0.1.3-py3-none-any.whl Python 3 none any Details

Total release size: 7.4 kB

Release files / yaml_designer-0.1.3.tar.gz

Download URL yaml_designer-0.1.3.tar.gz
Size 3.2 kB
Tags Source
SHA-256 checksum
How to use checksums
f82d224bee6475ae261c90873cad30943949ecb18c21c1ddea5609b5ed0e4a8b
BLAKE2b-256 checksum
How to use checksums
1121f22231da37340d73c69e4beac1b5533b0ba7cf6ede12d6927b948f52a7b5
Upload date
Uploaded using Trusted Publishing?
What is 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

Release files / yaml_designer-0.1.3-py3-none-any.whl

Download URL yaml_designer-0.1.3-py3-none-any.whl
Size 4.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
46db76b3c45b84058a87f8c18a2c5e4c7d0f85d8a0a4208e4c5eca50bd1ecb3c
BLAKE2b-256 checksum
How to use checksums
698065fa84cddd79b1892cf44263cc49659e9809ea4d351cf9968554806e5b5f
Upload date
Uploaded using Trusted Publishing?
What is 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

Release history Release notifications | RSS feed

This release

0.1.3 This release

2 release files

0.1.2

2 release files

0.1.1

2 release files

0.1.0

2 release files

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