Python implementation of a common data model