Skip to main content

HTTP/2-based RPC framework

Project description

Package for gRPC Python.

Installation

gRPC Python is available for Linux, macOS, and Windows.

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 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 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 pip to retrieve the proper wheel from PyPI. Be sure to upgrade to the latest version!

From Source

Building from source requires that you have the Python headers (usually a package named python-dev).

$ export REPO_ROOT=grpc  # REPO_ROOT can be any directory of your choice
$ git clone -b $(curl -L https://grpc.io/release) https://github.com/grpc/grpc $REPO_ROOT
$ cd $REPO_ROOT
$ git submodule update --init

# For the next two commands do `sudo pip install` if you get permission-denied errors
$ pip install -rrequirements.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 a pkg_resources.VersionConflict when I try to install grpc

    This is likely because pip doesn’t own the offending dependency, which in turn is likely because your operating system’s package manager owns it. You’ll need to force the installation of the dependency:

    pip install --ignore-installed $OFFENDING_DEPENDENCY

    For example, if you get an error like the following:

    Traceback (most recent call last):
    File "<string>", line 17, in <module>
     ...
    File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 509, in find
      raise VersionConflict(dist, req)
    pkg_resources.VersionConflict: (six 1.8.0 (/usr/lib/python2.7/dist-packages), Requirement.parse('six>=1.10'))

    You can fix it by doing:

    sudo pip install --ignore-installed six
  • … 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

Project details


Release history Release notifications | RSS feed

Download files

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

Source Distribution

grpcio-1.11.1.tar.gz (14.2 MB view details)

Uploaded Source

Built Distributions

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

grpcio-1.11.1-cp36-cp36m-win_amd64.whl (1.4 MB view details)

Uploaded CPython 3.6mWindows x86-64

grpcio-1.11.1-cp36-cp36m-win32.whl (1.1 MB view details)

Uploaded CPython 3.6mWindows x86

grpcio-1.11.1-cp36-cp36m-manylinux1_x86_64.whl (8.8 MB view details)

Uploaded CPython 3.6m

grpcio-1.11.1-cp36-cp36m-manylinux1_i686.whl (8.3 MB view details)

Uploaded CPython 3.6m

grpcio-1.11.1-cp36-cp36m-macosx_10_7_intel.whl (1.8 MB view details)

Uploaded CPython 3.6mmacOS 10.7+ Intel (x86-64, i386)

grpcio-1.11.1-cp36-cp36m-linux_armv7l.whl (8.0 MB view details)

Uploaded CPython 3.6m

grpcio-1.11.1-cp35-cp35m-win_amd64.whl (1.4 MB view details)

Uploaded CPython 3.5mWindows x86-64

grpcio-1.11.1-cp35-cp35m-win32.whl (1.1 MB view details)

Uploaded CPython 3.5mWindows x86

grpcio-1.11.1-cp35-cp35m-manylinux1_x86_64.whl (8.8 MB view details)

Uploaded CPython 3.5m

grpcio-1.11.1-cp35-cp35m-manylinux1_i686.whl (8.3 MB view details)

Uploaded CPython 3.5m

grpcio-1.11.1-cp35-cp35m-macosx_10_7_intel.whl (1.8 MB view details)

Uploaded CPython 3.5mmacOS 10.7+ Intel (x86-64, i386)

grpcio-1.11.1-cp35-cp35m-linux_armv7l.whl (7.9 MB view details)

Uploaded CPython 3.5m

grpcio-1.11.1-cp34-cp34m-win_amd64.whl (1.4 MB view details)

Uploaded CPython 3.4mWindows x86-64

grpcio-1.11.1-cp34-cp34m-win32.whl (1.4 MB view details)

Uploaded CPython 3.4mWindows x86

grpcio-1.11.1-cp34-cp34m-manylinux1_x86_64.whl (8.8 MB view details)

Uploaded CPython 3.4m

grpcio-1.11.1-cp34-cp34m-manylinux1_i686.whl (8.3 MB view details)

Uploaded CPython 3.4m

grpcio-1.11.1-cp34-cp34m-macosx_10_7_intel.whl (1.8 MB view details)

Uploaded CPython 3.4mmacOS 10.7+ Intel (x86-64, i386)

grpcio-1.11.1-cp34-cp34m-linux_armv7l.whl (7.9 MB view details)

Uploaded CPython 3.4m

grpcio-1.11.1-cp27-cp27mu-manylinux1_x86_64.whl (8.7 MB view details)

Uploaded CPython 2.7mu

grpcio-1.11.1-cp27-cp27mu-manylinux1_i686.whl (8.3 MB view details)

Uploaded CPython 2.7mu

grpcio-1.11.1-cp27-cp27mu-linux_armv7l.whl (7.9 MB view details)

Uploaded CPython 2.7mu

grpcio-1.11.1-cp27-cp27m-win_amd64.whl (1.4 MB view details)

Uploaded CPython 2.7mWindows x86-64

grpcio-1.11.1-cp27-cp27m-win32.whl (1.4 MB view details)

Uploaded CPython 2.7mWindows x86

grpcio-1.11.1-cp27-cp27m-manylinux1_x86_64.whl (8.7 MB view details)

Uploaded CPython 2.7m

grpcio-1.11.1-cp27-cp27m-manylinux1_i686.whl (8.3 MB view details)

Uploaded CPython 2.7m

grpcio-1.11.1-cp27-cp27m-macosx_10_12_x86_64.whl (1.6 MB view details)

Uploaded CPython 2.7mmacOS 10.12+ x86-64

File details

Details for the file grpcio-1.11.1.tar.gz.

File metadata

  • Download URL: grpcio-1.11.1.tar.gz
  • Upload date:
  • Size: 14.2 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for grpcio-1.11.1.tar.gz
Algorithm Hash digest
SHA256 5701aa59d097610ea81187a7748f90e7dd6f26fed0efd98dc91d8a062429e2c9
MD5 1e785e72b3031eb1efce0915ecca9fe0
BLAKE2b-256 670c42203b718c1535f873dbc83f420df506e017b9dbf1f430ab23eab7830667

See more details on using hashes here.

File details

Details for the file grpcio-1.11.1-cp36-cp36m-win_amd64.whl.

File metadata

File hashes

Hashes for grpcio-1.11.1-cp36-cp36m-win_amd64.whl
Algorithm Hash digest
SHA256 47756a27a28e5f8da8454c71f3be7338e5f75e7a720c5db98483351330bc7ccd
MD5 b82677ee7f2ea67006ad95d9ba7e7df7
BLAKE2b-256 3b979383aa91689c65e7da2af5aa3585eeb03c76b9191840e832f2561da3da10

See more details on using hashes here.

File details

Details for the file grpcio-1.11.1-cp36-cp36m-win32.whl.

File metadata

File hashes

Hashes for grpcio-1.11.1-cp36-cp36m-win32.whl
Algorithm Hash digest
SHA256 4ab996612df4626c4e8e3cdfb7a4794129a0708fbbec56a03b4629aa7353757b
MD5 f00199f14f089238aa72c0d326e4c266
BLAKE2b-256 01645a19c47a1d32f4ce86184fbf12273db55eb97e79953f4fd911d5c0c077fb

See more details on using hashes here.

File details

Details for the file grpcio-1.11.1-cp36-cp36m-manylinux1_x86_64.whl.

File metadata

File hashes

Hashes for grpcio-1.11.1-cp36-cp36m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 40f5419943a652ba5041a7df2efa99852f4072f7f590fa7c4c83a7a2a49b5168
MD5 ebcf40275604cfce8b0763d744dc1089
BLAKE2b-256 1bb747cbc0c538fffef9d5dabccc43480c81ae23c910f4e7afa77ef3a5df9af5

See more details on using hashes here.

File details

Details for the file grpcio-1.11.1-cp36-cp36m-manylinux1_i686.whl.

File metadata

File hashes

Hashes for grpcio-1.11.1-cp36-cp36m-manylinux1_i686.whl
Algorithm Hash digest
SHA256 bd851dbea44cc043cf9cf07342996dc42cd0d9d1b8f2c5a4f2979fd00b8864fe
MD5 3eed8f24bb44e22cbecfcc738436550b
BLAKE2b-256 8d03496a1af435e46487bef6bfcdee42a954439c69f0835a6cfe93e6870154b0

See more details on using hashes here.

File details

Details for the file grpcio-1.11.1-cp36-cp36m-macosx_10_7_intel.whl.

File metadata

File hashes

Hashes for grpcio-1.11.1-cp36-cp36m-macosx_10_7_intel.whl
Algorithm Hash digest
SHA256 a8653185c258008575f5d3441f83d4a75b34923b90868209347185a9975a1017
MD5 75ce2af187c439e43436cfe3b39d9f79
BLAKE2b-256 2a4ca2995d9350a80de94bf10f84353aee68849c0fe4cfe4979733494ef9693f

See more details on using hashes here.

File details

Details for the file grpcio-1.11.1-cp36-cp36m-linux_armv7l.whl.

File metadata

File hashes

Hashes for grpcio-1.11.1-cp36-cp36m-linux_armv7l.whl
Algorithm Hash digest
SHA256 072aa763285438590e00f372e7ea9df4d5a94c6266c76ca7bdd03db13466b4eb
MD5 72e2b5fa5bbb0fd8c0e96561e674cf01
BLAKE2b-256 be29bc1ddb61ddb52b2a6b7019a59c2d9a06c44db3f88dda6db316bd158f8879

See more details on using hashes here.

File details

Details for the file grpcio-1.11.1-cp35-cp35m-win_amd64.whl.

File metadata

File hashes

Hashes for grpcio-1.11.1-cp35-cp35m-win_amd64.whl
Algorithm Hash digest
SHA256 c09f9b4e2f3e3289e49e56b60deae15896553c812f946269fb44d1e01f1557b4
MD5 f1729b39c7caad7f6f0dea888f6aadd9
BLAKE2b-256 d2b67f82debd0bf5b0a6d0d2cfe7207791f0f69d53db8fc92a94990d67c616d6

See more details on using hashes here.

File details

Details for the file grpcio-1.11.1-cp35-cp35m-win32.whl.

File metadata

File hashes

Hashes for grpcio-1.11.1-cp35-cp35m-win32.whl
Algorithm Hash digest
SHA256 07dfcd7950caf8b0d798fc6c11729e1dbcde0c8bdbfbd0033acca1df95491388
MD5 d543296cdb206ec54b115802e6051408
BLAKE2b-256 b7e13dfdd2b1dc6e19a88a34733d05336fe69c4336a036148caa303c425448fd

See more details on using hashes here.

File details

Details for the file grpcio-1.11.1-cp35-cp35m-manylinux1_x86_64.whl.

File metadata

File hashes

Hashes for grpcio-1.11.1-cp35-cp35m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 79d147e238e4883ce702c156f9498d3c9dc161553808e13ec98eeebb1e587cba
MD5 81107793c1aadc95e6f6202e73f186ea
BLAKE2b-256 37c0c25cb929b1a6fc689bfd1ffb0df5cc585f488b0670219de57e7713b09e7d

See more details on using hashes here.

File details

Details for the file grpcio-1.11.1-cp35-cp35m-manylinux1_i686.whl.

File metadata

File hashes

Hashes for grpcio-1.11.1-cp35-cp35m-manylinux1_i686.whl
Algorithm Hash digest
SHA256 24c0e877be19e2d9ad6e9c537d03e6da73c4fdae6993ce3f58be14725763a94d
MD5 7bf8dd563fb63466518a89376f7fdc35
BLAKE2b-256 383eb2e2441fc9f0eed13caec8646a052ea20b3f3c90b61efb8f2c39d4addb3c

See more details on using hashes here.

File details

Details for the file grpcio-1.11.1-cp35-cp35m-macosx_10_7_intel.whl.

File metadata

File hashes

Hashes for grpcio-1.11.1-cp35-cp35m-macosx_10_7_intel.whl
Algorithm Hash digest
SHA256 d459da7d6ead889f8ec7fe591af1daaa082fcb463d1ef905135d846abe50f4f3
MD5 b3433dfdbbe93f96fb2ffd536cdb1b17
BLAKE2b-256 a159b2fe2ef86fa2e5f345ef17d1a7823fb61454807f568c9d987cd3a8287763

See more details on using hashes here.

File details

Details for the file grpcio-1.11.1-cp35-cp35m-linux_armv7l.whl.

File metadata

File hashes

Hashes for grpcio-1.11.1-cp35-cp35m-linux_armv7l.whl
Algorithm Hash digest
SHA256 0f7a7100e5eacd66db3578740cda11f05f114128a9138d8e6d84b3dde98fa8ac
MD5 20871a8e70a540668d536c778a41a7c6
BLAKE2b-256 dab6dd0672ac6df99dcc9cb6b2678906498de13e3195e225b941749a4d81c33a

See more details on using hashes here.

File details

Details for the file grpcio-1.11.1-cp34-cp34m-win_amd64.whl.

File metadata

File hashes

Hashes for grpcio-1.11.1-cp34-cp34m-win_amd64.whl
Algorithm Hash digest
SHA256 f8d0d9f76076f97fcf49da3964c25828164ee2b7b2a3ffe6d4afebdaced1dc39
MD5 7ebb9ce8050ee42704aa4594731776dc
BLAKE2b-256 73466fd8e41c0258e9405228e466307cff4a8853c4cd2b5b33bc33a16866dff0

See more details on using hashes here.

File details

Details for the file grpcio-1.11.1-cp34-cp34m-win32.whl.

File metadata

File hashes

Hashes for grpcio-1.11.1-cp34-cp34m-win32.whl
Algorithm Hash digest
SHA256 b5a3ea8d1d1c8088fe7929b119337921118bc34680a6cdfd7085e3379bef3d5d
MD5 98a2c80cc1762d86c4a8a7968141b219
BLAKE2b-256 ef2b58e61abc652a76c9fd485f04a97db639d9461e598bc88f6896c3ad6d20ba

See more details on using hashes here.

File details

Details for the file grpcio-1.11.1-cp34-cp34m-manylinux1_x86_64.whl.

File metadata

File hashes

Hashes for grpcio-1.11.1-cp34-cp34m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 3dee0167934c02748e5791cd035c60fb14d4e6b6413fbd77772b9a3305103150
MD5 113d5cec2249297de29bf42d31a2ed6e
BLAKE2b-256 e6c6be9d79355d4b45a1c164371d401551bb766ccc397d87e84ae938fb42806e

See more details on using hashes here.

File details

Details for the file grpcio-1.11.1-cp34-cp34m-manylinux1_i686.whl.

File metadata

File hashes

Hashes for grpcio-1.11.1-cp34-cp34m-manylinux1_i686.whl
Algorithm Hash digest
SHA256 d4c3b2b6c374a50203b8f3123fedf4a541d97b693451f626eb2a1d39e45fc7e4
MD5 759c50d493cffde66af5e6cc7df04001
BLAKE2b-256 c80dc71cbcf6e85d71201447a9b9b952d975a30335c539eec42ba26d6f2f125b

See more details on using hashes here.

File details

Details for the file grpcio-1.11.1-cp34-cp34m-macosx_10_7_intel.whl.

File metadata

File hashes

Hashes for grpcio-1.11.1-cp34-cp34m-macosx_10_7_intel.whl
Algorithm Hash digest
SHA256 9219e014cd4d7f3a5552406629715964b8a656e98b97c6e7dba346a0098c79c7
MD5 2ba17c6a941149058f7e1945fa29062d
BLAKE2b-256 e7b40692b7bf9e108d6997761cde9927b056cc55653de175e83827ef49f88fd1

See more details on using hashes here.

File details

Details for the file grpcio-1.11.1-cp34-cp34m-linux_armv7l.whl.

File metadata

File hashes

Hashes for grpcio-1.11.1-cp34-cp34m-linux_armv7l.whl
Algorithm Hash digest
SHA256 b80ea50882178f34690b58f78468aa6a7d075924a274f30d25bde73ad8c1d9e9
MD5 0ff22af6c0d033463bee993ea4ee2ed2
BLAKE2b-256 5331b7635f957d860f4e3f4e2e79e0e0fab644705bc737522a5dea4ead0be1a5

See more details on using hashes here.

File details

Details for the file grpcio-1.11.1-cp27-cp27mu-manylinux1_x86_64.whl.

File metadata

File hashes

Hashes for grpcio-1.11.1-cp27-cp27mu-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 06cdccc52e58f2afe99a13e51a6e7417f14e006cd807ae1f859cede19fbd6fff
MD5 d5434f79de9344fa162543f063cc6633
BLAKE2b-256 df2eb51ddd58ba2a72b809dd2e709887591fd5499186c04266c3a08f170abb6e

See more details on using hashes here.

File details

Details for the file grpcio-1.11.1-cp27-cp27mu-manylinux1_i686.whl.

File metadata

File hashes

Hashes for grpcio-1.11.1-cp27-cp27mu-manylinux1_i686.whl
Algorithm Hash digest
SHA256 8dd8cf125a128c0fd189ddacb9bb35b7b6865a446f856672e95ba815e2f9d76e
MD5 6f3c4aae1e758bf4fd97994e5cb1a952
BLAKE2b-256 2eba5374a716a20fb7d93496e118c361ad2e4f584a1b15af77aafbdf590c4748

See more details on using hashes here.

File details

Details for the file grpcio-1.11.1-cp27-cp27mu-linux_armv7l.whl.

File metadata

File hashes

Hashes for grpcio-1.11.1-cp27-cp27mu-linux_armv7l.whl
Algorithm Hash digest
SHA256 db86bf8962357d196c3ea9c2eb034e2a20c4116559936f7bf65e29b1553798da
MD5 d7f60c48d7695325cdd4826afbf46f24
BLAKE2b-256 4440506e6b11fe82b4a9229d05412d99965b15916958d8b604e2fa1950c42ae9

See more details on using hashes here.

File details

Details for the file grpcio-1.11.1-cp27-cp27m-win_amd64.whl.

File metadata

File hashes

Hashes for grpcio-1.11.1-cp27-cp27m-win_amd64.whl
Algorithm Hash digest
SHA256 2189d81aa9479033bec7e9cf1f22562c751d2647d372095b1c28b0e8768113d2
MD5 e6439f83aa22b14332597eeb4a023bd3
BLAKE2b-256 5f7af0fc8ba0151bce460f9151419380d97b1e5a7fa02655ab44b2cb42098a66

See more details on using hashes here.

File details

Details for the file grpcio-1.11.1-cp27-cp27m-win32.whl.

File metadata

File hashes

Hashes for grpcio-1.11.1-cp27-cp27m-win32.whl
Algorithm Hash digest
SHA256 19fedfb125c6c7ac3f3406fe74769943ceafad0cfa6d0c84713aadb1acf74765
MD5 66185ee134cfcfaf5570c9493bb51074
BLAKE2b-256 8e7c5c584b387122deb43b01c41bc63eca3b6e3a76515a46dbc31ff000b8b020

See more details on using hashes here.

File details

Details for the file grpcio-1.11.1-cp27-cp27m-manylinux1_x86_64.whl.

File metadata

File hashes

Hashes for grpcio-1.11.1-cp27-cp27m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 e032ac1978eacd95f9428f5669e6f4129818ddda1775933a1e48a04b8171e41d
MD5 39a88395edca96a63d1811a67da77f76
BLAKE2b-256 7426a5928a95d61b7685db87b08fbdd6ac96adf8cbc47d10a00db1dd53f644f5

See more details on using hashes here.

File details

Details for the file grpcio-1.11.1-cp27-cp27m-manylinux1_i686.whl.

File metadata

File hashes

Hashes for grpcio-1.11.1-cp27-cp27m-manylinux1_i686.whl
Algorithm Hash digest
SHA256 82c88bb162ba98d0ef2e61a4ab70d1b29ccfefbef7ee3762de0f4579e6c72c5f
MD5 f3f57a5eea3acb3b6bac5b9e175a42aa
BLAKE2b-256 ac515661d543a40b1394aefee7e91965b6abbbfac0b3f114ee5b0c400fc4e762

See more details on using hashes here.

File details

Details for the file grpcio-1.11.1-cp27-cp27m-macosx_10_12_x86_64.whl.

File metadata

File hashes

Hashes for grpcio-1.11.1-cp27-cp27m-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 bad6f03e4921e668d08db25ce1af00a32a99d0f2e7f037cf3fb9357650e12364
MD5 eefd2f6266ad89a6ca5a1f00b3ce37ef
BLAKE2b-256 dba98570a738ce91ecc368e4cf99b711eb8f9a3be5b1684e9c03b194c20637bd

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