Python utilities useful for working with xflow