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.3.tar.gz
.
File metadata
- Download URL: grpcio-1.8.3.tar.gz
- Upload date:
- Size: 10.0 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6ce5fd3093ddc09a152981d5c477ac645eda19dfcc819e45d8c57da6b743bd53 |
|
MD5 | a611ac877a1e613ba7dc24dc06d9bf88 |
|
BLAKE2b-256 | 0f872dcd4f532312c2ffa872bbd7bfb638c14d1b51845da7ee226bf1526a5f7b |
Provenance
File details
Details for the file grpcio-1.8.3-cp36-cp36m-win_amd64.whl
.
File metadata
- Download URL: grpcio-1.8.3-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 | 5488ba5ebb22c08794cccabf70460c8d043fa1511a92841598bc2501b73fe659 |
|
MD5 | 3793f3098154f141e196a353c908237d |
|
BLAKE2b-256 | 8a6820b8bf0ff38d560c66ad1394897e46f99846fda4682fb3e04d673bd34e86 |
Provenance
File details
Details for the file grpcio-1.8.3-cp36-cp36m-win32.whl
.
File metadata
- Download URL: grpcio-1.8.3-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 | e63ec5e2e52b8dc870bede63a1b442207a78ac1ef6ad845f87ee6b707078d92e |
|
MD5 | 19ef9eab42fbfba547ccc9683e82d2a0 |
|
BLAKE2b-256 | 986795e4019008ae93dbf981ac32bc1ffee66971c4e301bea3ca21893bd631e8 |
Provenance
File details
Details for the file grpcio-1.8.3-cp36-cp36m-manylinux1_x86_64.whl
.
File metadata
- Download URL: grpcio-1.8.3-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 | 15b0b7ebd038c65749f5da0ce6e376350ebf7a3813c4d4009c6c22e2ab037def |
|
MD5 | 27e1f88e47152d4d2280a6f2a525e855 |
|
BLAKE2b-256 | 75c037c429184b5aabda29148795af3abd1d46e070397575a76c97a2570c9e8f |
Provenance
File details
Details for the file grpcio-1.8.3-cp36-cp36m-manylinux1_i686.whl
.
File metadata
- Download URL: grpcio-1.8.3-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 | eecdfb5943e01a7ccc2ea39e1d892c1533257b934d33456abc061a3f96e14b8d |
|
MD5 | dd8cfec35468e47290366251a0214a7a |
|
BLAKE2b-256 | 7844b6ab80b973e01edfcafe84f01dec47a3ddbaa61f93b1b621210ba305e18f |
Provenance
File details
Details for the file grpcio-1.8.3-cp36-cp36m-macosx_10_7_intel.whl
.
File metadata
- Download URL: grpcio-1.8.3-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 | c6f208c61bd7ea99ee7b3623d725585bd16d234fa980b028a3cbcdd5c2abf607 |
|
MD5 | 61c24dd93f46ede22d27afca08a219cf |
|
BLAKE2b-256 | 355c0aa0035ec6d047ea269f61104d2942a04d20875b3399b7a235932bf9fc78 |
Provenance
File details
Details for the file grpcio-1.8.3-cp35-cp35m-win_amd64.whl
.
File metadata
- Download URL: grpcio-1.8.3-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 | 1e5806e2b6ea97a66edd1a8bd72f1ce67ef0a96ee44b02252cd6ee9e88ec6ef6 |
|
MD5 | abe55f012c7f07b582286dc84d8dfd83 |
|
BLAKE2b-256 | 46be8b9cc3b963a6193b5a5d0750d2fe10d3fd7aaff1d50a64172b711f080074 |
Provenance
File details
Details for the file grpcio-1.8.3-cp35-cp35m-win32.whl
.
File metadata
- Download URL: grpcio-1.8.3-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 | f376c42c0c1a58f9c77dd4c734b3025cfd5ad3910ab82e0d99668064e5420dcb |
|
MD5 | 6b1b01b606c9f27d72038d6e4a9669b6 |
|
BLAKE2b-256 | 566c53a7fa9c25636456a0a747a35a8a74ffaad965db079af46ddb8443114fdc |
Provenance
File details
Details for the file grpcio-1.8.3-cp35-cp35m-manylinux1_x86_64.whl
.
File metadata
- Download URL: grpcio-1.8.3-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 | dca576a34185966162619a2b60fc8dad38f8239dedbe67453eda3c60ac58f4a6 |
|
MD5 | a3e61822898d9759a58b6b8c286a1146 |
|
BLAKE2b-256 | 006d54f5061421b81896a30652ba930f009ded648702ea5d76c9342e2e664609 |
Provenance
File details
Details for the file grpcio-1.8.3-cp35-cp35m-manylinux1_i686.whl
.
File metadata
- Download URL: grpcio-1.8.3-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 | 8e7a8dbdca4a36a1626ba4bf73d991b95b4a2ff5250b08d60afb62cec45710e3 |
|
MD5 | d9d5bca390095ebd7942af294e8d377a |
|
BLAKE2b-256 | 7ada0fd841ab710edd037b847f4938c29b9edaa8c4e3c7ccd47502b803390681 |
Provenance
File details
Details for the file grpcio-1.8.3-cp35-cp35m-macosx_10_7_intel.whl
.
File metadata
- Download URL: grpcio-1.8.3-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 | b1db16eebc6b4c89956767b209ab67f218936233bfcc50538a4f5c12f1284397 |
|
MD5 | fc38dc42ed448adf0510d320da8ae059 |
|
BLAKE2b-256 | 704267f8ec57d833989c4d15a80cc24ef1567b576c9244ad71b43621a5a5e5b2 |
Provenance
File details
Details for the file grpcio-1.8.3-cp34-cp34m-win_amd64.whl
.
File metadata
- Download URL: grpcio-1.8.3-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 | 540080ff82f1cf3e7477c0de7bc373ec03eac5528cc5c7da5669c40b438d7df2 |
|
MD5 | 3e8bef146cb41aa00d85503764b0f2bc |
|
BLAKE2b-256 | 24fd5a02b58606cabff06a5931d9796a034045dc1fe28ab7ded1c6332630cdfd |
Provenance
File details
Details for the file grpcio-1.8.3-cp34-cp34m-win32.whl
.
File metadata
- Download URL: grpcio-1.8.3-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 | 9fc9e964785454301d8d62df6e57ccdcfb6d97bdbd1b4e42dc03a3123dfef775 |
|
MD5 | 7574d09442f5f7d2f03a4a782fb1a71b |
|
BLAKE2b-256 | 898c0770efa0d9f56ce7056c3c65455112c8c736c0e19696478048e0231cfd0f |
Provenance
File details
Details for the file grpcio-1.8.3-cp34-cp34m-manylinux1_x86_64.whl
.
File metadata
- Download URL: grpcio-1.8.3-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 | dcb75c2bf055f57fce11c96bf0840a31db9fa309465fe11d96cd801e0a892bb7 |
|
MD5 | 9d4b35bc9f052d38419c7096d139e3cd |
|
BLAKE2b-256 | de07da19babc407375de561d3e374b5f0df042a0de0bac3bbc33005a0ab63027 |
Provenance
File details
Details for the file grpcio-1.8.3-cp34-cp34m-manylinux1_i686.whl
.
File metadata
- Download URL: grpcio-1.8.3-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 | 33113e140664c1389c4b3f0527ea4157753015f4e9c98119a1c28c5fd25fdc79 |
|
MD5 | 5cf4f9832af84ccd0fccb1663fdc9461 |
|
BLAKE2b-256 | c45167b9e929cf91f228a2622b90641f5984d424f99f717d3bba84366391ecda |
Provenance
File details
Details for the file grpcio-1.8.3-cp34-cp34m-macosx_10_7_intel.whl
.
File metadata
- Download URL: grpcio-1.8.3-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 | d80ab397282a45f1aba28627b4078075d98dda434989fc6fafa94d8800fa387d |
|
MD5 | 34de1441825287a583364fec4b0e2a6b |
|
BLAKE2b-256 | ec887170b87874e5d93a5aee5fc656571501de27588c0c78a882736c56aa8d8e |
Provenance
File details
Details for the file grpcio-1.8.3-cp27-cp27mu-manylinux1_x86_64.whl
.
File metadata
- Download URL: grpcio-1.8.3-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 | f678fb59cca0a677f41b754f0e3fb968231e087c4677cd201d23e2bca3bd22be |
|
MD5 | a5faf6974810177fc208438d4a4679b2 |
|
BLAKE2b-256 | c37919cb0eedfb63bfb20224941ca792c98fd9f57034ec1ea18d9475129f6207 |
Provenance
File details
Details for the file grpcio-1.8.3-cp27-cp27mu-manylinux1_i686.whl
.
File metadata
- Download URL: grpcio-1.8.3-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 | 6fbec0055b728c2956ce389a0ca90370428e152f6d78730bfe53138877be8968 |
|
MD5 | 55550feee64281d375065b5cf02dd7a2 |
|
BLAKE2b-256 | 35b1fbd85f5aeb1f4ff22220aa532a357640d7cdf2834bff01e617990b4cb11a |
Provenance
File details
Details for the file grpcio-1.8.3-cp27-cp27m-win_amd64.whl
.
File metadata
- Download URL: grpcio-1.8.3-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 | 54ff1a78b3c96aefb9dd6411282fa3c942b220277f385b60f8be05219d55383b |
|
MD5 | 1a1cc4c5733ebc3b05de5a677904d92b |
|
BLAKE2b-256 | 38b6cf6cf2182e58f4a9b58d6eaf1a529145b2aabe6275cafd32ec0d8faf6d3c |
Provenance
File details
Details for the file grpcio-1.8.3-cp27-cp27m-win32.whl
.
File metadata
- Download URL: grpcio-1.8.3-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 | 395da6fb40ed7d599f416bc1fd4ceb676dbcb45337ec582f8c91d04216ffe557 |
|
MD5 | be4f91fe9ff01bf20294aa905fca5682 |
|
BLAKE2b-256 | 3c59503fc2524ff0d41909491b773bc0fac2e6cc725076e87b6dcc8b87e6706e |
Provenance
File details
Details for the file grpcio-1.8.3-cp27-cp27m-manylinux1_x86_64.whl
.
File metadata
- Download URL: grpcio-1.8.3-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 | 656531970e0affb5a7544f1085ef9a550602a0d519ce5dfb97e5fc27a7b6a890 |
|
MD5 | a29ac2df844a60b370e0622a03915718 |
|
BLAKE2b-256 | e83e5076365b3320088cb50484cb39cee70c4ad24c367a177bdc3284a7428da5 |
Provenance
File details
Details for the file grpcio-1.8.3-cp27-cp27m-manylinux1_i686.whl
.
File metadata
- Download URL: grpcio-1.8.3-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 | 32331900a4a50e4e2389bf36c95052506e63f9c2acfeb2c812d13caf392f47e6 |
|
MD5 | 40204808bc800f520d5c439c59cdf51c |
|
BLAKE2b-256 | 369590a39ad30c86327b3de01f8267b5d28368d62db36f6d31f98ba1a004aed7 |
Provenance
File details
Details for the file grpcio-1.8.3-cp27-cp27m-macosx_10_10_intel.whl
.
File metadata
- Download URL: grpcio-1.8.3-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 | d86f22c2d759f97dc62a939d654aba8fc530e2db665507685b2e4300de8b64c8 |
|
MD5 | efe3be21abe9b99a40877fdf9780f334 |
|
BLAKE2b-256 | e20cd8269b676f4b9d3478f651726eb1263a8d232e95e9ecc4b0057841c1d81c |