psvtools icon indicating copy to clipboard operation
psvtools copied to clipboard

PSV file trimmer, restoration, and validation utility (Python)

psvtrim Build Status Coverage Status

PSV file trimmer, restoration, and validation utility (Python)

Install

python setup.py

Current usage:

$ psvtools --help
usage: psvtools [-h] [-t | -e | -v] [-o OUTPUT] file

positional arguments:
  file                  psv file to operate on

optional arguments:
  -h, --help            show this help message and exit
  -t, --trim            Trim a psv file. This is the default behavior
  -e, --expand          Expand a trimmed psv file
  -v, --verify          Validate the checksum of a psv file
  -o OUTPUT, --output OUTPUT
                        output file to write to
$ psvtrim --help
usage: psvtrim [-h] [-o OUTPUT] file

positional arguments:
  file                  psv file to operate on

optional arguments:
  -h, --help            show this help message and exit
  -o OUTPUT, --output OUTPUT
                        output file to write to
$ psvexpand --help
usage: psvexpand [-h] [-o OUTPUT] file

positional arguments:
  file                  psv file to operate on

optional arguments:
  -h, --help            show this help message and exit
  -o OUTPUT, --output OUTPUT
                        output file to write to
$ psverify --help
usage: psverify [-h] file

positional arguments:
  file        psv file to operate on

optional arguments:
  -h, --help  show this help message and exit