A tool for processing some data based on schemas
Sasha Z Reid @microwavenby
I did not provide the data / schema directories in an empty form within this Git repo;
there are the example files pasted from the PDF in the test/fixtures/data
and test/fixtures/schemas
paths.
The script does take command line options including --help
and can be passed an arbitrary schemas
and data
path;
one could for instance do python parser/parser.py --data_path=./test/fixtures/data/ --schema_path=./test/fixtures/schemas/ --dry_run
, for instance.
- pip3 install -r requirements.txt
- python3 parser/parser.py
- virtualenv --python=python3 venv
- source venv/bin/activate
- pip install -r requirements.txt
- python parser/parser.py
- pip3 install -r requirements.txt
- pytest
- virtualenv --python=python3 venv
- source venv/bin/activate
- pip install -r requirements.txt
- pytest