Generate idiomatic Python (Pydantic v2 + httpx) gRPC-Connect clients and models from Protocol Buffers definitions. Self-contained — no .NET install required.
Project description
metaengine-protobuf-httpx
Generate idiomatic Python clients and models from Protocol Buffers definitions —
Pydantic v2 models and an async httpx client speaking the gRPC-Connect protocol, with
optional docstrings and @dataclass models.
Powered by MetaEngine. The wheel is self-contained: it bundles a platform-native runner, so no .NET installation is required.
Install
pip install metaengine-protobuf-httpx
Usage
metaengine-protobuf-httpx <input> <output> [options]
| Argument / Option | Description |
|---|---|
input |
Protobuf .proto file path (or inline .proto content) |
output |
Output directory for generated Python files |
--documentation |
Generate docstring comments |
--dataclass |
Generate @dataclass models instead of Pydantic v2 models |
--verbose |
Enable verbose logging |
Example
metaengine-protobuf-httpx ./service.proto ./generated --documentation
Supported platforms
Pre-built wheels are published for Linux (x86_64, aarch64), macOS (Apple Silicon + Intel), and Windows (x64).
License
MIT
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
Built Distributions
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 metaengine_protobuf_httpx-1.0.0-py3-none-win_amd64.whl.
File metadata
- Download URL: metaengine_protobuf_httpx-1.0.0-py3-none-win_amd64.whl
- Upload date:
- Size: 30.6 MB
- Tags: Python 3, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3fbd0c307caaa5b86990df9ce91e92fe83d4648d82809d8373a344c6accd8cac
|
|
| MD5 |
514dcc527e7dc62deb02090d97d57ac9
|
|
| BLAKE2b-256 |
2fb20445dc3d28feebfb2baad1d37a05910f76d96b3b757e8a452aecb9e850c8
|
File details
Details for the file metaengine_protobuf_httpx-1.0.0-py3-none-manylinux_2_28_x86_64.whl.
File metadata
- Download URL: metaengine_protobuf_httpx-1.0.0-py3-none-manylinux_2_28_x86_64.whl
- Upload date:
- Size: 30.3 MB
- Tags: Python 3, manylinux: glibc 2.28+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7f5116d72dd35051a2799fc6efbb5afa2dd87643a753fc52c7e5fa25f746d287
|
|
| MD5 |
e14dac035c541d5297c986a9d505e44f
|
|
| BLAKE2b-256 |
d9b29d84aa34c5d1061e6c09fd3a7fd6211a69765b81bd7a762a977a2778c32f
|
File details
Details for the file metaengine_protobuf_httpx-1.0.0-py3-none-manylinux_2_28_aarch64.whl.
File metadata
- Download URL: metaengine_protobuf_httpx-1.0.0-py3-none-manylinux_2_28_aarch64.whl
- Upload date:
- Size: 29.0 MB
- Tags: Python 3, manylinux: glibc 2.28+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5a325e4d6e94fd2b7f855339f3a6902c1c861a3e07cb3f229aacb9c8f3e6dd9a
|
|
| MD5 |
dcd30ab12623d0a05ebccbb4d427ca91
|
|
| BLAKE2b-256 |
5880a727364a682480c5d566885ad64b82cc3bad94b257413e4169275494f06a
|
File details
Details for the file metaengine_protobuf_httpx-1.0.0-py3-none-macosx_11_0_x86_64.whl.
File metadata
- Download URL: metaengine_protobuf_httpx-1.0.0-py3-none-macosx_11_0_x86_64.whl
- Upload date:
- Size: 30.7 MB
- Tags: Python 3, macOS 11.0+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6235efbc4919a893293a8e41a00c7d742d4de6e0bc950c869d81ae37c0ae401e
|
|
| MD5 |
106a2ec3a62c5839fcdfb29bd4594733
|
|
| BLAKE2b-256 |
2c746a71c65c8a14a8a571ce781e74cde558ebda8cc271b78f4ed323da869faf
|
File details
Details for the file metaengine_protobuf_httpx-1.0.0-py3-none-macosx_11_0_arm64.whl.
File metadata
- Download URL: metaengine_protobuf_httpx-1.0.0-py3-none-macosx_11_0_arm64.whl
- Upload date:
- Size: 29.3 MB
- Tags: Python 3, macOS 11.0+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b4549d0c648334f7415c9a339b1478c1f1ed3d085eb07ef80a9575f4634669d1
|
|
| MD5 |
300bc5d18331a976b0e57db040d55eeb
|
|
| BLAKE2b-256 |
a27e8167c43afe5601f3f62ab08f8b67f226249e7b45b04eefbed49eb329b272
|