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

Uploaded Source

Built Distributions

grpcio-1.12.1-cp36-cp36m-win_amd64.whl (1.4 MB view details)

Uploaded CPython 3.6m Windows x86-64

grpcio-1.12.1-cp36-cp36m-win32.whl (1.2 MB view details)

Uploaded CPython 3.6m Windows x86

grpcio-1.12.1-cp36-cp36m-manylinux1_x86_64.whl (9.0 MB view details)

Uploaded CPython 3.6m

grpcio-1.12.1-cp36-cp36m-manylinux1_i686.whl (8.5 MB view details)

Uploaded CPython 3.6m

grpcio-1.12.1-cp36-cp36m-macosx_10_7_intel.whl (1.9 MB view details)

Uploaded CPython 3.6m macOS 10.7+ intel

grpcio-1.12.1-cp36-cp36m-linux_armv7l.whl (8.2 MB view details)

Uploaded CPython 3.6m

grpcio-1.12.1-cp35-cp35m-win_amd64.whl (1.4 MB view details)

Uploaded CPython 3.5m Windows x86-64

grpcio-1.12.1-cp35-cp35m-win32.whl (1.2 MB view details)

Uploaded CPython 3.5m Windows x86

grpcio-1.12.1-cp35-cp35m-manylinux1_x86_64.whl (9.0 MB view details)

Uploaded CPython 3.5m

grpcio-1.12.1-cp35-cp35m-manylinux1_i686.whl (8.5 MB view details)

Uploaded CPython 3.5m

grpcio-1.12.1-cp35-cp35m-macosx_10_7_intel.whl (1.9 MB view details)

Uploaded CPython 3.5m macOS 10.7+ intel

grpcio-1.12.1-cp35-cp35m-linux_armv7l.whl (8.1 MB view details)

Uploaded CPython 3.5m

grpcio-1.12.1-cp34-cp34m-win_amd64.whl (1.4 MB view details)

Uploaded CPython 3.4m Windows x86-64

grpcio-1.12.1-cp34-cp34m-win32.whl (1.4 MB view details)

Uploaded CPython 3.4m Windows x86

grpcio-1.12.1-cp34-cp34m-manylinux1_x86_64.whl (9.0 MB view details)

Uploaded CPython 3.4m

grpcio-1.12.1-cp34-cp34m-manylinux1_i686.whl (8.5 MB view details)

Uploaded CPython 3.4m

grpcio-1.12.1-cp34-cp34m-macosx_10_7_intel.whl (1.9 MB view details)

Uploaded CPython 3.4m macOS 10.7+ intel

grpcio-1.12.1-cp34-cp34m-linux_armv7l.whl (8.1 MB view details)

Uploaded CPython 3.4m

grpcio-1.12.1-cp27-cp27mu-manylinux1_x86_64.whl (8.9 MB view details)

Uploaded CPython 2.7mu

grpcio-1.12.1-cp27-cp27mu-manylinux1_i686.whl (8.4 MB view details)

Uploaded CPython 2.7mu

grpcio-1.12.1-cp27-cp27mu-linux_armv7l.whl (8.1 MB view details)

Uploaded CPython 2.7mu

grpcio-1.12.1-cp27-cp27m-win_amd64.whl (1.4 MB view details)

Uploaded CPython 2.7m Windows x86-64

grpcio-1.12.1-cp27-cp27m-win32.whl (1.4 MB view details)

Uploaded CPython 2.7m Windows x86

grpcio-1.12.1-cp27-cp27m-manylinux1_x86_64.whl (8.9 MB view details)

Uploaded CPython 2.7m

grpcio-1.12.1-cp27-cp27m-manylinux1_i686.whl (8.4 MB view details)

Uploaded CPython 2.7m

grpcio-1.12.1-cp27-cp27m-macosx_10_12_x86_64.whl (1.6 MB view details)

Uploaded CPython 2.7m macOS 10.12+ x86-64

File details

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

File metadata

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

File hashes

