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
Release history Release notifications | RSS feed
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
File details
Details for the file opedia_dataset_validator-0.3.10.tar.gz
.
File metadata
- Download URL: opedia_dataset_validator-0.3.10.tar.gz
- Upload date:
- Size: 33.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b8471849cce506e6bcbd0c7e2322cf140c2980daa9d1ab1e2e8155a5a562cfe3 |
|
MD5 | cdace2861ed3763d706b1d737dcf326b |
|
BLAKE2b-256 | 189fff427fe08a3563a5881bf84fba313676461da98e47d5e1cb89dcca589f29 |
File details
Details for the file opedia_dataset_validator-0.3.10-py2.py3-none-any.whl
.
File metadata
- Download URL: opedia_dataset_validator-0.3.10-py2.py3-none-any.whl
- Upload date:
- Size: 8.7 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | db3f602fcb772d3168c5f6e8cf494106957572b9a417fc78ba21fedc436b540f |
|
MD5 | fcfa5e8e8c0bfeab449d003a5fc12a0b |
|
BLAKE2b-256 | 0ef8cd095639e9652bfa9657a0e28de18584b4ac1fbe432b696fc76986d74e90 |