Form 16 parser for TDS
Install the package using:
pip install git+https://github.com/INF800/form16-parser.git@e83ddad7e18b31f04cb454b3eea5b837ddb0a374#egg=form16_parser
And parse your Form 16 using:
from pprint import pprint
from form16_parser import build_parser
filepath = "/path/to/pdf/file"
parser = build_parser()
parsed = parser.parse(filepath, return_output=True)
pprint(parsed)