Hashes for grpcio-1.12.1.tar.gz
Algorithm Hash digest
SHA256 f14faadfd09aa8526536cd2149e274563f45b767fca1736ccc53803a6af3f90e
MD5 4063e240539b24b802e668442b8fc663
BLAKE2b-256 333858f3e8d133de1f2e911206ead03799621205079c303ae5b27e7350051f4a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for grpcio-1.12.1-cp36-cp36m-win_amd64.whl
Algorithm Hash digest
SHA256 c3cf3f431b41c39aa1501458d0e46086e699836536af873fe028dda1dfc6bcbd
MD5 2c15e87f2afb36987e3cfe8d304411fd
BLAKE2b-256 5d8b104918993129d6c919a16826e6adcfa4a106c791da79fb9655c5b22ad9ff

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for grpcio-1.12.1-cp36-cp36m-win32.whl
Algorithm Hash digest
SHA256 aabcdc960633231f9575252c061b480fc56a1ff6dcc7999fa5d4968f574d894f
MD5 3297f3e844606a6f0494b5d8b6db19f0
BLAKE2b-256 946c02e9cb803cd7b9608c9c1768d86d31c61b088f5b9513a203c10fa7e905d8

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for grpcio-1.12.1-cp36-cp36m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 9ac704e25d271af62c1ea72f1cb42ec7938f26f00314a8f324999ac5e1bf55eb
MD5 622b28d066826835f7b39adbe3c5120c
BLAKE2b-256 1fea664c589ec41b9e9ac6e20cc1fe9016f3913332d0dc5498a5d7771e2835af

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for grpcio-1.12.1-cp36-cp36m-manylinux1_i686.whl
Algorithm Hash digest
SHA256 65842e698776f4e49f62346c0f80fc31b34907e0df4247650c643113ef167122
MD5 a85e0fcdfb68bb767a730196df8e0900
BLAKE2b-256 137187628a8edec5bffc86c5443d2cb9a569c3b65c7ff0ad05d5e6ee68042297

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for grpcio-1.12.1-cp36-cp36m-macosx_10_7_intel.whl
Algorithm Hash digest
SHA256 468d4ce007cb859d5f9440cf4a7461cc172fd07d690300f4db88afaa78f01003
MD5 b8f1adc17439f394a56564709344f8f6
BLAKE2b-256 6857da122cbfc1b7815381480b23044fff06b90f58c1be9310e68c2d6b1d623c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for grpcio-1.12.1-cp36-cp36m-linux_armv7l.whl
Algorithm Hash digest
SHA256 3be7635b4308e06449b2275a5e96a030bbf82ba6797ae8947f14667491924d81
MD5 2c62b6d6dec4e93acc2a67d1d1447d1b
BLAKE2b-256 d7f6ddeab13c25b8451f05875587801ad87e4e0fc23c4e3eb328c4bd1a80a415

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for grpcio-1.12.1-cp35-cp35m-win_amd64.whl
Algorithm Hash digest
SHA256 68dbe71f890475e2824afbc5dc72714d1fca668bc15df0954bda4a8a5a53d0c7
MD5 09cf98d343d303ae2dcd80b7da23c7ac
BLAKE2b-256 0d3322ad4a9dcefe330180cdb2d24fdd980af2a7a2dc03af208a408fd48195e0

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for grpcio-1.12.1-cp35-cp35m-win32.whl
Algorithm Hash digest
SHA256 86f0c2062fde76789f7cdbf67d4ede116e7e1ceaf4c327fff7b9d17eb5852403
MD5 b0d38bb0ab54ec62d3a5d853967a4074
BLAKE2b-256 214166ab386c65be68b4e907f2cd35223965aea2a086bcd0bd6825999e0bda7c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for grpcio-1.12.1-cp35-cp35m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 5b03fd3941c5e1a5deb01026bae025d319b38d3facb3e5fc491bca73e908d69e
MD5 4bc72a10b9ce921e3811b141de2aea9c
BLAKE2b-256 c6b847468178ba19143e89b2da778eed660b84136c0a877224e79cc3c1c3fd32

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for grpcio-1.12.1-cp35-cp35m-manylinux1_i686.whl
Algorithm Hash digest
SHA256 59a2fb52d286a38b9cbc7434eb473026fde0b20c223a10a99f5c3d4e395c2c2b
MD5 55771098c0dc1dd47d63504ad795e595
BLAKE2b-256 f7dbfc084f59804a32a8d6efb467896a505f4dc93ea89ec44da856b91f05a5cb

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for grpcio-1.12.1-cp35-cp35m-macosx_10_7_intel.whl
Algorithm Hash digest
SHA256 3d1b3e7042a41b167334f718842f13deb80287886c9160efe31252602b13a128
MD5 bb4ef4560fb1476fdbf04fa716f47928
BLAKE2b-256 7627b03ec8fc96745cde68d6ec29115f9a444945a6acc45209c5772378cc4d66

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for grpcio-1.12.1-cp35-cp35m-linux_armv7l.whl
Algorithm Hash digest
SHA256 cc7bd47eca988831d58a618908c825204d6ee8e90cdb9854a09b52a3b76ac168
MD5 1d1b759ef75eb0ec3fd3f8dca12855f7
BLAKE2b-256 2da44d1d73c0339e987ea173f44cf62ec6b40fb91e0336c09c960c4a44137552

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for grpcio-1.12.1-cp34-cp34m-win_amd64.whl
Algorithm Hash digest
SHA256 1ae02a9787cf2c5f25add0806f6271283b6074ab8619077d2b5c9037950c890b
MD5 c9142f8da321af5f02770da7f7856e33
BLAKE2b-256 9e3a6aceb4fccacf6d2d7d087190c221a90f14b2bdcb56cbee5af24b7050278b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for grpcio-1.12.1-cp34-cp34m-win32.whl
Algorithm Hash digest
SHA256 e322eb5dc533cfbf21a9e964ebab80da391a26234a82288bfce505058913dfac
MD5 699c0beaba94a1112e361014fe039769
BLAKE2b-256 f9faa0187d220544b744dd3bb0d8b8ec716d130159160bf627415b2880ae599a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for grpcio-1.12.1-cp34-cp34m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 2d7215dca11ba4aa49cc6c05b37e4b0a0f99727c8604e8ccd5ef1f6e06332200
MD5 d5277aa849b4173f06c4a86dd2746c64
BLAKE2b-256 382a94665daafbcf0214adcf77ad8f5aed8b9dfcbfa871115c7890d88b1b8f3c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for grpcio-1.12.1-cp34-cp34m-manylinux1_i686.whl
Algorithm Hash digest
SHA256 f0169d98670ef1db52e4f6930fd470c34731948350cabbe93087a8462b1f1da4
MD5 2d7bdfe810a530e9bfa5c7c90ac697ed
BLAKE2b-256 b5139e8e5d68a15c51b251e512955a971214fd8425b237e6d6a04f0257c5d090

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for grpcio-1.12.1-cp34-cp34m-macosx_10_7_intel.whl
Algorithm Hash digest
SHA256 a02ef0354fb455a9ce2ad869a40f28f20a64147d46557c59b7269a15832c36d2
MD5 67e1d028fa44c4a8890d5aef2ba07161
BLAKE2b-256 80c9e582b962a4a3aa2684666ff67fc994a042b1b0e444eb6672eb9740f7b59a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for grpcio-1.12.1-cp34-cp34m-linux_armv7l.whl
Algorithm Hash digest
SHA256 b47a19a3be2f9608b4296bd16374c9a922d3206cf0a917792801a5cef5a2fa23
MD5 6240d993d8a97563b03cdb92848bd8c7
BLAKE2b-256 ddaaac8e3c6badf1744f04be7d35fa95dae56df12b956f861285c8cced2a22cb

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for grpcio-1.12.1-cp27-cp27mu-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 868973b64b7e2464e5297cc660da588c542c175e85f6d2f7490d86c0dd5dbb4c
MD5 2709aa86630e93e957770577ae540562
BLAKE2b-256 1d0d146582f71161a0074dda2378617ae5f7e2c3d6cf62d4588eb586c1d6b675

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for grpcio-1.12.1-cp27-cp27mu-manylinux1_i686.whl
Algorithm Hash digest
SHA256 e1a03666852b956f7949c2a7f187dd54406cae2874c2ce26c1a0dafddf812cb2
MD5 f1303869c8f9816c958feebb5f1d7839
BLAKE2b-256 e1c3bcce8247da4e6f95a900489b6f7ff3d14d93df40d69875fe4164c1b9544a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for grpcio-1.12.1-cp27-cp27mu-linux_armv7l.whl
Algorithm Hash digest
SHA256 35a4f6ffae88ce6a461e503ae91b62dc5c96013cafc717f2d7139686b5c39969
MD5 805eba9c63252fcf2e2edbe4768d7f44
BLAKE2b-256 2aed71169dccb7f9250d17031068579832371a72891d8e64891265370ca6e264

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for grpcio-1.12.1-cp27-cp27m-win_amd64.whl
Algorithm Hash digest
SHA256 cde83440fb4691d1bd8620ea919a9bd3199e6725e72d2c0d94898a2774c255ee
MD5 7de13b9c274da870cd657fe237a0862c
BLAKE2b-256 ed8903924c56e9044b0842a014fcc0a81f55975028d1caa9cdd14234a230bc70

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for grpcio-1.12.1-cp27-cp27m-win32.whl
Algorithm Hash digest
SHA256 59c7670c902acce952ba709d9126cda87a45d7fed6bd568868e74171e4acd7f7
MD5 6303338bde90bbaa926981b7c3d9c3eb
BLAKE2b-256 5c735e65b81301956bdd32c5e8da691fde3fbd6e61283b65d2bac590b8f43765

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for grpcio-1.12.1-cp27-cp27m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 bf7bfe162057e6f1e3f4613b2a5f1157c8e286bddeaa40f7b8ce5054cb4b1413
MD5 55f2f0e5905a03409cfbde80d91421fc
BLAKE2b-256 30248e247548321e52c266a639b51a838ec19b41fb6bfd27e3bbef018496752e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for grpcio-1.12.1-cp27-cp27m-manylinux1_i686.whl
Algorithm Hash digest
SHA256 0feade5de967be3c9ee041662d1347fc537ad05ccbcf05bcf1efa05072bef926
MD5 97a11993b0da75c65f1a3dc0caf16aa9
BLAKE2b-256 6338d73bf5b1ef950dbab8203122b9681137b35012492ecfec56719be109e343

See more details on using hashes here.

File details

Details for the file grpcio-1.12.1-cp27-cp27m-macosx_10_12_x86_64.whl.

File metadata

File hashes

Hashes for grpcio-1.12.1-cp27-cp27m-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 9444863aaba55b662719e22680f11134182604619f241cc607020e5b3786f4cd
MD5 14593328e85c08edccf0d0b38995a39f
BLAKE2b-256 a2256d910070a4a07c32633c2376075d5dc03e90f69f855d700e3f73c1affebb

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