Skip to content
This repository has been archived by the owner on Aug 4, 2022. It is now read-only.

Latest commit

 

History

History
26 lines (19 loc) · 424 Bytes

README.md

File metadata and controls

26 lines (19 loc) · 424 Bytes

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)