freshcrate
Home > Frameworks > grpcio

grpcio

HTTP/2-based RPC framework

Description

gRPC Python =========== Package for gRPC Python. Installation ------------ gRPC Python is available for Linux, macOS, and Windows. Installing From PyPI ~~~~~~~~~~~~~~~~~~~~ If you are installing locally... :: $ pip install grpcio Else system wide (on Ubuntu)... :: $ sudo pip install grpcio If you're on Windows make sure that you installed the :code:`pip.exe` component when you installed Python (if not go back and install it!) then invoke: :: $ pip.exe install grpcio Windows users may need to invoke :code:`pip.exe` from a command line ran as administrator. n.b. On Windows and on Mac OS X one *must* have a recent release of :code:`pip` to retrieve the proper wheel from PyPI. Be sure to upgrade to the latest version! Installing From Source ~~~~~~~~~~~~~~~~~~~~~~ Building from source requires that you have the Python headers (usually a package named :code:`python-dev`). :: $ export REPO_ROOT=grpc # REPO_ROOT can be any directory of your choice $ git clone -b RELEASE_TAG_HERE https://github.com/grpc/grpc $REPO_ROOT $ cd $REPO_ROOT $ git submodule update --init # To include systemd socket-activation feature in the build, # first install the `libsystemd-dev` package, then : $ export GRPC_PYTHON_BUILD_WITH_SYSTEMD=1 # For the next two commands do `sudo pip install` if you get permission-denied errors $ pip install -r requirements.txt $ GRPC_PYTHON_BUILD_WITH_CYTHON=1 pip install . You cannot currently install Python from source on Windows. Things might work out for you in MSYS2 (follow the Linux instructions), but it isn't officially supported at the moment. Troubleshooting ~~~~~~~~~~~~~~~ Help, I ... * **... see the following error on some platforms** :: /tmp/pip-build-U8pSsr/cython/Cython/Plex/Scanners.c:4:20: fatal error: Python.h: No such file or directory #include "Python.h" ^ compilation terminated. You can fix it by installing `python-dev` package. i.e :: sudo apt-get install python-dev Versioning ~~~~~~~~~~ gRPC Python is developed in a monorepo shared with implementations of gRPC in other programming languages. While the minor versions are released in lock-step with other languages in the repo (e.g. 1.63.0 is guaranteed to exist for all languages), patch versions may be specific to only a single language. For example, if 1.63.1 is a C++-specific patch, 1.63.1 may not be uploaded to PyPi. As a result, it is __not__ a good assumption that the latest patch for a given minor version on Github is also the latest patch for that same minor version on PyPi.

Release History

