Python tools for ufo-core