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

This version

1.7.3

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.7.3.tar.gz (10.0 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.7.3-cp36-cp36m-win_amd64.whl (1.2 MB view details)

Uploaded CPython 3.6mWindows x86-64

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

Uploaded CPython 3.6mWindows x86

grpcio-1.7.3-cp36-cp36m-manylinux1_x86_64.whl (5.8 MB view details)

Uploaded CPython 3.6m

grpcio-1.7.3-cp36-cp36m-manylinux1_i686.whl (5.4 MB view details)

Uploaded CPython 3.6m

grpcio-1.7.3-cp36-cp36m-macosx_10_7_intel.whl (1.6 MB view details)

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

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

Uploaded CPython 3.5mWindows x86-64

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

Uploaded CPython 3.5mWindows x86

grpcio-1.7.3-cp35-cp35m-manylinux1_x86_64.whl (5.8 MB view details)

Uploaded CPython 3.5m

grpcio-1.7.3-cp35-cp35m-manylinux1_i686.whl (5.4 MB view details)

Uploaded CPython 3.5m

grpcio-1.7.3-cp35-cp35m-macosx_10_7_intel.whl (1.6 MB view details)

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

grpcio-1.7.3-cp34-cp34m-win_amd64.whl (1.2 MB view details)

Uploaded CPython 3.4mWindows x86-64

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

Uploaded CPython 3.4mWindows x86

grpcio-1.7.3-cp34-cp34m-manylinux1_x86_64.whl (5.8 MB view details)

Uploaded CPython 3.4m

grpcio-1.7.3-cp34-cp34m-manylinux1_i686.whl (5.4 MB view details)

Uploaded CPython 3.4m

grpcio-1.7.3-cp34-cp34m-macosx_10_7_intel.whl (1.6 MB view details)

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

grpcio-1.7.3-cp27-cp27mu-manylinux1_x86_64.whl (5.8 MB view details)

Uploaded CPython 2.7mu

grpcio-1.7.3-cp27-cp27mu-manylinux1_i686.whl (5.3 MB view details)

Uploaded CPython 2.7mu

grpcio-1.7.3-cp27-cp27m-win_amd64.whl (1.2 MB view details)

Uploaded CPython 2.7mWindows x86-64

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

Uploaded CPython 2.7mWindows x86

grpcio-1.7.3-cp27-cp27m-manylinux1_x86_64.whl (5.8 MB view details)

Uploaded CPython 2.7m

grpcio-1.7.3-cp27-cp27m-manylinux1_i686.whl (5.3 MB view details)

Uploaded CPython 2.7m

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

Uploaded CPython 2.7mmacOS 10.10+ Intel (x86-64, i386)

File details

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

File metadata

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

File hashes

Hashes for grpcio-1.7.3.tar.gz
Algorithm Hash digest
SHA256 865a5a329693b55f0b782fb7a1e93b02266dbdf689b90344f74db82a83ec79f2
MD5 79daee4d91d67aa11ccf8282862fae8e
BLAKE2b-256 197d3fb207709c79d4541f3e8007f944e66b40ae9b6b722d7a283859cda2d67a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for grpcio-1.7.3-cp36-cp36m-win_amd64.whl
Algorithm Hash digest
SHA256 0fbe376d7c8ec6bb00aa9a6a7f10bad7b6824668acaa6e167e954a380efff0ba
MD5 a14ba15f08aaa378a527ed7f5cff73fb
BLAKE2b-256 b245166684bb1da1e341c229c8e0666b99e300313a4192e37939ff9640053701

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for grpcio-1.7.3-cp36-cp36m-win32.whl
Algorithm Hash digest
SHA256 83e9b556da2402f56995a4e03c8bbf5c7e910c72ada3bf3e9b56b6e00d923b2b
MD5 e3835444c417b41e8f33cd10a096c4f1
BLAKE2b-256 52d502d55d94a81e522d384fecefc66f477ce8e86c85cba22fe2949c4543f8c8

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for grpcio-1.7.3-cp36-cp36m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 5547b3c304b1e4be5cfe0978b713f34d645f6b2fe07ec4011b6e0d82962e011a
MD5 7ad7bdbdc892838ea622a111e89ac21d
BLAKE2b-256 06cb2c20e8a85364376191e30f852e6d924c5f618d9a66ac23e6d74a4d2024e9

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for grpcio-1.7.3-cp36-cp36m-manylinux1_i686.whl
Algorithm Hash digest
SHA256 aec8702d35cfcaf82cb3f442527e774fbd67795fd1bb993cd89545ba6732a3a3
MD5 703f2b2acf7eadc0a56aa0149ca5ae73
BLAKE2b-256 bf1045239f2039dc644b294ea4c7e107871e8c13a2cc8e73a7f2040fb00d04c3

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for grpcio-1.7.3-cp36-cp36m-macosx_10_7_intel.whl
Algorithm Hash digest
SHA256 405d2e5c546b883d3159b5c91a22fc7432f97e216361cc0fd575456242bb7d30
MD5 fbcd427b4edecd558ca5def6829560f7
BLAKE2b-256 7eb36dc878606c947eef1b4dc024ea4b532413bfc7b90e0a83105222be6f06fa

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for grpcio-1.7.3-cp35-cp35m-win_amd64.whl
Algorithm Hash digest
SHA256 5a22c42507673d0e1ce9d01766982548943a195974bfadf84f7f5b78f4b0f453
MD5 f0f780ac6d3dc86137f324fca9aa6e58
BLAKE2b-256 02b0c1cd7f9014cdbb0f01ad9c40a553ac7874c092fc307ab34c5cae6860057f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for grpcio-1.7.3-cp35-cp35m-win32.whl
Algorithm Hash digest
SHA256 4ed446f7928adbde0205bb0c8d0244134f5614c4f6db42853d5493ad5ce49e58
MD5 88f6df5421df54220f094bfe63913fd6
BLAKE2b-256 a4d9a95a0ccd67f086d905271eb08c267d1a3bdfb7971ed02794af31ee58b64a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for grpcio-1.7.3-cp35-cp35m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 a3fc87dab47911338c8dbe2bb9fb347a02164464d298f3e3def8cc8945da6a27
MD5 a377e079dea183f0e2652b08aa55de7b
BLAKE2b-256 d384033831e7cf1c49e41c3afe1db0c547e27e162270e1f3ce20107853f26966

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for grpcio-1.7.3-cp35-cp35m-manylinux1_i686.whl
Algorithm Hash digest
SHA256 28807f7ba3bf776dc783937c15299eef5f359f97e6e8e5418a87fcbcad860efe
MD5 483f67bf0b572045a5b01928ba5f15e5
BLAKE2b-256 7143ed6383ef95e5b9d346095dfeb35cfdc17e50b1168b11f64dbdd2fc16544f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for grpcio-1.7.3-cp35-cp35m-macosx_10_7_intel.whl
Algorithm Hash digest
SHA256 6cc5496af423b357b0e7e6a4103ecd606988f893555f55184c51dafdc291aae7
MD5 021ce66c95890275603474f74954ddce
BLAKE2b-256 9e6dbf49b922fd0809929a22bc1868d1272028ec45e8d2802364445e16697bf1

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for grpcio-1.7.3-cp34-cp34m-win_amd64.whl
Algorithm Hash digest
SHA256 0dd362fdd93bb98334c7ac32436bb49cd6d8b671e8604f89169cc608e7f371f5
MD5 44b576963e0509c6dd7263978ad0ffc4
BLAKE2b-256 06f69196c59b6c658fc3dab0adaad8a46afb8c3758a94369e717dc0d52ac730d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for grpcio-1.7.3-cp34-cp34m-win32.whl
Algorithm Hash digest
SHA256 81c7583d5194946821b59e13f460da88256cd1e3aed56d54fafba7fdcfe402d6
MD5 73140100eed3d0263c923d0678c54a5d
BLAKE2b-256 02828e19024720fd0d172293b5487ab74bf34010bb0da234719d130c6573a99b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for grpcio-1.7.3-cp34-cp34m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 61aac9b15b6af5551ae65b1c38d6d11293e594bcab5ee59d472088ccdd966e2c
MD5 694b2f02da652d8a8f6ac6d8249c47c7
BLAKE2b-256 7f82ef1c709b9d948b25ad0e74c568cc0b7e3cb276a9ffcf0b5f2a83c8acd3ce

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for grpcio-1.7.3-cp34-cp34m-manylinux1_i686.whl
Algorithm Hash digest
SHA256 cff714defa932fe2de59d5c6df6926a9469928eef7138d02accbfeb343ec2409
MD5 90ba979473c50116dd8b9a357b3e1c51
BLAKE2b-256 c1c6f7aad18a513c587c9c2e8e7fe5e0baf68cbefadad2c379f3abfd489f5e67

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for grpcio-1.7.3-cp34-cp34m-macosx_10_7_intel.whl
Algorithm Hash digest
SHA256 a12650e8c1acbd9010067f489ea76d7fbfd374336b818accad1d8710f897c515
MD5 3e2073e00825036c239f4c9d37f74516
BLAKE2b-256 bea22ca35a9d11bac7fb51dd66e35ac8174e7f8237e20d7e51ef39ee4c9d6df3

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for grpcio-1.7.3-cp27-cp27mu-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 07c97cfe66e100c0227d209fa9aeb7c039f58a10fe24575c4269d09cde0861dc
MD5 303c010d91055b31d88839184de057d6
BLAKE2b-256 347ef76a9508d24ad65f20528850c5682d71dbd26209df1b37331c26afe259c6

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for grpcio-1.7.3-cp27-cp27mu-manylinux1_i686.whl
Algorithm Hash digest
SHA256 60d152700d513aad2f5469504225e84dd188599709a3b7caea230e9773025a4a
MD5 bda9b29c6b9f3164e024c69f5453f709
BLAKE2b-256 75c3ec697e3b1c3437f8a37b26b0832b76f8180e11eb3dcfb2c546f4a2e4cbda

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for grpcio-1.7.3-cp27-cp27m-win_amd64.whl
Algorithm Hash digest
SHA256 b67fb10d302dc8578336aaab91fa5c7e7e3e0cd83da0ad8dd8e62d2bd9a7dc84
MD5 36fbe20e7432757b13bd8cb713b95569
BLAKE2b-256 4f2b33bd1336f9ea194e8fa181b8640211dd705aeaf91d5d2545b51c2db14306

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for grpcio-1.7.3-cp27-cp27m-win32.whl
Algorithm Hash digest
SHA256 a2838c19b096e2226285a9898565987db36c1345dac623ad98ac98c602764a8b
MD5 98c65aaabb8adfe3724de9775ce632bf
BLAKE2b-256 0a1922bdcea70c4ec1ec027abfe50c4db3e3f22d2d9a1cbcf8e4fb7265875628

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for grpcio-1.7.3-cp27-cp27m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 bce4597b7912df666d01085bf8b78e627ab0a673252899698edfeb97ae282144
MD5 5a4e07fce66eb96ce119b96ea0dde29e
BLAKE2b-256 95e3626804afef42333ac5e30b4d7bec905e34de80864b1869a38172a8f0766e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for grpcio-1.7.3-cp27-cp27m-manylinux1_i686.whl
Algorithm Hash digest
SHA256 786bdf936070ae5d27e67257efb5cd257581987fbc6fa9b339c8feedfab8f0d9
MD5 746363836bbae172e032966dbfa2fa3b
BLAKE2b-256 8de0945585d1abc3f7b4edcc36136e50f6325007f1a7ae4cc95f3db73dd3de0c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for grpcio-1.7.3-cp27-cp27m-macosx_10_10_intel.whl
Algorithm Hash digest
SHA256 ec00e186d6db07ce5efdacc3a3eab1697434c6a557cc840f1cf2af9ae77761b7
MD5 d406cbb5cc180dee470839567170fdc9
BLAKE2b-256 30b2c1756b52265e85193c213769e0f78e6cea4fde8d7ea3b67a9e7746a6aa0c

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