Metadata-Version: 1.1
Name: datapackage-validate
Version: 0.0.4
Summary: A Python library to validate Data Package datapackage.json files.
Home-page: https://github.com/okfn/datapackage-validate-py
Author: Open Knowledge Foundation
Author-email: info@okfn.org
License: MIT
Description: 
        # datapackage-validate-py
        
        Validate [Data Package][] datapackage.json files against a jsonschema.
        
        [Data Package]: http://data.okfn.org/doc/data-package
        
        ## Usage
        
        ```python
        import datapackage_validate
        
        try:
          datapackage_validate.validate(datapackage, schema)
        except datapackage_validate.exceptions.DataPackageValidateException as e:
          e.errors  # List with validation errors
        ```
        
        The `datapackage` can be a json string or python dict.
        
        The `schema` can be a json string, python dict, or a schema id corresponding with a schema from the registry of [Data Package Profiles][]. `schema` is optional, and will default to the `base` schema id if not provided.
        
        `validate()` returns None. If there were errors during validation, it raises a
        `datapackage_validate.exceptions.DataPackageValidateException` with a list of
        the validation errors in its `.errors` property.
        
        [Data Package Profiles]: https://github.com/dataprotocols/registry
        
Platform: UNKNOWN
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 2
Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.3
Classifier: Programming Language :: Python :: 3.4
Classifier: Programming Language :: Python :: 3.5
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Classifier: Topic :: Utilities
