UpdateHub package schema validator for Python
pip install updatehub-package-schema
Simply call validate_metadata with your package metadata as a Python
dict. validate_metadata will raise pkgschema.ValidationError if
something is wrong with your package, otherwise it will return None.
from pkgschema import validate_metadata
metadata = {} # the package metadata must be a Python dict
validate_metadata(metadata)updatehub-package-schema is released under MIT license.