Registry / devops / grpcio-admin

grpcio-admin

JSON →
library1.81.0pypypi✓ verified 79d ago

A collection of gRPC admin services for Python, including channelz, CSDS, and admin interface management. Latest version 1.81.0, released frequently alongside grpcio.

pip install grpcio-admin
INSTALL
IMPORT
SIG · GRPCIO-ADMIN
G
grpcio-admin
devopspythonv1.81.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

add_admin_servicers
from grpc_admin import add_admin_servicers
from grpc_admin import AdminInterface
channelz
from grpc_admin import channelz
grpc_csds
from grpc_admin import grpc_csds

Creates a gRPC server with admin interface and channelz service enabled.

import grpc from grpc_admin import AdminInterface import os server = grpc.server(futures.ThreadPoolExecutor()) admin = AdminInterface(server) admin.add_channelz() server.add_insecure_port('[::]:50051') server.start() server.wait_for_termination()
Debug
Known issues
breakingIn grpcio-admin 1.81.0, the AdminInterface API changed: `add_channelz()` replaced `add_admin_handlers()`. Old code will raise AttributeError.
fix
Replace `admin.add_admin_handlers()` with `admin.add_channelz()` for channelz, and check other methods.
affects: >=1.81.0
deprecatedThe `grpcio_admin` module is deprecated in favor of `grpc_admin` since version 1.81.0.
fix
Use `from grpc_admin import AdminInterface` instead of `from grpcio_admin import AdminInterface`.
affects: >=1.81.0
gotchaChannelz service requires the `grpcio-channelz` package to be installed separately. Importing from `grpc_channelz.v1` will fail if not installed.
fix
Install `pip install grpcio-channelz` and import `from grpc_channelz.v1 import channelz`.
affects: >=1.0.0
Upgrade
Version history
1.81.0latest on PyPI · released Jun 1, 2026
Audit
Dependencies
grpciorequiredcore gRPC library required for admin services
grpcio-channelzoptionaloptional channelz service
Agent activity
16 hits · last 30 days
node
16
Resources

No resource links recorded.

grpcio-admin — pip install grpcio-admin · libregistry