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.12.0rc1.tar.gz (14.2 MB view details)

Uploaded Source

Built Distributions

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

Uploaded CPython 3.6m Windows x86-64

grpcio-1.12.0rc1-cp36-cp36m-win32.whl (1.2 MB view details)

Uploaded CPython 3.6m Windows x86

grpcio-1.12.0rc1-cp36-cp36m-manylinux1_x86_64.whl (9.0 MB view details)

Uploaded CPython 3.6m

grpcio-1.12.0rc1-cp36-cp36m-manylinux1_i686.whl (8.5 MB view details)

Uploaded CPython 3.6m

grpcio-1.12.0rc1-cp36-cp36m-macosx_10_7_intel.whl (1.9 MB view details)

Uploaded CPython 3.6m macOS 10.7+ intel

grpcio-1.12.0rc1-cp36-cp36m-linux_armv7l.whl (8.1 MB view details)

Uploaded CPython 3.6m

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

Uploaded CPython 3.5m Windows x86-64

grpcio-1.12.0rc1-cp35-cp35m-win32.whl (1.2 MB view details)

Uploaded CPython 3.5m Windows x86

grpcio-1.12.0rc1-cp35-cp35m-manylinux1_x86_64.whl (9.0 MB view details)

Uploaded CPython 3.5m

grpcio-1.12.0rc1-cp35-cp35m-manylinux1_i686.whl (8.5 MB view details)

Uploaded CPython 3.5m

grpcio-1.12.0rc1-cp35-cp35m-macosx_10_7_intel.whl (1.9 MB view details)

Uploaded CPython 3.5m macOS 10.7+ intel

grpcio-1.12.0rc1-cp35-cp35m-linux_armv7l.whl (8.1 MB view details)

Uploaded CPython 3.5m

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

Uploaded CPython 3.4m Windows x86-64

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

Uploaded CPython 3.4m Windows x86

grpcio-1.12.0rc1-cp34-cp34m-manylinux1_x86_64.whl (9.0 MB view details)

Uploaded CPython 3.4m

grpcio-1.12.0rc1-cp34-cp34m-manylinux1_i686.whl (8.5 MB view details)

Uploaded CPython 3.4m

grpcio-1.12.0rc1-cp34-cp34m-macosx_10_7_intel.whl (1.9 MB view details)

Uploaded CPython 3.4m macOS 10.7+ intel

grpcio-1.12.0rc1-cp34-cp34m-linux_armv7l.whl (8.1 MB view details)

Uploaded CPython 3.4m

grpcio-1.12.0rc1-cp27-cp27mu-manylinux1_x86_64.whl (8.9 MB view details)

Uploaded CPython 2.7mu

grpcio-1.12.0rc1-cp27-cp27mu-manylinux1_i686.whl (8.4 MB view details)

Uploaded CPython 2.7mu

grpcio-1.12.0rc1-cp27-cp27mu-linux_armv7l.whl (8.0 MB view details)

Uploaded CPython 2.7mu

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

Uploaded CPython 2.7m Windows x86-64

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

Uploaded CPython 2.7m Windows x86

grpcio-1.12.0rc1-cp27-cp27m-manylinux1_x86_64.whl (8.9 MB view details)

Uploaded CPython 2.7m

grpcio-1.12.0rc1-cp27-cp27m-manylinux1_i686.whl (8.4 MB view details)

Uploaded CPython 2.7m

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

Uploaded CPython 2.7m macOS 10.12+ x86-64

File details

Details for the file grpcio-1.12.0rc1.tar.gz.

File metadata

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

File hashes

Hashes for grpcio-1.12.0rc1.tar.gz
Algorithm Hash digest
SHA256 d36a6a456c42f16c6e00fe7903280bbdcb4c74b8de698245e196b4028be9fadd
MD5 e327f19edfb77aab0bc9d2d4d4f9f3c8
BLAKE2b-256 d38b97fcfeb1f7058ad8620fe7dea583cc5c4df1e355f835b573f3613ce1caae

See more details on using hashes here.

File details

Details for the file grpcio-1.12.0rc1-cp36-cp36m-win_amd64.whl.

File metadata

File hashes

Hashes for grpcio-1.12.0rc1-cp36-cp36m-win_amd64.whl
Algorithm Hash digest
SHA256 a53d5357f4f17c3f55cd649b2b3a0b91f8becb54f0bab798eab67e8da428bfd0
MD5 ae5fa5c20387d3611f081ee5edf4092c
BLAKE2b-256 1f9917ae8594f8b361da4b20230481c22887ffbcfe9345a1d87ca13a7b1121f9

See more details on using hashes here.

File details

Details for the file grpcio-1.12.0rc1-cp36-cp36m-win32.whl.

File metadata

File hashes

