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 details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

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

Uploaded Python 3

File details

Details for the file pcwvalidator-0.0.1.tar.gz.

File metadata

  • Download URL: pcwvalidator-0.0.1.tar.gz
  • Upload date:
  • Size: 1.4 kB
  • Tags: Source
  • Uploaded using 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

File hashes

Hashes for pcwvalidator-0.0.1.tar.gz
Algorithm Hash digest
SHA256 6bfe9ecfb9493bb722ffd5f2d9141e2ba7e5dbb5f002b3e2bafe9860640cf956
MD5 c962e9b133fbfbaaf1bc883d1600c65c
BLAKE2b-256 8d2c5bfa20381e2dd2c422aea2795d88cc4cf81c2d4c664e6c509608eb497b1b

See more details on using hashes here.

File details

Details for the file pcwvalidator-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: pcwvalidator-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 1.5 kB
  • Tags: Python 3
  • Uploaded using 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

File hashes

Hashes for pcwvalidator-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 3a456a0c164ce7a2338c0de8245a6c94205cfa214ab495e6d69857ef02d39b04
MD5 65a310a9e50af4be3fa40a85ba57cc46
BLAKE2b-256 64c8b39fe31f508f1bf3b748147bd23e712efcd85f70243f893d8c64285da61a

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page