from collections import namedtuple as NT nt = NT("name", "field")