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.13.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3e30c6ba75df9678cc19e6c55ef7d95fc971fdc775d440c6b3f6eda62591bd66 |
|
MD5 | da163bf9d3285891923d9ca923496b58 |
|
BLAKE2b-256 | 0edbb7249d3a2b7a81d6c1550f3d2d76b45d9c5f6d9f4efd6694eabde1de604d |
Close
Hashes for edgepi_rpc_protobuf-1.0.13-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 378c641df6ccc8387cc0fee55e5d50ce7e8e21550454f5276c193f6bf4aed352 |
|
MD5 | b459164b59ff636291809001f19d9c1d |
|
BLAKE2b-256 | 6ac5e29077ccf16f329bee3d04fb7f589f19b8be1eafb6ad10ee248513f638d3 |