{"categories":[{"label":"Quality Assurance","url":"https://skillfed.io/packages/category/software-development-quality-assurance/4"}],"enrichment":{"capability":"Validates Python data against Avro schemas and reports detailed, field-level error messages instead of generic validation failures.","skillfed_tags":["avro","schema-validation","data-quality"],"use_cases":["Debug data validation failures in data pipelines by identifying exactly which field and value caused the schema mismatch.","Validate incoming JSON or dict data against Avro schemas before writing to a data lake or message queue.","Develop Avro schema definitions interactively, catching schema syntax errors early with detailed parse-time messages.","Batch-validate files from the command line using the avro_validator CLI tool without writing Python code."],"what_it_does":"Avro Validator is a pure-Python library for validating data against Avro schemas. Unlike the default Avro library for Python, which returns only a generic 'datum is not an example of the schema' error, this package pinpoints exactly which field failed validation and why\u2014making it much easier to debug data compliance issues in larger schemas.\n\nThe library works both as a command-line tool and as a Python library. You can load a schema from a file or pass it as a JSON string, then call validate() on your data. If validation passes, it returns True; if it fails, it raises a ValueError with a detailed message showing the field path, the invalid value, and the type mismatch. Schema parsing itself also validates against Avro specifications and reports clear errors for malformed schemas.","worth_installing":"Yes, if you work with Avro schemas and need better error messages than the standard library provides. The package is lightweight, has no dependencies, and is permissively licensed. However, note that maintenance is dormant (last release 2022-07-26); if you need active support or encounter bugs with newer Avro features, consider whether the project's age is acceptable for your use case."},"id":"avro-validator","links":{"html":"https://skillfed.io/packages/avro-validator","md":"https://skillfed.io/packages/avro-validator.md","pypi":"https://pypi.org/project/avro-validator/"},"maintenance":{"status":"dormant"},"meta":{"latest_release":"2022-07-26","license_spdx":null,"license_treatment":"permissive","name":"avro-validator","python_support":"supports_current","summary":"Pure python avro schema validator"},"popularity":{"monthly_downloads":81587,"position":14215,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"1.2.1"}
