Skip to main content

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 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 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 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 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 pkg_resources.VersionConflict when I try to install grpc

    This is likely because 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:

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

Uploaded Source

Built Distributions

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

Uploaded CPython 3.6m Windows x86-64

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

Uploaded CPython 3.6m Windows x86

grpcio-1.10.0-cp36-cp36m-manylinux1_x86_64.whl (7.5 MB view details)

Uploaded CPython 3.6m

grpcio-1.10.0-cp36-cp36m-manylinux1_i686.whl (7.1 MB view details)

Uploaded CPython 3.6m

grpcio-1.10.0-cp36-cp36m-macosx_10_11_x86_64.whl (1.5 MB view details)

Uploaded CPython 3.6m macOS 10.11+ x86-64

grpcio-1.10.0-cp36-cp36m-linux_armv7l.whl (6.7 MB view details)

Uploaded CPython 3.6m

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

Uploaded CPython 3.5m Windows x86-64

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

Uploaded CPython 3.5m Windows x86

grpcio-1.10.0-cp35-cp35m-manylinux1_x86_64.whl (7.5 MB view details)

Uploaded CPython 3.5m

grpcio-1.10.0-cp35-cp35m-manylinux1_i686.whl (7.1 MB view details)

Uploaded CPython 3.5m

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

Uploaded CPython 3.5m macOS 10.7+ intel

grpcio-1.10.0-cp35-cp35m-linux_armv7l.whl (6.7 MB view details)

Uploaded CPython 3.5m

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

Uploaded CPython 3.4m Windows x86-64

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

Uploaded CPython 3.4m Windows x86

grpcio-1.10.0-cp34-cp34m-manylinux1_x86_64.whl (7.5 MB view details)

Uploaded CPython 3.4m

grpcio-1.10.0-cp34-cp34m-manylinux1_i686.whl (7.1 MB view details)

Uploaded CPython 3.4m

grpcio-1.10.0-cp34-cp34m-macosx_10_7_intel.whl (1.7 MB view details)

Uploaded CPython 3.4m macOS 10.7+ intel

grpcio-1.10.0-cp34-cp34m-linux_armv7l.whl (6.7 MB view details)

Uploaded CPython 3.4m

grpcio-1.10.0-cp27-cp27mu-manylinux1_x86_64.whl (7.4 MB view details)

Uploaded CPython 2.7mu

grpcio-1.10.0-cp27-cp27mu-manylinux1_i686.whl (7.0 MB view details)

Uploaded CPython 2.7mu

grpcio-1.10.0-cp27-cp27mu-linux_armv7l.whl (6.7 MB view details)

Uploaded CPython 2.7mu

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

Uploaded CPython 2.7m Windows x86-64

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

Uploaded CPython 2.7m Windows x86

grpcio-1.10.0-cp27-cp27m-manylinux1_x86_64.whl (7.4 MB view details)

Uploaded CPython 2.7m

grpcio-1.10.0-cp27-cp27m-manylinux1_i686.whl (7.0 MB view details)

Uploaded CPython 2.7m

grpcio-1.10.0-cp27-cp27m-macosx_10_11_x86_64.whl (1.5 MB view details)

Uploaded CPython 2.7m macOS 10.11+ x86-64

File details

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

File metadata

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

File hashes

Hashes for grpcio-1.10.0.tar.gz
Algorithm Hash digest
SHA256 03265472d39bf26f124c3ef68446f7873c8260893e6ae65b323a5b51ed52e580
MD5 fe2140668a4dddf419aa920b02988b9b
BLAKE2b-256 1080f5c2df2029cdd74463a7ce8fd8bb59e55b316c8621c5b74a9360a45a08cc

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for grpcio-1.10.0-cp36-cp36m-win_amd64.whl
Algorithm Hash digest
SHA256 17240d672b5c1c9ff22e52236c1870413b7fb5af762b97ce5a747a55e0a57e98
MD5 1fa4de65747412e057922ac3d2b4ea11
BLAKE2b-256 8989324ad9f9a13ef065f676a371d73eb7a0bc3da95695a52cba97de51db24ae

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for grpcio-1.10.0-cp36-cp36m-win32.whl
Algorithm Hash digest
SHA256 da306c80d69801a3e4115c448ed4ad481957d723ec1e00b99497c6661573c3e5
MD5 8aa9c96b266a536cb74fd832d355e04d
BLAKE2b-256 d2e6e5dba9e2d9aa7ac4e08142f92749098e84e2261623af7cba400fa91f60b8

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for grpcio-1.10.0-cp36-cp36m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 435b3bab2e34814666854eec203c77b169df1cd56cf22fe449cf5510af416e7d
MD5 9019bb6a5b5887161beadf8d81d9cff1
BLAKE2b-256 97eca32bb323eeb32236d2faa7876231225c40fba12771c50a44880155e80c20

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for grpcio-1.10.0-cp36-cp36m-manylinux1_i686.whl
Algorithm Hash digest
SHA256 ea9564f58144e2f07995d57fb8e636be5efb084cd59c8651391ada2bb75dc0ff
MD5 3d12a43f8f4690f33b7d430d2e6e4cfb
BLAKE2b-256 61038d85f2c6db845018fc117c2b235720ef27d41e6f0266ce6349a572d9ef67

