Skip to main content

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


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)

Uploaded Source

Built Distribution

pcwvalidator-0.0.1-py3-none-any.whl (1.5 kB view hashes)

Uploaded Python 3

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