Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (
Help us improve Python packaging - Donate today!

(DEPRECATED) A Python library to validate Data Package datapackage.json files.

Project Description

**This project is DEPRECATED. You should use
<> instead. This repository is
just for historical purposes.**

# datapackage-validate-py

Validate [Data Package][] datapackage.json files against a jsonschema.

[Data Package]:

## Usage

import datapackage_validate

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]:

Release History

This version
History Node


History Node


History Node


History Node


History Node


History Node


History Node


History Node


History Node


Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, Size & Hash SHA256 Hash Help File Type Python Version Upload Date
(4.6 kB) Copy SHA256 Hash SHA256
Source None Apr 18, 2016

Supported By

Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Google Google Cloud Servers