gatoryaml

Custom YAML-like generator for GatorGrader config files.


Keywords
GatorYAML, YAML, Gator, GatorGrader, GatorConfig
License
MIT
Install
pip install gatoryaml==1.0.1

Documentation

GatorYAML

GatorYAML Logo

Custom YAML-like generator for GatorGrader config files.

General installation:

You can install GatorYAML from PyPi using pip: pip install gatoryaml

Basic Usage:

Basic usage is very simple. Just import GatorYAML and provide the dump function with a header and body. That function returns a formatted string you can drop right into a file!

import gatoryaml

header = {"option":"value"}
body = {"some/file/path.md":["--options!", "new lines are list indexes", "all file parameters must be a list"],
        "some/other/folder":"Otherwise it's output as (pure) text!"}

print(gatoryaml.dump(header, body))

Contributing:

To contribute, please make sure your code passes all test cases and linting before creating a pull request!