Skip to content

UpdateHub Package Schema

License

Notifications You must be signed in to change notification settings

UpdateHub/package-schema

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

46 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Tests PyPI

updatehub-package-schema

UpdateHub package schema validator for Python

Installing

pip install updatehub-package-schema

Usage

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)

License

updatehub-package-schema is released under MIT license.