Skip to main content

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.

Metadata

Release files for protowire 1.2.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distribution (wheel)

Table of built distributions (wheels) for protowire 1.2.1
File Interpreter ABI Platform
protowire-1.2.1-py2.py3-none-any.whl Python 3, Python 2 none any Details

Release files / protowire-1.2.1-py2.py3-none-any.whl

Download URL protowire-1.2.1-py2.py3-none-any.whl
Size 8.8 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
e870333ba50c2525b57bbab6e0c17def1788aa34f9e3e2abb149e1080aa22fda
BLAKE2b-256 checksum
How to use checksums
9f1292d13b3018fc013b0e4664d300c320397256fcb6477ecce0569b03e7d0eb
Upload date
Uploaded using Trusted Publishing?
What is 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

Security for protowire 1.2.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page