C-style structs for Python