Skip to main content

HTTP/2-based RPC framework - FIPS ready

Project description

compat_check_pypi

Package for gRPC Python.

Supported Python Versions

Python >= 3.6

Installation

gRPC Python is available for Linux, macOS, and Windows.

Installing 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!

Installing 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 RELEASE_TAG_HERE 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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

grpcio_fips-1.44.0-cp38-cp38-win_amd64.whl (2.8 MB view details)

Uploaded CPython 3.8 Windows x86-64

grpcio_fips-1.44.0-4-cp310-cp310-win_amd64.whl (4.7 MB view details)

Uploaded CPython 3.10 Windows x86-64

grpcio_fips-1.44.0-4-cp38-cp38-win_amd64.whl (5.0 MB view details)

Uploaded CPython 3.8 Windows x86-64

grpcio_fips-1.44.0-3-cp38-cp38-win_amd64.whl (4.9 MB view details)

Uploaded CPython 3.8 Windows x86-64

grpcio_fips-1.44.0-2-cp38-cp38-win_amd64.whl (8.1 MB view details)

Uploaded CPython 3.8 Windows x86-64

grpcio_fips-1.44.0-1-cp38-cp38-win_amd64.whl (22.0 MB view details)

Uploaded CPython 3.8 Windows x86-64

File details

Details for the file grpcio_fips-1.44.0-cp38-cp38-win_amd64.whl.

File metadata

File hashes

Hashes for grpcio_fips-1.44.0-cp38-cp38-win_amd64.whl
Algorithm Hash digest
SHA256 ad22fad0b30e93924c387f576d904eb7cd3dff5678a37e306c95d64615888bc9
MD5 98c303f55102508e1c4de1c771dd8968
BLAKE2b-256 ba67212b3018f0fdf83efa7e8ee1b0990ea50aaa2620a6b4d972e3097f282213

See more details on using hashes here.

File details

Details for the file grpcio_fips-1.44.0-4-cp310-cp310-win_amd64.whl.

File metadata

File hashes

Hashes for grpcio_fips-1.44.0-4-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 506437ac11ddb7698f8f4a4d36f130f84c9c0a8f37feb2dfe9da689110416bcc
MD5 cbea65ef1ab3b354d7a80c7dfa02bdce
BLAKE2b-256 8af30ae4acc529ec43b018ebe88b254fafba88cda8c20feee7fcbafdac3d5d7e

See more details on using hashes here.

File details

Details for the file grpcio_fips-1.44.0-4-cp38-cp38-win_amd64.whl.

File metadata

File hashes

Hashes for grpcio_fips-1.44.0-4-cp38-cp38-win_amd64.whl
Algorithm Hash digest
SHA256 f2611b68d41a2201950a5763b3cb1a61ae67503c8a45812155e29a74e4884652
MD5 bf8bd8bb3a4917f6bc79a08b32815008
BLAKE2b-256 f38c4cfd21ac8ffa7a2041507d097f457b692bc6cb6c0717d7f1adc9c770955e

See more details on using hashes here.

File details

Details for the file grpcio_fips-1.44.0-3-cp38-cp38-win_amd64.whl.

File metadata

File hashes

Hashes for grpcio_fips-1.44.0-3-cp38-cp38-win_amd64.whl
Algorithm Hash digest
SHA256 4f7b8682db661c349968569f6c2cbb6099d621be5f3c7c649994f7173bf8981f
MD5 2a0d0c672b1e691d30ead2f6a84f2d46
BLAKE2b-256 b29300ccbec129a7e891edf1fdce50a54aecfb2c85718259882bd0b82e8e6c99

See more details on using hashes here.

File details

Details for the file grpcio_fips-1.44.0-2-cp38-cp38-win_amd64.whl.

File metadata

File hashes

Hashes for grpcio_fips-1.44.0-2-cp38-cp38-win_amd64.whl
Algorithm Hash digest
SHA256 aa92add48680d7eed35192778ab390019dc4d02c44d192b14f4b5affccbfc145
MD5 2f2b25327ce27e43241388adfc023537
BLAKE2b-256 6ce5eceab92f5e94534a21f167847c1beb93c71b7c6d9be736c14320cfb59944

See more details on using hashes here.

File details

Details for the file grpcio_fips-1.44.0-1-cp38-cp38-win_amd64.whl.

File metadata

  • Download URL: grpcio_fips-1.44.0-1-cp38-cp38-win_amd64.whl
  • Upload date:
  • Size: 22.0 MB
  • Tags: CPython 3.8, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.8.2 requests/2.24.0 setuptools/61.2.0 requests-toolbelt/0.9.1 tqdm/4.63.1 CPython/3.8.5

File hashes

Hashes for grpcio_fips-1.44.0-1-cp38-cp38-win_amd64.whl
Algorithm Hash digest
SHA256 fff05a11d72d64071c799cfe364cf28706d8ffb787799dda3462a0c88a0658d3
MD5 82e4cd51294197ff8ce91efba6fedc76
BLAKE2b-256 2269deeb48a2da84e9014b2d5e1d9ba0048319195fd755812ec4eff92807230f

See more details on using hashes here.

Supported by

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