Skip to main content

A Python library for working with a Data Package Registry.

Project description

# datapackage-registry-py
A Python library for working with a Data Package Registry.

Currently, the default registry backend is currently located at:
https://rawgit.com/dataprotocols/registry/master/registry.csv


## Usage

```python
import datapackage_registry

# get the default registry objects
registry = datapackage_registry.get()

# or pass in a config object to define a non-default backend endpoint
custom_config = {
'backend': 'https://mycustomconfig.com/registry.csv',
}
custom_registry = datapackage_registry.get(custom_config)

# registry now has an array of dicts, e.g.:
[{'id': 'base',
'schema': 'https://rawgit.com/dataprotocols/schemas/master/data-package.json',
'specification': 'http://dataprotocols.org/data-packages',
'title': 'Data Package'},
{'id': 'tabular',
'schema': 'https://rawgit.com/dataprotocols/schemas/master/tabular-data-package.json',
'specification': 'http://dataprotocols.org/tabular-data-package/',
'title': 'Tabular Data Package'}]

```

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

datapackage-registry-0.0.2.tar.gz (3.5 kB view hashes)

Uploaded Source

Built Distribution

datapackage_registry-0.0.2-py2.py3-none-any.whl (4.7 kB view hashes)

Uploaded Python 2 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