bbglab / itab

Python tab files parsing and validating schema tools.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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)

About

Python tab files parsing and validating schema tools.

License:Other


Languages

Language:Python 100.0%