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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file betterproto_twirp-1.2.3-py2.py3-none-any.whl.
File metadata
- Download URL: betterproto_twirp-1.2.3-py2.py3-none-any.whl
- Upload date:
- Size: 17.1 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.0.0 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.7.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
fd214e5fa4b70a72a730bc204a7346ffcf378cbb5139610db02262452ec016ed
|
|
| MD5 |
f30f7c5f473c6d82fdb8355b39686927
|
|
| BLAKE2b-256 |
8de6a7a59d8413f8b687bde15c96cd68bdf882a39326e02ffcc5c0989fc79dd8
|