{"repo":"connectrpc/connect-py","free":true,"listed":false,"github":"https://github.com/connectrpc/connect-py","clone":"git clone https://github.com/connectrpc/connect-py.git","description":"The Python implementation of Connect: Protobuf RPC that works.","language":"Python","stars":144,"topics":["connectrpc","grpc","protobuf","python","protocol-buffers"],"license":null,"category":"networking-infra","readme_excerpt":"Connect for Python Connect is the easiest way to build modern APIs . Docs • Example • New to Connect? Why Connect? Building an API usually means writing the same types at least twice: once on the server, and once in every client. Connect makes this simple - define your API schema using Protobuf, and Connect generates type-safe server stubs and idiomatic client libraries in every major language , including for your frontend. All that's left to write is your business logic, in plain Python. Connect already works with your current tech stack: - Connect is built on top of HTTP and speaks both Protobuf and JSON, so curl works out of the box. - It interoperates seamlessly with gRPC and gRPC-Web, and supports streaming as a first-class feature. - It runs on WSGI/ASGI. Build Connect APIs alongside your current API framework - all in the same app. Features - Servers: WSGI and ASGI-ready, use with any compatible server - Clients: Lightweight sync and async clients, backed by pyqwest - Protocols: Supports Connect, gRPC, and gRPC-Web (HTTP/1.1 and HTTP/2) - Type safety: Fully type-annotated generated code - Streaming: Full support for server, client, and bidirectional streaming - Compression: Built-in support for gzip, brotli, and zstd - Middleware: Server- and client-side interceptors for telemetry, logging, etc. - Compliant: Verified using the official Connect conformance test suite Getting started Install the runtime library: For codegen, install buf and create buf.gen.yaml : Local pl","default_branch":null,"files":null,"tree":[],"storefront":"/r/connectrpc","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/connectrpc/connect-py/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}