grpcio-fips 1.44.0__4-cp38-cp38-win_amd64.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (64) hide show
  1. grpc/__init__.py +2190 -0
  2. grpc/_auth.py +58 -0
  3. grpc/_channel.py +1581 -0
  4. grpc/_common.py +168 -0
  5. grpc/_compression.py +55 -0
  6. grpc/_cython/__init__.py +13 -0
  7. grpc/_cython/_credentials/roots.pem +4337 -0
  8. grpc/_cython/_cygrpc/__init__.py +13 -0
  9. grpc/_cython/ayx-crypto-library.dll +0 -0
  10. grpc/_cython/cygrpc.cp38-win_amd64.pyd +0 -0
  11. grpc/_cython/libcrypto-3-x64.dll +0 -0
  12. grpc/_cython/libssl-3-x64.dll +0 -0
  13. grpc/_grpcio_metadata.py +1 -0
  14. grpc/_interceptor.py +562 -0
  15. grpc/_plugin_wrapping.py +113 -0
  16. grpc/_runtime_protos.py +155 -0
  17. grpc/_server.py +1003 -0
  18. grpc/_simple_stubs.py +486 -0
  19. grpc/_utilities.py +168 -0
  20. grpc/aio/__init__.py +95 -0
  21. grpc/aio/_base_call.py +248 -0
  22. grpc/aio/_base_channel.py +352 -0
  23. grpc/aio/_base_server.py +373 -0
  24. grpc/aio/_call.py +648 -0
  25. grpc/aio/_channel.py +484 -0
  26. grpc/aio/_interceptor.py +1004 -0
  27. grpc/aio/_metadata.py +120 -0
  28. grpc/aio/_server.py +210 -0
  29. grpc/aio/_typing.py +35 -0
  30. grpc/aio/_utils.py +22 -0
  31. grpc/beta/__init__.py +13 -0
  32. grpc/beta/_client_adaptations.py +706 -0
  33. grpc/beta/_metadata.py +52 -0
  34. grpc/beta/_server_adaptations.py +385 -0
  35. grpc/beta/implementations.py +311 -0
  36. grpc/beta/interfaces.py +164 -0
  37. grpc/beta/utilities.py +149 -0
  38. grpc/experimental/__init__.py +128 -0
  39. grpc/experimental/aio/__init__.py +16 -0
  40. grpc/experimental/gevent.py +27 -0
  41. grpc/experimental/session_cache.py +45 -0
  42. grpc/framework/__init__.py +13 -0
  43. grpc/framework/common/__init__.py +13 -0
  44. grpc/framework/common/cardinality.py +26 -0
  45. grpc/framework/common/style.py +24 -0
  46. grpc/framework/foundation/__init__.py +13 -0
  47. grpc/framework/foundation/abandonment.py +22 -0
  48. grpc/framework/foundation/callable_util.py +96 -0
  49. grpc/framework/foundation/future.py +221 -0
  50. grpc/framework/foundation/logging_pool.py +71 -0
  51. grpc/framework/foundation/stream.py +45 -0
  52. grpc/framework/foundation/stream_util.py +148 -0
  53. grpc/framework/interfaces/__init__.py +13 -0
  54. grpc/framework/interfaces/base/__init__.py +13 -0
  55. grpc/framework/interfaces/base/base.py +327 -0
  56. grpc/framework/interfaces/base/utilities.py +71 -0
  57. grpc/framework/interfaces/face/__init__.py +13 -0
  58. grpc/framework/interfaces/face/face.py +1050 -0
  59. grpc/framework/interfaces/face/utilities.py +168 -0
  60. grpcio_fips-1.44.0.dist-info/LICENSE +242 -0
  61. grpcio_fips-1.44.0.dist-info/METADATA +143 -0
  62. grpcio_fips-1.44.0.dist-info/RECORD +64 -0
  63. grpcio_fips-1.44.0.dist-info/WHEEL +5 -0
  64. grpcio_fips-1.44.0.dist-info/top_level.txt +1 -0
