A better Protobuf / Twirp generator & library
Project description
twirp python sdk generator
python-betterproto生成的代码只能配合 grpc 使用,但生成的 message 确实很香。所以我重写了 service 代码生成逻辑,使其支持 twirp 协议。
安装
目前没法上传到 pypi,所以只能从源码安装。
pip install .
使用
protoc -I . --python_betterproto_out=. service.proto
Project details
Release history Release notifications | RSS feed
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
Close
Hashes for betterproto_twirp-1.2.3-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | fd214e5fa4b70a72a730bc204a7346ffcf378cbb5139610db02262452ec016ed |
|
MD5 | f30f7c5f473c6d82fdb8355b39686927 |
|
BLAKE2b-256 | 8de6a7a59d8413f8b687bde15c96cd68bdf882a39326e02ffcc5c0989fc79dd8 |