connect-python
Server and client runtime library for Connect RPC
Decision gist · record as of 2026-08-14
Yes. The package is actively maintained, has no known vulnerabilities, low install friction, and fills a genuine need for a modern Protobuf RPC framework in Python. It is suitable for production use in microservices, though the Beta status suggests you should monitor releases. Choose it if you want typed RPC with HTTP/2 streaming and prefer Connect's simpler protocol over gRPC.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Python 3.10 or later; generated client and server code requires running protoc with the connect-python plugin on your .proto files first.
- Low friction: pure Python wheel with only two runtime dependencies (protobuf and pyqwest).
- Actively maintained with recent commits and no known vulnerabilities.
License · maintenance · safety
Apache-2.0 (permissive) — Apache-2.0 permissive license allows commercial and private use with minimal restrictions; suitable for most projects.
last release 2026-03-19 (148 days) · last repo commit 2026-08-12 · 142 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 1,352,481 downloads/mo, #4,011 on PyPI
Alternatives
Verify before relying
pip install connect-python
import connect_python
# Generated code from protoc plugin creates typed client stubs
# and server interfaces from .proto files- Performance characteristics compared to gRPC or other RPC frameworks under typical workloads.
- Maturity level and production readiness beyond Beta classification.
- Whether gRPC-Web support is planned or available through an alternative package.
What it is and what it does
connect-python is a Python implementation of Connect, a Protobuf RPC framework that runs over standard HTTP/1.1 and HTTP/2. It provides both client and server libraries, with a protoc plugin that generates typed stubs and interfaces from .proto definitions. The package supports synchronous and asynchronous clients, WSGI and ASGI server implementations, and all streaming patterns (unary, server streaming, client streaming, and bidirectional).
The library emphasizes type safety with full type annotations, includes built-in compression (gzip, brotli, zstd), and supports server-side and client-side interceptors for cross-cutting concerns. It is verified against the official Connect conformance test suite. Typical use involves generating code from protobuf definitions, then implementing service handlers or making client calls using the generated interfaces.
Use it for
- Build typed RPC services using protobuf definitions with automatic client stub and server interface generation.
- Implement bidirectional streaming communication between services over HTTP/2 with full-duplex support.
- Integrate Connect RPC into existing Python web frameworks via WSGI or ASGI adapters.
- Create microservices with compression and interceptor support for authentication, logging, or metrics.
- Migrate from gRPC while maintaining protobuf-based service definitions and type safety.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes.
The package is actively maintained, has no known vulnerabilities, low install friction, and fills a genuine need for a modern Protobuf RPC framework in Python. It is suitable for production use in microservices, though the Beta status suggests you should monitor releases. Choose it if you want typed RPC with HTTP/2 streaming and prefer Connect's simpler protocol over gRPC.
Install
connect-python on PyPI
Before you install
Low friction: pure Python wheel with only two runtime dependencies (protobuf and pyqwest). Actively maintained with recent commits and no known vulnerabilities.
Requires Python 3.10 or later; generated client and server code requires running protoc with the connect-python plugin on your .proto files first.
License in practice
Apache-2.0 permissive license allows commercial and private use with minimal restrictions; suitable for most projects.
Quickstart
pip install connect-python
import connect_python
# Generated code from protoc plugin creates typed client stubs
# and server interfaces from .proto files
Verify before relying
- Performance characteristics compared to gRPC or other RPC frameworks under typical workloads.
- Maturity level and production readiness beyond Beta classification.
- Whether gRPC-Web support is planned or available through an alternative package.
Package facts
| License | Apache-2.0 permissive |
| Python support | Supports the current Python release >=3.10 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 2 packagesprotobufpyqwest |
| Maintenance | Actively maintained 148 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 1,352,481 / month, #4,011 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 4 - BetaIntended Audience :: DevelopersOperating System :: OS IndependentProgramming Language :: Python :: 3Programming Language :: Python :: 3 :: OnlyProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14Topic :: Internet :: WWW/HTTPTopic :: Software Development :: Libraries :: Python ModulesTyping :: Typed |
Evidence: connect_python-0.9.0-py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “protobuf rpc client server”
- connect-pythonProvides Python client and server libraries for Connect RPC, a…
- twirpTwirp is a Python implementation of the Twirp RPC framework that…
- connectrpcConnect is a runtime library for building and consuming RPC APIs…
Give your agent the search over MCP, or paste the wish link into any chat.
More Python Modules packages
Converts domain names between Unicode and ASCII-compatible encoding (Punycode) according to IDNA 2008 and Unicode Technical Standard 46, with security validation and broader script coverage than the standard library.
Install it if you work with internationalized domain names, need to validate domains, or use HTTP clients that depend on it transitively.
Setuptools is a Python build backend and package management tool that handles building, distributing, and installing Python packages, including support for C/C++ extension modules.
PyYAML parses and emits YAML 1.1 data format, enabling serialization and deserialization of configuration files and Python objects to and from human-readable YAML text.
Pydantic validates Python data structures against type hints, coercing and checking input at runtime to ensure it matches a declared schema.
Provides reusable metadata objects for use with PEP-593 `typing.Annotated` to express common constraints like bounds, collection sizes, and predicates on types.
Install it if you use or build libraries that need to express type constraints in a standardized, inspectable way—or if you want to annotate your own types with…
Provides runtime tools to inspect and introspect Python type annotations, enabling programmatic examination of type hints at execution time.
See also connectrpc · nexus-rpc · protoc-gen-connect-python · twirp · pyqwest · grpclib · pyreqwest · grpcio-tools · conjure-python-client · grpc-interceptor