Smarter Python Data Models