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

Uploaded Source

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

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

Uploaded CPython 3.6mWindows x86-64

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

Uploaded CPython 3.6mWindows x86

grpcio-1.7.0-cp36-cp36m-manylinux1_x86_64.whl (5.7 MB view details)

Uploaded CPython 3.6m

grpcio-1.7.0-cp36-cp36m-manylinux1_i686.whl (5.3 MB view details)

Uploaded CPython 3.6m

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

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

grpcio-1.7.0-cp36-cp36m-linux_armv7l.whl (5.1 MB view details)

Uploaded CPython 3.6m

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

Uploaded CPython 3.5mWindows x86-64

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

Uploaded CPython 3.5mWindows x86

grpcio-1.7.0-cp35-cp35m-manylinux1_x86_64.whl (5.7 MB view details)

Uploaded CPython 3.5m

grpcio-1.7.0-cp35-cp35m-manylinux1_i686.whl (5.3 MB view details)

Uploaded CPython 3.5m

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

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

grpcio-1.7.0-cp35-cp35m-linux_armv7l.whl (5.1 MB view details)

Uploaded CPython 3.5m

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

Uploaded CPython 3.4mWindows x86-64

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

Uploaded CPython 3.4mWindows x86

grpcio-1.7.0-cp34-cp34m-manylinux1_x86_64.whl (5.7 MB view details)

Uploaded CPython 3.4m

grpcio-1.7.0-cp34-cp34m-manylinux1_i686.whl (5.3 MB view details)

Uploaded CPython 3.4m

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

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

grpcio-1.7.0-cp34-cp34m-linux_armv7l.whl (5.1 MB view details)

Uploaded CPython 3.4m

grpcio-1.7.0-cp27-cp27mu-manylinux1_x86_64.whl (5.7 MB view details)

Uploaded CPython 2.7mu

grpcio-1.7.0-cp27-cp27mu-manylinux1_i686.whl (5.3 MB view details)

Uploaded CPython 2.7mu

grpcio-1.7.0-cp27-cp27mu-linux_armv7l.whl (5.1 MB view details)

Uploaded CPython 2.7mu

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

Uploaded CPython 2.7mWindows x86-64

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

Uploaded CPython 2.7mWindows x86

grpcio-1.7.0-cp27-cp27m-manylinux1_x86_64.whl (5.7 MB view details)

Uploaded CPython 2.7m

grpcio-1.7.0-cp27-cp27m-manylinux1_i686.whl (5.3 MB view details)

Uploaded CPython 2.7m

grpcio-1.7.0-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.7.0.tar.gz.

File metadata

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

File hashes

Hashes for grpcio-1.7.0.tar.gz
Algorithm Hash digest
SHA256 6662af1f07cf7a3d171a7f56afc2cfeff262a5f2c52d15ae5ea581d0c367aea8
MD5 b564632793132fd35cdff984d6b309b0
BLAKE2b-256 d315370c1cf77fe4147ba5565048545f2cf0aca4dafc9e9a2330c22506443b7e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for grpcio-1.7.0-cp36-cp36m-win_amd64.whl
Algorithm Hash digest
SHA256 58ebcd980323a13de590905ce4ba7c1d1016a0e7e1e5f45f10f8da9152705e3f
MD5 4aebe2140026f0c28925e37fdc268a7a
BLAKE2b-256 e885100acb2b4424e6cee1d6327dc6c2f4c5a7acd224f6497b5e24bad0e8e741

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for grpcio-1.7.0-cp36-cp36m-win32.whl
Algorithm Hash digest
SHA256 9374be65beb395422e0fa84aa5407ed54a513bac9c6d4b236d61231b57ced775
MD5 bb4f5064235ef5eb6b38101f91280e37
BLAKE2b-256 666375e29d9b684e78b4576e845d024c1c8e35c039c330a2f0317644ec21cf40

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for grpcio-1.7.0-cp36-cp36m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 6855ed54cf76d2f05eb3ad1a15c113cee5e4e542c520c3a59748fed9aaedec7c
MD5 d5fdafcce23b9b6c64040450f69facf1
BLAKE2b-256 e13f6592da06cda985f34bcf45ba5fca1609cf6a331222286ae966f79bb09cd5

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for grpcio-1.7.0-cp36-cp36m-manylinux1_i686.whl
Algorithm Hash digest
SHA256 ba6cd06a5f5bc75d773c6be58f4c0e8286f83bda87e39b2cb0f6527b341fda8e
MD5 807ba94eb3ff4d548f8ca43053ecc0aa
BLAKE2b-256 6b4fbd54a766289645b85d9613aab7b10d977153081bf24158229db0adb213a5

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for grpcio-1.7.0-cp36-cp36m-macosx_10_7_intel.whl
Algorithm Hash digest
SHA256 87b315f1d233ed268e1face14e54a1c64989b60dde4bc0f0fc479c7264e8919a
MD5 934a388a1d4f474a8fe6d84c21c43e42
BLAKE2b-256 aadb4f11c84ff57e61eb28d48f41d4a5991019662d01977908a843e5be564aaa

