$npx skillfedfor your agent

connectrpc

Server and client runtime library for Connect RPC

With conditionsPyPI Python ModulesReleased Jul 2026606.1K downloads / moApache-2.0Pure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — connectrpc-0.11.1-py3-none-any.whl
v0.11.1 · released 2026-07-15 · Python >=3.10 · 2 runtime deps: protobuf-py, pyqwest

Yes, if you are building new RPC APIs and want to avoid writing serialization and type definitions twice. The low install friction, active maintenance, permissive license, and support for current Python versions make it a solid choice. The Beta status means the API may evolve, so pin versions in production. Not necessary if you already have a working gRPC or REST setup and don't need the code-generation workflow.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires Python 3.10 or later; code generation via buf and protoc plugins is a separate prerequisite step before runtime usage.
  • Low friction: pure Python wheel with only two runtime dependencies (protobuf-py and pyqwest).
  • Active maintenance with a release within the last month and recent commits; project is in Beta status and supports current Python versions (3.10–3.14).

License · maintenance · safety

Apache-2.0 (permissive) — Apache-2.0 permissive license allows use in commercial and open-source projects with minimal restrictions; attribution required but no copyleft obligations.

last release 2026-07-15 (30 days) · last repo commit 2026-08-12 · 142 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 606,081 downloads/mo, #5,793 on PyPI

Verify before relying

pip install connectrpc

from connectrpc.request import RequestContext

# Server: subclass generated service and serve with ASGI
# Client: instantiate generated client and call methods
# See docs for generated stub imports after running buf codegen
  • Performance characteristics compared to gRPC or other RPC frameworks under typical load.
  • Production readiness: Beta status suggests API stability may still evolve.
  • Ecosystem maturity: tooling and third-party middleware availability beyond what's documented.
  • Specific compression algorithm performance (gzip, brotli, zstd) in real-world scenarios.
Same gist for agents: .md · .json

What it is and what it does

Connect is a runtime library that lets you build RPC APIs by defining your schema once in Protocol Buffers and generating type-safe server and client code automatically. It runs on standard Python web frameworks (WSGI/ASGI) and works with curl and HTTP clients out of the box, while also speaking gRPC and gRPC-Web protocols. The library handles the transport and serialization; you write only your business logic.

It provides both synchronous and asynchronous client libraries, full streaming support (server, client, and bidirectional), built-in compression, and middleware hooks for logging and observability. The package depends on protobuf-py for message serialization and pyqwest for HTTP transport, and is actively maintained with support for modern Python versions.

Use it for

  • Build a type-safe microservice that speaks both HTTP/JSON and gRPC without writing serialization code.
  • Generate matching client libraries for multiple languages from a single Protobuf schema.
  • Add streaming RPC endpoints to an existing ASGI or WSGI application alongside other routes.
  • Implement server and client interceptors for distributed tracing, authentication, or request logging.
  • Migrate from gRPC while maintaining protocol compatibility and reusing existing Protobuf definitions.

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

With conditions

Yes, if you are building new RPC APIs and want to avoid writing serialization and type definitions twice.

The low install friction, active maintenance, permissive license, and support for current Python versions make it a solid choice. The Beta status means the API may evolve, so pin versions in production. Not necessary if you already have a working gRPC or REST setup and don't need the code-generation workflow.

Install

connectrpc on PyPI

Before you install

Low friction: pure Python wheel with only two runtime dependencies (protobuf-py and pyqwest). Active maintenance with a release within the last month and recent commits; project is in Beta status and supports current Python versions (3.10–3.14).

Requires Python 3.10 or later; code generation via buf and protoc plugins is a separate prerequisite step before runtime usage.

License in practice

Apache-2.0 permissive license allows use in commercial and open-source projects with minimal restrictions; attribution required but no copyleft obligations.

Quickstart

pip install connectrpc

from connectrpc.request import RequestContext

# Server: subclass generated service and serve with ASGI
# Client: instantiate generated client and call methods
# See docs for generated stub imports after running buf codegen

Verify before relying

  • Performance characteristics compared to gRPC or other RPC frameworks under typical load.
  • Production readiness: Beta status suggests API stability may still evolve.
  • Ecosystem maturity: tooling and third-party middleware availability beyond what's documented.
  • Specific compression algorithm performance (gzip, brotli, zstd) in real-world scenarios.

Package facts

LicenseApache-2.0 permissive
Python supportSupports the current Python release >=3.10
Install frictionLow. Pure-Python wheel
Runtime dependencies
2 packages
protobuf-pypyqwest
MaintenanceActively maintained 30 days since the last release
Last repo commit
First released
Downloads606,081 / month, #5,793 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone 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: connectrpc-0.11.1-py3-none-any.whl

Tags

Capabilities
protobuf rpc frameworkgrpc alternative pythonhttp api code generationtype-safe rpc client serverconnect protocol implementationasgi wsgi rpc frameworkstreaming rpc library
Topics
rpc-frameworkprotobufcode-generation
PyPI keywords
connectgrpchttpprotobufrpc

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 › “grpc alternative python”

  • connectrpcConnect is a runtime library for building and consuming RPC APIs…
  • connect-pythonProvides Python client and server libraries for Connect RPC, a…
  • grpcio-testingProvides testing utilities and fixtures for building and testing gRPC…

Give your agent the search over MCP, or paste the wish link into any chat.

More Python Modules packages

idna Worth it
PyPI · Python Modules · released Jun 2026

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.

BSD-3-Clausepure Python · 3.9+
1.8Bdownloads / mo
setuptools Worth it
PyPI · Python Modules · released Aug 2026

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.

MITpure Python · 3.10+
1.6Bdownloads / mo
PyYAML Worth it
PyPI · Python Modules · released Sep 2025

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.

MITcompiled wheel · 3.8+
1.2Bdownloads / mo
pydantic Worth it
PyPI · Python Modules · released May 2026

Pydantic validates Python data structures against type hints, coercing and checking input at runtime to ensure it matches a declared schema.

MITpure Python · 3.9+
1.1Bdownloads / mo
annotated-types Worth it
PyPI · Python Modules · released Jul 2026

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…

MITpure Python · 3.10+
871.3Mdownloads / mo
typing-inspection Worth it
PyPI · Python Modules · released Aug 2026

Provides runtime tools to inspect and introspect Python type annotations, enabling programmatic examination of type hints at execution time.

MITpure Python · 3.10+
783.0Mdownloads / mo

See also connect-python · grpclib · protoc-gen-connect-python · twentyc.rpc · grpc-interceptor · authzed · grpc-requests · grpcio · conjure-python-client · pyqwest