Hashes for grpcio-1.12.0rc1-cp36-cp36m-win32.whl
Algorithm Hash digest
SHA256 0cc52bd4eecbd24837525138a6374090b5d993b8265c6193a2881e60d8a6aed2
MD5 de54bebd85300b40ab47fcfd0b7eb2be
BLAKE2b-256 67d7c2cc86dcad79d838003ab91b59924c118c7da4110c79255589637e830db2

See more details on using hashes here.

File details

Details for the file grpcio-1.12.0rc1-cp36-cp36m-manylinux1_x86_64.whl.

File metadata

File hashes

Hashes for grpcio-1.12.0rc1-cp36-cp36m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 0c0b74401f21d2e9a36ec4cc552aafcf5301c509a25649c8a8cc3bc67e127f49
MD5 38f1a0f07c0fde131772117b75741112
BLAKE2b-256 f0c029025a16814a591236f9f805a801ee03cef5f6c21a14ca862bf139f5a545

See more details on using hashes here.

File details

Details for the file grpcio-1.12.0rc1-cp36-cp36m-manylinux1_i686.whl.

File metadata

File hashes

Hashes for grpcio-1.12.0rc1-cp36-cp36m-manylinux1_i686.whl
Algorithm Hash digest
SHA256 53b20a704690e31156ca531fb029fd41cfdd848e8c9395908ada0203905b99fd
MD5 03050f6ccf9e2767d08f457e56718f27
BLAKE2b-256 587730c015adea66be59466e8dd0cda5bb9b5104d9fea725fefdeb13c029e0fa

See more details on using hashes here.

File details

Details for the file grpcio-1.12.0rc1-cp36-cp36m-macosx_10_7_intel.whl.

File metadata

File hashes

Hashes for grpcio-1.12.0rc1-cp36-cp36m-macosx_10_7_intel.whl
Algorithm Hash digest
SHA256 adffb667ec9f7afa95b64b5460f659e747dd0a0a526f40c25de6ff4d3094b67f
MD5 0333cb92e42a660ac5b0729b0510c151
BLAKE2b-256 8b3376159584f3d1941ac031eb19e6b9061c8a54248583fbac4c48c1a06de2d0

See more details on using hashes here.

File details

Details for the file grpcio-1.12.0rc1-cp36-cp36m-linux_armv7l.whl.

File metadata

File hashes

Hashes for grpcio-1.12.0rc1-cp36-cp36m-linux_armv7l.whl
Algorithm Hash digest
SHA256 b5d7c8c61f65499b863afcebdac21ab11fe3d901345ed025ed751a45cf95b23b
MD5 3c8efd6f7b8da052dca4a0a1e209cabd
BLAKE2b-256 8b1294bb84981ec57b916133653a9b8248c3b53cd6b9381f6cb529a19bf3cb92

See more details on using hashes here.

File details

Details for the file grpcio-1.12.0rc1-cp35-cp35m-win_amd64.whl.

File metadata

File hashes

Hashes for grpcio-1.12.0rc1-cp35-cp35m-win_amd64.whl
Algorithm Hash digest
SHA256 2d92915569cbab7ee5dad8565ffa57f0b0e2185a9aa463716a2b957e06e02471
MD5 a1853a279fb25a5e0eb04117d36aee5b
BLAKE2b-256 c731ac1db25aa58d0529f451448ddac61bc4e982174acbba43458b2271960854

See more details on using hashes here.

File details

Details for the file grpcio-1.12.0rc1-cp35-cp35m-win32.whl.

File metadata

File hashes

Hashes for grpcio-1.12.0rc1-cp35-cp35m-win32.whl
Algorithm Hash digest
SHA256 d459fd2340390b61420f4de70e0999b5ba8f84c3d0d14dbdec52fde228c1b02e
MD5 6777e239e378f832dbe2ff296a528c4d
BLAKE2b-256 2e3d5f12236413e6cf96f2f5ee66abe22b3cb3856234602dc15a9eeb9cfd232e

See more details on using hashes here.

File details

Details for the file grpcio-1.12.0rc1-cp35-cp35m-manylinux1_x86_64.whl.

File metadata

File hashes

Hashes for grpcio-1.12.0rc1-cp35-cp35m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 55fbc56fc494f807826f8fbd87e3291353f829faca30c68c13f1bc4236a1ce33
MD5 833891dd24ef3e62b2add87e62d2b6f0
BLAKE2b-256 06d4b7c0db70e60167e724969abdb26317aa357651dc1b36df08aa629a415732

See more details on using hashes here.

File details

Details for the file grpcio-1.12.0rc1-cp35-cp35m-manylinux1_i686.whl.

File metadata

File hashes

Hashes for grpcio-1.12.0rc1-cp35-cp35m-manylinux1_i686.whl
Algorithm Hash digest
SHA256 ab779232290056afa9032712a52f53443ab7cb7e9e24ba3855a53374f85add0d
MD5 0db86da18476e3c0dcd1a0520abddb57
BLAKE2b-256 81a21134b9ee1874884c16d892804ab1d2e4a6417ec18968a7f8418eb848c286

