Skip to main content

HTTP/2-based RPC framework

Project description

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

Package for gRPC Python.

Installation
------------

gRPC Python is available for Linux, Mac OS X, and Windows running Python 2.7.

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

Uploaded Source

Built Distributions

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

Uploaded CPython 3.6m Windows x86-64

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

Uploaded CPython 3.6m Windows x86

grpcio-1.2.1-cp36-cp36m-manylinux1_x86_64.whl (5.1 MB view details)

Uploaded CPython 3.6m

grpcio-1.2.1-cp36-cp36m-manylinux1_i686.whl (4.7 MB view details)

Uploaded CPython 3.6m

grpcio-1.2.1-cp36-cp36m-macosx_10_7_intel.whl (2.5 MB view details)

Uploaded CPython 3.6m macOS 10.7+ intel

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

Uploaded CPython 3.5m Windows x86-64

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

Uploaded CPython 3.5m Windows x86

grpcio-1.2.1-cp35-cp35m-manylinux1_x86_64.whl (5.1 MB view details)

Uploaded CPython 3.5m

grpcio-1.2.1-cp35-cp35m-manylinux1_i686.whl (4.7 MB view details)

Uploaded CPython 3.5m

grpcio-1.2.1-cp35-cp35m-macosx_10_7_intel.whl (2.5 MB view details)

Uploaded CPython 3.5m macOS 10.7+ intel

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

Uploaded CPython 3.4m Windows x86-64

grpcio-1.2.1-cp34-cp34m-win32.whl (1.1 MB view details)

Uploaded CPython 3.4m Windows x86

grpcio-1.2.1-cp34-cp34m-manylinux1_x86_64.whl (5.1 MB view details)

Uploaded CPython 3.4m

grpcio-1.2.1-cp34-cp34m-manylinux1_i686.whl (4.7 MB view details)

Uploaded CPython 3.4m

grpcio-1.2.1-cp34-cp34m-macosx_10_7_intel.whl (2.5 MB view details)

Uploaded CPython 3.4m macOS 10.7+ intel

grpcio-1.2.1-cp27-cp27mu-manylinux1_x86_64.whl (5.1 MB view details)

Uploaded CPython 2.7mu

grpcio-1.2.1-cp27-cp27mu-manylinux1_i686.whl (4.7 MB view details)

Uploaded CPython 2.7mu

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

Uploaded CPython 2.7m Windows x86-64

grpcio-1.2.1-cp27-cp27m-win32.whl (1.1 MB view details)

Uploaded CPython 2.7m Windows x86

grpcio-1.2.1-cp27-cp27m-manylinux1_x86_64.whl (5.1 MB view details)

Uploaded CPython 2.7m

grpcio-1.2.1-cp27-cp27m-manylinux1_i686.whl (4.7 MB view details)

Uploaded CPython 2.7m

grpcio-1.2.1-cp27-cp27m-macosx_10_10_intel.whl (2.3 MB view details)

Uploaded CPython 2.7m macOS 10.10+ intel

File details

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

File metadata

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

File hashes

