Python API bindings for texit.