Skip to main content

Open Data Schema catalog manipulation library

Project description

Open Data Schema Python client

PyPI

Install

pip install opendataschema

Usage

Note: the schema.json file can be given as a file path or an URL.

opendataschema schema.json list
opendataschema schema.json show
opendataschema schema.json show --name <schema_name>
opendataschema schema.json show --versions

Configuration

Environment variables:

  • CATALOG_SCHEMA: customise the URL or file path of the JSON schema to use to validate the catalog JSON file

GitHub API Rate limiting

Because of to the rate limiting strategy of GitHub API, you may encounter a github.GithubException.RateLimitExceededException. To avoid that, generate a private access token in your tokens settings page, and set the GITHUB_ACCESS_TOKEN environment variable.

Project details


Download files

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

Source Distribution

opendataschema-0.5.5.tar.gz (5.8 kB view hashes)

Uploaded Source

Built Distribution

opendataschema-0.5.5-py3-none-any.whl (7.2 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page