price comparison batch file validator
Project description
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
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
pcwvalidator-0.0.1.tar.gz
(1.4 kB
view hashes)
Built Distribution
Close
Hashes for pcwvalidator-0.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3a456a0c164ce7a2338c0de8245a6c94205cfa214ab495e6d69857ef02d39b04 |
|
MD5 | 65a310a9e50af4be3fa40a85ba57cc46 |
|
BLAKE2b-256 | 64c8b39fe31f508f1bf3b748147bd23e712efcd85f70243f893d8c64285da61a |