Skip to main content

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


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 Distributions

If you're not sure about the file name format, learn more about wheel file names.

metaengine_protobuf_httpx-1.0.0-py3-none-win_amd64.whl (30.6 MB view details)

Uploaded Python 3Windows x86-64

metaengine_protobuf_httpx-1.0.0-py3-none-manylinux_2_28_x86_64.whl (30.3 MB view details)

Uploaded Python 3manylinux: glibc 2.28+ x86-64

metaengine_protobuf_httpx-1.0.0-py3-none-manylinux_2_28_aarch64.whl (29.0 MB view details)

Uploaded Python 3manylinux: glibc 2.28+ ARM64

metaengine_protobuf_httpx-1.0.0-py3-none-macosx_11_0_x86_64.whl (30.7 MB view details)

Uploaded Python 3macOS 11.0+ x86-64

metaengine_protobuf_httpx-1.0.0-py3-none-macosx_11_0_arm64.whl (29.3 MB view details)

Uploaded Python 3macOS 11.0+ ARM64

File details

Details for the file metaengine_protobuf_httpx-1.0.0-py3-none-win_amd64.whl.

File metadata

File hashes

Hashes for metaengine_protobuf_httpx-1.0.0-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 3fbd0c307caaa5b86990df9ce91e92fe83d4648d82809d8373a344c6accd8cac
MD5 514dcc527e7dc62deb02090d97d57ac9
BLAKE2b-256 2fb20445dc3d28feebfb2baad1d37a05910f76d96b3b757e8a452aecb9e850c8

See more details on using hashes here.

File details

Details for the file metaengine_protobuf_httpx-1.0.0-py3-none-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for metaengine_protobuf_httpx-1.0.0-py3-none-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 7f5116d72dd35051a2799fc6efbb5afa2dd87643a753fc52c7e5fa25f746d287
MD5 e14dac035c541d5297c986a9d505e44f
BLAKE2b-256 d9b29d84aa34c5d1061e6c09fd3a7fd6211a69765b81bd7a762a977a2778c32f

See more details on using hashes here.

File details

Details for the file metaengine_protobuf_httpx-1.0.0-py3-none-manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for metaengine_protobuf_httpx-1.0.0-py3-none-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 5a325e4d6e94fd2b7f855339f3a6902c1c861a3e07cb3f229aacb9c8f3e6dd9a
MD5 dcd30ab12623d0a05ebccbb4d427ca91
BLAKE2b-256 5880a727364a682480c5d566885ad64b82cc3bad94b257413e4169275494f06a

See more details on using hashes here.

File details

Details for the file metaengine_protobuf_httpx-1.0.0-py3-none-macosx_11_0_x86_64.whl.

File metadata

File hashes

Hashes for metaengine_protobuf_httpx-1.0.0-py3-none-macosx_11_0_x86_64.whl
Algorithm Hash digest
SHA256 6235efbc4919a893293a8e41a00c7d742d4de6e0bc950c869d81ae37c0ae401e
MD5 106a2ec3a62c5839fcdfb29bd4594733
BLAKE2b-256 2c746a71c65c8a14a8a571ce781e74cde558ebda8cc271b78f4ed323da869faf

See more details on using hashes here.

File details

Details for the file metaengine_protobuf_httpx-1.0.0-py3-none-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for metaengine_protobuf_httpx-1.0.0-py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 b4549d0c648334f7415c9a339b1478c1f1ed3d085eb07ef80a9575f4634669d1
MD5 300bc5d18331a976b0e57db040d55eeb
BLAKE2b-256 a27e8167c43afe5601f3f62ab08f8b67f226249e7b45b04eefbed49eb329b272

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page