construct as python package