/itab

Python tab files parsing and validating schema tools.

Primary LanguagePythonOtherNOASSERTION

itab

Python tab files parsing and validating schema tools.

Install

pip install itab

Usage example

import itab

reader = itab.open(file)

for row, errors in reader:
  if len(errors) > 0:
    print("[line {}] ERRORS: {}".format(reader.num_line, errors))
    continue
  else:
    for cell in row:
      print(cell)

See more detailed examples [here](examples/Python usage examples.ipynb)