Skip to main content

A data review library for the Open Contracting Data Standard (OCDS)

Project description

PyPI Version Build Status Lint Status Coverage Status Python Version

Command line

Call libcoveocds and pass the filename of some JSON data.

libcoveocds tests/fixtures/common_checks/basic_1.json

It will produce JSON data of the results to standard output. You can pipe this straight into a file to work with.

You can also pass --schema-version 1.X to force it to check against a certain version of the schema.

In some modes, it will also leave directory of data behind. The following options apply to this mode:

  • Pass --convert to get it to produce spreadsheets of the data.

  • Pass --output-dir output to specify a directory name (default is a name based on the filename).

  • Pass --delete to delete the output directory if it already exists (default is to error)

  • Pass --exclude to avoid copying the original file into the output directory (default is to copy)

(If none of these are specified, it will not leave any files behind)

Code for use by external users

The only code that should be used directly by users is the libcoveocds.config and libcoveocds.api modules.

Other code (in libcore, lib, etc.) should not be used by external users of this library directly, as the structure and use of these may change more frequently.

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

libcoveocds-0.10.2.tar.gz (1.7 MB view details)

Uploaded Source

Built Distribution

libcoveocds-0.10.2-py3-none-any.whl (18.3 kB view details)

Uploaded Python 3

File details

Details for the file libcoveocds-0.10.2.tar.gz.

File metadata

  • Download URL: libcoveocds-0.10.2.tar.gz
  • Upload date:
  • Size: 1.7 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.9.5

File hashes

Hashes for libcoveocds-0.10.2.tar.gz
Algorithm Hash digest
SHA256 61defc7b05afb8ee609d746d142ff5d00441231ca4c8647d41efe03d6f6b0caa
MD5 b847b905eada4e600bac03bd34dc161b
BLAKE2b-256 1dba815e5a7e5eb19f820e7fc32e9b1cc3dcba899e4efcae97d3eeec5942a57b

See more details on using hashes here.

File details

Details for the file libcoveocds-0.10.2-py3-none-any.whl.

File metadata

  • Download URL: libcoveocds-0.10.2-py3-none-any.whl
  • Upload date:
  • Size: 18.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.9.5

File hashes

Hashes for libcoveocds-0.10.2-py3-none-any.whl
Algorithm Hash digest
SHA256 4d9de8e2749b3654f26ec9f021c606655eac58b5230b711c814e286b61935c32
MD5 85c3033a746701840b39e90837752e03
BLAKE2b-256 f44ad0e2ed4b13a47f2d778f383ef4741990f95bcb0bcb22a46729256bb9a0b7

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