See more details on using hashes here.

File details

Details for the file grpcio-1.12.0rc1-cp35-cp35m-macosx_10_7_intel.whl.

File metadata

File hashes

Hashes for grpcio-1.12.0rc1-cp35-cp35m-macosx_10_7_intel.whl
Algorithm Hash digest
SHA256 6341f527f57afa1404f3a1a1ad1ae659f383f45d771837bd15585b7d8344a42d
MD5 5f88a7ad902899d7d8012cf6b184e8dc
BLAKE2b-256 75889b4100d1554e270b4a1fa6a078f2da1e13204070f9ce696aef0146172687

See more details on using hashes here.

File details

Details for the file grpcio-1.12.0rc1-cp35-cp35m-linux_armv7l.whl.

File metadata

File hashes

Hashes for grpcio-1.12.0rc1-cp35-cp35m-linux_armv7l.whl
Algorithm Hash digest
SHA256 f71c9d95a7d7dce675f3682049437cee34526226f34c2f8d51822fe06f11c8a8
MD5 9855ba448b0e79f2fee5f342e40b2971
BLAKE2b-256 6cf6ef20f9ae4c2c2a772af712d6eb695fca097ef85a8051f394dfdffb0f6b0d

See more details on using hashes here.

File details

Details for the file grpcio-1.12.0rc1-cp34-cp34m-win_amd64.whl.

File metadata

File hashes

Hashes for grpcio-1.12.0rc1-cp34-cp34m-win_amd64.whl
Algorithm Hash digest
SHA256 723db61839af3c143eaaae954a620291964900128c4ba4233337be745031cea6
MD5 2ac9b7c7221f8e48c36cb37ac44c5e8f
BLAKE2b-256 70cae6aacadbf4f166214729a6d68b9ef8432223215050f35e77768f757b302d

See more details on using hashes here.

File details

Details for the file grpcio-1.12.0rc1-cp34-cp34m-win32.whl.

File metadata

File hashes

Hashes for grpcio-1.12.0rc1-cp34-cp34m-win32.whl
Algorithm Hash digest
SHA256 0b364485e74eaf05f1b4fb8c08267fb7122ba0fe7984d6b9ba37c050372b7ba1
MD5 039c11585c8c0c194b1cd1b191071692
BLAKE2b-256 7e8d0a377c620f37454cb379a621655f8c28024a61bb469eb94a0963170724a0

See more details on using hashes here.

File details

Details for the file grpcio-1.12.0rc1-cp34-cp34m-manylinux1_x86_64.whl.

File metadata

File hashes

Hashes for grpcio-1.12.0rc1-cp34-cp34m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 9f35f38cce2af1bd12ba09a4dc9f57001fb7efe3a91ccb3ce3744abded87f59a
MD5 3069926899fd5f005189cb9c02f1f79f
BLAKE2b-256 b38b225e8f1bcddfe0488e6a77f3b92ff20382e619594af60a4c76b06847417c

See more details on using hashes here.

File details

Details for the file grpcio-1.12.0rc1-cp34-cp34m-manylinux1_i686.whl.

File metadata

File hashes

Hashes for grpcio-1.12.0rc1-cp34-cp34m-manylinux1_i686.whl
Algorithm Hash digest
SHA256 21d814c07436fec05b7305b303eca60847a0e4a6a71fdd2b0c77c960b2a71425
MD5 125c00e06f0f4d7ecdebbbc36dfa04f3
BLAKE2b-256 4d46b64ecd79b9c4b7d6b8df29cfe8e9b2ad8c39e93a147127c3c956f36d0135

See more details on using hashes here.

File details

Details for the file grpcio-1.12.0rc1-cp34-cp34m-macosx_10_7_intel.whl.

File metadata

File hashes

Hashes for grpcio-1.12.0rc1-cp34-cp34m-macosx_10_7_intel.whl
Algorithm Hash digest
SHA256 d056a9c16814d16ad63fcb3a14086a6caf10388b9b8c31042c5cafbfd7cb5f0b
MD5 9a86f42d513ee4dc15e9b693e2a9be3c
BLAKE2b-256 d100117cc19ace85e23f9141a93b25457bf94333ad74cc47cf8572f0edfeae72

See more details on using hashes here.

File details

Details for the file grpcio-1.12.0rc1-cp34-cp34m-linux_armv7l.whl.

File metadata

File hashes

Hashes for grpcio-1.12.0rc1-cp34-cp34m-linux_armv7l.whl
Algorithm Hash digest
SHA256 787fdcbaa07f70b9433c3102be8501e557e1226db5fd057934e71a3636756834
MD5 ea666000e4bf8f6fb1397b22fe286f1a
BLAKE2b-256 11a011f2ebb59ece80efcffab2d293f3e6243317a0a6d2a140eedfa5fdad4b1a

