A simple, interactive, web based YAML validator.
The application uses the following Python packages:
- Plotly Dash framework to generate the interactive web application.
- Dash Bootstrap Components for the layout and styling.
- PyYAML for parsing the YAML content.
- jsonschema for the schema validation.
The schema validation is performed by first loading both the YAML content and Schema (in YAML format) into Python dictionaries and then using the jsonschema package to validate the dictionary of the YAML content against that of the schema.
An online instance is running at https://apps.urandom.xyz/yaml.
Clone or download the repository, then, from the root of the the repository, install the yamldash package using pip:
$ pip install .[server]
Launch the application server:
$ yamldash
A browser window should open to the application. In not, access the application at the URL indicated in the terminal (usually http://127.0.0.1:8080).