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.

Files for protowire, version 1.1.0
Filename, size File type Python version Upload date Hashes
Filename, size protowire-1.1.0-py2.py3-none-any.whl (7.5 kB) File type Wheel Python version py2.py3 Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page