Skip to main content

{{ DESCRIPTION }}

Project description

Travis
Coveralls
PyPi
SemVer
Gitter

A datapackage-pipelines processor to validate tabular resources using goodtables.

Install

# clone the repo and install it with pip

git clone https://github.com/frictionlessdata/datapackage-pipelines-goodtables.git
pip install -e .

Usage

Add the following to the pipeline-spec.yml configuration to validate each resource in the datapackage. A report is outputted to the logger.

...
- run: goodtables.validate
  parameters:
      fail_on_error: True,
      fail_on_warn: False,
      suppress_if_valid: False,
      goodtables:
          <key>: <value>  # options passed to goodtables.validate()
  • fail_on_error: An optional boolean to determine whether the pipeline should fail on validation error (default True).

  • fail_on_warn: An optional boolean to determine whether the pipeline should fail on validation warning (default False).

  • suppress_if_valid: An optional boolean to determine whether the goodtables validation report should be logged if there are no errors or warnings (default False).

  • goodtables: An optional object passed to goodtables.validate() to customise its behaviour. See `goodtables.validate() <https://github.com/frictionlessdata/goodtables-py/#validatesource-options>`__ for available options.

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

Built Distribution

datapackage_pipelines_goodtables-0.0.1a0-py2.py3-none-any.whl (6.2 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file datapackage-pipelines-goodtables-0.0.1a0.tar.gz.

File metadata

File hashes

Hashes for datapackage-pipelines-goodtables-0.0.1a0.tar.gz
Algorithm Hash digest
SHA256 3575db40db3a24b19cee633796f50cd23e5fc7faff62fa1962ae054f5e45f020
MD5 fa42bab0e465712286fe251427849167
BLAKE2b-256 868ae011b03207b99e37935884e5e7c7b4f879ab67e91a9463fd71611d45d19f

See more details on using hashes here.

File details

Details for the file datapackage_pipelines_goodtables-0.0.1a0-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for datapackage_pipelines_goodtables-0.0.1a0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 3b70f45a0c71c436c6a01c138bc3760d086cceb68b41de29c3e7386b4974c962
MD5 3e05f419d5d4582d18234a10cb4593a6
BLAKE2b-256 ec996d895762ffa5c7add394b359920f27bf1806fa61d9ae6994e95f35aba969

See more details on using hashes here.

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