Skip to content

Releases: mrapacz/ntgen

v0.2.0

04 Apr 12:39
Compare
Choose a tag to compare

Added: support for Python 3.6
Added: feature for inferring the main NamedTuple object from the input filename

v0.1.0

30 Mar 19:01
Compare
Choose a tag to compare

A proof of concept of how the named tuple generator could work.
Features:

  • generate code for NamedTuple definitions from Python dict objects and json files
  • add generic from_dict and as_dict methods to the generated namedtuples, so that the analyzed data can also be parsed
  • specify how deep you want to nest the NamedTuple objects