HTTP/2-based RPC framework
Project description
===========
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
Built Distributions
File details
Details for the file grpcio-1.8.1.tar.gz
.
File metadata
- Download URL: grpcio-1.8.1.tar.gz
- Upload date:
- Size: 10.0 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a53194fa5e915376adcf0cc2ba0a6d8d1b235ad2fb217adb10b3697a5bca622d |
|
MD5 | 9a97228f64dbb876441db39302ecb84a |
|
BLAKE2b-256 | b7ad4a12e6533615396d45d8f278a25743f431c85b3c58cb07168d3a5d35b6f4 |
Provenance
File details
Details for the file grpcio-1.8.1-cp36-cp36m-win_amd64.whl
.
File metadata
- Download URL: grpcio-1.8.1-cp36-cp36m-win_amd64.whl
- Upload date:
- Size: 1.2 MB
- Tags: CPython 3.6m, Windows x86-64
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2064e2d11c66f732a75205007c99a9b54e8efe283c1da9b85ec7d70a6a247716 |
|
MD5 | d207c290dede2788a0021b1c1c375719 |
|
BLAKE2b-256 | f058bea5591dbedf34023d3d73bd88e57afa538dba64050930e845b9356361f7 |
Provenance
File details
Details for the file grpcio-1.8.1-cp36-cp36m-win32.whl
.
File metadata
- Download URL: grpcio-1.8.1-cp36-cp36m-win32.whl
- Upload date:
- Size: 1.0 MB
- Tags: CPython 3.6m, Windows x86
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 15403a217a3e0eb079d7ca04138f2f551d8ff94c2ecf644c51a1c9a8634e12da |
|
MD5 | 5f5b97de7deaeb6c406f482d6d35e125 |
|
BLAKE2b-256 | e7d814dc56324845bec4c10fd57be3993392ecc365f653be9a1b53ab9a818057 |
Provenance
File details
Details for the file grpcio-1.8.1-cp36-cp36m-manylinux1_x86_64.whl
.
File metadata
- Download URL: grpcio-1.8.1-cp36-cp36m-manylinux1_x86_64.whl
- Upload date:
- Size: 6.0 MB
- Tags: CPython 3.6m
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 54fc0a130e4887c6d4ef24774876fecd98560a807bad41bb164f47b3a0f0d266 |
|
MD5 | d4cadf3088ccda0cd97285ce9da41369 |
|
BLAKE2b-256 | 0acb6c509e6fafd7df3b6655d2cb6e26c6a5912a70a944cacbee4de82d2ed80d |
Provenance
File details
Details for the file grpcio-1.8.1-cp36-cp36m-manylinux1_i686.whl
.
File metadata
- Download URL: grpcio-1.8.1-cp36-cp36m-manylinux1_i686.whl
- Upload date:
- Size: 5.6 MB
- Tags: CPython 3.6m
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7cc56429eb926891961486ca938c2f53e112176f204d89b75c8522f81e1624bf |
|
MD5 | 1046dacfbb4cc700a860a55a51761e16 |
|
BLAKE2b-256 | 90275286a107148999f9682d1f0a1a69a5d363c8751e2e7b9f96225a7fb8bce2 |
Provenance
File details
Details for the file grpcio-1.8.1-cp36-cp36m-macosx_10_7_intel.whl
.
File metadata
- Download URL: grpcio-1.8.1-cp36-cp36m-macosx_10_7_intel.whl
- Upload date:
- Size: 1.6 MB
- Tags: CPython 3.6m, macOS 10.7+ intel
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ced6517dc669d3faac94238b3f3faf6cc9ff636b55d30103e13122bdfd318495 |
|
MD5 | 3135310ca28931dae51e1c98b22528cf |
|
BLAKE2b-256 | b545a864dc75b41a9cbc97aa6f6c411ea2b973e8753854306defeae55f0972b5 |
Provenance
File details
Details for the file grpcio-1.8.1-cp35-cp35m-win_amd64.whl
.
File metadata
- Download URL: grpcio-1.8.1-cp35-cp35m-win_amd64.whl
- Upload date:
- Size: 1.2 MB
- Tags: CPython 3.5m, Windows x86-64
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6378a6723d851974ff4958dae941be06d0c40b88b6c27a0324cb692c55f4e3e2 |
|
MD5 | 0993ff1d582aeb2f9d9f7c26308b1abf |
|
BLAKE2b-256 | 95ef799795e7255bd82fa1f24b897ee0412262b38424f309e97248e1858710c3 |
Provenance
File details
Details for the file grpcio-1.8.1-cp35-cp35m-win32.whl
.
File metadata
- Download URL: grpcio-1.8.1-cp35-cp35m-win32.whl
- Upload date:
- Size: 1.0 MB
- Tags: CPython 3.5m, Windows x86
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1ff90e68f020f5db00fd00d4f36a91408dfdccc8ccf6dc730ad27f279716fccf |
|
MD5 | c43d20915b850b6903c1310eb9a7628d |
|
BLAKE2b-256 | b639d3ff96f3cf14a35fe224658409918bd8cf1b0c26cf54496f9baab2e9ce7e |
Provenance
File details
Details for the file grpcio-1.8.1-cp35-cp35m-manylinux1_x86_64.whl
.
File metadata
- Download URL: grpcio-1.8.1-cp35-cp35m-manylinux1_x86_64.whl
- Upload date:
- Size: 6.0 MB
- Tags: CPython 3.5m
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b4b0b41715eaa618e60ca573806a61bb81bd8eceaa437b2a3aaf85a633d80f9c |
|
MD5 | 11a8de9c9b94e2b1b172a71c903b64f2 |
|
BLAKE2b-256 | cd5e9804e04047826404fdd17cfe3b4f33d76f0a788c2f01669652488e624c9f |
Provenance
File details
Details for the file grpcio-1.8.1-cp35-cp35m-manylinux1_i686.whl
.
File metadata
- Download URL: grpcio-1.8.1-cp35-cp35m-manylinux1_i686.whl
- Upload date:
- Size: 5.6 MB
- Tags: CPython 3.5m
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 95fc9c5af383b776f8019bba664c9ec696ad54c629db3dd2755c73f75d386079 |
|
MD5 | 51f17b20923edf0c0b34f7afe085e04f |
|
BLAKE2b-256 | 3f38a6145a9150103cee1b8a242d8fcda35f2dbe56d4a3af0987508e78b75ea7 |
Provenance
File details
Details for the file grpcio-1.8.1-cp35-cp35m-macosx_10_7_intel.whl
.
File metadata
- Download URL: grpcio-1.8.1-cp35-cp35m-macosx_10_7_intel.whl
- Upload date:
- Size: 1.6 MB
- Tags: CPython 3.5m, macOS 10.7+ intel
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e351afa67923b7739a51865a63e919918958eec2cab39d3c585fbe599fd88d4d |
|
MD5 | 3937fa551a4332a8083bb3c89791e163 |
|
BLAKE2b-256 | 53c8a4a2901de79a47448bb00364940bafd0468ba48431f6472033ce6be1dfea |
Provenance
File details
Details for the file grpcio-1.8.1-cp34-cp34m-win_amd64.whl
.
File metadata
- Download URL: grpcio-1.8.1-cp34-cp34m-win_amd64.whl
- Upload date:
- Size: 1.2 MB
- Tags: CPython 3.4m, Windows x86-64
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0614603e5b7afccbc3a8c1bb2779fc87d42ef24682c0ccc0578f80bd06e11a52 |
|
MD5 | 1b5df15033f40e8d01afc54a81067ba9 |
|
BLAKE2b-256 | 3ffbd110c940373e7a5e8ddd40b6c29d14d7148fef0a9690d8ea588f573be0c9 |
Provenance
File details
Details for the file grpcio-1.8.1-cp34-cp34m-win32.whl
.
File metadata
- Download URL: grpcio-1.8.1-cp34-cp34m-win32.whl
- Upload date:
- Size: 1.2 MB
- Tags: CPython 3.4m, Windows x86
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0f0e3288f4171cf14c07f8cc3d89cd6397a242ee617e6901255afa01b36bf05c |
|
MD5 | 1d368a92157b876126414b68686f5fc1 |
|
BLAKE2b-256 | 1c05af1cbc6f1939722244dfa5695ff272f588507d0ae13259894c9081e775de |
Provenance
File details
Details for the file grpcio-1.8.1-cp34-cp34m-manylinux1_x86_64.whl
.
File metadata
- Download URL: grpcio-1.8.1-cp34-cp34m-manylinux1_x86_64.whl
- Upload date:
- Size: 6.0 MB
- Tags: CPython 3.4m
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c1b1ae3f036ee610eeb714c2d4a747dc6e8bfe36336fab777790e793df4678da |
|
MD5 | 50edc850a3713be839a71121843d491d |
|
BLAKE2b-256 | f0409fc9ca3be4a9dace8f33ce1c6a2c3b4f80f4a72b593e0a0d345d13200f27 |
Provenance
File details
Details for the file grpcio-1.8.1-cp34-cp34m-manylinux1_i686.whl
.
File metadata
- Download URL: grpcio-1.8.1-cp34-cp34m-manylinux1_i686.whl
- Upload date:
- Size: 5.6 MB
- Tags: CPython 3.4m
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8f7be48ee103be615d6e3ca1f04a215a053f48e67fffcbe8145aa89435a6c509 |
|
MD5 | ac5922521b2275de566d54d49db31548 |
|
BLAKE2b-256 | d9f0084c8901b5aaad818cbe6cff9fd5dbd425306a83a258ca4862f94843028f |
Provenance
File details
Details for the file grpcio-1.8.1-cp34-cp34m-macosx_10_7_intel.whl
.
File metadata
- Download URL: grpcio-1.8.1-cp34-cp34m-macosx_10_7_intel.whl
- Upload date:
- Size: 1.6 MB
- Tags: CPython 3.4m, macOS 10.7+ intel
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 49f3a262d7e6d9f0cddfc842eb4fc77e54e475889c5747d371eba2cd9cc3a7ce |
|
MD5 | 5d01a8d27dba0a0519eb57406f71ef19 |
|
BLAKE2b-256 | b1fa4aa2d7abfdaea6931b07d463af44867b85a6e4ea84513b3019045f357c02 |
Provenance
File details
Details for the file grpcio-1.8.1-cp27-cp27mu-manylinux1_x86_64.whl
.
File metadata
- Download URL: grpcio-1.8.1-cp27-cp27mu-manylinux1_x86_64.whl
- Upload date:
- Size: 6.0 MB
- Tags: CPython 2.7mu
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | cdb5e58a6652c52f6de101f2dfa8225a96a0af63ca4b3219a710556e0f74b321 |
|
MD5 | cdc6892227fe3959194a56ba2e80e42b |
|
BLAKE2b-256 | d8060999314dd2d3674e117f179c40bf3de39aeb7a297d4a6c99d13e9a6606ed |
Provenance
File details
Details for the file grpcio-1.8.1-cp27-cp27mu-manylinux1_i686.whl
.
File metadata
- Download URL: grpcio-1.8.1-cp27-cp27mu-manylinux1_i686.whl
- Upload date:
- Size: 5.5 MB
- Tags: CPython 2.7mu
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5931e98244e8f877b136f233b35053d82002361f4ef23e03e303df195d0a97d0 |
|
MD5 | f08c9d53475bd8cef072afb398a40373 |
|
BLAKE2b-256 | 63732ca2b4ac0b235e587e42fe0741711a09d3616f848991d25bde56c30afa4a |
Provenance
File details
Details for the file grpcio-1.8.1-cp27-cp27m-win_amd64.whl
.
File metadata
- Download URL: grpcio-1.8.1-cp27-cp27m-win_amd64.whl
- Upload date:
- Size: 1.2 MB
- Tags: CPython 2.7m, Windows x86-64
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | edb798ff43bb508dc0c9956734065ecb06426dca9b402cd496ed9a1e65bdb555 |
|
MD5 | 41f5aa953df4201a65bfc69f874a7d38 |
|
BLAKE2b-256 | f90a18bf3390ee993efc761ed5f6e86cf59e5d3dd8a38e143ae2c3d248281fef |
Provenance
File details
Details for the file grpcio-1.8.1-cp27-cp27m-win32.whl
.
File metadata
- Download URL: grpcio-1.8.1-cp27-cp27m-win32.whl
- Upload date:
- Size: 1.2 MB
- Tags: CPython 2.7m, Windows x86
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1a2f78469630d1a5c037f95b1013b4fedc342d6a72ae3b3899e2390f1135cd4a |
|
MD5 | ada11e2fe32152bd42c490de3cac1209 |
|
BLAKE2b-256 | 1041f52caff8f3ec28968790ceeae40ac955c3c33c950675b405b5ea3e0e683e |
Provenance
File details
Details for the file grpcio-1.8.1-cp27-cp27m-manylinux1_x86_64.whl
.
File metadata
- Download URL: grpcio-1.8.1-cp27-cp27m-manylinux1_x86_64.whl
- Upload date:
- Size: 6.0 MB
- Tags: CPython 2.7m
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 77e057664bc546bfc280ce935b03d95ddac36a263e861c3bef4b79930d6fa4d6 |
|
MD5 | 463a5d902b6182b8ea80661d9c675957 |
|
BLAKE2b-256 | 49c167949e2567d9ae5885fdedce37a4f80575f7c5a70172f70e2533d7e03863 |
Provenance
File details
Details for the file grpcio-1.8.1-cp27-cp27m-manylinux1_i686.whl
.
File metadata
- Download URL: grpcio-1.8.1-cp27-cp27m-manylinux1_i686.whl
- Upload date:
- Size: 5.5 MB
- Tags: CPython 2.7m
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9df4839aa59cc12ee8f786ea4faf4e36a7a48078309d8e534691402feab4f43a |
|
MD5 | 056ab39cc3299dd66b1c9a1e49bce01d |
|
BLAKE2b-256 | 2460bef3a6e5b9490a0a6c8c0ac57e85a750fc9cea7bd17182a43ff08cc099b6 |
Provenance
File details
Details for the file grpcio-1.8.1-cp27-cp27m-macosx_10_10_intel.whl
.
File metadata
- Download URL: grpcio-1.8.1-cp27-cp27m-macosx_10_10_intel.whl
- Upload date:
- Size: 1.5 MB
- Tags: CPython 2.7m, macOS 10.10+ intel
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 105e62f6f56e69d54f21a59e4c18e6ac65549f1997ddebd100093ed96e51be80 |
|
MD5 | 29934ca9b0196dddec5c11133683d3dd |
|
BLAKE2b-256 | 6dc7fba921fe2bcbfbd6d6deb66984c8660813ed8dba326703e69adba71cc299 |