Skip to main content

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

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

protowire-1.2.1-py2.py3-none-any.whl (8.8 kB view details)

Uploaded Python 2 Python 3

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

Hashes for protowire-1.2.1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 e870333ba50c2525b57bbab6e0c17def1788aa34f9e3e2abb149e1080aa22fda
MD5 e4f30b9bf538a25d468c689f623127a7
BLAKE2b-256 9f1292d13b3018fc013b0e4664d300c320397256fcb6477ecce0569b03e7d0eb

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page