Write protobuf messages & GRPC calls from the command line without the proto files
Project description
Write protobuf messages from the command line:
pw (field number) [data type] (value) > output.bin
where data type is one of the protobuf datatypes (or int = int32 = int64). If value is not given, it is read from STDIN. The field number can be omitted and defaults to 1.
This enables creating protobuf messages for GRPC calls or other purposes without a protobuf compiler. The pw tool has no library dependencies (plain Python 2) and does not need the .proto files or any code generated from them.
See the project Github page for full documentation.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distribution
File details
Details for the file protowire-1.2.1-py2.py3-none-any.whl
.
File metadata
- Download URL: protowire-1.2.1-py2.py3-none-any.whl
- Upload date:
- Size: 8.8 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.6.3 pkginfo/1.7.1 requests/2.22.0 requests-toolbelt/0.9.1 tqdm/4.62.0 CPython/3.8.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e870333ba50c2525b57bbab6e0c17def1788aa34f9e3e2abb149e1080aa22fda |
|
MD5 | e4f30b9bf538a25d468c689f623127a7 |
|
BLAKE2b-256 | 9f1292d13b3018fc013b0e4664d300c320397256fcb6477ecce0569b03e7d0eb |