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

Uploaded Source

Built Distributions

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

Uploaded CPython 3.6m Windows x86-64

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

Uploaded CPython 3.6m Windows x86

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

Uploaded CPython 3.6m

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

Uploaded CPython 3.6m

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

Uploaded CPython 3.6m macOS 10.7+ intel

grpcio-1.12.0-cp36-cp36m-linux_armv7l.whl (8.1 MB view details)

Uploaded CPython 3.6m

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

Uploaded CPython 3.5m Windows x86-64

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

Uploaded CPython 3.5m Windows x86

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

Uploaded CPython 3.5m

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

Uploaded CPython 3.5m

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

Uploaded CPython 3.5m macOS 10.7+ intel

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

Uploaded CPython 3.5m

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

Uploaded CPython 3.4m Windows x86-64

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

Uploaded CPython 3.4m Windows x86

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

Uploaded CPython 3.4m

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

Uploaded CPython 3.4m

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

Uploaded CPython 3.4m macOS 10.7+ intel

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

Uploaded CPython 3.4m

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

Uploaded CPython 2.7mu

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

Uploaded CPython 2.7mu

grpcio-1.12.0-cp27-cp27mu-linux_armv7l.whl (8.0 MB view details)

Uploaded CPython 2.7mu

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

Uploaded CPython 2.7m Windows x86-64

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

Uploaded CPython 2.7m Windows x86

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

Uploaded CPython 2.7m

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

Uploaded CPython 2.7m

grpcio-1.12.0-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.0.tar.gz.

File metadata

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

File hashes