VersionChangesUrgencyDate
1.80.0Imported from PyPI (1.80.0)Low4/21/2026
v1.80.0This is release 1.80.0 ([glimmering](https://github.com/grpc/grpc/blob/master/doc/g_stands_for.md)) of gRPC Core. For gRPC documentation, see [grpc.io](https://grpc.io/). For previous releases, see [Releases](https://github.com/grpc/grpc/releases). This release contains refinements, improvements, and bug fixes, with highlights listed below. Core --- - [ssl] Implement TLS private key signer in Python. ([#41701](https://github.com/grpc/grpc/pull/41701)) - [TLS Credentials]: PrivaMedium3/26/2026
v1.80.0-pre1This is a prerelease of gRPC Core 1.80.0 (glimmering). For gRPC documentation, see [grpc.io](https://grpc.io/). For previous releases, see [Releases](https://github.com/grpc/grpc/releases). This prerelease contains refinements, improvements, and bug fixes. Low3/13/2026
v1.78.1This is release 1.78.1 ([gutsy](https://github.com/grpc/grpc/blob/master/doc/g_stands_for.md)) of gRPC Core. For gRPC documentation, see [grpc.io](https://grpc.io/). For previous releases, see [Releases](https://github.com/grpc/grpc/releases). This release contains refinements, improvements, and bug fixes, with highlights listed below. Python --- *Added 2026-03-12:*\ *CAUTION! This gRPC Python release 1.78.1 was yanked from PyPI on 2026-02-26 due to issue #41725.* - **[REVERTLow2/20/2026
v1.78.0This is release 1.78.0 ([gutsy](https://github.com/grpc/grpc/blob/master/doc/g_stands_for.md)) of gRPC Core. For gRPC documentation, see [grpc.io](https://grpc.io/). For previous releases, see [Releases](https://github.com/grpc/grpc/releases). This release contains refinements, improvements, and bug fixes, with highlights listed below. C++ --- - adding address_sorting dep in naming test build. ([#41045](https://github.com/grpc/grpc/pull/41045)) Objective-C --- - [BackportLow2/4/2026
v1.78.0-pre2This is a prerelease of gRPC Core 1.78.0 (gutsy). For gRPC documentation, see [grpc.io](https://grpc.io/). For previous releases, see [Releases](https://github.com/grpc/grpc/releases). This prerelease contains refinements, improvements, and bug fixes. Low1/15/2026
v1.78.0-pre1This is a prerelease of gRPC Core 1.78.0 (gutsy). For gRPC documentation, see [grpc.io](https://grpc.io/). For previous releases, see [Releases](https://github.com/grpc/grpc/releases). This prerelease contains refinements, improvements, and bug fixes. Low12/25/2025
v1.76.0This is release 1.76.0 ([genuine](https://github.com/grpc/grpc/blob/master/doc/g_stands_for.md)) of gRPC Core. For gRPC documentation, see [grpc.io](https://grpc.io/). For previous releases, see [Releases](https://github.com/grpc/grpc/releases). This release contains refinements, improvements, and bug fixes, with highlights listed below. Core --- - Prioritize system CA over bundled CA. ([#40583](https://github.com/grpc/grpc/pull/40583)) - [event_engine] Introduce a event_engineLow10/20/2025
v1.76.0-pre1This is a prerelease of gRPC Core 1.76.0 (genuine). For gRPC documentation, see [grpc.io](https://grpc.io/). For previous releases, see [Releases](https://github.com/grpc/grpc/releases). This prerelease contains refinements, improvements, and bug fixes. Low10/2/2025
v1.75.1This is release gRPC Core 1.75.1 (gemini). For gRPC documentation, see [grpc.io](https://grpc.io/). For previous releases, see [Releases](https://github.com/grpc/grpc/releases). This release contains refinements, improvements, and bug fixes. ## What's Changed ### Python * Release grpcio wheels with Python 3.14 support (#40403) * Asyncio: fixes grpc shutdown race condition occurring during python interpreter finalizations. (#40447) * This also addresses previously reported issues wLow9/26/2025
v1.75.0This is release 1.75.0 ([gemini](https://github.com/grpc/grpc/blob/master/doc/g_stands_for.md)) of gRPC Core. For gRPC documentation, see [grpc.io](https://grpc.io/). For previous releases, see [Releases](https://github.com/grpc/grpc/releases). This release contains refinements, improvements, and bug fixes, with highlights listed below. Core --- - [Security] Cherry Pick Spiffe Verification. ([#40515](https://github.com/grpc/grpc/pull/40515)) - [Python][Typeguard] Part 3 - Add TLow9/15/2025
v1.75.0-pre1This is a prerelease of gRPC Core 1.75.0 (gemini). For gRPC documentation, see [grpc.io](https://grpc.io/). For previous releases, see [Releases](https://github.com/grpc/grpc/releases). This prerelease contains refinements, improvements, and bug fixes. Low8/25/2025
v1.74.1This is release gRPC Core 1.74.1 (gee). This is a patch release for grpc-ruby. Ruby --- - [Backport of #40394 to v1.74.x] Mark credential object in channel to fix https://github.com/grpc/grpc/issues/40368Low8/7/2025
v1.74.0This is release 1.74.0 ([gee](https://github.com/grpc/grpc/blob/master/doc/g_stands_for.md)) of gRPC Core. For gRPC documentation, see [grpc.io](https://grpc.io/). For previous releases, see [Releases](https://github.com/grpc/grpc/releases). This release contains refinements, improvements, and bug fixes, with highlights listed below. Core --- - [OTel C++, Posix EE] Plumb TCP write timestamps and metrics to OTel tracers. ([#39946](https://github.com/grpc/grpc/pull/39946)) - [eveLow7/23/2025
v1.74.0-pre2This is a prerelease of gRPC Core 1.74.0 (gee). For gRPC documentation, see [grpc.io](https://grpc.io/). For previous releases, see [Releases](https://github.com/grpc/grpc/releases). This prerelease contains refinements, improvements, and bug fixes. Low7/17/2025
v1.74.0-pre1This is a prerelease of gRPC Core 1.74.0 (gee). For gRPC documentation, see [grpc.io](https://grpc.io/). For previous releases, see [Releases](https://github.com/grpc/grpc/releases). This prerelease contains refinements, improvements, and bug fixes. Low7/11/2025
v1.71.2This is release 1.71.2 ([gears](https://github.com/grpc/grpc/blob/master/doc/g_stands_for.md)) of gRPC Core. For gRPC documentation, see [grpc.io](https://grpc.io/). For previous releases, see [Releases](https://github.com/grpc/grpc/releases). This release contains refinements, improvements, and bug fixes, with highlights listed below. C++ --- - [Backport of #39266 to v1.71.x] Protect grpc generated sources from unwanted system macros (#39484). Python --- - [Backport of #3989Low6/28/2025
v1.72.2This is release 1.72.2 ([gusto](https://github.com/grpc/grpc/blob/master/doc/g_stands_for.md)) of gRPC Core. For gRPC documentation, see [grpc.io](https://grpc.io/). For previous releases, see [Releases](https://github.com/grpc/grpc/releases). This release contains refinements, improvements, and bug fixes, with highlights listed below. Python --- - [Backport of #39894 to v1.72.x] Fix the issue with gRPC Python Client not reconnecting in certain situations: #38290, #39113, #39631. (Low6/26/2025
v1.73.1This is release 1.73.1 ([gradient](https://github.com/grpc/grpc/blob/master/doc/g_stands_for.md)) of gRPC Core. For gRPC documentation, see [grpc.io](https://grpc.io/). For previous releases, see [Releases](https://github.com/grpc/grpc/releases). This release contains refinements, improvements, and bug fixes, with highlights listed below. Python --- - [Backport of #39894 to v1.73.x] Fix the issue with gRPC Python Client not reconnecting in certain situations: #38290, #39113, #39631Low6/25/2025
v1.73.0This is release 1.73.0 ([gradient](https://github.com/grpc/grpc/blob/master/doc/g_stands_for.md)) of gRPC Core. For gRPC documentation, see [grpc.io](https://grpc.io/). For previous releases, see [Releases](https://github.com/grpc/grpc/releases). This release contains refinements, improvements, and bug fixes, with highlights listed below. Core --- As of this version, gRPC on MacOS & iOS will utilize Abseil's synchronization features, aligning it with other platforms. Should you enLow6/7/2025
v1.72.1This is release gRPC Core 1.72.1 (gusto). For gRPC documentation, see [grpc.io](https://grpc.io/). For previous releases, see [Releases](https://github.com/grpc/grpc/releases). This release contains refinements, improvements, and bug fixes, with highlights listed below. C++ --- - [Backport of #39266 to v1.71.x] Protect grpc generated sources from unwanted system macros (#39484). Python --- - [Backport of #39609 to v1.71.x] Pin Cython to 3.1.1 (#39632). This addresses severaLow6/2/2025
v1.73.0-pre2This is a prerelease of gRPC Core 1.73.0 (gradient). For gRPC documentation, see [grpc.io](https://grpc.io/). For previous releases, see [Releases](https://github.com/grpc/grpc/releases). This prerelease contains refinements, improvements, and bug fixes. Low5/31/2025
v1.73.0-pre1This is a prerelease of gRPC Core 1.73.0 (gradient). For gRPC documentation, see [grpc.io](https://grpc.io/). For previous releases, see [Releases](https://github.com/grpc/grpc/releases). This prerelease contains refinements, improvements, and bug fixes. Low5/24/2025
v1.70.2This is release gRPC Core 1.70.2 (genius). For gRPC documentation, see [grpc.io](https://grpc.io/). For previous releases, see [Releases](https://github.com/grpc/grpc/releases). This release contains refinements, improvements, and bug fixes. * [[EventEngine] Fix busy loop in thread pool when shutting down (#39258)Low5/5/2025
v1.71.1This is release gRPC Core 1.71.1 (gears). For gRPC documentation, see [grpc.io](https://grpc.io/). For previous releases, see [Releases](https://github.com/grpc/grpc/releases). * [RLS] fix use-after-free from accessing config after LB policy shutdown (https://github.com/grpc/grpc/pull/39303) * [EventEngine] Fix busy loop in thread pool when shutting down (https://github.com/grpc/grpc/pull/39258)Low4/23/2025
v1.72.0This is release gRPC Core 1.72.0 (gusto). For gRPC documentation, see [grpc.io](https://grpc.io/). For previous releases, see [Releases](https://github.com/grpc/grpc/releases). This release contains refinements, improvements, and bug fixes. Low4/23/2025
v1.72.0-pre1This is a prerelease of gRPC Core 1.72.0 (gusto). For gRPC documentation, see [grpc.io](https://grpc.io/). For previous releases, see [Releases](https://github.com/grpc/grpc/releases). This prerelease contains refinements, improvements, and bug fixes. Low4/8/2025
v1.71.0This is release gRPC Core 1.71.0 (gears). For gRPC documentation, see [grpc.io](https://grpc.io/). For previous releases, see [Releases](https://github.com/grpc/grpc/releases). This release contains refinements, improvements, and bug fixes. Core --- - [CallAttemptTracer] Fix call attempt tracer lifetimes for retries (#38729). ([#38796](https://github.com/grpc/grpc/pull/38796)) - [pick_first] fix bug that caused us to stop triggering connection attempts. ([#38714](https://githubLow3/7/2025
v1.71.0-pre3This is a prerelease of gRPC Core 1.71.0 (gears). For gRPC documentation, see [grpc.io](https://grpc.io/). For previous releases, see [Releases](https://github.com/grpc/grpc/releases). This prerelease contains refinements, improvements, and bug fixes. Low3/3/2025
v1.71.0-pre2This is a prerelease of gRPC Core 1.71.0 (gears). For gRPC documentation, see [grpc.io](https://grpc.io/). For previous releases, see [Releases](https://github.com/grpc/grpc/releases). This prerelease contains refinements, improvements, and bug fixes. Low2/22/2025
v1.70.1This is release 1.70.1 ([genius](https://github.com/grpc/grpc/blob/master/doc/g_stands_for.md)) of gRPC Core. For gRPC documentation, see [grpc.io](https://grpc.io/). For previous releases, see [Releases](https://github.com/grpc/grpc/releases). This release contains refinements, improvements, and bug fixes, with highlights listed below. Core --- * [Backport-v1.70.x] Added ws2_32 to address_sorting (https://github.com/grpc/grpc/pull/38657) Ruby --- - Add ruby 3.4 support to prLow1/31/2025
v1.70.0This is release 1.70.0 ([genius](https://github.com/grpc/grpc/blob/master/doc/g_stands_for.md)) of gRPC Core. For gRPC documentation, see [grpc.io](https://grpc.io/). For previous releases, see [Releases](https://github.com/grpc/grpc/releases). This release contains refinements, improvements, and bug fixes, with highlights listed below. Core --- * [BoringSSL] Update third_party/boringssl-with-bazel. (#38274) C++ --- - gRPC C++ begins to require C++17 or later to build and uLow1/23/2025
v1.70.0-pre1This is a prerelease of gRPC Core 1.70.0 (genius). For gRPC documentation, see [grpc.io](https://grpc.io/). For previous releases, see [Releases](https://github.com/grpc/grpc/releases). This prerelease contains refinements, improvements, and bug fixes. Low1/9/2025
v1.69.0This is release 1.69.0 ([gridiron](https://github.com/grpc/grpc/blob/master/doc/g_stands_for.md)) of gRPC Core. For gRPC documentation, see [grpc.io](https://grpc.io/). For previous releases, see [Releases](https://github.com/grpc/grpc/releases). This release contains refinements, improvements, and bug fixes, with highlights listed below. Core --- - [Alarm] Fix Alarm reuse on cancellation. ([#38114](https://github.com/grpc/grpc/pull/38114)) - [xDS RBAC] Support string_match in Low12/24/2024
v1.69.0-pre1This is a prerelease of gRPC Core 1.69.0 (gridiron). For gRPC documentation, see [grpc.io](https://grpc.io/). For previous releases, see [Releases](https://github.com/grpc/grpc/releases). This prerelease contains refinements, improvements, and bug fixes. Low12/9/2024
v1.68.2This is release gRPC Core 1.68.2 (groovy). For gRPC documentation, see [grpc.io](https://grpc.io/). For previous releases, see [Releases](https://github.com/grpc/grpc/releases). This release contains refinements, improvements, and bug fixes. C++ --- - [CI] Added a gRPC_BUILD_TESTS guard to third_party protos (https://github.com/grpc/grpc/pull/38182)Low12/3/2024
v1.68.1This is release 1.68.1 ([groovy](https://github.com/grpc/grpc/blob/master/doc/g_stands_for.md)) of gRPC Core. For gRPC documentation, see [grpc.io](https://grpc.io/). For previous releases, see [Releases](https://github.com/grpc/grpc/releases). This release contains refinements, improvements, and bug fixes, with highlights listed below. Core --- - [xDS RBAC] Support string_match in HeaderMatcher (#38185). ([#38198](https://github.com/grpc/grpc/pull/38198)) Python --- *AddeLow11/27/2024
v1.68.0This is release 1.68.0 ([groovy](https://github.com/grpc/grpc/blob/master/doc/g_stands_for.md)) of gRPC Core. For gRPC documentation, see [grpc.io](https://grpc.io/). For previous releases, see [Releases](https://github.com/grpc/grpc/releases). This release contains refinements, improvements, and bug fixes, with highlights listed below. Core --- - [XdsClient][Backport] Add missing authority to XdsClient metrics scope (#38009). ([#38023](https://github.com/grpc/grpc/pull/38023)) - Low11/16/2024
v1.68.0-pre1This is a prerelease of gRPC Core 1.68.0 (groovy). For gRPC documentation, see [grpc.io](https://grpc.io/). For previous releases, see [Releases](https://github.com/grpc/grpc/releases). This prerelease contains refinements, improvements, and bug fixes. Low10/31/2024
v1.67.1This is release gRPC Core 1.67.1 (gesundheit). This is a Python-only patch release. For gRPC documentation, see [grpc.io](https://grpc.io/). For previous releases, see [Releases](https://github.com/grpc/grpc/releases). This release contains refinements, improvements, and bug fixes. Low10/29/2024
v1.67.0This is release 1.67.0 ([gesundheit](https://github.com/grpc/grpc/blob/master/doc/g_stands_for.md)) of gRPC Core. For gRPC documentation, see [grpc.io](https://grpc.io/). For previous releases, see [Releases](https://github.com/grpc/grpc/releases). This release contains refinements, improvements, and bug fixes, with highlights listed below. Core --- - [ruby] reduce an INFO log to DEBUG (backport https://github.com/grpc/grpc/pull/37633). ([#37686](https://github.com/grpc/grpc/pullLow10/8/2024
v1.66.2This is release gRPC Core 1.66.2 (gladiator). For gRPC documentation, see [grpc.io](https://grpc.io/). For previous releases, see [Releases](https://github.com/grpc/grpc/releases). This release contains refinements, improvements, and bug fixes. ## What's Changed ### Python * Added support for Python 3.13 and templating system for supported Python versions (#37643) **Full Changelog**: https://github.com/grpc/grpc/compare/v1.66.1...v1.66.2Low9/28/2024
v1.67.0-pre1This is a prerelease of gRPC Core 1.67.0 (gesundheit). For gRPC documentation, see [grpc.io](https://grpc.io/). For previous releases, see [Releases](https://github.com/grpc/grpc/releases). This prerelease contains refinements, improvements, and bug fixes. Low9/17/2024
v1.66.1This is release gRPC Core 1.66.1 (gladiator). For gRPC documentation, see [grpc.io](https://grpc.io/). For previous releases, see [Releases](https://github.com/grpc/grpc/releases). This release contains refinements, improvements, and bug fixes. # Core * Enable EDS dualstack support by default (https://github.com/grpc/grpc/pull/37545)Low8/26/2024
v1.66.0This is release 1.66.0 ([gladiator](https://github.com/grpc/grpc/blob/master/doc/g_stands_for.md)) of gRPC Core. For gRPC documentation, see [grpc.io](https://grpc.io/). For previous releases, see [Releases](https://github.com/grpc/grpc/releases). This release contains refinements, improvements, and bug fixes, with highlights listed below. Core --- - [Python Otel] Manage call tracer life cycle use call arena. (v1.66.x backport). ([#37479](https://github.com/grpc/grpc/pull/37479))Low8/22/2024
v1.65.5This is release gRPC Core 1.65.5 (gnarly). For gRPC documentation, see [grpc.io](https://grpc.io/). For previous releases, see [Releases](https://github.com/grpc/grpc/releases). This release contains refinements, improvements, and bug fixes. * [OTel C++] Fix race when adding and removing callbacks (#37509) * [RlsLB] Fix Deadlock (#37503) * [Python Otel] Manage call tracer life cycle use call arena. (v1.65.x backport) (#37478)Low8/17/2024
v1.66.0-pre5This is a prerelease of gRPC Core 1.66.0 (gladiator). For gRPC documentation, see [grpc.io](https://grpc.io/). For previous releases, see [Releases](https://github.com/grpc/grpc/releases). This prerelease contains refinements, improvements, and bug fixes. Low8/16/2024
v1.66.0-pre4This is a prerelease of gRPC Core 1.66.0 (gladiator). For gRPC documentation, see [grpc.io](https://grpc.io/). For previous releases, see [Releases](https://github.com/grpc/grpc/releases). This prerelease contains refinements, improvements, and bug fixes. Low8/15/2024
v1.66.0-pre3This is a prerelease of gRPC Core 1.66.0 (gladiator). For gRPC documentation, see [grpc.io](https://grpc.io/). For previous releases, see [Releases](https://github.com/grpc/grpc/releases). This prerelease contains refinements, improvements, and bug fixes. Low8/7/2024
v1.66.0-pre2This is a prerelease of gRPC Core 1.66.0 (gladiator). For gRPC documentation, see [grpc.io](https://grpc.io/). For previous releases, see [Releases](https://github.com/grpc/grpc/releases). This prerelease contains refinements, improvements, and bug fixes. Low8/2/2024
v1.58.3This is release gRPC Core 1.58.3 (goku). For gRPC documentation, see [grpc.io](https://grpc.io/). For previous releases, see [Releases](https://github.com/grpc/grpc/releases). This release contains refinements, improvements, and bug fixes. - https://github.com/grpc/grpc/pull/37359 Fix a bug in hpack error handlingLow8/2/2024

Dependencies & License Audit

Loading dependencies...

Similar Packages

pre-commitA framework for managing and maintaining multi-language pre-commit hooks.v4.6.0
azure-core-tracing-opentelemetryMicrosoft Azure Azure Core OpenTelemetry plugin Library for Pythonazure-template_0.1.0b6187637
spdx-toolsSPDX parser and tools.0.8.5
lacesDjango components that know how to render themselves.0.1.2
django-tasksA backport of Django's built in Tasks framework0.12.0