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

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.8.6.tar.gz (10.0 MB view details)

Uploaded Source

Built Distributions

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

Uploaded CPython 3.6mWindows x86-64

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

Uploaded CPython 3.6mWindows x86

grpcio-1.8.6-cp36-cp36m-manylinux1_x86_64.whl (6.0 MB view details)

Uploaded CPython 3.6m

grpcio-1.8.6-cp36-cp36m-manylinux1_i686.whl (5.6 MB view details)

Uploaded CPython 3.6m

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

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

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

Uploaded CPython 3.5mWindows x86-64

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

Uploaded CPython 3.5mWindows x86

grpcio-1.8.6-cp35-cp35m-manylinux1_x86_64.whl (6.0 MB view details)

Uploaded CPython 3.5m

grpcio-1.8.6-cp35-cp35m-manylinux1_i686.whl (5.6 MB view details)

Uploaded CPython 3.5m

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

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

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

Uploaded CPython 3.4mWindows x86-64

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

Uploaded CPython 3.4mWindows x86

grpcio-1.8.6-cp34-cp34m-manylinux1_x86_64.whl (6.0 MB view details)

Uploaded CPython 3.4m

grpcio-1.8.6-cp34-cp34m-manylinux1_i686.whl (5.6 MB view details)

Uploaded CPython 3.4m

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

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

grpcio-1.8.6-cp27-cp27mu-manylinux1_x86_64.whl (6.0 MB view details)

Uploaded CPython 2.7mu

grpcio-1.8.6-cp27-cp27mu-manylinux1_i686.whl (5.5 MB view details)

Uploaded CPython 2.7mu

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

Uploaded CPython 2.7mWindows x86-64

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

Uploaded CPython 2.7mWindows x86

grpcio-1.8.6-cp27-cp27m-manylinux1_x86_64.whl (6.0 MB view details)

Uploaded CPython 2.7m

grpcio-1.8.6-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.8.6.tar.gz.

File metadata

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

File hashes

