Add python bindings to the protobuf formula