See more details on using hashes here.

File details

Details for the file grpcio-1.10.0-cp36-cp36m-macosx_10_11_x86_64.whl.

File metadata

File hashes

Hashes for grpcio-1.10.0-cp36-cp36m-macosx_10_11_x86_64.whl
Algorithm Hash digest
SHA256 1bc36e512741f82c1d73f42df536aa2ab75d840f0d35c149b5d0bee1aed16862
MD5 4d5312857902ffeec765fc7923fb6921
BLAKE2b-256 70e68dcf5585e468a0ec976cbfc6dd5a6ee0853e2bf405b464f81665f531e9ba

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for grpcio-1.10.0-cp36-cp36m-linux_armv7l.whl
Algorithm Hash digest
SHA256 d2accc8e354f0ed5b337865260a78b3c6851d2fe3c0e1b025d437122cc15dd31
MD5 b850088703adba24d3e668ba48ff32f4
BLAKE2b-256 a94e5a95b3da4f6dd6dbbfbb7d8737955bddade296c7b3c2777357bb163315c6

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for grpcio-1.10.0-cp35-cp35m-win_amd64.whl
Algorithm Hash digest
SHA256 2894466c499d9752e0d49ee8adc5ee12c676d86211fc1b292bf713cc7cfe9853
MD5 cafdf0e5d284e7d9981f174fa5c44a3c
BLAKE2b-256 bc72b23f908b489badfde83690261b57ca01065c03d59f03fb9c3d70f76e5af0

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for grpcio-1.10.0-cp35-cp35m-win32.whl
Algorithm Hash digest
SHA256 f4a38071dd27f140cfe774f56aecdf0e33de926c21289cc9c7521ce8dd91fc1c
MD5 8f67d753a7b62a9f49151b2e6ec4cd01
BLAKE2b-256 837b13c779a46dea8fba9ddc4176bf06957e0867e547e9c23ed1685ababb8fdb

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for grpcio-1.10.0-cp35-cp35m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 e86639989c03831912fd9924beda26f6e9ffcc267656cea035bde9d88cf793b2
MD5 9c75c7329aec9d2ac38e1000b29e1155
BLAKE2b-256 cf7bab8be5c6d2cdbdeebbf380c40b29cf8d6c17b38cb7ce3b00b616b00d1394

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for grpcio-1.10.0-cp35-cp35m-manylinux1_i686.whl
Algorithm Hash digest
SHA256 b56e4f355c2499bb0bf8f8f4d0362b618b06afdfd2c10722710596dc7e295c6c
MD5 125cc8d13ec9a5d28667ef5f80785ce3
BLAKE2b-256 2074be5efe36b45e543ff0801ffad82941b4148a1240dded600dc8e7f08a41d4

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for grpcio-1.10.0-cp35-cp35m-macosx_10_7_intel.whl
Algorithm Hash digest
SHA256 d9e3105f6de6cb759b028702bdd21cb36d27e010227669e43c675b9957a3c180
MD5 67cd7de6aba9875584e7383867eab9c4
BLAKE2b-256 92cb4a1759a15ad86d735ea3af1077b6800a157e9a8a74f8a1ff0bdd8e10077c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for grpcio-1.10.0-cp35-cp35m-linux_armv7l.whl
Algorithm Hash digest
SHA256 4765600467d7cdb8f62a591d4427ddbeefcf4dbbe46e2f1b10af555e815ecbcb
MD5 3266c2b2092c21942cb41017db779ce2
BLAKE2b-256 8fbbdc700a3dc897a9488838a36c4531274e0e6957d5c11e651437427398fa0e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for grpcio-1.10.0-cp34-cp34m-win_amd64.whl
Algorithm Hash digest
SHA256 022dc2a6d1537a5a16af4ccc3355ad7b512f9c627a1d5d579cd7c18830378bb3
MD5 3f91246f793f1f014d851cfc5192b48c
BLAKE2b-256 414ac56a13e35f8452b7abf8968e32aba4282250389c4d9df972ff82151f8c9d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for grpcio-1.10.0-cp34-cp34m-win32.whl
Algorithm Hash digest
SHA256 aa473b8276de39eeccc4ad6cbb7fd7feab0868180d72c0c93226033c79fa69b7
MD5 bb2a84d96567cd5957ef72c3d21da422
BLAKE2b-256 1ee5380f0d0761f28c0a56e9d6dbfa31e0f221b3520dab86663e9ee9b809f007

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for grpcio-1.10.0-cp34-cp34m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 224c513fbe0c3ca546870e5c21b08a8a56cd25795b76b3192ee9702a3344764b
MD5 977604565f85b1c2a4507c77401ab227
BLAKE2b-256 0855ec9e06eb4f766f27e7d18b72a4be42bd5b30616374965f59638eba41c467

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for grpcio-1.10.0-cp34-cp34m-manylinux1_i686.whl
Algorithm Hash digest
SHA256 10efe2e016c3ca7a370771ffcf1de9baa3456d4bccefde0f4ce3be091d871c8f
MD5 de0004ecfe8e7821be0c130cfdd58cf2
BLAKE2b-256 4a6f74a1179a1516ae7bf8519d538c3d75e78007aa5043b3a23d658e72e7ce44

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for grpcio-1.10.0-cp34-cp34m-macosx_10_7_intel.whl
Algorithm Hash digest
SHA256 ae82bf2f7ceac6ba956e816120b4f66bda035571350e46b61bbdde1808aed1dd
MD5 d6e74be5358332330f4090ccd1c0e09d
BLAKE2b-256 4e98c781ba4210631311316ce34b0f7f42a6b2365d66347c4f8e692bb6228c8b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for grpcio-1.10.0-cp34-cp34m-linux_armv7l.whl
Algorithm Hash digest
SHA256 87e52924a99ac5935a468b3fe49c4b0090bd9b05470b55ed1192308791e6d332
MD5 4ebbc1f40a29cb0c60d85aadf7c169b8
BLAKE2b-256 14f1d7f21b71e23bdb4f6a975a22bd4afb352279fb73f65734224f219fe9f313

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for grpcio-1.10.0-cp27-cp27mu-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 025a591606b0aca13bec3e019d6acec01a39421f01b915b98a3a93ea0a53b412
MD5 8027c397acf3f0be3bcae3be8fe5cb6f
BLAKE2b-256 655987c0ebb3a94708dff7530ef88cc0753e4a86ab8e2884892d10479a2bf627

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for grpcio-1.10.0-cp27-cp27mu-manylinux1_i686.whl
Algorithm Hash digest
SHA256 982439a872d41f969724efc139e0416ba45e0d7446e9a41fd2ebe19351adff9a
MD5 4754327c67d86837c9e514f8c4c1f9d2
BLAKE2b-256 d7ea309ada299d3f09fe90074c5c3fee9a6e118203913071f51a342334bbf818

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for grpcio-1.10.0-cp27-cp27mu-linux_armv7l.whl
Algorithm Hash digest
SHA256 e579e4124d2a0931ce39639c60e0711918d6659b933eb97e67f60f84666ea488
MD5 1dd4388df2458e05cd57226a06609c64
BLAKE2b-256 b71538c414d5d9caf6b8cea0cf4e06847d46912585f5aeffd49e24bd002f7843

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for grpcio-1.10.0-cp27-cp27m-win_amd64.whl
Algorithm Hash digest
SHA256 88afda198adb0a9da52a66152062027a57877b46f59ffcf55acc3cbfaff77160
MD5 0b829ccde92525414115377c731b3202
BLAKE2b-256 4f2ed3bf6c3ad2b4564f3403fd104f0735c796161252797c47a1b07faa3e5ac5

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for grpcio-1.10.0-cp27-cp27m-win32.whl
Algorithm Hash digest
SHA256 d410835e7554d064c2d99cfa0dd393ffbb0ccf52145ab51c725a8472ed254a3c
MD5 f29f764af6cb996a2ab7d121268dfd71
BLAKE2b-256 29abe32a33fdd4a6a7ce5f475d5d392ebe6c44bc128240bb3b46dd8e21192575

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for grpcio-1.10.0-cp27-cp27m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 4fa658a7e1ba5727ca066b1c8bb64c6befb98f2b8007f04a16c7c84555bf11b9
MD5 7c48e92128ea81fc6aa841b207c055a0
BLAKE2b-256 d4759b3541b1877d7c6ab9d100d3ceed52aacbdce78a65d5e42b0a7bc5d40eec

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for grpcio-1.10.0-cp27-cp27m-manylinux1_i686.whl
Algorithm Hash digest
SHA256 14bca481188c3f19135012aaff9abefa4e15529c7e1aca3084183d78094d06bd
MD5 5e96b13c55b860799d01a931dc7b0f6e
BLAKE2b-256 3ef9c28c4238514f374ff29c550d0aadd5b4a925316fe402119a84044fea1c75

See more details on using hashes here.

File details

Details for the file grpcio-1.10.0-cp27-cp27m-macosx_10_11_x86_64.whl.

File metadata

File hashes

Hashes for grpcio-1.10.0-cp27-cp27m-macosx_10_11_x86_64.whl
Algorithm Hash digest
SHA256 a1bc37c9910d0fbf4d9e80d5822f92c6e01e28dd1eb01323636ed19666b537cb
MD5 52d67afbc58e8ab4bc0bdec513a33961
BLAKE2b-256 6392f562c3276a2cd5e4cca91e6f395fd504c56c74147856529575b1129b4535

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