Records, Structs, and Data Transfer Objects in Python – dbader.org

How to implement records, structs, and “plain old data objects” in Python using only built-in data types and classes from the standard library.