Hashes for grpcio-1.8.6.tar.gz
Algorithm Hash digest
SHA256 6c6f56d3e8934320120b99b147de4bf8837ead2847464365534617c8c7ead3ed
MD5 a69ddd2974958e09fd8bb459cc46a6ff
BLAKE2b-256 b14a2486d8af1c64757459e08b25ae8295d45d447257fb05f6758d48c79c0a73

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for grpcio-1.8.6-cp36-cp36m-win_amd64.whl
Algorithm Hash digest
SHA256 8a4a8b0d9d7645feaf25f846428363cf62c6889f2dc4189cd67df4bd7c64adfc
MD5 08c978de82b1961f653dad0edceb9a66
BLAKE2b-256 cedbe3a5f13027b0b6a15b4f44add98e123cbeae4bc1e82fcca5ef071db95184

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for grpcio-1.8.6-cp36-cp36m-win32.whl
Algorithm Hash digest
SHA256 36997396664abc9edd5a289fcd810333015e490e0d73a602c705e6476e223e92
MD5 ebaf48ffcb939ce28679f2d93c7092b0
BLAKE2b-256 c8d79b6fc798b9471e0ef1c9221e529ff9268fa8958a8de07183415f24cffda1

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for grpcio-1.8.6-cp36-cp36m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 0e0d2769efa179753e2f79c5d7cc462fa6bb39429633af75c286c7a3bb4de398
MD5 69787f41e6280f6f6b5b2aa001a70988
BLAKE2b-256 deb3c1744b5a8d7a4f2ebefc488b05bf2f0c634d2d57647cca95de5cf44ce710

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for grpcio-1.8.6-cp36-cp36m-manylinux1_i686.whl
Algorithm Hash digest
SHA256 adc2e52bb32ff9636f313692eca736ad15b8ce4d68c55d799a10180f5b4e5cbc
MD5 40aedbb0f71968a056d25f9bff8ee5f9
BLAKE2b-256 3d5aa7358fca58e6378dfbeaaa96222416a5eab245a58af89b85a5dead0b277b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for grpcio-1.8.6-cp36-cp36m-macosx_10_7_intel.whl
Algorithm Hash digest
SHA256 b49e00c6bd5044cd09ad7d616e267f98e3fad954572c312f3894184c089fdf11
MD5 3923893538d2ec06a9b2b20679af95de
BLAKE2b-256 46e26b69980a0b712fea676c5785c98b4a5b31e8b9da07ab6756e612402c0749

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for grpcio-1.8.6-cp35-cp35m-win_amd64.whl
Algorithm Hash digest
SHA256 ff01cb2a1e7b0cf61555173f3b4060d24366ab4429da04d2b26c262a5547c79c
MD5 a19651fa0f5c01ab67ede0e0733b9d52
BLAKE2b-256 47837eed3d821d57b1de63994d4fd71be8ceddf189230510b9136cc40972435a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for grpcio-1.8.6-cp35-cp35m-win32.whl
Algorithm Hash digest
SHA256 43ce64ef7c2b46f2eb0e600f1961958dd53e4fd11dbd3d26b0179a9e327a6849
MD5 173d916be0c4aed87b98f0ae7488426a
BLAKE2b-256 51bb8d0fab1210da9a64e37d6ffc98210804540a40eec15452afe720279cafb9

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for grpcio-1.8.6-cp35-cp35m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 1f34343ceef731ab3f6cc1e02599559b4432efa79c0b3588ab62253d6940908d
MD5 ed162043bb3be0d74095a0a3938faaee
BLAKE2b-256 7ac1ca8d56018aeac657032892eef90c4a02561d997e6442fae288f06db5a254

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for grpcio-1.8.6-cp35-cp35m-manylinux1_i686.whl
Algorithm Hash digest
SHA256 0e7ad4dee36ba09a5494a77e1a8b2e87d20a7990647220fa6e29acece3fb2f71
MD5 7d18d0e3c1425e093c4e433801199c66
BLAKE2b-256 ddea9cd13432adae90beb7ecfd160b0ab92edcadb4162a521e12cef905df3e4f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for grpcio-1.8.6-cp35-cp35m-macosx_10_7_intel.whl
Algorithm Hash digest
SHA256 ea3c303dc57f4c56e40f3a0e418c6f52585c3edfd13debc8415f5f2ea737d0fb
MD5 64caf7156929f0933eb84be3ba031889
BLAKE2b-256 f52ed860d7fa1cabbfbcd644a32c01fbbb2c8849a9ca65745b70d55212f39cb9

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for grpcio-1.8.6-cp34-cp34m-win_amd64.whl
Algorithm Hash digest
SHA256 7670b103c5c273e8e6badd84f5a6207ca6c485042f71f7ec65f321bd60574bf7
MD5 ed3dca2d3bf9495acacc031074e9edf6
BLAKE2b-256 c699eccf7e609c2892677572d5c3b71f60eefa7bff2dc56ec4e1b77eb48292f7

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for grpcio-1.8.6-cp34-cp34m-win32.whl
Algorithm Hash digest
SHA256 ff51ed44b2d3cc5ac0c85db80da779128b0e097d1d30a8e18ccde9388f65e7e8
MD5 0f3c902ef9fc7eea67c2164d8bda1dc9
BLAKE2b-256 979e3670bfa29bf1be29d93e17626b6373a884ff9984c265a508f69ccf7f967e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for grpcio-1.8.6-cp34-cp34m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 ecf94b4d660d3589d3d4f85c32c759704763818b9e7c751c3de5028878a79b5c
MD5 da64391d9c1c287b20dc8e2defda897a
BLAKE2b-256 5a2180a0988cc741248dae95f6629b824b7471cb0151530077a973da3cd372f5

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for grpcio-1.8.6-cp34-cp34m-manylinux1_i686.whl
Algorithm Hash digest
SHA256 29b8328197240748aa6273689cad0b67626dc47a32c910ba31cb98e49a9f245a
MD5 3a7109a111106012f598c2235106cb06
BLAKE2b-256 9952c53c8042c0de106fda6692f7618076d61e54d0bc7f3b8a026e5b18dc7b0e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for grpcio-1.8.6-cp34-cp34m-macosx_10_7_intel.whl
Algorithm Hash digest
SHA256 442e50ab958c0fbaa34727ee6a9cc102bb1496632374259c1169d09308837dad
MD5 fcb2f92ae44707f5c9cdabdaa465f07d
BLAKE2b-256 b2c1fefb9d744bfbf7113dc0cf113191c2436aad88b4195e8f608ac4a8004881

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for grpcio-1.8.6-cp27-cp27mu-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 f271540008500e877cbcdf794a636ca23b443f7d0109ef15af4c5df37faf461c
MD5 871ef7c057fb0388a4d6f5a6711aab4d
BLAKE2b-256 5a65ba4c484cbaa2a42e514520a3db3c150689b25dfd30d5d8dae00691cf736b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for grpcio-1.8.6-cp27-cp27mu-manylinux1_i686.whl
Algorithm Hash digest
SHA256 691779375144e498ed0eb2c2e4f407bb0d0224eaa4a30b5fb72312e64108ca9f
MD5 e7af69992d26747a7749175df7d80566
BLAKE2b-256 79a39a015ff06c58a1177ed5ae40948ad6b0faa03502a6aca1f47fe6a2b1f76d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for grpcio-1.8.6-cp27-cp27m-win_amd64.whl
Algorithm Hash digest
SHA256 57ecdb9c43ea289a1bd6e4512b6e20fdaa457dde48c1c48ba698b919b99d8243
MD5 e972b17d4b2fdd739fce61049a54714a
BLAKE2b-256 13147dc447e3abf97e8b56a95fbd6d06f0867dfe68f8b1373b709862a50a5cf9

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for grpcio-1.8.6-cp27-cp27m-win32.whl
Algorithm Hash digest
SHA256 64d69e0ce7a5c3380350c2eba84586f7a93036ceebf48e6415a92603467b0ca4
MD5 c6dced4fa60f033dca3722440f065a61
BLAKE2b-256 bd1e0efacf961efe2bb819dff4fb26fca358e6bc7713b3cd8911a662735983d5

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for grpcio-1.8.6-cp27-cp27m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 f76b7635144a404caf6effd3c51dd7bc2a1a62adaa4bb8d7293b9e315dad5b4c
MD5 651c43142cc9707e372f8cd46a61eaa4
BLAKE2b-256 e047a2e0fe20baabc598f5bc39ce4ffea2c08f2acc2ab447c3ffcc1b7fab3c04

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for grpcio-1.8.6-cp27-cp27m-macosx_10_10_intel.whl
Algorithm Hash digest
SHA256 a30ee70f4abe59b8318bfa90d48a8eb1806b2ce09a37cdc202b36834cec553d0
MD5 8ed4cf734de4d8b257e4416d35670014
BLAKE2b-256 038ccc94c01352a351da9eeac440e069e2b0029f195cea3fcc2b8edce2250115

See more details on using hashes here.

Supported by

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