Python tools for interacting with ninja blocks