Hashes for grpcio-1.2.1.tar.gz
Algorithm Hash digest
SHA256 e1fffa9a5223981b386785dd88ab1d2a491c1207eef1629158050922e8cfa905
MD5 93513b68d8379e95d62c010b987f6cb4
BLAKE2b-256 ed382171e323136ad6cab50d6cadbdc8fecd468c6aa2795b4a699743d283bed6

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for grpcio-1.2.1-cp36-cp36m-win_amd64.whl
Algorithm Hash digest
SHA256 bca0f6b688b8734af3056aac38591350f63ab09c0ac1b6913b89b370aa77292f
MD5 c752385af2e09de273f5ca35d9bda5ce
BLAKE2b-256 71c3d3be638611ac9edbacd3b9b21305c5128ecbc4d16e7b9af8705a5f5bfc95

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for grpcio-1.2.1-cp36-cp36m-win32.whl
Algorithm Hash digest
SHA256 98ab7ad37b7876d4d97eb442666d3ad9e88fe44138c2642f8fc42e1f4e89c129
MD5 9afee4c16b13ee5a8e182db27886df2b
BLAKE2b-256 4f648bdc99d480c5328aded0b722592582d2a05eca98c1afec3030e869211e32

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for grpcio-1.2.1-cp36-cp36m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 c66b66d9ec8f2e59a7bd2f360b288f9e6153c3924cfb8178bab51675c627dbce
MD5 11bcff35b6ca0e5478c2e6c3e73db8b5
BLAKE2b-256 a311ac7d8762352cd8ca059377906f5b8bfa60698050e978f194ae5f1a9c098d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for grpcio-1.2.1-cp36-cp36m-manylinux1_i686.whl
Algorithm Hash digest
SHA256 017781192ac89ffdb5cd8d1a2577ccd921f267eb5496ba10f6e8c83803346561
MD5 cf635c5788557ec4eeed8dc818451b26
BLAKE2b-256 52c1a9f50be7d52543d21a0ad7ed9c47dac6918da537675b648b7c717186bbd4

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for grpcio-1.2.1-cp36-cp36m-macosx_10_7_intel.whl
Algorithm Hash digest
SHA256 23170c1d3f03ef1e54478632ac0a43f294f24f40ee54f45baa580f1bec5c400b
MD5 e5455b4b06864633c0931d6445d36d7b
BLAKE2b-256 80ed6e83a8c7715d5bef59dedc1d1901792a6ee7108b73a8b607a65b3f57028b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for grpcio-1.2.1-cp35-cp35m-win_amd64.whl
Algorithm Hash digest
SHA256 0ec511a2708dde4a779721fd04496134f320ecb76d67bffbc0316253e679b50d
MD5 80e619a9b4e2ae81b2418ff22b37260b
BLAKE2b-256 760832134aaf12e21f4159f12ee6dcd0d879fa55ed606840eabc06b9c7cd7c92

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for grpcio-1.2.1-cp35-cp35m-win32.whl
Algorithm Hash digest
SHA256 d7faa875e645434da51664d7d660e461305420f8525768c8a2d2e98cf678bc6e
MD5 076739e6d8235bc9d3641d61b1469dbd
BLAKE2b-256 c800b479397e1c8e75ea6d69c6a728b9e3795ef4e30e2efb539b77f08f349f74

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for grpcio-1.2.1-cp35-cp35m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 9bc2926c172225adb7557ea68611befdcc90d48a8f43135aafb14beffa6fdde7
MD5 1b4ab4e10fb979df39a9b7e66309a297
BLAKE2b-256 1efec16efb9d58f7d5c581617d9a90863acd2a7a7a2d7461cb2f0f5537f9aa42

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for grpcio-1.2.1-cp35-cp35m-manylinux1_i686.whl
Algorithm Hash digest
SHA256 d9082772d1abeefee98465425c58be5b72544cb9c9fb07f3331ae879a9f35959
MD5 08fd97755a5cac7aca0df51f96324124
BLAKE2b-256 bb41484359b8259f4731bf9a21fb68f8df890b003ae4ce003cada265a716ff39

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for grpcio-1.2.1-cp35-cp35m-macosx_10_7_intel.whl
Algorithm Hash digest
SHA256 dbf4004e2debc340161a8224c8d740f4d346a6b8879bdd674a91e09af65d5501
MD5 bb3699fb6be1043c3bbb48c639181f1c
BLAKE2b-256 e23daea65b7b3b95e535236dca445f4544900905c8c929137dcdcf93a5348260

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for grpcio-1.2.1-cp34-cp34m-win_amd64.whl
Algorithm Hash digest
SHA256 7195ddde9116cdce149f0c69f4a8a40c22d0c87e1b848e1691395b552c9934a7
MD5 811f66b7ca304bce57226552a0549e05
BLAKE2b-256 14674fa53a06eb7a2e2d469f78beb545ee533639579069259bde440335bd9637

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for grpcio-1.2.1-cp34-cp34m-win32.whl
Algorithm Hash digest
SHA256 71b3e304a4e4cdaa6ff730a16c2a23b74a4aa1b403c7238c4bbe6cd7f34ca8e0
MD5 18e2806e6c004ed695fe53a956bc8206
BLAKE2b-256 8658a1d6a9a0f1eed8add5c800d0131824fa30f24e6115a70bed6b0d491dd9a8

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for grpcio-1.2.1-cp34-cp34m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 eb055a8ab4e6438af661dda852ec6b81eeacbcd5ea9bb012d48a9dfe58a6f34e
MD5 d2b042d5d22ee4cfd4fe5c546000fed3
BLAKE2b-256 17827fd70780ca79d053a0dcdb2381b632f73497757559bfb45ffee6039abe27

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for grpcio-1.2.1-cp34-cp34m-manylinux1_i686.whl
Algorithm Hash digest
SHA256 1f238b1756bab6570d8c8d61862f1180cb6f5646501e3118d0d8603438c7d9f8
MD5 d3b4dd712ec1704b4c7cc3b5debe9f87
BLAKE2b-256 deeb72047e07151945b660ea16d9a9420d41a1032b74c0f768571fb8be120b4e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for grpcio-1.2.1-cp34-cp34m-macosx_10_7_intel.whl
Algorithm Hash digest
SHA256 43a0450a56772acf6444caa1fb87f42ee003976c930ac5dd77b1c87c9d811f2e
MD5 4f283512de8cfb7e4b6c6852d51e49e8
BLAKE2b-256 32620ba75161e0f635fe3d835c67d1edd3f2fd1f8f8e562a833672dae58bee56

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for grpcio-1.2.1-cp27-cp27mu-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 3947a945193c19fc9c1ece00752a49d500b9ab4476b9b2741bcd4a5daf8ca53e
MD5 dbfcf65cc424d1cc6795ba715893609c
BLAKE2b-256 9194d4921fc1274cce87c67d490639e69bfcf1b8ebc2bb4ed40db6b60c0ca3ee

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for grpcio-1.2.1-cp27-cp27mu-manylinux1_i686.whl
Algorithm Hash digest
SHA256 04eb9cfcaf84d0c011a00483dff13554182cfb9995966626ebe8e3034b359d54
MD5 44776b3b07720f961583096a971ad056
BLAKE2b-256 62b3ab9cfa6d03ffdaee83b78f159f822f0bf3f2c42d81fc308eb75602a6de20

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for grpcio-1.2.1-cp27-cp27m-win_amd64.whl
Algorithm Hash digest
SHA256 5f99fec1b9f6c66f3ad1972daba6d7cfd9cceaebdc40c7d64411b7179ac60608
MD5 693b5dec427ff5faee18611a13fb58a3
BLAKE2b-256 7b4ee1d3bd8607b9d2e9276f04898ebc99d9b5c3300e312774b0a4e87362160c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for grpcio-1.2.1-cp27-cp27m-win32.whl
Algorithm Hash digest
SHA256 3cf44e1b7ac6d396435f8984377f9197c60696d17a9d9d15940871ebd075733d
MD5 5bd6b2f5540d30f3aa4b5d7d16825910
BLAKE2b-256 e87182514e1a8ba0eccc72f134d219eb4f994664dd02ea769e7b6d2e536c2f08

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for grpcio-1.2.1-cp27-cp27m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 6160101559bbeeca40c0125e871bb2f0a969f78bcac4347a1cd01e7b290bb3a4
MD5 7bd8b8ac0694164f9dcf44c593e1537f
BLAKE2b-256 c01699d2547f0c2d0079dc6e7d60d4fb299378bc78ab250aa0816df09243c2fe

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for grpcio-1.2.1-cp27-cp27m-manylinux1_i686.whl
Algorithm Hash digest
SHA256 b0f94a45e6cf9f86d4e97e6ef8393fd98119cea3246a536fb15f8237203af059
MD5 3ed67f6ed4c14f236bff866461d2631e
BLAKE2b-256 53a433ed9349ca58d37380145727c75ef6816191d115a32ba0894f9e45a1cc38

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for grpcio-1.2.1-cp27-cp27m-macosx_10_10_intel.whl
Algorithm Hash digest
SHA256 68aee45699b57bd26eb43b2129e66fd677f747611362d09f075dab2b2714c858
MD5 de3ba0c34fa56999dbf26c3a6d42dd02
BLAKE2b-256 490b2863f6c59bfefb358dec3c2e1a99d5a1ca11a11b2499d8d80ebcafabf04a

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