semvec/pypi-packages huggingface dataset:
datapackage-validate 0.4.0
(DEPRECATED) A Python library to validate Data Package datapackage.json files.
License: MIT

**This project is DEPRECATED. You should use
<https://github.com/datapackages/datapackage-py> instead. This repository is
just for historical purposes.**

# 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
datapackage-registry 0.5.0
(DEPRECATED) A Python library for working with a Data Package Registry.
License: MIT

**This project is **DEPRECATED**. You should use
<https://github.com/datapackages/datapackage-py> instead. This repository is
just for historical purposes.**

datapackage-registry-py
=======================

A Python library for working with a Data Package Registry.

It comes with a cached version of the registry and schemas from
<https://github.com/dataprotocols/schemas>.

Usage
-----

```python
import datapackage_registry

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

# see the available profiles in the registry
print(registry.available_profiles)
# {
#     'base': {
#         'id': 'base',
#         'schema': 'https://rawgit.com/dataprotocols/schemas/master/data-package.json',
#         'specification': 'http://dataprotocols.org/data-packages',
#         'title': 'Data Package'
#     },
#     'tabular': {
#         'id': 'tabular',
#         'schema': 'https://rawgit.com/dataprotocols/schemas/master/tabular-data-package.json',
#         'specification': 'http://dataprotocols.org/tabular-data-package/',
#         'title': 'Tabular Data Package'
#    }
# }

# get a profile by its id
base_profile = registry.get('base')
```

If you’d like to use a custom registry, you can pass its URL or local
path to the `Registry()` constructor, as in:

```python
import datapackage_registry

registry = datapackage_registry.Registry('http://someplace.com/my-registry.csv')
```

If you’d like to get a schema that's not in the registry, you can pass its URL
or local path to `Registry().get_external()` method, as in:

```python
import datapackage_registry
registry = datapackage_registry.Registry()

try:
  schema = registry.get_external('http://someplace.com/schema.json')
except datapackage_registry.exceptions.DataPackageRegistryException:
  pass  # handle error
```

Developer notes
---------------

These notes are intended to help people that want to contribute to this
package itself. If you just want to use it, you can safely ignore this.

### Updating the local schemas cache

We cache the schemas from <https://github.com/dataprotocols/schemas>
using git-subtree. To update it, use:

    git subtree pull --prefix datapackage_registry/schemas https://github.com/dataprotocols/schemas.git master --squash
celery-redis-task-monitor 0.2.0
Celery Task Monitor for Django
License: MIT
Keywords: django celery

Celery Task Monitor for Django
==============================

.. image:: https://img.shields.io/travis/omarkhan/celery-redis-task-monitor.svg
        :target: https://travis-ci.org/omarkhan/celery-redis-task-monitor

.. image:: https://img.shields.io/pypi/v/celery-redis-task-monitor.svg
        :target: https://pypi.python.org/pypi/celery-redis-task-monitor


Licence
-------

MIT