See more details on using hashes here.

File details

Details for the file grpcio-1.7.0-cp36-cp36m-linux_armv7l.whl.

File metadata

File hashes

Hashes for grpcio-1.7.0-cp36-cp36m-linux_armv7l.whl
Algorithm Hash digest
SHA256 4b6b41ce0023f91a89891244d731638ad013879c23bdb07b3362a0a287b1433a
MD5 9e58aaa8a1b6f01d1ef01e93ac58be9b
BLAKE2b-256 bd6313b6637c3f5f956202a924cb0ea976de65c6be563d21b3c9300d5a3ab25d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for grpcio-1.7.0-cp35-cp35m-win_amd64.whl
Algorithm Hash digest
SHA256 7d60a0ad72e47f1a60995b6bfcd5433b9ca10347b4e76a53f673e42498cda2c5
MD5 44a75ec4e5e4037de57be98fd7b89fbc
BLAKE2b-256 776445b657f49fa6df83db49316b469e536967d74549684a226759446f81814e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for grpcio-1.7.0-cp35-cp35m-win32.whl
Algorithm Hash digest
SHA256 d5598bc5b3f78802d98d589cc29c59d4f4c573fd5c7d45fb23a54a368cc0aec3
MD5 df1cb88bd0f3610592ba604a93101443
BLAKE2b-256 0f703b6010f0d7551233799033ed901c229026f1fe44edfc8325b402d91b5364

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for grpcio-1.7.0-cp35-cp35m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 21d579f144662be0c22fae5909b42077135e4e4e7aa150aed833b87e8f1de1b5
MD5 805077ac8bf40a97201fe2cc715a2934
BLAKE2b-256 17690c06ee99a7df3814520c94014a6e0b2ee4b997f88970aca9e4c072b5672a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for grpcio-1.7.0-cp35-cp35m-manylinux1_i686.whl
Algorithm Hash digest
SHA256 7f306a05ba89d19f1d11f94f5ef81faf7853635b6d65b106a52ff06daf68026c
MD5 d83c13dfaa1c66fa249fcba1053e6be2
BLAKE2b-256 2b275eb072bcda8b3380f8f0f0ef489a2e12f629b2d201a0f865fbbe4dd678d4

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for grpcio-1.7.0-cp35-cp35m-macosx_10_7_intel.whl
Algorithm Hash digest
SHA256 ba84c65505ba800211898f21686d8f9a4638a08637c2556d02f615ebde954ddc
MD5 174d2fb5c5d35de8c86ce6f178161eeb
BLAKE2b-256 7e49e712940222be9ee677f72e698b65ff7f0aa243e2a453b51c47a495904f3c

See more details on using hashes here.

File details

Details for the file grpcio-1.7.0-cp35-cp35m-linux_armv7l.whl.

File metadata

File hashes

Hashes for grpcio-1.7.0-cp35-cp35m-linux_armv7l.whl
Algorithm Hash digest
SHA256 108447fdfdeb62520c1bf44b2ba9f6a013cfa729d1e37014f27a031012474f95
MD5 75cb461cbd5356985a850730cb26ddf6
BLAKE2b-256 678dbd9be0d3e460d94c935cffb5a11a0af8b93c4a4f7fc362c4d95826319042

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for grpcio-1.7.0-cp34-cp34m-win_amd64.whl
Algorithm Hash digest
SHA256 c756bceb2ec7045507c7c77f6f46a94c2954540a6b3738ab2b7b73d62d6b2d80
MD5 b2ea4e641955ed92b7372dffcb75cbb8
BLAKE2b-256 eee68b170fb7d74779fc05cdd7e956761c353b46a0c3efe0a00261794a052f16

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for grpcio-1.7.0-cp34-cp34m-win32.whl
Algorithm Hash digest
SHA256 96aa603151cb3df8ada50955f06e5cb42e5956c013a4ac589c7fb4e860531f64
MD5 3e835e1d86da6783fc27e18a366cd2f3
BLAKE2b-256 0aaf81d951ad8b001af0352c7e7ebbd18f532cd967622a0cd98ea2e4570c25c7

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for grpcio-1.7.0-cp34-cp34m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 bcf562c2f3af3f534ea7b55b0e838ce4e043eb3d30b510ce72bab238a38e369a
MD5 1dbeb957626b49f3571cd0599337d362
BLAKE2b-256 61cd67d123a0eeaff0cdd3202964f692c47fa8508d3d1a06cd104a91d606c0c2

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for grpcio-1.7.0-cp34-cp34m-manylinux1_i686.whl
Algorithm Hash digest
SHA256 679d7d730784d5eda9976065ea5ff88eb0c7d0fb0a32d946eaba9d0da51830f9
MD5 18522b4d8d637d9d21456facf88c673e
BLAKE2b-256 a5dc605148a1ac7a1be05dc2366f9d91b351e34aa6f1744d303d2f2111e33c0c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for grpcio-1.7.0-cp34-cp34m-macosx_10_7_intel.whl
Algorithm Hash digest
SHA256 68c9a749d29a965c3b81c968dc4e932dd1debdbe41ad192763a57a30a984ec4c
MD5 32412aabc8bced8c7876918517d2490b
BLAKE2b-256 0c3fda7e27e753c5357864c32d6033e0a1c39f13d17f4f5839c3557f4f619692

