import typing

nt = typing.NamedTuple("name", [("field", str)])
[((3, 5, 3, 48), 'typing.NamedTuple', 'typing.NamedTuple', ({(3, 23, 3, 29): '"""name"""', (3, 31, 3, 47): "[('field', str)]"}, {}), "('name', [('field', str)])", False, 'import typing\n')]