Utility types and functions for python
