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

If you're not sure about the file name format, learn more about wheel file names.

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

Uploaded Python 2Python 3

File details

Details for the file protowire-1.2.0-py2.py3-none-any.whl.

File metadata

  • Download URL: protowire-1.2.0-py2.py3-none-any.whl
  • Upload date:
  • Size: 8.8 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.15.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/32.3.1 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.5.3

File hashes

Hashes for protowire-1.2.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 78de940a551843a57ebebd606de4ae9fb35bce9427fecbc03809df02d8f264c8
MD5 e93cefddf7be4c6282ad8dd79c6104be
BLAKE2b-256 8c5b3fc2e831c733c20ff20fee32112088784fa34edfb0b46f62d3bb7645fd7e

See more details on using hashes here.

Supported by

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