aiogrpc provides an asyncio wrapper for gRPC (grpcio), enabling asynchronous gRPC client and server calls on Python >=3.6. The latest version is 1.8. The project appears to be in maintenance mode with no recent releases since 2020.
pip install aiogrpcVerified import paths — ran on the pinned version, not inferred.
Basic usage: create an insecure async channel and close it.
Always import aiogrpc inside an async function or after asyncio.run() is called, or set a loop with asyncio.set_event_loop().
Prefer using grpc.aio (official async support in grpcio >= 1.32) unless you specifically need the older aiogrpc wrapper.
Migrate to grpc.aio (official async gRPC). See https://grpc.io/docs/languages/python/quickstart/
Import aiogrpc inside an async function or after calling asyncio.set_event_loop(asyncio.new_event_loop()).
Use from aiogrpc import insecure_channel.