making bina legal python package