Skip to main content

Protobuf generated code for EdgePi RPC

Project description

edgepi-rpc-protobuf

Protobuf files for EdgePi RPC

Importing raw files as npm package

npm install @edgepi-cloud/rpc-protobuf

Importing python generated code

pip install edgepi-rpc-protobuf

Compiling to other languages

  • Install protobuf compiler (protoc) and install a protobuf runtime library for a supported language. Visit the official repo for steps.
  • Compile with the following command
protoc -I=. --<language>_out=. <proto_file_path>

In the command line, we trigger the protocol compiler using three arguments:

  1. -I: Specifies the directory in which we look for necessary dependencies (we utilize "." which represents the present directory).
  2. --python_out: Indicates the destination for generating a Python integration class (once again, we use "." for the current directory).
  3. The final parameter without a name designates the .proto file that will undergo compilation (we opt for the todolist.proto file located in the current directory).

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

edgepi-rpc-protobuf-1.0.12.tar.gz (8.4 kB view hashes)

Uploaded Source

Built Distribution

edgepi_rpc_protobuf-1.0.12-py3-none-any.whl (13.5 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page