Wannier90 I/O with Python
A Python library for reading and writing Wannier90 files.
Quickstart
import pprint
import wannier90io as w90io
pp = pprint.PrettyPrinter()
with open(win_fpath, 'r') as fh:
parsed_win = w90io.parse_win_raw(fh.read())
with open(nnkp_fpath, 'r') as fh:
parsed_nnkp = w90io.parse_nnkp_raw(fh.read())
pp.pprint(parsed_win)
pp.pprint(parsed_nnkp)