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.9.0

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

Uploaded Source

Built Distributions

grpcio-1.9.0-cp36-cp36m-win_amd64.whl (1.3 MB view details)

Uploaded CPython 3.6m Windows x86-64

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

Uploaded CPython 3.6m Windows x86

grpcio-1.9.0-cp36-cp36m-manylinux1_x86_64.whl (6.3 MB view details)

Uploaded CPython 3.6m

grpcio-1.9.0-cp36-cp36m-manylinux1_i686.whl (5.9 MB view details)

Uploaded CPython 3.6m

grpcio-1.9.0-cp36-cp36m-macosx_10_7_intel.whl (1.7 MB view details)

Uploaded CPython 3.6m macOS 10.7+ intel

grpcio-1.9.0-cp35-cp35m-win_amd64.whl (1.3 MB view details)

Uploaded CPython 3.5m Windows x86-64

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

Uploaded CPython 3.5m Windows x86

grpcio-1.9.0-cp35-cp35m-manylinux1_x86_64.whl (6.3 MB view details)

Uploaded CPython 3.5m

grpcio-1.9.0-cp35-cp35m-manylinux1_i686.whl (5.9 MB view details)

Uploaded CPython 3.5m

grpcio-1.9.0-cp35-cp35m-macosx_10_7_intel.whl (1.7 MB view details)

Uploaded CPython 3.5m macOS 10.7+ intel

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

Uploaded CPython 3.4m Windows x86-64

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

Uploaded CPython 3.4m Windows x86

grpcio-1.9.0-cp34-cp34m-manylinux1_x86_64.whl (6.3 MB view details)

Uploaded CPython 3.4m

grpcio-1.9.0-cp34-cp34m-manylinux1_i686.whl (5.9 MB view details)

Uploaded CPython 3.4m

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

Uploaded CPython 3.4m macOS 10.7+ intel

grpcio-1.9.0-cp27-cp27mu-manylinux1_x86_64.whl (6.3 MB view details)

Uploaded CPython 2.7mu

grpcio-1.9.0-cp27-cp27mu-manylinux1_i686.whl (5.8 MB view details)

Uploaded CPython 2.7mu

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

Uploaded CPython 2.7m Windows x86-64

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

Uploaded CPython 2.7m Windows x86

grpcio-1.9.0-cp27-cp27m-manylinux1_x86_64.whl (6.3 MB view details)

Uploaded CPython 2.7m

grpcio-1.9.0-cp27-cp27m-manylinux1_i686.whl (5.8 MB view details)

Uploaded CPython 2.7m

grpcio-1.9.0-cp27-cp27m-macosx_10_10_intel.whl (1.6 MB view details)

Uploaded CPython 2.7m macOS 10.10+ intel

File details

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

File metadata

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

File hashes