See more details on using hashes here.

File details

Details for the file grpcio-1.7.0-cp34-cp34m-linux_armv7l.whl.

File metadata

File hashes

Hashes for grpcio-1.7.0-cp34-cp34m-linux_armv7l.whl
Algorithm Hash digest
SHA256 561798f8f28296922a6543ce52f88a47870d722d068fe77fe68e7c14e822e74e
MD5 3d9376483aa88000786b6dd58443eda5
BLAKE2b-256 771aead60ccd7d4735c3f9fd29453a7a213371582a80e56065e64e6a595dd03d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for grpcio-1.7.0-cp27-cp27mu-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 1caf39bf98f7233905000c4915e5e12a3654bd298b143ebf528ccb5ac5de144a
MD5 22595b73c8661a0854bb356e8020e03c
BLAKE2b-256 4452e5efd5f7adcfc41967691e296df8b1a96549c8a7f0fa5cf0b23204dcca07

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for grpcio-1.7.0-cp27-cp27mu-manylinux1_i686.whl
Algorithm Hash digest
SHA256 c91fdf50fad8059b1a71db9edb73681ddedcf2cd67ad5e32f5cff8cfd1a0de44
MD5 7853f3af0cede7cd1996d497cb3c0594
BLAKE2b-256 7b095dc79ae4c068e7108bfd37be62ff895a0212ececd1556ec6a2a9ed4ac73e

See more details on using hashes here.

File details

Details for the file grpcio-1.7.0-cp27-cp27mu-linux_armv7l.whl.

File metadata

File hashes

Hashes for grpcio-1.7.0-cp27-cp27mu-linux_armv7l.whl
Algorithm Hash digest
SHA256 bb3ee880479592c78ddc3a7f50a04f00b4ecbae33905bbe3c9b5de4b6ed8cd7c
MD5 8ca507287649112975c718cc5ae70eb0
BLAKE2b-256 8389ff6546c1d2e1a9441ae73ebde574a39a21b9d921b85aad7bc9a26ff1521f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for grpcio-1.7.0-cp27-cp27m-win_amd64.whl
Algorithm Hash digest
SHA256 812c481b56bbb663a50e4b25d38d61c57c696814d571fb5ff9a3b19f3339da2e
MD5 edaf8dba5f6698afec5073dcdaf152b2
BLAKE2b-256 13d8657ae536f2f8d51eec817294c0fac268159f332d81b2df85b398cbb71f84

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for grpcio-1.7.0-cp27-cp27m-win32.whl
Algorithm Hash digest
SHA256 d3b2bb9cf2bdb1d5abcc26e192b7912b5f6606018c1c038ed7c3bae821a449c1
MD5 5b5eb7c2264446902a46b7dcf84af46f
BLAKE2b-256 a8d0f9e308292c47996dfdba6fb0f5951cfedae460585d8043a5d29d1ff7060b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for grpcio-1.7.0-cp27-cp27m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 43c797725e8723fad71183113df9a2e5c39236573429a14ad5a4c6e78bffe09a
MD5 1f332783c8637e69be10ec369fd985bf
BLAKE2b-256 04329f62f900725f484d6d9888f46d84ebd7bf25ded55aed672c73b05348cefe

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for grpcio-1.7.0-cp27-cp27m-manylinux1_i686.whl
Algorithm Hash digest
SHA256 0fcd8c76237cf96e0014e21ea3cbb0dc72d5dd2797e7f36cce68cc9467493301
MD5 b35448232ef055a1c0936f285f1e70e8
BLAKE2b-256 1b8fa03b3740515689b55f8c6a1884c696d202f989028441fda922d66aa708c8

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for grpcio-1.7.0-cp27-cp27m-macosx_10_10_intel.whl
Algorithm Hash digest
SHA256 86946e710858ebf1aec89938ec0464d9a30408110c991bfb7455303c30f0d3a1
MD5 c677cca376395ce8052f41eb71bb385c
BLAKE2b-256 7e1f1b4df8178e58f3ec58f144d7ba6f27afd60971353be08b74697da9dab74c

See more details on using hashes here.

Supported by

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