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 (we opt for the todolist.proto file located in the current directory).
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.11.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1a9fb7e2cfe3aab2498d916cf60545303a81a6f6844346c0fd89372e33c14154 |
|
MD5 | 4bd8a4227e35884c1fd142a8d922dc8c |
|
BLAKE2b-256 | a67a1dcd4474be240ff12c4e018b441296f0e0325311039083b54c38dbbf8455 |
Close
Hashes for edgepi_rpc_protobuf-1.0.11-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f72c2db16a495658cf7ab532d051af630a6bc03781b301b2d18acd9ebfa0ac4e |
|
MD5 | 005726bb70e80ce7d1dbdadd938d4e29 |
|
BLAKE2b-256 | a49c8bf539cde82021fc7723ad802b3e045f563cb2452bb87636e0a35ca1f810 |