PCW Validator
-
This small program can be used to validate a batch csv file sent by price comparison websites against a series of operators.
-
Base Operators are defined and then combined together to form operators which are executed on a specified column in the CSV file.
Usage
pip install pcwvalidator
from pcwvalidator.validate import execute
execute('/full/path/to/csvfile')
- This will return return True if that CSV is valid
Command line Usage
export PYTHONPATH=$(pwd)
Then in the command line:
python run.py -f { csv_file }
- Use full paths for each element, i.e:
/PATH/bin/python /full/path/src/run.py -f /full/path/src/{ csv_file }
Author
- Alexander Isherwood
Release files for pcwvalidator 0.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| pcwvalidator-0.0.1.tar.gz | 1.4 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pcwvalidator-0.0.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 2.9 kB
Release files / pcwvalidator-0.0.1.tar.gz
| Download URL | pcwvalidator-0.0.1.tar.gz |
|---|---|
| Size | 1.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
6bfe9ecfb9493bb722ffd5f2d9141e2ba7e5dbb5f002b3e2bafe9860640cf956
|
|
BLAKE2b-256 checksum How to use checksums |
8d2c5bfa20381e2dd2c422aea2795d88cc4cf81c2d4c664e6c509608eb497b1b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.7.4
|
Release files / pcwvalidator-0.0.1-py3-none-any.whl
| Download URL | pcwvalidator-0.0.1-py3-none-any.whl |
|---|---|
| Size | 1.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
3a456a0c164ce7a2338c0de8245a6c94205cfa214ab495e6d69857ef02d39b04
|
|
BLAKE2b-256 checksum How to use checksums |
64c8b39fe31f508f1bf3b748147bd23e712efcd85f70243f893d8c64285da61a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.7.4
|