CMD + K

grpc-interceptor

Anaconda Verified

Simplifies gRPC interceptors

Installation

To install this package, run one of the following:

Conda
$conda install main::grpc-interceptor

Usage Tracking

0.15.4
1 / 8 versions selected
Downloads (Last 6 months): 0

Description

The primary aim of this project is to make Python gRPC interceptors simple. The Python grpc package provides service interceptors, but they're a bit hard to use because of their flexibility. The grpc interceptors don't have direct access to the request and response objects, or the service context. Access to these are often desired, to be able to log data in the request or response, or set status codes on the context.

The secondary aim of this project is to keep the code small and simple. Code you can read through and understand quickly gives you confidence and helps debug issues. When you install this package, you also don't want a bunch of other packages that might cause conflicts within your project. Too many dependencies slow down installation as well as runtime (fresh imports take time). Hence, a goal of this project is to keep dependencies to a minimum. The only core dependency is the grpc package, and the testing extra includes protobuf as well.

About

Summary

Simplifies gRPC interceptors

Last Updated

Jul 1, 2025 at 12:57

License

MIT

Total Downloads

213

Supported Platforms

linux-64
linux-aarch64
macOS-64
macOS-arm64
win-64