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

Popular posts from this blog

networking - Vagrant-provisioned VirtualBox VM is not reachable from Ubuntu host -

c# - ASP.NET Core - There is already an object named 'AspNetRoles' in the database -

ruby on rails - ArgumentError: Missing host to link to! Please provide the :host parameter, set default_url_options[:host], or set :only_path to true -