Python import protocol buffer definitions from a different repository -
i have repository contains protocol buffer messages , services, written golang project. need write python microservice i'm not 100% clued on how python dependency management works. need import definitions new python project , compile them python.
how should import protocol buffer definitions repository python project , compile protobufs python? can't copy .pb
files new project they're shared amongst number of other projects.
protobufs installable via pip
$ pip install protobuf
read installing python modules in documentation if need on using pip.
Comments
Post a Comment