Skip to content

microwavenby/super-octo-succotash

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

super-octo-succotash

A tool for processing some data based on schemas

Sasha Z Reid @microwavenby

Note:

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.

Execution

Using PIP

  1. pip3 install -r requirements.txt
  2. python3 parser/parser.py

Using virtualenv

  1. virtualenv --python=python3 venv
  2. source venv/bin/activate
  3. pip install -r requirements.txt
  4. python parser/parser.py

Running Tests

Using PIP

  1. pip3 install -r requirements.txt
  2. pytest

Using virtualenv

  1. virtualenv --python=python3 venv
  2. source venv/bin/activate
  3. pip install -r requirements.txt
  4. pytest

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages