Skip to main content

Mypy stubs for gRPC

This project has been archived.

The maintainers of this project have marked this project as archived. No new releases are expected.

Project description

> [!WARNING] > > 2025-04-28: The end of the line for `grpc-stubs`. > > My involvement with grpc ceased around 2019, and my knowledge of the minutiae faded > with each passing year. As a consequence, this this project has been archived, but > development will continue at > [typeshed](https://github.com/python/typeshed/tree/main/stubs/grpcio). Thank you to > the folks who helped [prepare the code for > merging](https://github.com/python/typeshed/pull/11204).

This is a PEP-561-compliant stub-only package which provides type information of [gRPC](https://grpc.io>).

Install using pip:

pip install grpc-stubs

Tests (courtesy of [pytest-mypy-plugins](https://github.com/typeddjango/pytest-mypy-plugins>):

pip install -r requirements-dev.txt ./tools.sh test

## Python Support

grpc-stubs is tested with 3.7 or later, but ideally it should support Python 3.6 as grpc still supports this. Python 3.6 had to be disabled in the tests due to various cascading fiascos and a lack of time to contend with them. Feel free to submit a PR if you’d like to see it returned, or open issues. Ensure that you supply an MRE as per the contributing guidelines below.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

grpc_stubs-1.53.0.6.tar.gz (13.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

grpc_stubs-1.53.0.6-py3-none-any.whl (15.8 kB view details)

Uploaded Python 3

File details

Details for the file grpc_stubs-1.53.0.6.tar.gz.

File metadata

  • Download URL: grpc_stubs-1.53.0.6.tar.gz
  • Upload date:
  • Size: 13.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.4

File hashes

Hashes for grpc_stubs-1.53.0.6.tar.gz
Algorithm Hash digest
SHA256 70a0840747bd73c2c82fe819699bbf4fcf6d59bd0ed27a4713a240e0c697e1ff
MD5 7ec745035cbdd401c2c66b62c67ec9aa
BLAKE2b-256 168d718393d12346c6ab842a1ad2b1a761c175e919ddce4a28c5dc63e4a5538c

See more details on using hashes here.

File details

Details for the file grpc_stubs-1.53.0.6-py3-none-any.whl.

File metadata

  • Download URL: grpc_stubs-1.53.0.6-py3-none-any.whl
  • Upload date:
  • Size: 15.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.4

File hashes

Hashes for grpc_stubs-1.53.0.6-py3-none-any.whl
Algorithm Hash digest
SHA256 3ffc5a6b5bd84ac46f3d84e2434e97936c1262b47b71b462bdedc43caaf227e1
MD5 2ca81c8eda15277fbb700eec354ca57e
BLAKE2b-256 38c6c64257331aa4b7a049bd70124d97278071e78b5d5de09df6a5eae4610bbe

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page