Hashes for grpcio-1.9.0.tar.gz
Algorithm Hash digest
SHA256 b61d3a7c45aa08f15dfa735a6a8282b5097be91ff36ad347594d3945ffc12181
MD5 2d9a95fffda3d2592a91195673091a3f
BLAKE2b-256 98a7ed04cac8175cbec56cf08da37b54a3d482021dc5a8fc180308e50c4a604c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for grpcio-1.9.0-cp36-cp36m-win_amd64.whl
Algorithm Hash digest
SHA256 13bfbad5ec3fb5af27e498a152023c1907f2e0a019d64874247e3c8e98c084a3
MD5 29fcee50019459f78e1c90864ab5d5ce
BLAKE2b-256 3cc746b6fa6b9317b4f73216ed9f5a2175a2c2e5cfa9debc705ba2927bca55c6

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for grpcio-1.9.0-cp36-cp36m-win32.whl
Algorithm Hash digest
SHA256 62348ee3fbf6c9adb8962be93a67515ab9117d3889c5b3c14410ddbd0ade70d9
MD5 c0cac1f4d23686b66aa3fc33842f4f99
BLAKE2b-256 0fd2a7311d9fe24051f78ab51b6512e44d9e07524a70fab775708b3e94963a1f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for grpcio-1.9.0-cp36-cp36m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 bcaad8468c54f999734ccabc2cb20bf0cd3db2b71443b31f1f6873868d9b6f95
MD5 d4f3a0023577d2b29b47c88cfef78d11
BLAKE2b-256 b62e0fee0d40dab60f26d9251f1b1870031fe8ed5dcb217110f386745880493f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for grpcio-1.9.0-cp36-cp36m-manylinux1_i686.whl
Algorithm Hash digest
SHA256 69e30516bd077f7c71a368f8b7acbeeac59994a7c5b8ce4ba150961a13d748a8
MD5 bba9ad5995aa76c377908da2c02ca703
BLAKE2b-256 cde71c97085ba927d4721e2f5440aadf672dd74abd6c1bd107f16b3e81d4ffb0

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for grpcio-1.9.0-cp36-cp36m-macosx_10_7_intel.whl
Algorithm Hash digest
SHA256 57a1bae9aea706167a3caaff8141fbdd97874eca85a310b2b63d8f0514435a74
MD5 ca922658299fc88aaed53fa79ed933cc
BLAKE2b-256 e5d7b0d32ffd36ba0652c027e03473a872545b7b3580eeddc32f7e197c33762a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for grpcio-1.9.0-cp35-cp35m-win_amd64.whl
Algorithm Hash digest
SHA256 5dda97279f89ea3f1a59da314064da86fd7d4ae26fe6642765ee9418c41e306e
MD5 819ace665164aca5fb681e9d3670605b
BLAKE2b-256 9b3bc5fbba6161543d0cbc4efeb28164bc247515ce7d5654cedcad1e47cf93a4

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for grpcio-1.9.0-cp35-cp35m-win32.whl
Algorithm Hash digest
SHA256 fa962573a2dce6eae0c6661f9e3e2e5dfdfe39a82ef87ce63e54ee50fed41242
MD5 5e842687c1439329b03781eb4224e2e8
BLAKE2b-256 d98f8c1d303f7f5e68f61f2d09a62c6b3613bddbcf97151157b79c4d49efe1d0

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for grpcio-1.9.0-cp35-cp35m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 1c5d81bc5f9f7c48cd1855e7faef4938bc3864fa86c9ee96960728d29396fd95
MD5 c10f247992d7cd6027d63991df60b73a
BLAKE2b-256 14d7c67162dda37f5a669b62b915d2f5f3dfd3b85605a6f72e733abbbf663a9d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for grpcio-1.9.0-cp35-cp35m-manylinux1_i686.whl
Algorithm Hash digest
SHA256 d25ddada30b6aadd68d25aa03a33e80c33765814b285e84764d8e81c043d7a5a
MD5 d910ac63a67d654d530debb7951a5b4d
BLAKE2b-256 dd16fece43671fc4280d13f8077ca59fce08483c9cd408235867aafbb932424f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for grpcio-1.9.0-cp35-cp35m-macosx_10_7_intel.whl
Algorithm Hash digest
SHA256 0ab865bb54db1130d9dd50c6dcbd1750420b662904c1b2f63410c9a5b7f48a1f
MD5 74e5a27231e10e042d78567c4ae59e18
BLAKE2b-256 c2801d4a938b5c559ca11ff6a0d90531a61b69951f602c9aa09681d17a180bdc

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for grpcio-1.9.0-cp34-cp34m-win_amd64.whl
Algorithm Hash digest
SHA256 9c27cb8c4505eb397a76da2c0f822d13b949689027ebdde166aeb653b9b9d508
MD5 1d0093d5c75ec2eb9940ab0415294cc8
BLAKE2b-256 78aebbeb33addcda2073ba1896696501f1280f732e2dd86a68efd30849b2e68c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for grpcio-1.9.0-cp34-cp34m-win32.whl
Algorithm Hash digest
SHA256 2dc81180600b383f0277ae829203c7ad60bea4c07eabebe2bbadddf0da005978
MD5 75bee5dfb074cc18a6bd4b5c657457d3
BLAKE2b-256 7f26be4ef8172568b0dfebc2398163df819adcb035b489c83395c557337234a6

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for grpcio-1.9.0-cp34-cp34m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 f9a31ddc4ee2e36fbd6a0f42a26e53878edc09f2aa7d65729a403366d907cb7a
MD5 ae5f2d3a55a7381e9d99a398aaa0a8bc
BLAKE2b-256 901c7b28067508353edccf265f4d0a3ee6cd86e560b17d3b8a2f81ff784216dd

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for grpcio-1.9.0-cp34-cp34m-manylinux1_i686.whl
Algorithm Hash digest
SHA256 1f5070a4a99dd31a59315ed33e7cba31b94c059e8760d4f98c235de70fdef4df
MD5 1ea2c5d64632365561cd628dfd737ae7
BLAKE2b-256 bf3c0d96c7a4fa063b48775ffcbee90f3ab4d2909e7a3dd96bd10e897bcec8cc

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for grpcio-1.9.0-cp34-cp34m-macosx_10_7_intel.whl
Algorithm Hash digest
SHA256 ee1a117538f65a2503d036908b064e0097fb7c7a80a0baee0d2cb8787ed4c992
MD5 4c820451180a7ff6e2289bced057a1ca
BLAKE2b-256 35a55e699cd7d542a18b0cfa529381850a3c0a686cd4a4380ff95c4057185f65

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for grpcio-1.9.0-cp27-cp27mu-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 731850bf53cf24461df3402168bad5d56c32bb15d3b2f55ee24cff0bb9e149a7
MD5 5e3e124bffb5610ca20b65262fe397bd
BLAKE2b-256 613ae3de602498f6ca8546373517f7eef49ee4a0078a74963acecfd82b50902d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for grpcio-1.9.0-cp27-cp27mu-manylinux1_i686.whl
Algorithm Hash digest
SHA256 6f8a738e4a9011911b95a429387e22101e5155e5de6c455f33114887d501b763
MD5 331c8ac7739deae554738dc3cf6ea05f
BLAKE2b-256 0db45e7419509b792aa26c8bc81fa8accd8074cc6ba98de18d68b30c973b8258

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for grpcio-1.9.0-cp27-cp27m-win_amd64.whl
Algorithm Hash digest
SHA256 38e3ff46413b7bc03a97588074ca7549ed422488e1ddc146e9ada90bf1727a0b
MD5 41b87409c4ccd58404d4b8e91ea0d11f
BLAKE2b-256 25d42ba258fc94ee87beebd61c153e75a83733bb196947c8b6b3f041e3b97353

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for grpcio-1.9.0-cp27-cp27m-win32.whl
Algorithm Hash digest
SHA256 c74d971557ef4ba503cd498a5dd8f581f997192da3b9613ac927117a286a7c8d
MD5 7976f41779dfefb17091ca1a93f01169
BLAKE2b-256 edd2b62fd54053135cd4c574d2eefc440d2d1c7d1193fa0b03f6a201bc38525d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for grpcio-1.9.0-cp27-cp27m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 93c95628c5e83f168797d237c703ed3fc83343a70c2124445a8e3b6065a496ae
MD5 8c67208f4fbe9db2fccd546a221e7585
BLAKE2b-256 246c904f4cf744211a884a7c595933a1b8cd41ce5820f9c1c1657c8338b38578

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for grpcio-1.9.0-cp27-cp27m-manylinux1_i686.whl
Algorithm Hash digest
SHA256 f3fb5b2cdc2790bb92f4f6c750f91b6b33b400cded44b8c9696efb898e671b7e
MD5 8746d36461aa5a1b9ffce95c9ea40712
BLAKE2b-256 ee5cad0b8aaa09dca004f5bcea60026318383332c9dced38b2f65e195d4921c1

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for grpcio-1.9.0-cp27-cp27m-macosx_10_10_intel.whl
Algorithm Hash digest
SHA256 49aeff3e370d97b0e007c294504afcd39cff082b8edc772788d10179e65d6ca2
MD5 eacb428014e43ba46b58a6355bb74b8b
BLAKE2b-256 2993f9ecdeb9cf724daefec534b8cce40b22c6090d94409d5220fafd221eeaa8

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