Skip to main content

HTTP/2-based RPC framework

Project description

gRPC Python
===========

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 :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!

>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 $(curl -L http://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** :code:`pkg_resources.VersionConflict` **when I try to install
grpc**

This is likely because :code:`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:

:code:`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.4.0.tar.gz (9.1 MB view details)

Uploaded Source

Built Distributions

grpcio-1.4.0-cp36-cp36m-win_amd64.whl (1.2 MB view details)

Uploaded CPython 3.6m Windows x86-64

grpcio-1.4.0-cp36-cp36m-win32.whl (1.0 MB view details)

Uploaded CPython 3.6m Windows x86

grpcio-1.4.0-cp36-cp36m-manylinux1_x86_64.whl (5.4 MB view details)

Uploaded CPython 3.6m

grpcio-1.4.0-cp36-cp36m-manylinux1_i686.whl (5.0 MB view details)

Uploaded CPython 3.6m

grpcio-1.4.0-cp36-cp36m-macosx_10_7_intel.whl (1.5 MB view details)

Uploaded CPython 3.6m macOS 10.7+ intel

grpcio-1.4.0-cp36-cp36m-linux_armv7l.whl (4.9 MB view details)

Uploaded CPython 3.6m

grpcio-1.4.0-cp35-cp35m-win_amd64.whl (1.2 MB view details)

Uploaded CPython 3.5m Windows x86-64

grpcio-1.4.0-cp35-cp35m-win32.whl (1.0 MB view details)

Uploaded CPython 3.5m Windows x86

grpcio-1.4.0-cp35-cp35m-manylinux1_x86_64.whl (5.4 MB view details)

Uploaded CPython 3.5m

grpcio-1.4.0-cp35-cp35m-manylinux1_i686.whl (5.0 MB view details)

Uploaded CPython 3.5m

grpcio-1.4.0-cp35-cp35m-macosx_10_7_intel.whl (1.5 MB view details)

Uploaded CPython 3.5m macOS 10.7+ intel

grpcio-1.4.0-cp35-cp35m-linux_armv7l.whl (4.9 MB view details)

Uploaded CPython 3.5m

grpcio-1.4.0-cp34-cp34m-win_amd64.whl (1.1 MB view details)

Uploaded CPython 3.4m Windows x86-64

grpcio-1.4.0-cp34-cp34m-win32.whl (1.2 MB view details)

Uploaded CPython 3.4m Windows x86

grpcio-1.4.0-cp34-cp34m-manylinux1_x86_64.whl (5.4 MB view details)

Uploaded CPython 3.4m

grpcio-1.4.0-cp34-cp34m-manylinux1_i686.whl (5.0 MB view details)

Uploaded CPython 3.4m

grpcio-1.4.0-cp34-cp34m-macosx_10_7_intel.whl (1.5 MB view details)

Uploaded CPython 3.4m macOS 10.7+ intel

grpcio-1.4.0-cp34-cp34m-linux_armv7l.whl (4.9 MB view details)

Uploaded CPython 3.4m

grpcio-1.4.0-cp27-cp27mu-manylinux1_x86_64.whl (5.4 MB view details)

Uploaded CPython 2.7mu

grpcio-1.4.0-cp27-cp27mu-manylinux1_i686.whl (5.0 MB view details)

Uploaded CPython 2.7mu

grpcio-1.4.0-cp27-cp27mu-linux_armv7l.whl (4.9 MB view details)

Uploaded CPython 2.7mu

grpcio-1.4.0-cp27-cp27m-win_amd64.whl (1.1 MB view details)

Uploaded CPython 2.7m Windows x86-64

grpcio-1.4.0-cp27-cp27m-win32.whl (1.2 MB view details)

Uploaded CPython 2.7m Windows x86

grpcio-1.4.0-cp27-cp27m-manylinux1_x86_64.whl (5.4 MB view details)

Uploaded CPython 2.7m

grpcio-1.4.0-cp27-cp27m-manylinux1_i686.whl (5.0 MB view details)

Uploaded CPython 2.7m

grpcio-1.4.0-cp27-cp27m-macosx_10_10_intel.whl (1.5 MB view details)

Uploaded CPython 2.7m macOS 10.10+ intel

File details

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

File metadata

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

File hashes

Hashes for grpcio-1.4.0.tar.gz
Algorithm Hash digest
SHA256 a3a213a4c24b5c572b386d752e3b74a3f1b8fa5d03c07b6166fa39f3a6cdef34
MD5 d882ae4eeef4f32ac9c1d32052bf05ad
BLAKE2b-256 1b403e89d778c9a5a5a59bc6ef80c8f096ea8b9e02a30e163479d1501257b8a6

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for grpcio-1.4.0-cp36-cp36m-win_amd64.whl
Algorithm Hash digest
SHA256 ab4b5b9dd9f237bac54042670a99eed0f4424a094d51913a7d781623c93aa078
MD5 1169f31400e7c74bfd85dd6c555687b7
BLAKE2b-256 71754045cd8efa528511f72515fb94fc9b69ef430a53d134d90ab3a6d84e1848

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for grpcio-1.4.0-cp36-cp36m-win32.whl
Algorithm Hash digest
SHA256 f87da9782c7e7cee743c5bf0201f954c297b7e87b247153c0ece6005813ddee2
MD5 12ed027a96d1b59df6d8f38085120c39
BLAKE2b-256 6872482714a17308f9f5977c3b28776dc222743b7d5d71f47ba02a72406076ce

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for grpcio-1.4.0-cp36-cp36m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 ef6746dedf50c5825020ffbec155f48b3eeb3806da4363d49500d9d8dfa29c06
MD5 35dd8b2195cb9ccfb9e294c8f17711ad
BLAKE2b-256 2a91d82cba0a0f725d59c18641d58a5f3b41e930dfb007e8ca20756370c7d3cc

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for grpcio-1.4.0-cp36-cp36m-manylinux1_i686.whl
Algorithm Hash digest
SHA256 1196317f93caaab620a158ac548175c3f2cf7d46947a4868690b75de56dae248
MD5 bcf52bf6b6f4274f38eefa57c556c1c9
BLAKE2b-256 270f0086b0f73de326bfc58cf504a79dc1a1c53d9c85277a8d34bcbd31b1d15d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for grpcio-1.4.0-cp36-cp36m-macosx_10_7_intel.whl
Algorithm Hash digest
SHA256 5ea0f81f7f47d5024cf5ba38d0b78f17ec71951ad3061df337dee6ce24e22f5f
MD5 448f15c0f5131ad903ee3ec76fa2064d
BLAKE2b-256 2c505c62e55111a415e4de2ff37800d0ce5a692575309f2e7805fe6ed3932f33

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for grpcio-1.4.0-cp36-cp36m-linux_armv7l.whl
Algorithm Hash digest
SHA256 fb90dff383728238801eb88c03f740a32bc475fb0618aca25d58caabd9bac72f
MD5 4f3db270fd876a766cdbc5eae506fa53
BLAKE2b-256 65bf31019716066ae09f5085d8680277e866e85b9e46bb8c0a0eb553e6486feb

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for grpcio-1.4.0-cp35-cp35m-win_amd64.whl
Algorithm Hash digest
SHA256 54d558a3d17049d4f56a6438f2d5b275422af3df8b7c3146015a9af9671a63a0
MD5 f73c1a87bc5a970433f84109a2bcde1a
BLAKE2b-256 5ef304c52684ecdd84bf15400b647216c8d6f387bfb747fbea883ad09389eadd

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for grpcio-1.4.0-cp35-cp35m-win32.whl
Algorithm Hash digest
SHA256 1495ee356ca0da8ea2e586c39a732eb5121162b427ffc4520b65576d877436ec
MD5 cbb8b96a44775a70848df6298e10cf23
BLAKE2b-256 0d17f145f34c4487e07cfbe09eae191b1e8282c1e672fba66e7a13b84a54435a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for grpcio-1.4.0-cp35-cp35m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 f0f1809caa9edc811c018cfb855838d034fb65f6d34cb38eb097172c2e26542a
MD5 cd068917fb1f86fc308b6d4b85af3f78
BLAKE2b-256 de8c656788833f05b65ce2cbf8f44ed51a30ca19acb8950a8fc0855ef2e1972c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for grpcio-1.4.0-cp35-cp35m-manylinux1_i686.whl
Algorithm Hash digest
SHA256 85d09d46adfce3c80a036f5696a16308c3ca539ca077200a77d6ba9cd65ae8e3
MD5 d795ad853a882bf5f307e6985d2eee1f
BLAKE2b-256 5322b00f481fc0f8d0facfeaec73e0669ada768574093e831fc290ecbb39d30a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for grpcio-1.4.0-cp35-cp35m-macosx_10_7_intel.whl
Algorithm Hash digest
SHA256 69138ef46c30e58d50d1a2b9edbb153d039d13f27ade2bda2435011759ffd8df
MD5 ca7b329f1b1cb6ef7436c7320ee3c487
BLAKE2b-256 27f8494b8f078ee69fd6faa46f82f894022affdd7580709454d505b4e40819f2

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for grpcio-1.4.0-cp35-cp35m-linux_armv7l.whl
Algorithm Hash digest
SHA256 e7fb85e840290aedb0e49003e9defa9648e12d7e91a864ca28850832915eb276
MD5 cefb9f8ba9ed1d9ba8b7cf0618ba7395
BLAKE2b-256 9b6c598257f233b6871ad117778513f76b8c59d8a6e22d979b1a4df2fd7940b6

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for grpcio-1.4.0-cp34-cp34m-win_amd64.whl
Algorithm Hash digest
SHA256 aa6ea3ba14cdaea0f7f4f685d12225e0bc5539a49bd73799d8e5d3daea628f80
MD5 71c33a79c1b5e443c6ed4938968731a0
BLAKE2b-256 8dac957a87b6ae9991ba78a94588232556926b98a530f51c9b1b1ab4b36eac4f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for grpcio-1.4.0-cp34-cp34m-win32.whl
Algorithm Hash digest
SHA256 1485120d7a28900dbec45111bd0c7eccbf20392e024f3199cfa7de083eca4f34
MD5 91e2bdc1e732f746a5bce817c835b13f
BLAKE2b-256 1678dcb93847027966ec2cc1d342dbb1d849e2ed4f7d21b8a0c43adb7ff16b03

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for grpcio-1.4.0-cp34-cp34m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 a533d5151a0e9f0633985c0091a80ff46ad91a99698dfb493a2f011d9d9c39f9
MD5 634d6e7b5b3bb3ae5337393a8a7013ec
BLAKE2b-256 b8c5fb0bbf89dd647aa470041d2352f7ac1952d83c4d2da6f8533ddcd0b491ed

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for grpcio-1.4.0-cp34-cp34m-manylinux1_i686.whl
Algorithm Hash digest
SHA256 7713d4353a02fbe0c7a7fc015bf8649bf9b81ddaa5f208c11e147aee6f86e08a
MD5 5f28c93021180b712ee973c50d7878ea
BLAKE2b-256 0e1cae50251743029d93432064206cd1ac377f4cb43363b0d58dc46be5263a0a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for grpcio-1.4.0-cp34-cp34m-macosx_10_7_intel.whl
Algorithm Hash digest
SHA256 e223ac0d00a759303128bedf25e52f41b0c222749322f95fc1456a13d12476b2
MD5 fa78465d9fc8fd34bf260b5dcafa3cfa
BLAKE2b-256 bd21a210b99e5bf295c20f8d439cd3931d52cf2f697e04f374a9ab3aa8ce06aa

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for grpcio-1.4.0-cp34-cp34m-linux_armv7l.whl
Algorithm Hash digest
SHA256 87f5cdd8f1d04a33240d964b732f4febf2e32bbaad9f9de628d15f328e74ebb4
MD5 a3326abed53a801fb82a788e75aff4c2
BLAKE2b-256 2d51637974fcde7c6e73342c7f25b6acca1e928551347576cb6fcac5542af083

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for grpcio-1.4.0-cp27-cp27mu-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 436f27dc2ea0e3eaa0d14e0e2c2f2cd06b220bfa713501eaea03cf0e67500122
MD5 deb2634935ce5b05e21e60615b9d7258
BLAKE2b-256 b5a8a60298b70fbba8704f2c4a308baafdb6246bdb8b24c4d6f2de7d1ba23fec

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for grpcio-1.4.0-cp27-cp27mu-manylinux1_i686.whl
Algorithm Hash digest
SHA256 af603f470b2fcd21150e5aeb23f2986d5d45ad53450851304bbc48af3d16f6b1
MD5 b071ec5268b1ad9478f36113ecb56bd5
BLAKE2b-256 a3eba33b0b65f65d0aceb36afc24d32c09159f164297174b459755d55142c1fd

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for grpcio-1.4.0-cp27-cp27mu-linux_armv7l.whl
Algorithm Hash digest
SHA256 e390091f7114a1b3ba168388db306a98ba0c81e0f63261b1fccf8b1fc6fc0ebf
MD5 3608b56cd6f801793ad556fd2e03600c
BLAKE2b-256 025f33d279cab98f1ef81cd0817fc0b3326e832e583c4047b46f4943d34ba168

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for grpcio-1.4.0-cp27-cp27m-win_amd64.whl
Algorithm Hash digest
SHA256 3e956e76b8afc5ec99ac9188cf23f925f67dff07ecb2e35cd0c1381e269c0697
MD5 528033e1d6804ae350d5481667c082c0
BLAKE2b-256 9c96d78c7a8ce9a05e6aa532d0817dcf8d56f137a26801ee4f70086be34ceace

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for grpcio-1.4.0-cp27-cp27m-win32.whl
Algorithm Hash digest
SHA256 6b9a4c43715d8ced9a617027ce2f38d60c71ff87008ad785d5d6e47659e63f71
MD5 a229f0f2eb1e23a9f53e45789413c245
BLAKE2b-256 da148d16d81400a342e11696280b78e70afcfbfca25bb2d6851876591bcd7c82

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for grpcio-1.4.0-cp27-cp27m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 2ab26ed2fbaa6292675a260307a5502e4526236c6d3fb282e4e88d8dc1cddcf6
MD5 8f02f79856081b2b9821f9a17a946bbd
BLAKE2b-256 974afa03a5d3ecc23cd24c34fe6a4e24848163b3421c95f8dc16925965635775

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for grpcio-1.4.0-cp27-cp27m-manylinux1_i686.whl
Algorithm Hash digest
SHA256 64df70124bed169f7fc595803c30bbb1edc8d87a237383f9c68bf835b2f25670
MD5 999aae3e5ca45cbc4fa4da0bedaca384
BLAKE2b-256 8c067ce03228f9ce22c9035c4c759d0c247afc34d3b43b4c6114701f05ffed4f

See more details on using hashes here.

File details

Details for the file grpcio-1.4.0-cp27-cp27m-macosx_10_10_intel.whl.

File metadata

File hashes

Hashes for grpcio-1.4.0-cp27-cp27m-macosx_10_10_intel.whl
Algorithm Hash digest
SHA256 2e58cd6c4d6e557ec223971364b45c49a44fc9d42e579b92678b5f2d50cf7876
MD5 62773a514ee3a0fd9b0bf852211a96c6
BLAKE2b-256 8dde1508b43e849eaca91aaabcc577a27bfb224295c823c5ae99fce5da0449f4

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