Skip to main content

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.

Files for config-files-validator, version 1.2.0
Filename, size File type Python version Upload date Hashes
Filename, size config_files_validator-1.2.0-py3-none-any.whl (4.2 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size config-files-validator-1.2.0.tar.gz (2.7 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page