protoc-gen-trevrpc-py
Generates TrevRPC clients for Python, on the messages
protoc-gen-py generates. Run both plugins into the same
directory: for each .proto file with services, it writes <file>_trevrpc.py next to
protoc-gen-py's <file>_pb.py.
# buf.gen.yaml
version: v2
plugins:
- local: protoc-gen-py
out: gen
- local: protoc-gen-trevrpc-py
out: gen
Each service Greeter gets a GreeterClient that takes a trevrpc.Channel, with one method per
RPC named in snake_case, and a trevrpc.Method descriptor per RPC (GREETER_SAY_HELLO) that
carries its (trevrpc.method) options. Unary methods are coroutines; streaming methods return the
call object at once. See the trevrpc package for the runtime.
src/protoc_gen_trevrpc_py/_options_pb.py is what protoc-gen-py generates from
proto/trevrpc/options.proto, so the plugin reads the options without other generated code.
See the Python Guide for the generated clients and the
trevrpc runtime they call.
Metadata
Release files for protoc-gen-trevrpc-py 1.13.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| protoc_gen_trevrpc_py-1.13.0.tar.gz | 6.3 kB | Without provenance | Details for protoc_gen_trevrpc_py-1.13.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| protoc_gen_trevrpc_py-1.13.0-py3-none-any.whl | Python 3 | none | any | Details for protoc_gen_trevrpc_py-1.13.0-py3-none-any.whl |
Total release size: 13.9 kB
Release files / protoc_gen_trevrpc_py-1.13.0.tar.gz
| Download URL | protoc_gen_trevrpc_py-1.13.0.tar.gz |
|---|---|
| Size | 6.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
eff3915bcb0c66fe29fd7d14bbb9d539e4ab177e45fe6c3029bafa913c318d3e
|
|
BLAKE2b-256 checksum How to use checksums |
1c7f900d10fdaa795592229517141ed1bc5ed84edb9b433b59a4760825282751
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.13.9 {"installer":{"name":"uv","version":"0.13.9","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"26.04","id":"resolute","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Release files / protoc_gen_trevrpc_py-1.13.0-py3-none-any.whl
| Download URL | protoc_gen_trevrpc_py-1.13.0-py3-none-any.whl |
|---|---|
| Size | 7.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
4d9d2eea80e9cef351c0a3bcb92e101a6bdfd357b32db4cb024470af34d0853c
|
|
BLAKE2b-256 checksum How to use checksums |
d769bfff84632a7a7d336aea32ed19791e1a1aa68dffd502947a0f4efff398a7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.13.9 {"installer":{"name":"uv","version":"0.13.9","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"26.04","id":"resolute","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Security for protoc-gen-trevrpc-py 1.13.0
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.