Hashes for grpcio-1.12.0.tar.gz
Algorithm Hash digest
SHA256 e1fd1f0782751d281e7d4e67b8d3143f0326cf3a7ab7c7ccf21ee51a152a5c37
MD5 3baf132f09ad8ad83ce370ada6882135
BLAKE2b-256 8742cbd9bf779156031c20b4454a8a3a03c92adfcfd55f2295717ad403d6f381

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for grpcio-1.12.0-cp36-cp36m-win_amd64.whl
Algorithm Hash digest
SHA256 5cf44d7609505a8036798589f8b990dd214944fb67aeb2bdefd4c95f8d3b33d2
MD5 528408177bac52c0b30d169ba880e714
BLAKE2b-256 6061d4886a79db5581d6169ec651351212ee503a6759abc5c575b6263256e4be

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for grpcio-1.12.0-cp36-cp36m-win32.whl
Algorithm Hash digest
SHA256 9af42c8655902af22bd2ec615650c0cbcba8a1caec8dbfb9f743cff9dc8ae9c9
MD5 55b41685cbeba39fc5f5f96f720d934e
BLAKE2b-256 083fcb6bad43aea6f2347a2f9afc6d95ea5416243baaf3ee57b6d25ded86898e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for grpcio-1.12.0-cp36-cp36m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 bd94538efa7e6be4b37d0136da0abc6c6aad20fd64b9767fc5ad463148d0a81d
MD5 ad310399603bd99306f02fbe03f024bf
BLAKE2b-256 056df659683f0dfd3b3bebcd476821f2c598637e4e8948ff898f984867e96bc6

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for grpcio-1.12.0-cp36-cp36m-manylinux1_i686.whl
Algorithm Hash digest
SHA256 f5e3f9c15d8d3e0f0230c13cc189fe43c912085b8c815d51af0006b628957515
MD5 b18bbe9281213ae96043e2ed26baefa6
BLAKE2b-256 07ca54775dd0ab715c40a7dd16c5eae09a0d2ad3436c15865784b43134e5110e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for grpcio-1.12.0-cp36-cp36m-macosx_10_7_intel.whl
Algorithm Hash digest
SHA256 c1433a2b9d51b04069b2ee5710bc06f69b6893e58f997ea5403050962557240f
MD5 1d961cad2b0e0f479b5eb080da802eb2
BLAKE2b-256 e3c4b984569ed8ccca0da7e4798632344243d41240908c338fb4c60d26d0af06

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for grpcio-1.12.0-cp36-cp36m-linux_armv7l.whl
Algorithm Hash digest
SHA256 4a8097f73fb7eb18671e20375fcc21e9b5bdb7d9e266115d198aa0deb59de227
MD5 eedfcac3660c5d73cb091365db66bda4
BLAKE2b-256 c438e7f95208de2f80a31f54cd95e919ea6fcef967cb9293a4c691cec710a3b7

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for grpcio-1.12.0-cp35-cp35m-win_amd64.whl
Algorithm Hash digest
SHA256 d30ed0b6320a6cf7ddf2d8e3a3dd1f88c9a1f27e5ec9a5c9ae9e0d89946bd220
MD5 24ee3311d97ce88469a133e3502fb66a
BLAKE2b-256 a2bbd0c91350768c4d1d6731b62a5f2415dce1a1a9149399c2066ad5410c1fc6

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for grpcio-1.12.0-cp35-cp35m-win32.whl
Algorithm Hash digest
SHA256 1b0d080dec833dfc6b09917ca13cbf5e515e193338e90c1f6004ca4eb89ed407
MD5 393aded55652f4ac31da6e22a893d734
BLAKE2b-256 68cf816fadab09bd95068ede68731948ae99dc930f69123177e2bd8b2acbbb7e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for grpcio-1.12.0-cp35-cp35m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 eb7282b64068c80d40a5ccef42341d910c834c8e2ce867930a3281c4d65c44d6
MD5 767427181ed4d70c3c849c59a0c10aae
BLAKE2b-256 2cfff118147fd7a8d2d441d15e1cb7fefb2c1981586e24ef3a7d8a742535b085

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for grpcio-1.12.0-cp35-cp35m-manylinux1_i686.whl
Algorithm Hash digest
SHA256 00d8e7ca0bf3bf56fa6ff86dfb17ee2d5758440bb6eb199bf10b28468f4074f4
MD5 83ff389ef248f03e57b3eba8c396e4ff
BLAKE2b-256 9eccf2df4af7afd264d3235cb33807d062c8467795ef66f03d07405f865f4975

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for grpcio-1.12.0-cp35-cp35m-macosx_10_7_intel.whl
Algorithm Hash digest
SHA256 1013fddbcf96a8599b8fc161a8f727f239a47571cb51d182f76916cba73f56c3
MD5 cc3473986e8c1fba90b100eeb8007f39
BLAKE2b-256 adfb296a4992812c586dfa071c8a041d048f752055a9e017f07462946b12b9e7

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for grpcio-1.12.0-cp35-cp35m-linux_armv7l.whl
Algorithm Hash digest
SHA256 2d2c6108b06581783947ba65b52b9fe24002f72a06e12ff217dcf43dfd781b96
MD5 0f8a7a370dcbaa3e13bf042d5f4c5472
BLAKE2b-256 af97bd2683795dbdbcec240cfffa90eb8c82d5f2b8f795ed56c71802fe3be924

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for grpcio-1.12.0-cp34-cp34m-win_amd64.whl
Algorithm Hash digest
SHA256 8a66b7cabe186845fb15fbc4ca8ede6b717b3ed896fba24a2984e33a600ec68a
MD5 56e123dc95922d7b0d88fbb0fb52257a
BLAKE2b-256 9b947aa4fafdce2b4d8409215307a5951623775a2ffbbe16b7aa88c20d2b3654

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for grpcio-1.12.0-cp34-cp34m-win32.whl
Algorithm Hash digest
SHA256 9b1796fbe03f8a449cafea28d99eed913b65e6c1527476be1011a920bcc38d32
MD5 41e92bb160f48cbd89c2b6de62f194f4
BLAKE2b-256 4d0b9e4966e12ef7140ee36d2cf651c9c39b78968dd1bb08f9c2c1c6d52a7fb7

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for grpcio-1.12.0-cp34-cp34m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 314d6b083372adb179eb82e7b629460414f5327f9d0e9b92880d60d689b8f055
MD5 636d10b48f02b2da0cdb48cfcaa9c4a1
BLAKE2b-256 34b83fb83a74d6d8352ed7e755da5790a06b1027868e22735c6d7c3a76c1fb4b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for grpcio-1.12.0-cp34-cp34m-manylinux1_i686.whl
Algorithm Hash digest
SHA256 3c0c102dc32bb7d1c1ba9a8682b34db00d0a46d566f2ff0dacf8e4d981c15081
MD5 d09255a23a4d5618e980abc44a68c724
BLAKE2b-256 60a1b0bb0f8a2ac2c6832a21f19911ec698b7656fc8cdd561d8c3fe619dad791

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for grpcio-1.12.0-cp34-cp34m-macosx_10_7_intel.whl
Algorithm Hash digest
SHA256 a7fe71994559b3a83599e95e681b57e35ef970e57e37c04143740bde75dc1172
MD5 8be31c0f9b6eb50dda8ead5c51d4d9e6
BLAKE2b-256 bb27735164adc8a6640edde5cbf363a9275573ac9f4e97f262fd858ec7ec452d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for grpcio-1.12.0-cp34-cp34m-linux_armv7l.whl
Algorithm Hash digest
SHA256 0fce864a23acfb45c310f3a6bd4e100eee4502de766397888ed8770c29859844
MD5 b71139c43df48e28dbda0c521aabc82a
BLAKE2b-256 81dc8f023635d3521bacd3d486fa9e3ed063d02797cea25b28e984a2aa3cc313

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for grpcio-1.12.0-cp27-cp27mu-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 fd5409f797a01d82e80800d078b6ee43ddae43cf93ad2b30d601e471f08bec96
MD5 88e4ae2abdf35ae0138e0eb6624fd0fc
BLAKE2b-256 2ad5eb371e43d65989267a9daa90ee8f92d79b216184ea3c8cf0670e5c2388eb

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for grpcio-1.12.0-cp27-cp27mu-manylinux1_i686.whl
Algorithm Hash digest
SHA256 2dad6be9616c7bcdcce5cf78da7a818db805ad1b4ad15c95fecc7ed88197efdf
MD5 56c03e3fa18b231251432fbc18735d0f
BLAKE2b-256 c40f767214da65d1cf990e14516e19179dc0ffddae2aa5f0973fa600b2768816

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for grpcio-1.12.0-cp27-cp27mu-linux_armv7l.whl
Algorithm Hash digest
SHA256 e77a294766a3386dea48dc86029454faedf32bfa8d191b083868946fb07f1c35
MD5 ad40a65740f47737de3b5363973463eb
BLAKE2b-256 a92016514bfadc37f2c5b286af4e641549df36926f85fbe247465d2455a83de4

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for grpcio-1.12.0-cp27-cp27m-win_amd64.whl
Algorithm Hash digest
SHA256 67712f4ddf5557e5df17a43d597c2447865030d593ecf1c2eb2d4e26afb102f4
MD5 f6833c2f0c5e55f86e8135e0b2956a6b
BLAKE2b-256 29aa20d719c5802a9f75f759d45486df3b97a63fe5d4ba3296ed61e4a9d362fd

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for grpcio-1.12.0-cp27-cp27m-win32.whl
Algorithm Hash digest
SHA256 668ac2bb6f08982d09decd4429eef452a1a840b00be7a452a1b6304c4932468c
MD5 c7b7155dbfe2d49020580afc279dee9e
BLAKE2b-256 b1319604a522615a5b2a642a7282e835f419df8e63a7e63cddd0666038dfb901

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for grpcio-1.12.0-cp27-cp27m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 ea159ebdb7eca251d6cd1651a8008f6dc5c5de5e439662327aafe280a4e27578
MD5 0193bb0e36ec9f2b73d02bdc1e1ba2f3
BLAKE2b-256 2633d21ce1d59568d1df957f63d76859f48952e4bd68b61406e8df474e475fe7

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for grpcio-1.12.0-cp27-cp27m-manylinux1_i686.whl
Algorithm Hash digest
SHA256 f643eb2c0f468f4828119f225557a2aeaecf43692cb7fcac4f8dbb02ebb388b4
MD5 e09d9f83833e49f7f94a401cccaf2711
BLAKE2b-256 2bb3de9e17df1e081b4cb58c4c65eadf4dcb9a395c062f995699b8f3b0fa2730

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for grpcio-1.12.0-cp27-cp27m-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 e87393c34532636741e06f39d01ef1df0c7ca751b4aa15d6ac8fb6482484de9f
MD5 d2cbc3d005e137e488f1584e3dc0852f
BLAKE2b-256 0a9daa4dd93ae061526e5ba6b8e9f6e11095ed9df70fdf0a3ad9288a600a76c1

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