I have a decorator that adds pack() and unpack() methods to NamedTuple classes to help me do serialization using python\'s struct
pack()
unpack()
NamedTuple
struct