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:
- -I: Specifies the directory in which we look for necessary dependencies (we utilize "." which represents the present directory).
- --python_out: Indicates the destination for generating a Python integration class (once again, we use "." for the current directory).
- The final parameter without a name designates the .proto file that will undergo compilation.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for edgepi-rpc-protobuf-1.0.14.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 24e1a29c830bdccb0318af8a0247b32b0ba998b48c20bdc2f60900a78a0d7c3c |
|
MD5 | 5bf8f6616f0daf6e2827c8176bb78f8e |
|
BLAKE2b-256 | b086a532c3a754fca697b9ef25b1be570d887a72cce28637452faa3151374ce4 |
Close
Hashes for edgepi_rpc_protobuf-1.0.14-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | abb315a564900b7683251f84be44c24198007edeae760ece34ae49b1a13e37e4 |
|
MD5 | ac1369fc6decd6f1210cdbe51810d39d |
|
BLAKE2b-256 | 0c5ea0bbb4ce97015d1920a23319511920865d7ffba4ccc0b56944a821e42ace |