Skip to main content

A tool to validate Opedia dataset files.

Project description

opedia_dataset_validator

A tool to detect errors in an Opedia dataset Excel file.

Install

From source

python setup.py install

From PyPi with pip

# Probably should put this in a virtual environment
pip install opedia_dataset_validator

Usage

Usage: opedia_dataset_validator [OPTIONS] INPUT OUTPUT

  A tool to validate Opedia dataset files.

  INPUT should be an Opedia dataset Excel file conforming to the
  sepcification at
  https://github.com/mdashkezari/opedia/tree/master/template.

  OUTPUT should be an output file path or - for STDOUT. Output will be in
  the form of a tab-delimited text file encoded in UTF-8.

Options:
  -a, --all-errors  Print all errors. [default: only the first error of each
                    kind]
  -v, --value       Print cell values in error report. [default: False]
  --version         Show the version and exit.
  -h, --help        Show this message and exit.

Run tests

Install pytest and this package in a virtual environment, then run pytest from the root of the source directory. Or, to test against Python 2 and 3, install tox and then run tox from the root of the source directory.

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

opedia_dataset_validator-0.3.9.tar.gz (30.4 kB view details)

Uploaded Source

Built Distribution

opedia_dataset_validator-0.3.9-py2.py3-none-any.whl (8.7 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file opedia_dataset_validator-0.3.9.tar.gz.

File metadata

File hashes

Hashes for opedia_dataset_validator-0.3.9.tar.gz
Algorithm Hash digest
SHA256 eed29254d33aab3a5bc4e7c7881d3b72650196068bb3db63cb3ee6858f2b7de8
MD5 083fa206f7e0c548304697067d32228f
BLAKE2b-256 0d163430f78f69bc35b899572cb963eef240a332bc4285d3cd1af7e383229e03

See more details on using hashes here.

File details

Details for the file opedia_dataset_validator-0.3.9-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for opedia_dataset_validator-0.3.9-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 2982e20f5185f24124f1fb077cd74636a603e799a9be04203caf17090e5a8286
MD5 0b101363c13e86ee9d262a303b7d8530
BLAKE2b-256 a42f8c324205a9e7897480af91dc8716e002a1ef86b8e7dddd1b5ba1b6989742

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