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.15.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | ca3cff285e320776668e11cad37a37832c86190d726adeb115fd9ce99b187dc8 |
|
MD5 | d63f132c8cceb0751b77a427382af21c |
|
BLAKE2b-256 | 9daaa958d0343a095a37ff764416d5840129ac8cf1e00a69cefcf21a977d182a |
Close
Hashes for edgepi_rpc_protobuf-1.0.15-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a58b98f78220969ac53b3ef154a53f7f39bb4c097005255eea2dab415da7aae9 |
|
MD5 | dbb5b970e4ad14dadb2700d61fcb4460 |
|
BLAKE2b-256 | 3d2697586cf5e6b91c6aac72a44624e90338e70232b78dd737baf107a7d8756e |