This release is a pre-release and may not be stable for production use.
Goodtables validation plugin for datapackage-pipelines
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,
reports_path: 'path/to/datapackage/reports', # where reports will be written
datapackage_reports_path: 'reports', # relative to datapackage.json
write_report: True,
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).
reports_path: An optional string to define where Goodtables reports should be written (default is reports).
datapackage_reports_path: An optional string to define the path to the report, relative to the datapackage.json (see note below).
write_report: An optional boolean to determine whether a goodtables validation report should be written to reports_path (default is True).
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.
If reports are written, and datapackage_reports_path is defined, a reports property will be added to the datapackage, detailing the path to the report for each resource:
...
"reports": [
{
"resource": "my-resource",
"reportType": "goodtables",
"path": "path/to/my-resource.json"
}
]
It is recommended that datapackage_reports_path is used to define a relative path, from the datapackage.json file, that represents where the report was written. datapackage_reports_path does not define where the reports will be written, but helps ensure a correct path is defined in the reports property in datapackage.json. This is useful when the pipeline concludes with a dump_to.path processor.
Metadata
Release files for datapackage-pipelines-goodtables 0.0.2a0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| datapackage-pipelines-goodtables-0.0.2a0.tar.gz | 6.3 kB | Without provenance | Details for datapackage-pipelines-goodtables-0.0.2a0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| datapackage_pipelines_goodtables-0.0.2a0-py2.py3-none-any.whl | Python 2, Python 3 | none | any | Details for datapackage_pipelines_goodtables-0.0.2a0-py2.py3-none-any.whl |
Total release size: 12.9 kB
Release files / datapackage-pipelines-goodtables-0.0.2a0.tar.gz
| Download URL | datapackage-pipelines-goodtables-0.0.2a0.tar.gz |
|---|---|
| Size | 6.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
58bf877a3dfad20bf6ab68b485c079c371a94b44c6c57f2fd489d9208e33e88f
|
|
BLAKE2b-256 checksum How to use checksums |
850b2df9fec4a1c39cc26de60a4350ba2f53b47222a78fd05242ce9c1ae0aabc
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / datapackage_pipelines_goodtables-0.0.2a0-py2.py3-none-any.whl
| Download URL | datapackage_pipelines_goodtables-0.0.2a0-py2.py3-none-any.whl |
|---|---|
| Size | 6.6 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
b8c178526871629fb15ae48e21cfeda17ac7ca6f6c2aa3ca0c62547ec5c9f4bb
|
|
BLAKE2b-256 checksum How to use checksums |
ad38cee64984c90d50e20ac1c27e7e39e16aa961d7ce9f66f50fee53b00c37b4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for datapackage-pipelines-goodtables 0.0.2a0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.