@@ -0,0 +1,168 @@
1
+ # Copyright 2015 gRPC authors.
2
+ #
3
+ # Licensed under the Apache License, Version 2.0 (the "License");
4
+ # you may not use this file except in compliance with the License.
5
+ # You may obtain a copy of the License at
6
+ #
7
+ # http://www.apache.org/licenses/LICENSE-2.0
8
+ #
9
+ # Unless required by applicable law or agreed to in writing, software
10
+ # distributed under the License is distributed on an "AS IS" BASIS,
11
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
+ # See the License for the specific language governing permissions and
13
+ # limitations under the License.
14
+ """Utilities for RPC Framework's Face interface."""
15
+
16
+ import collections
17
+
18
+ # stream is referenced from specification in this module.
19
+ from grpc.framework.common import cardinality
20
+ from grpc.framework.common import style
21
+ from grpc.framework.foundation import stream # pylint: disable=unused-import
22
+ from grpc.framework.interfaces.face import face
23
+
24
+
25
+ class _MethodImplementation(face.MethodImplementation,
26
+ collections.namedtuple('_MethodImplementation', [
27
+ 'cardinality',
28
+ 'style',
29
+ 'unary_unary_inline',
30
+ 'unary_stream_inline',
31
+ 'stream_unary_inline',
32
+ 'stream_stream_inline',
33
+ 'unary_unary_event',
34
+ 'unary_stream_event',
35
+ 'stream_unary_event',
36
+ 'stream_stream_event',
37
+ ])):
38
+ pass
39
+
40
+
41
+ def unary_unary_inline(behavior):
42
+ """Creates an face.MethodImplementation for the given behavior.
43
+
44
+ Args:
45
+ behavior: The implementation of a unary-unary RPC method as a callable value
46
+ that takes a request value and an face.ServicerContext object and
47
+ returns a response value.
48
+
49
+ Returns:
50
+ An face.MethodImplementation derived from the given behavior.
51
+ """
52
+ return _MethodImplementation(cardinality.Cardinality.UNARY_UNARY,
53
+ style.Service.INLINE, behavior, None, None,
54
+ None, None, None, None, None)
55
+
56
+
57
+ def unary_stream_inline(behavior):
58
+ """Creates an face.MethodImplementation for the given behavior.
59
+
60
+ Args:
61
+ behavior: The implementation of a unary-stream RPC method as a callable
62
+ value that takes a request value and an face.ServicerContext object and
63
+ returns an iterator of response values.
64
+
65
+ Returns:
66
+ An face.MethodImplementation derived from the given behavior.
67
+ """
68
+ return _MethodImplementation(cardinality.Cardinality.UNARY_STREAM,
69
+ style.Service.INLINE, None, behavior, None,
70
+ None, None, None, None, None)
71
+
72
+
73
+ def stream_unary_inline(behavior):
74
+ """Creates an face.MethodImplementation for the given behavior.
75
+
76
+ Args:
77
+ behavior: The implementation of a stream-unary RPC method as a callable
78
+ value that takes an iterator of request values and an
79
+ face.ServicerContext object and returns a response value.
80
+
81
+ Returns:
82
+ An face.MethodImplementation derived from the given behavior.
83
+ """
84
+ return _MethodImplementation(cardinality.Cardinality.STREAM_UNARY,
85
+ style.Service.INLINE, None, None, behavior,
86
+ None, None, None, None, None)
87
+
88
+
89
+ def stream_stream_inline(behavior):
90
+ """Creates an face.MethodImplementation for the given behavior.
91
+
92
+ Args:
93
+ behavior: The implementation of a stream-stream RPC method as a callable
94
+ value that takes an iterator of request values and an
95
+ face.ServicerContext object and returns an iterator of response values.
96
+
97
+ Returns:
98
+ An face.MethodImplementation derived from the given behavior.
99
+ """
100
+ return _MethodImplementation(cardinality.Cardinality.STREAM_STREAM,
101
+ style.Service.INLINE, None, None, None,
102
+ behavior, None, None, None, None)
103
+
104
+
105
+ def unary_unary_event(behavior):
106
+ """Creates an face.MethodImplementation for the given behavior.
107
+
108
+ Args:
109
+ behavior: The implementation of a unary-unary RPC method as a callable
110
+ value that takes a request value, a response callback to which to pass
111
+ the response value of the RPC, and an face.ServicerContext.
112
+
113
+ Returns:
114
+ An face.MethodImplementation derived from the given behavior.
115
+ """
116
+ return _MethodImplementation(cardinality.Cardinality.UNARY_UNARY,
117
+ style.Service.EVENT, None, None, None, None,
118
+ behavior, None, None, None)
119
+
120
+
121
+ def unary_stream_event(behavior):
122
+ """Creates an face.MethodImplementation for the given behavior.
123
+
124
+ Args:
125
+ behavior: The implementation of a unary-stream RPC method as a callable
126
+ value that takes a request value, a stream.Consumer to which to pass the
127
+ the response values of the RPC, and an face.ServicerContext.
128
+
129
+ Returns:
130
+ An face.MethodImplementation derived from the given behavior.
131
+ """
132
+ return _MethodImplementation(cardinality.Cardinality.UNARY_STREAM,
133
+ style.Service.EVENT, None, None, None, None,
134
+ None, behavior, None, None)
135
+
136
+
137
+ def stream_unary_event(behavior):
138
+ """Creates an face.MethodImplementation for the given behavior.
139
+
140
+ Args:
141
+ behavior: The implementation of a stream-unary RPC method as a callable
142
+ value that takes a response callback to which to pass the response value
143
+ of the RPC and an face.ServicerContext and returns a stream.Consumer to
144
+ which the request values of the RPC should be passed.
145
+
146
+ Returns:
147
+ An face.MethodImplementation derived from the given behavior.
148
+ """
149
+ return _MethodImplementation(cardinality.Cardinality.STREAM_UNARY,
150
+ style.Service.EVENT, None, None, None, None,
151
+ None, None, behavior, None)
152
+
153
+
154
+ def stream_stream_event(behavior):
155
+ """Creates an face.MethodImplementation for the given behavior.
156
+
157
+ Args:
158
+ behavior: The implementation of a stream-stream RPC method as a callable
159
+ value that takes a stream.Consumer to which to pass the response values
160
+ of the RPC and an face.ServicerContext and returns a stream.Consumer to
161
+ which the request values of the RPC should be passed.
162
+
163
+ Returns:
164
+ An face.MethodImplementation derived from the given behavior.
165
+ """
166
+ return _MethodImplementation(cardinality.Cardinality.STREAM_STREAM,
167
+ style.Service.EVENT, None, None, None, None,
168
+ None, None, None, behavior)
@@ -0,0 +1,242 @@
1
+
2
+ Apache License
3
+ Version 2.0, January 2004
4
+ http://www.apache.org/licenses/
5
+
6
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
7
+
8
+ 1. Definitions.
9
+
10
+ "License" shall mean the terms and conditions for use, reproduction,
11
+ and distribution as defined by Sections 1 through 9 of this document.
12
+
13
+ "Licensor" shall mean the copyright owner or entity authorized by
14
+ the copyright owner that is granting the License.
15
+
16
+ "Legal Entity" shall mean the union of the acting entity and all
17
+ other entities that control, are controlled by, or are under common
18
+ control with that entity. For the purposes of this definition,
19
+ "control" means (i) the power, direct or indirect, to cause the
20
+ direction or management of such entity, whether by contract or
21
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
22
+ outstanding shares, or (iii) beneficial ownership of such entity.
23
+
24
+ "You" (or "Your") shall mean an individual or Legal Entity
25
+ exercising permissions granted by this License.
26
+
27
+ "Source" form shall mean the preferred form for making modifications,
28
+ including but not limited to software source code, documentation
29
+ source, and configuration files.
30
+
31
+ "Object" form shall mean any form resulting from mechanical
32
+ transformation or translation of a Source form, including but
33
+ not limited to compiled object code, generated documentation,
34
+ and conversions to other media types.
35
+
36
+ "Work" shall mean the work of authorship, whether in Source or
37
+ Object form, made available under the License, as indicated by a
38
+ copyright notice that is included in or attached to the work
39
+ (an example is provided in the Appendix below).
40
+
41
+ "Derivative Works" shall mean any work, whether in Source or Object
42
+ form, that is based on (or derived from) the Work and for which the
43
+ editorial revisions, annotations, elaborations, or other modifications
44
+ represent, as a whole, an original work of authorship. For the purposes
45
+ of this License, Derivative Works shall not include works that remain
46
+ separable from, or merely link (or bind by name) to the interfaces of,
47
+ the Work and Derivative Works thereof.
48
+
49
+ "Contribution" shall mean any work of authorship, including
50
+ the original version of the Work and any modifications or additions
51
+ to that Work or Derivative Works thereof, that is intentionally
52
+ submitted to Licensor for inclusion in the Work by the copyright owner
53
+ or by an individual or Legal Entity authorized to submit on behalf of
54
+ the copyright owner. For the purposes of this definition, "submitted"
55
+ means any form of electronic, verbal, or written communication sent
56
+ to the Licensor or its representatives, including but not limited to
57
+ communication on electronic mailing lists, source code control systems,
58
+ and issue tracking systems that are managed by, or on behalf of, the
59
+ Licensor for the purpose of discussing and improving the Work, but
60
+ excluding communication that is conspicuously marked or otherwise
61
+ designated in writing by the copyright owner as "Not a Contribution."
62
+
63
+ "Contributor" shall mean Licensor and any individual or Legal Entity
64
+ on behalf of whom a Contribution has been received by Licensor and
65
+ subsequently incorporated within the Work.
66
+
67
+ 2. Grant of Copyright License. Subject to the terms and conditions of
68
+ this License, each Contributor hereby grants to You a perpetual,
69
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
70
+ copyright license to reproduce, prepare Derivative Works of,
71
+ publicly display, publicly perform, sublicense, and distribute the
72
+ Work and such Derivative Works in Source or Object form.
73
+
74
+ 3. Grant of Patent License. Subject to the terms and conditions of
75
+ this License, each Contributor hereby grants to You a perpetual,
76
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
77
+ (except as stated in this section) patent license to make, have made,
78
+ use, offer to sell, sell, import, and otherwise transfer the Work,
79
+ where such license applies only to those patent claims licensable
80
+ by such Contributor that are necessarily infringed by their
81
+ Contribution(s) alone or by combination of their Contribution(s)
82
+ with the Work to which such Contribution(s) was submitted. If You
83
+ institute patent litigation against any entity (including a
84
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
85
+ or a Contribution incorporated within the Work constitutes direct
86
+ or contributory patent infringement, then any patent licenses
87
+ granted to You under this License for that Work shall terminate
88
+ as of the date such litigation is filed.
89
+
90
+ 4. Redistribution. You may reproduce and distribute copies of the
91
+ Work or Derivative Works thereof in any medium, with or without
92
+ modifications, and in Source or Object form, provided that You
93
+ meet the following conditions:
94
+
95
+ (a) You must give any other recipients of the Work or
96
+ Derivative Works a copy of this License; and
97
+
98
+ (b) You must cause any modified files to carry prominent notices
99
+ stating that You changed the files; and
100
+
101
+ (c) You must retain, in the Source form of any Derivative Works
102
+ that You distribute, all copyright, patent, trademark, and
103
+ attribution notices from the Source form of the Work,
104
+ excluding those notices that do not pertain to any part of
105
+ the Derivative Works; and
106
+
107
+ (d) If the Work includes a "NOTICE" text file as part of its
108
+ distribution, then any Derivative Works that You distribute must
109
+ include a readable copy of the attribution notices contained
110
+ within such NOTICE file, excluding those notices that do not
111
+ pertain to any part of the Derivative Works, in at least one
112
+ of the following places: within a NOTICE text file distributed
113
+ as part of the Derivative Works; within the Source form or
114
+ documentation, if provided along with the Derivative Works; or,
115
+ within a display generated by the Derivative Works, if and
116
+ wherever such third-party notices normally appear. The contents
117
+ of the NOTICE file are for informational purposes only and
118
+ do not modify the License. You may add Your own attribution
119
+ notices within Derivative Works that You distribute, alongside
120
+ or as an addendum to the NOTICE text from the Work, provided
121
+ that such additional attribution notices cannot be construed
122
+ as modifying the License.
123
+
124
+ You may add Your own copyright statement to Your modifications and
125
+ may provide additional or different license terms and conditions
126
+ for use, reproduction, or distribution of Your modifications, or
127
+ for any such Derivative Works as a whole, provided Your use,
128
+ reproduction, and distribution of the Work otherwise complies with
129
+ the conditions stated in this License.
130
+
131
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
132
+ any Contribution intentionally submitted for inclusion in the Work
133
+ by You to the Licensor shall be under the terms and conditions of
134
+ this License, without any additional terms or conditions.
135
+ Notwithstanding the above, nothing herein shall supersede or modify
136
+ the terms of any separate license agreement you may have executed
137
+ with Licensor regarding such Contributions.
138
+
139
+ 6. Trademarks. This License does not grant permission to use the trade
140
+ names, trademarks, service marks, or product names of the Licensor,
141
+ except as required for reasonable and customary use in describing the
142
+ origin of the Work and reproducing the content of the NOTICE file.
143
+
144
+ 7. Disclaimer of Warranty. Unless required by applicable law or
145
+ agreed to in writing, Licensor provides the Work (and each
146
+ Contributor provides its Contributions) on an "AS IS" BASIS,
147
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
148
+ implied, including, without limitation, any warranties or conditions
149
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
150
+ PARTICULAR PURPOSE. You are solely responsible for determining the
151
+ appropriateness of using or redistributing the Work and assume any
152
+ risks associated with Your exercise of permissions under this License.
153
+
154
+ 8. Limitation of Liability. In no event and under no legal theory,
155
+ whether in tort (including negligence), contract, or otherwise,
156
+ unless required by applicable law (such as deliberate and grossly
157
+ negligent acts) or agreed to in writing, shall any Contributor be
158
+ liable to You for damages, including any direct, indirect, special,
159
+ incidental, or consequential damages of any character arising as a
160
+ result of this License or out of the use or inability to use the
161
+ Work (including but not limited to damages for loss of goodwill,
162
+ work stoppage, computer failure or malfunction, or any and all
163
+ other commercial damages or losses), even if such Contributor
164
+ has been advised of the possibility of such damages.
165
+
166
+ 9. Accepting Warranty or Additional Liability. While redistributing
167
+ the Work or Derivative Works thereof, You may choose to offer,
168
+ and charge a fee for, acceptance of support, warranty, indemnity,
169
+ or other liability obligations and/or rights consistent with this
170
+ License. However, in accepting such obligations, You may act only
171
+ on Your own behalf and on Your sole responsibility, not on behalf
172
+ of any other Contributor, and only if You agree to indemnify,
173
+ defend, and hold each Contributor harmless for any liability
174
+ incurred by, or claims asserted against, such Contributor by reason
175
+ of your accepting any such warranty or additional liability.
176
+
177
+ END OF TERMS AND CONDITIONS
178
+
179
+ APPENDIX: How to apply the Apache License to your work.
180
+
181
+ To apply the Apache License to your work, attach the following
182
+ boilerplate notice, with the fields enclosed by brackets "[]"
183
+ replaced with your own identifying information. (Don't include
184
+ the brackets!) The text should be enclosed in the appropriate
185
+ comment syntax for the file format. We also recommend that a
186
+ file or class name and description of purpose be included on the
187
+ same "printed page" as the copyright notice for easier
188
+ identification within third-party archives.
189
+
190
+ Copyright [yyyy] [name of copyright owner]
191
+
192
+ Licensed under the Apache License, Version 2.0 (the "License");
193
+ you may not use this file except in compliance with the License.
194
+ You may obtain a copy of the License at
195
+
196
+ http://www.apache.org/licenses/LICENSE-2.0
197
+
198
+ Unless required by applicable law or agreed to in writing, software
199
+ distributed under the License is distributed on an "AS IS" BASIS,
200
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
201
+ See the License for the specific language governing permissions and
202
+ limitations under the License.
203
+
204
+ -----------------------------------------------------------
205
+
206
+ BSD 3-Clause License
207
+
208
+ Copyright 2016, Google Inc.
209
+
210
+ Redistribution and use in source and binary forms, with or without
211
+ modification, are permitted provided that the following conditions are met:
212
+
213
+ 1. Redistributions of source code must retain the above copyright notice,
214
+ this list of conditions and the following disclaimer.
215
+
216
+ 2. Redistributions in binary form must reproduce the above copyright notice,
217
+ this list of conditions and the following disclaimer in the documentation
218
+ and/or other materials provided with the distribution.
219
+
220
+ 3. Neither the name of the copyright holder nor the names of its
221
+ contributors may be used to endorse or promote products derived from this
222
+ software without specific prior written permission.
223
+
224
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
225
+ AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
226
+ IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
227
+ ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
228
+ LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
229
+ CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
230
+ SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
231
+ INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
232
+ CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
233
+ ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
234
+ THE POSSIBILITY OF SUCH DAMAGE.
235
+
236
+ -----------------------------------------------------------
237
+
238
+ Mozilla Public License, v. 2.0
239
+
240
+ This Source Code Form is subject to the terms of the Mozilla Public License,
241
+ v. 2.0. If a copy of the MPL was not distributed with this file, You can
242
+ obtain one at https://mozilla.org/MPL/2.0/.
@@ -0,0 +1,143 @@
1
+ Metadata-Version: 2.1
2
+ Name: grpcio-fips
3
+ Version: 1.44.0
4
+ Summary: HTTP/2-based RPC framework - FIPS ready
5
+ Home-page: https://grpc.io
6
+ Author: The gRPC Authors
7
+ Author-email: grpc-io@googlegroups.com
8
+ License: Apache License 2.0
9
+ Platform: UNKNOWN
10
+ Classifier: Development Status :: 5 - Production/Stable
11
+ Classifier: Programming Language :: Python
12
+ Classifier: Programming Language :: Python :: 3
13
+ Classifier: Programming Language :: Python :: 3.5
14
+ Classifier: Programming Language :: Python :: 3.6
15
+ Classifier: Programming Language :: Python :: 3.7
16
+ Classifier: Programming Language :: Python :: 3.8
17
+ Classifier: Programming Language :: Python :: 3.9
18
+ Classifier: Programming Language :: Python :: 3.10
19
+ Classifier: License :: OSI Approved :: Apache Software License
20
+ Requires-Python: >=3.6
21
+ Requires-Dist: six >=1.5.2
22
+ Requires-Dist: futures >=2.2.0 ; python_version < "3.2"
23
+ Requires-Dist: enum34 >=1.0.4 ; python_version < "3.4"
24
+ Provides-Extra: protobuf
25
+ Requires-Dist: grpcio-tools >=1.44.0 ; extra == 'protobuf'
26
+
27
+ gRPC Python
28
+ ===========
29
+
30
+ |compat_check_pypi|
31
+
32
+ Package for gRPC Python.
33
+
34
+ .. |compat_check_pypi| image:: https://python-compatibility-tools.appspot.com/one_badge_image?package=grpcio
35
+ :target: https://python-compatibility-tools.appspot.com/one_badge_target?package=grpcio
36
+
37
+ Supported Python Versions
38
+ -------------------------
39
+ Python >= 3.6
40
+
41
+ Installation
42
+ ------------
43
+
44
+ gRPC Python is available for Linux, macOS, and Windows.
45
+
46
+ Installing From PyPI
47
+ ~~~~~~~~~~~~~~~~~~~~
48
+
49
+ If you are installing locally...
50
+
51
+ ::
52
+
53
+ $ pip install grpcio
54
+
55
+ Else system wide (on Ubuntu)...
56
+
57
+ ::
58
+
59
+ $ sudo pip install grpcio
60
+
61
+ If you're on Windows make sure that you installed the :code:`pip.exe` component
62
+ when you installed Python (if not go back and install it!) then invoke:
63
+
64
+ ::
65
+
66
+ $ pip.exe install grpcio
67
+
68
+ Windows users may need to invoke :code:`pip.exe` from a command line ran as
69
+ administrator.
70
+
71
+ n.b. On Windows and on Mac OS X one *must* have a recent release of :code:`pip`
72
+ to retrieve the proper wheel from PyPI. Be sure to upgrade to the latest
73
+ version!
74
+
75
+ Installing From Source
76
+ ~~~~~~~~~~~~~~~~~~~~~~
77
+
78
+ Building from source requires that you have the Python headers (usually a
79
+ package named :code:`python-dev`).
80
+
81
+ ::
82
+
83
+ $ export REPO_ROOT=grpc # REPO_ROOT can be any directory of your choice
84
+ $ git clone -b RELEASE_TAG_HERE https://github.com/grpc/grpc $REPO_ROOT
85
+ $ cd $REPO_ROOT
86
+ $ git submodule update --init
87
+
88
+ # For the next two commands do `sudo pip install` if you get permission-denied errors
89
+ $ pip install -rrequirements.txt
90
+ $ GRPC_PYTHON_BUILD_WITH_CYTHON=1 pip install .
91
+
92
+ You cannot currently install Python from source on Windows. Things might work
93
+ out for you in MSYS2 (follow the Linux instructions), but it isn't officially
94
+ supported at the moment.
95
+
96
+ Troubleshooting
97
+ ~~~~~~~~~~~~~~~
98
+
99
+ Help, I ...
100
+
101
+ * **... see a** :code:`pkg_resources.VersionConflict` **when I try to install
102
+ grpc**
103
+
104
+ This is likely because :code:`pip` doesn't own the offending dependency,
105
+ which in turn is likely because your operating system's package manager owns
106
+ it. You'll need to force the installation of the dependency:
107
+
108
+ :code:`pip install --ignore-installed $OFFENDING_DEPENDENCY`
109
+
110
+ For example, if you get an error like the following:
111
+
112
+ ::
113
+
114
+ Traceback (most recent call last):
115
+ File "<string>", line 17, in <module>
116
+ ...
117
+ File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 509, in find
118
+ raise VersionConflict(dist, req)
119
+ pkg_resources.VersionConflict: (six 1.8.0 (/usr/lib/python2.7/dist-packages), Requirement.parse('six>=1.10'))
120
+
121
+ You can fix it by doing:
122
+
123
+ ::
124
+
125
+ sudo pip install --ignore-installed six
126
+
127
+ * **... see the following error on some platforms**
128
+
129
+ ::
130
+
131
+ /tmp/pip-build-U8pSsr/cython/Cython/Plex/Scanners.c:4:20: fatal error: Python.h: No such file or directory
132
+ #include "Python.h"
133
+ ^
134
+ compilation terminated.
135
+
136
+ You can fix it by installing `python-dev` package. i.e
137
+
138
+ ::
139
+
140
+ sudo apt-get install python-dev
141
+
142
+
143
+
@@ -0,0 +1,64 @@
1
+ grpc/__init__.py,sha256=4OK04hgDV2jesZMzJhbNVQ-iUussrhqeOWCnJy5vh7U,82896
2
+ grpc/_auth.py,sha256=zvJYyOTwc0-ykNJK2gs9MK0JSLXKT7tKDB2Bh50tSU4,2168
3
+ grpc/_channel.py,sha256=fNgLD35Yhy8Gii8WRLed_uBW_uFso2Q9mJkG0HWaqQQ,63334
4
+ grpc/_common.py,sha256=iO_tQWEGacZP8M669PzAKesVokMeFeaEEQB4gTCg-MI,6254
5
+ grpc/_compression.py,sha256=F9C7oriOjlz2s168rFK99P6F7mIB_82Yz8XH2I5O64A,1695
6
+ grpc/_grpcio_metadata.py,sha256=2rEZGE1I9johPbQNnXGVmgmJvjqymNbvkbaOYnebbiY,26
7
+ grpc/_interceptor.py,sha256=a53wUfAAQVNYFcU1Gdv0iPBMo9iBDj3EjKpdQFpIuPc,20367
8
+ grpc/_plugin_wrapping.py,sha256=EebcDqD5Tup75sluQaxdUMST6KHGRR8D0Zsldq4e6FA,3916
9
+ grpc/_runtime_protos.py,sha256=iu20d84Jhy0MQoYnYHirTOwIhbBJEEKOBvUPXl8PraA,5564
10
+ grpc/_server.py,sha256=3nOou_EXYVl7kBBj_G1V6R0B8nl1Mar5nGJvVgBdVag,37668
11
+ grpc/_simple_stubs.py,sha256=rH9JFZHmkDkJgQ0IN0UcnWY2q05fXaH3owSD1-8yRm0,23408
12
+ grpc/_utilities.py,sha256=mfkrcyU52mAXKF7_9suyvKmWsqKmzPfAO2skZhRKSEU,5180
13
+ grpc/_cython/__init__.py,sha256=w3kqSAyaZgP-W0890xR4L4WeBPGrtsQCQJe0FUFR0K0,577
14
+ grpc/_cython/ayx-crypto-library.dll,sha256=_u_kffmDMkbiiMeLVWk182A_yDReqnMXt-rIimY2RH0,173056
15
+ grpc/_cython/cygrpc.cp38-win_amd64.pyd,sha256=cQ1nIVxeqigdfLnGbsrgQfi1_4yZo7HIN6wVLGMenhY,6127616
16
+ grpc/_cython/libcrypto-3-x64.dll,sha256=24j-X7dYi5gzSdbMFRC4IoABmQ3SDCXjP6tupKUMuj8,5151232
17
+ grpc/_cython/libssl-3-x64.dll,sha256=V73BtyaVTS7NFIbesaokd7nz5Yb-FUDcAYFxtN1g3G4,777216
18
+ grpc/_cython/_credentials/roots.pem,sha256=lhQzRMSuEJWIElssQdXa9lSl-vxuI_rDf3uj0p2n53Y,264440
19
+ grpc/_cython/_cygrpc/__init__.py,sha256=w3kqSAyaZgP-W0890xR4L4WeBPGrtsQCQJe0FUFR0K0,577
20
+ grpc/aio/__init__.py,sha256=Rc9in37TxB9f7wKIJsDUdP3YG1-lRw4AJi-aed2fAWU,3160
21
+ grpc/aio/_base_call.py,sha256=PpjLHS8BstE9U8R8vjJ6z-jxOZ4xe1je4XxTxW8-zvA,7313
22
+ grpc/aio/_base_channel.py,sha256=drgTVdBxls_nKD4WsbR2koWwx4-QvR09yyJmI8GurP4,13229
23
+ grpc/aio/_base_server.py,sha256=TXLhToa0dJsv7NAXJxSRXqEz9BuLT_JhoSxgSDDRBSI,12188
24
+ grpc/aio/_call.py,sha256=z5nxcQxwc1ZIMAABXl5PxRxzg1qvLFYY09M4z0kwJX0,24469
25
+ grpc/aio/_channel.py,sha256=XtrI3_GNc266-34HWjIP7xbUr-4M92l8tyf1X09jHhQ,19903
26
+ grpc/aio/_interceptor.py,sha256=7CNC4b9loNP-MfJr4NiqY9dN3vLr1EZfmxIOplBEY4A,40008
27
+ grpc/aio/_metadata.py,sha256=eyvzmGvz3ZuBgMo49Ta_FpRNq2tDivC8b0Tyu98PCIY,4570
28
+ grpc/aio/_server.py,sha256=Z6L66phJYscyXK69sGnpuiLtGbZDNaDUiFy5HRgvxsw,8699
29
+ grpc/aio/_typing.py,sha256=P8CDiVjLSE_PeahSGruuT5IPb8R9y7epVE8eLNaupbs,1363
30
+ grpc/aio/_utils.py,sha256=Bh5-lQO2xszdZeTFAWFfFhhaKy20ll4kucD6f_YZTlg,821
31
+ grpc/beta/__init__.py,sha256=w3kqSAyaZgP-W0890xR4L4WeBPGrtsQCQJe0FUFR0K0,577
32
+ grpc/beta/_client_adaptations.py,sha256=dBDjTXCf4VLzrmHIMmABrn0QJm2n1FzkR1aEt6AKjcc,27512
33
+ grpc/beta/_metadata.py,sha256=8bVMfkiSnRbN-paMtPqWKfLCQsBu9cpx2tMeWkfnNaw,1606
34
+ grpc/beta/_server_adaptations.py,sha256=wDdQYfXkqcppA75C6u3nhmZIpO4yhJuBndGbEhVAUxg,13817
35
+ grpc/beta/implementations.py,sha256=hZNIW751MHKCoSycGkEjmIF_YAKcHWLnusOzf12FP38,11822
36
+ grpc/beta/interfaces.py,sha256=chnG-HYccIk-jo5cnU-1L4MR7ZOqEsuZQVSdepW8UQM,5955
37
+ grpc/beta/utilities.py,sha256=-N8MklKSxbBreECo4EEI9WbbzbTycKBl4FPo4nfgbMI,4933
38
+ grpc/experimental/__init__.py,sha256=lLYEUAFLxv6_RfyGYIL_rMRXUE8FwjwMshLhsz9o4Pg,4058
39
+ grpc/experimental/gevent.py,sha256=_YAk9aH2PCZCpaCnW9uGY77W21342dEWm8wOVApTx88,973
40
+ grpc/experimental/session_cache.py,sha256=wAauvDzxvTC6-p3jMbPnTc7y74nhDKSRjb0ktfMPCm8,1533
41
+ grpc/experimental/aio/__init__.py,sha256=bIyDdGBbNHi5F_kHvwByONjc4M_74thy53YmBDr1ZPo,660
42
+ grpc/framework/__init__.py,sha256=w3kqSAyaZgP-W0890xR4L4WeBPGrtsQCQJe0FUFR0K0,577
43
+ grpc/framework/common/__init__.py,sha256=w3kqSAyaZgP-W0890xR4L4WeBPGrtsQCQJe0FUFR0K0,577
44
+ grpc/framework/common/cardinality.py,sha256=20A4kauMieG74urg13RDycR1882x5fPYDPoaShRMvng,988
45
+ grpc/framework/common/style.py,sha256=XGjGIDMJBUUA3Y_lacW1mEIW-UpArWiitC5O8VqSQLk,824
46
+ grpc/framework/foundation/__init__.py,sha256=w3kqSAyaZgP-W0890xR4L4WeBPGrtsQCQJe0FUFR0K0,577
47
+ grpc/framework/foundation/abandonment.py,sha256=GTuGQt5NI37p1XXdTlI17vGi5-CecKyEU7SViPXSo9E,872
48
+ grpc/framework/foundation/callable_util.py,sha256=yV7ARj4SdAb4NG6jkQ15kyKTV6dH_sPXDt81QWifv6I,3151
49
+ grpc/framework/foundation/future.py,sha256=hLq3__91hlwiuwbT-5aOhjW54kIlIasDt3cAav02NT8,8091
50
+ grpc/framework/foundation/logging_pool.py,sha256=SWw-qAj4_n1q9nk4aAZDQMrRr4t_ZOBgqA7QemztrSI,2276
51
+ grpc/framework/foundation/stream.py,sha256=HbXAdhHv4SzaTZrEckRY6Q4RJ2DB6Exfou5a3PWSW1A,1389
52
+ grpc/framework/foundation/stream_util.py,sha256=CUx6geCSB9zwgdlE0XHXcPSbuLeuNfClsZFyjsQVMB0,4772
53
+ grpc/framework/interfaces/__init__.py,sha256=w3kqSAyaZgP-W0890xR4L4WeBPGrtsQCQJe0FUFR0K0,577
54
+ grpc/framework/interfaces/base/__init__.py,sha256=w3kqSAyaZgP-W0890xR4L4WeBPGrtsQCQJe0FUFR0K0,577
55
+ grpc/framework/interfaces/base/base.py,sha256=oIAyBRKyFUx7CD4N9LSounw0epPZnsZYqJH8xqCvPYs,12046
56
+ grpc/framework/interfaces/base/utilities.py,sha256=goqmJRHRD7rXJUKin-HTi5yqfupHkt5MY_QQCAWiF_g,2455
57
+ grpc/framework/interfaces/face/__init__.py,sha256=w3kqSAyaZgP-W0890xR4L4WeBPGrtsQCQJe0FUFR0K0,577
58
+ grpc/framework/interfaces/face/face.py,sha256=hM2_0SoOHx0_lcXHklttp_pzK0Hd3JHnrH5BweHd5P4,39620
59
+ grpc/framework/interfaces/face/utilities.py,sha256=yeg9qnK3Z22WEnOxpBSy-jt4kwGdXpBaltBdXa6cfRU,6711
60
+ grpcio_fips-1.44.0.dist-info/LICENSE,sha256=J3rcwdzvg1mx77SOYoY1-ItAvo-9ZOgv0BaZMNE116U,13187
61
+ grpcio_fips-1.44.0.dist-info/METADATA,sha256=vm41eKatFhco6vSQKgurZOPt2HzVIZeWlskiDI8YwLA,4123
62
+ grpcio_fips-1.44.0.dist-info/WHEEL,sha256=3SeyPJ5-Us2Ct5GSftUVKtLSlm-bNefW4m5qd0GLzww,100
63
+ grpcio_fips-1.44.0.dist-info/top_level.txt,sha256=eEd2Jq_aVQFp38bWW8Pfwjz_5iibqeOFT-2zXlPAq_8,5
64
+ grpcio_fips-1.44.0.dist-info/RECORD,,
@@ -0,0 +1,5 @@
1
+ Wheel-Version: 1.0
2
+ Generator: bdist_wheel (0.42.0)
3
+ Root-Is-Purelib: false
4
+ Tag: cp38-cp38-win_amd64
5
+
@@ -0,0 +1 @@
1
+ grpc