Common utilities and datastructures for Python applications