componentize go/py