A validator for json, yaml, and jinja2 files
Project description
# config-files-validator A command line tool to validate configuration language files and template files. So far json, yaml, and jinja2 are supported. The tool validates the files by trying load them one by one. Result can be converted to xunit xml report.
## Example of usage with json files ` validate-json-files example1.json example2.json `
## Example of usage with yaml files ` validate-yaml-files example1.yaml example2.yaml `
## Example of usage with jinja2 files ` validate-jinja2-files example1.j2 example2.j2 `
## Example of xunit xml report This will generate an xunit xml report file named testreport.xml ` validate-yaml-files example1.yaml example2.yaml --xunit ` This will generate an xunit xml report file named myxunit.xml ` validate-yaml-files example1.yaml example2.yaml --xunit --xunit-output-file=myxunit.xml `
## Requirements The tool requires version 3.6 or higher of Python.
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
Built Distribution
Hashes for config-files-validator-1.2.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | c012c5a51f476da78f98043bfeea7ef2e8066f416c42852bac6bb7e063fe9463 |
|
MD5 | afd20d4c98d7d0cf02743f05d949e1a9 |
|
BLAKE2b-256 | ae98f53e140795050e7cc22bd0ce1c48c03857d5238c87db90e00c4ff8575e3e |
Hashes for config_files_validator-1.2.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d8b9091bb1cb50410ebfa0931b9fc3fe1a30c14a953ef5915f103b400714e7a4 |
|
MD5 | d0f793e124841cccb422f11e59b7efcb |
|
BLAKE2b-256 | 4bc5caf89b8a02c25614d93f1be3657e7f6cc9f14910de6a5328014b0e3de6aa |