See more details on using hashes here.

File details

Details for the file grpcio-1.12.0rc1-cp27-cp27mu-manylinux1_x86_64.whl.

File metadata

File hashes

Hashes for grpcio-1.12.0rc1-cp27-cp27mu-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 9eaa92fc2d960664f4c3bff08b67eb98eaebcae130304294e6e87b3bb39552cb
MD5 9c5bf734ddffd03f6fa7e74da7ab7b66
BLAKE2b-256 615c9b016d62872b23dadf3b7aca9db0e6513fd80db564f05198aa2630988149

See more details on using hashes here.

File details

Details for the file grpcio-1.12.0rc1-cp27-cp27mu-manylinux1_i686.whl.

File metadata

File hashes

Hashes for grpcio-1.12.0rc1-cp27-cp27mu-manylinux1_i686.whl
Algorithm Hash digest
SHA256 8bc48ecb9299157c738acb25f91c25e2267b8c5d28566b75a158bd376f50a740
MD5 c23ecd81aeeb95e993652003540af2d0
BLAKE2b-256 e65ffe3cd1d6bc89c52db418589342c1699fb73d4ce024644ac49e2a2445d7c1

See more details on using hashes here.

File details

Details for the file grpcio-1.12.0rc1-cp27-cp27mu-linux_armv7l.whl.

File metadata

File hashes

Hashes for grpcio-1.12.0rc1-cp27-cp27mu-linux_armv7l.whl
Algorithm Hash digest
SHA256 e519bdda02e11c42c10627ed38286db68e816a356b88b4c60833f725aa1dfc39
MD5 5ee0012c16077978a38b31994cf9a27c
BLAKE2b-256 448d4726b577d926e60091feab222986721da76dc83a12f540c05cc2f6f69e5d

See more details on using hashes here.

File details

Details for the file grpcio-1.12.0rc1-cp27-cp27m-win_amd64.whl.

File metadata

File hashes

Hashes for grpcio-1.12.0rc1-cp27-cp27m-win_amd64.whl
Algorithm Hash digest
SHA256 a32958df0d0fd70de456420f1ab15193b35ea26501400fea765b92bd6990647f
MD5 99967a7b12438eef7181ccdb8f65b5b3
BLAKE2b-256 1612f6673ca83522c78000d07a6973a12147f70a35b4bd80cf9aaf66a71d8146

See more details on using hashes here.

File details

Details for the file grpcio-1.12.0rc1-cp27-cp27m-win32.whl.

File metadata

File hashes

Hashes for grpcio-1.12.0rc1-cp27-cp27m-win32.whl
Algorithm Hash digest
SHA256 05f496edb6cc5ac3d788ea6f2734c90bd532ffbbd163d27acd7296dd07150033
MD5 4771ed11c0c2792c3ba43e5f58734fad
BLAKE2b-256 41bc4008390f37d5a18408faee40ab0a3e89b68f86b8aed2e81751b2e92c8650

See more details on using hashes here.

File details

Details for the file grpcio-1.12.0rc1-cp27-cp27m-manylinux1_x86_64.whl.

File metadata

File hashes

Hashes for grpcio-1.12.0rc1-cp27-cp27m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 ea764194ff2451efa8f2351b1efb88f6b550aa590efe508da9a276dc49a4126c
MD5 aee51b2942d4a3378860d491d8891b6c
BLAKE2b-256 f7688eb7329b19980dd5da020243848ceed3e404d183d7792c0b54385d1df775

See more details on using hashes here.

File details

Details for the file grpcio-1.12.0rc1-cp27-cp27m-manylinux1_i686.whl.

File metadata

File hashes

Hashes for grpcio-1.12.0rc1-cp27-cp27m-manylinux1_i686.whl
Algorithm Hash digest
SHA256 096c33bdf11dd8b48a3ee1c69de539dfbffbbbeefc90d431f223576f2806f026
MD5 c5ac892fe0143f7e765da5cdf1e04992
BLAKE2b-256 de7fc28b2c3367b51974b89918dc5e223dd13fe1849a8f965885290471f17932

See more details on using hashes here.

File details

Details for the file grpcio-1.12.0rc1-cp27-cp27m-macosx_10_12_x86_64.whl.

File metadata

File hashes

Hashes for grpcio-1.12.0rc1-cp27-cp27m-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 9be24333f69ff08898561ebcd6df4256a267271f5d438ba15920296941210042
MD5 9d525fce7446d632ad2a783994293398
BLAKE2b-256 6611f37aabac85eb88fe8d2cebe0d8480a10eed719f51f876ca8f6acafcb6ea0

See more details on using hashes here.

Supported by

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