grpcio-fips 1.70.0__4-cp313-cp313-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 (63) hide show
  1. grpc/__init__.py +2348 -0
  2. grpc/_auth.py +80 -0
  3. grpc/_channel.py +2267 -0
  4. grpc/_common.py +183 -0
  5. grpc/_compression.py +71 -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/cygrpc.cp313-win_amd64.pyd +0 -0
  10. grpc/_grpcio_metadata.py +1 -0
  11. grpc/_interceptor.py +813 -0
  12. grpc/_observability.py +299 -0
  13. grpc/_plugin_wrapping.py +136 -0
  14. grpc/_runtime_protos.py +165 -0
  15. grpc/_server.py +1528 -0
  16. grpc/_simple_stubs.py +588 -0
  17. grpc/_typing.py +95 -0
  18. grpc/_utilities.py +222 -0
  19. grpc/aio/__init__.py +95 -0
  20. grpc/aio/_base_call.py +257 -0
  21. grpc/aio/_base_channel.py +364 -0
  22. grpc/aio/_base_server.py +385 -0
  23. grpc/aio/_call.py +764 -0
  24. grpc/aio/_channel.py +627 -0
  25. grpc/aio/_interceptor.py +1178 -0
  26. grpc/aio/_metadata.py +137 -0
  27. grpc/aio/_server.py +239 -0
  28. grpc/aio/_typing.py +43 -0
  29. grpc/aio/_utils.py +22 -0
  30. grpc/beta/__init__.py +13 -0
  31. grpc/beta/_client_adaptations.py +1015 -0
  32. grpc/beta/_metadata.py +56 -0
  33. grpc/beta/_server_adaptations.py +465 -0
  34. grpc/beta/implementations.py +345 -0
  35. grpc/beta/interfaces.py +163 -0
  36. grpc/beta/utilities.py +153 -0
  37. grpc/experimental/__init__.py +134 -0
  38. grpc/experimental/aio/__init__.py +16 -0
  39. grpc/experimental/gevent.py +27 -0
  40. grpc/experimental/session_cache.py +45 -0
  41. grpc/framework/__init__.py +13 -0
  42. grpc/framework/common/__init__.py +13 -0
  43. grpc/framework/common/cardinality.py +26 -0
  44. grpc/framework/common/style.py +24 -0
  45. grpc/framework/foundation/__init__.py +13 -0
  46. grpc/framework/foundation/abandonment.py +22 -0
  47. grpc/framework/foundation/callable_util.py +98 -0
  48. grpc/framework/foundation/future.py +219 -0
  49. grpc/framework/foundation/logging_pool.py +72 -0
  50. grpc/framework/foundation/stream.py +43 -0
  51. grpc/framework/foundation/stream_util.py +148 -0
  52. grpc/framework/interfaces/__init__.py +13 -0
  53. grpc/framework/interfaces/base/__init__.py +13 -0
  54. grpc/framework/interfaces/base/base.py +328 -0
  55. grpc/framework/interfaces/base/utilities.py +83 -0
  56. grpc/framework/interfaces/face/__init__.py +13 -0
  57. grpc/framework/interfaces/face/face.py +1084 -0
  58. grpc/framework/interfaces/face/utilities.py +245 -0
  59. grpcio_fips-1.70.0.dist-info/METADATA +55 -0
  60. grpcio_fips-1.70.0.dist-info/RECORD +63 -0
  61. grpcio_fips-1.70.0.dist-info/WHEEL +5 -0
  62. grpcio_fips-1.70.0.dist-info/licenses/LICENSE +610 -0
  63. grpcio_fips-1.70.0.dist-info/top_level.txt +1 -0
@@ -0,0 +1,245 @@
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(
26
+ face.MethodImplementation,
27
+ collections.namedtuple(
28
+ "_MethodImplementation",
29
+ [
30
+ "cardinality",
31
+ "style",
32
+ "unary_unary_inline",
33
+ "unary_stream_inline",
34
+ "stream_unary_inline",
35
+ "stream_stream_inline",
36
+ "unary_unary_event",
37
+ "unary_stream_event",
38
+ "stream_unary_event",
39
+ "stream_stream_event",
40
+ ],
41
+ ),
42
+ ):
43
+ pass
44
+
45
+
46
+ def unary_unary_inline(behavior):
47
+ """Creates an face.MethodImplementation for the given behavior.
48
+
49
+ Args:
50
+ behavior: The implementation of a unary-unary RPC method as a callable value
51
+ that takes a request value and an face.ServicerContext object and
52
+ returns a response value.
53
+
54
+ Returns:
55
+ An face.MethodImplementation derived from the given behavior.
56
+ """
57
+ return _MethodImplementation(
58
+ cardinality.Cardinality.UNARY_UNARY,
59
+ style.Service.INLINE,
60
+ behavior,
61
+ None,
62
+ None,
63
+ None,
64
+ None,
65
+ None,
66
+ None,
67
+ None,
68
+ )
69
+
70
+
71
+ def unary_stream_inline(behavior):
72
+ """Creates an face.MethodImplementation for the given behavior.
73
+
74
+ Args:
75
+ behavior: The implementation of a unary-stream RPC method as a callable
76
+ value that takes a request value and an face.ServicerContext object and
77
+ returns an iterator of response values.
78
+
79
+ Returns:
80
+ An face.MethodImplementation derived from the given behavior.
81
+ """
82
+ return _MethodImplementation(
83
+ cardinality.Cardinality.UNARY_STREAM,
84
+ style.Service.INLINE,
85
+ None,
86
+ behavior,
87
+ None,
88
+ None,
89
+ None,
90
+ None,
91
+ None,
92
+ None,
93
+ )
94
+
95
+
96
+ def stream_unary_inline(behavior):
97
+ """Creates an face.MethodImplementation for the given behavior.
98
+
99
+ Args:
100
+ behavior: The implementation of a stream-unary RPC method as a callable
101
+ value that takes an iterator of request values and an
102
+ face.ServicerContext object and returns a response value.
103
+
104
+ Returns:
105
+ An face.MethodImplementation derived from the given behavior.
106
+ """
107
+ return _MethodImplementation(
108
+ cardinality.Cardinality.STREAM_UNARY,
109
+ style.Service.INLINE,
110
+ None,
111
+ None,
112
+ behavior,
113
+ None,
114
+ None,
115
+ None,
116
+ None,
117
+ None,
118
+ )
119
+
120
+
121
+ def stream_stream_inline(behavior):
122
+ """Creates an face.MethodImplementation for the given behavior.
123
+
124
+ Args:
125
+ behavior: The implementation of a stream-stream RPC method as a callable
126
+ value that takes an iterator of request values and an
127
+ face.ServicerContext object and returns an iterator of response values.
128
+
129
+ Returns:
130
+ An face.MethodImplementation derived from the given behavior.
131
+ """
132
+ return _MethodImplementation(
133
+ cardinality.Cardinality.STREAM_STREAM,
134
+ style.Service.INLINE,
135
+ None,
136
+ None,
137
+ None,
138
+ behavior,
139
+ None,
140
+ None,
141
+ None,
142
+ None,
143
+ )
144
+
145
+
146
+ def unary_unary_event(behavior):
147
+ """Creates an face.MethodImplementation for the given behavior.
148
+
149
+ Args:
150
+ behavior: The implementation of a unary-unary RPC method as a callable
151
+ value that takes a request value, a response callback to which to pass
152
+ the response value of the RPC, and an face.ServicerContext.
153
+
154
+ Returns:
155
+ An face.MethodImplementation derived from the given behavior.
156
+ """
157
+ return _MethodImplementation(
158
+ cardinality.Cardinality.UNARY_UNARY,
159
+ style.Service.EVENT,
160
+ None,
161
+ None,
162
+ None,
163
+ None,
164
+ behavior,
165
+ None,
166
+ None,
167
+ None,
168
+ )
169
+
170
+
171
+ def unary_stream_event(behavior):
172
+ """Creates an face.MethodImplementation for the given behavior.
173
+
174
+ Args:
175
+ behavior: The implementation of a unary-stream RPC method as a callable
176
+ value that takes a request value, a stream.Consumer to which to pass the
177
+ response values of the RPC, and an face.ServicerContext.
178
+
179
+ Returns:
180
+ An face.MethodImplementation derived from the given behavior.
181
+ """
182
+ return _MethodImplementation(
183
+ cardinality.Cardinality.UNARY_STREAM,
184
+ style.Service.EVENT,
185
+ None,
186
+ None,
187
+ None,
188
+ None,
189
+ None,
190
+ behavior,
191
+ None,
192
+ None,
193
+ )
194
+
195
+
196
+ def stream_unary_event(behavior):
197
+ """Creates an face.MethodImplementation for the given behavior.
198
+
199
+ Args:
200
+ behavior: The implementation of a stream-unary RPC method as a callable
201
+ value that takes a response callback to which to pass the response value
202
+ of the RPC and an face.ServicerContext and returns a stream.Consumer to
203
+ which the request values of the RPC should be passed.
204
+
205
+ Returns:
206
+ An face.MethodImplementation derived from the given behavior.
207
+ """
208
+ return _MethodImplementation(
209
+ cardinality.Cardinality.STREAM_UNARY,
210
+ style.Service.EVENT,
211
+ None,
212
+ None,
213
+ None,
214
+ None,
215
+ None,
216
+ None,
217
+ behavior,
218
+ None,
219
+ )
220
+
221
+
222
+ def stream_stream_event(behavior):
223
+ """Creates an face.MethodImplementation for the given behavior.
224
+
225
+ Args:
226
+ behavior: The implementation of a stream-stream RPC method as a callable
227
+ value that takes a stream.Consumer to which to pass the response values
228
+ of the RPC and an face.ServicerContext and returns a stream.Consumer to
229
+ which the request values of the RPC should be passed.
230
+
231
+ Returns:
232
+ An face.MethodImplementation derived from the given behavior.
233
+ """
234
+ return _MethodImplementation(
235
+ cardinality.Cardinality.STREAM_STREAM,
236
+ style.Service.EVENT,
237
+ None,
238
+ None,
239
+ None,
240
+ None,
241
+ None,
242
+ None,
243
+ None,
244
+ behavior,
245
+ )
@@ -0,0 +1,55 @@
1
+ Metadata-Version: 2.4
2
+ Name: grpcio-fips
3
+ Version: 1.70.0
4
+ Summary: HTTP/2-based RPC framework - FIPS-compliant
5
+ Author: Alteryx, Inc
6
+ Author-email: support@alteryx.com
7
+ License: Apache License 2.0
8
+ Classifier: Development Status :: 5 - Production/Stable
9
+ Classifier: Programming Language :: Python
10
+ Classifier: Programming Language :: Python :: 3
11
+ Classifier: Programming Language :: Python :: 3.10
12
+ Classifier: Programming Language :: Python :: 3.13
13
+ Classifier: License :: OSI Approved :: Apache Software License
14
+ Requires-Python: >=3.1
15
+ Description-Content-Type: text/x-rst
16
+ License-File: LICENSE
17
+ Provides-Extra: protobuf
18
+ Requires-Dist: grpcio-tools>=1.70.0; extra == "protobuf"
19
+ Dynamic: author
20
+ Dynamic: author-email
21
+ Dynamic: classifier
22
+ Dynamic: description
23
+ Dynamic: description-content-type
24
+ Dynamic: license
25
+ Dynamic: license-file
26
+ Dynamic: provides-extra
27
+ Dynamic: requires-python
28
+ Dynamic: summary
29
+
30
+ gRPC FIPS
31
+ ===========
32
+
33
+ This fork of gRPC is not the same as https://pypi.org/python/grpcio. This package is intended as a FIPS-compliant communication layer between Alteryx Designer and the Alteryx Platform SDK.
34
+
35
+ Differences
36
+ -----------
37
+
38
+ This fork differs from the original gRPC in the following ways:
39
+
40
+ - changes to the build and packaging process, to build with FIPS-compliant OpenSSL and cryptography DLLs
41
+ - Those DLLs are expected to be on the user's machine (as part of an Alteryx Designer installation)
42
+
43
+ Installation
44
+ ------------
45
+
46
+ gRPC FIPS Python is available for Windows.
47
+
48
+ Installing From PyPI
49
+ ~~~~~~~~~~~~~~~~~~~~
50
+
51
+ If you are installing locally on Windows...
52
+
53
+ ::
54
+
55
+ $ pip install grpcio-fips
@@ -0,0 +1,63 @@
1
+ grpc/__init__.py,sha256=Vl7Jh3KVTCHAtN0kSoyHhte6BvMBY4_6E0QQMZEvMBE,84681
2
+ grpc/_auth.py,sha256=7GGYpUPXKqU7_iF_jniN1fDWch0_1T3x0nkhzRfsf40,2715
3
+ grpc/_channel.py,sha256=Yq8CYcVTlgi3hWonOG3FyDwhP_03HCWjWMLb1wX4oQU,83613
4
+ grpc/_common.py,sha256=L-pYsWV2y6d9EYCM9XnEBJzw1QoSDKfTbONqPiL6Z0g,6967
5
+ grpc/_compression.py,sha256=hrvGhY68cMej3c53nV2CJg_pGg5kZrMWyUQBrJKxLiY,2054
6
+ grpc/_grpcio_metadata.py,sha256=FzewghcwpuriihMSXh-O15yGmqR6ktYayw4abswMmq4,26
7
+ grpc/_interceptor.py,sha256=xkXA_oQCZXBTBiIWz-OmX81z7gf4KU1_dqU6wqmzBoY,26675
8
+ grpc/_observability.py,sha256=HAOiiUGfC4JTM2sdjyANTY7mj7kRghx3FEAJM1JPQ3E,10716
9
+ grpc/_plugin_wrapping.py,sha256=sd98vNKf1TqtQWMSDIKcT1z8tX2lwKrfbjkYQ1l4EB0,4518
10
+ grpc/_runtime_protos.py,sha256=mhCStPUyivS2LUvN8hIXO92KaqzcRn4Q6kTeyTesNDo,5970
11
+ grpc/_server.py,sha256=7ZDwXKcOhiQPjtNjr60BPciIGEKW6KRtbIn9wQHaLPI,52413
12
+ grpc/_simple_stubs.py,sha256=3p-NQBfa41JcLydxBFIUfbj28XrlIgV1VVAOdrxT4gE,25198
13
+ grpc/_typing.py,sha256=jsam5hDuif4oZU-3t8wrDnEF2IIh1AQHdkJe4hqVMuk,2853
14
+ grpc/_utilities.py,sha256=n6dxyRWRfDjH8bmgrteEPDNdve_fVVYUZXhMk-8-ZcM,7265
15
+ grpc/_cython/__init__.py,sha256=v-bMmhfnkYP7kR6Mw9wPLG_cCagk-ZKiUZi6pyap2GU,590
16
+ grpc/_cython/cygrpc.cp313-win_amd64.pyd,sha256=R1TGOF9SeeWwz_Vtc9tKo3wS_TiH1uv5cGGVCz3xGfE,8550912
17
+ grpc/_cython/_credentials/roots.pem,sha256=iQrx6SIqWnawwL7sTFcKoy0a1ZIIj89WEN6VR4qN5jg,268777
18
+ grpc/_cython/_cygrpc/__init__.py,sha256=v-bMmhfnkYP7kR6Mw9wPLG_cCagk-ZKiUZi6pyap2GU,590
19
+ grpc/aio/__init__.py,sha256=ww6NbDPsc3XAFs8WSYykRYIMemQ8wx4tnoH7UTF6DUg,3255
20
+ grpc/aio/_base_call.py,sha256=2u6QA8f1cEfDOjEPjH3Ermthji9yP6PiEZyMm9JS1Lg,7817
21
+ grpc/aio/_base_channel.py,sha256=Qp_pxAKuiIKyFbTupCqts56p4NOhj0yi9e3vlSaefsQ,14257
22
+ grpc/aio/_base_server.py,sha256=5T_jhzYFmETW9d4mkkKZ5LAcPht5mufvK1jInEiCcpc,12945
23
+ grpc/aio/_call.py,sha256=V136GU08-lXEjU22DfesDxTC-5w7U4Azw93Wa76w0K4,26120
24
+ grpc/aio/_channel.py,sha256=5BAAsEujDAE2c7OhP65_y0G2q397epT1udBINlk1x7M,22726
25
+ grpc/aio/_interceptor.py,sha256=pN3bZ_gP-kMZubIJ0o4gyGS6kCVMgTFw8KYrmOfdxEU,42523
26
+ grpc/aio/_metadata.py,sha256=wvoXY3ky2RI6355iLS452nvQ6xqJry8ZiagUkTsaDws,5146
27
+ grpc/aio/_server.py,sha256=WKTxg5gbjtP7uD5ju1Yc5yWO6R_eA39gfMAL7RviXDE,9170
28
+ grpc/aio/_typing.py,sha256=QgYlt_nen7CnvtDxCcpUw0BVjRDo7roQHkycqzfcz0I,1421
29
+ grpc/aio/_utils.py,sha256=Fw8FpKtucE2a2VRNF3JyAMzh0BtgNQZKpE5jWlHlwQw,843
30
+ grpc/beta/__init__.py,sha256=v-bMmhfnkYP7kR6Mw9wPLG_cCagk-ZKiUZi6pyap2GU,590
31
+ grpc/beta/_client_adaptations.py,sha256=4C6KYM68G9Dg76SbPNMnGrpcj3I1aLG7nAdvDEuzMl8,28038
32
+ grpc/beta/_metadata.py,sha256=4bRwelrMpqyqZxmTb_lAhGDpICyBVR-qmsvB1Ti8JrA,1694
33
+ grpc/beta/_server_adaptations.py,sha256=T7EHbyI8BCB_eMyGUoBXnIxQcjp_CoV2jHRPZ8P5sUY,15076
34
+ grpc/beta/implementations.py,sha256=fEpftVpElsOzHK3MxVVQqE21CZ5HdBUkSAbjLNvU1Ew,12403
35
+ grpc/beta/interfaces.py,sha256=U5D3tvq7Z_t4fCYJD9RfFqqnpSvS9VmB4cYQTtari-Y,6245
36
+ grpc/beta/utilities.py,sha256=Yt9_vnL1Bx6l5QO4UL3-TMb4AqKzTJNhmDkRawmlXfg,5158
37
+ grpc/experimental/__init__.py,sha256=J_nNA_SE-VfwMXleVA9CVxc2gNXpZPXIQNSflWeQ1S0,4237
38
+ grpc/experimental/gevent.py,sha256=ZmFL0iK7irhC9JtTC2JJP23-IRG3_ZCohRQBhhVWuyM,1000
39
+ grpc/experimental/session_cache.py,sha256=OdASXKtZYY8vP1Yo6GeRi4dfEaVuvyiOK5CknnROExE,1578
40
+ grpc/experimental/aio/__init__.py,sha256=QoEtaa5C408IeaaSMKvooYNJdWCqyX6X9UYF-maJcIY,676
41
+ grpc/framework/__init__.py,sha256=v-bMmhfnkYP7kR6Mw9wPLG_cCagk-ZKiUZi6pyap2GU,590
42
+ grpc/framework/common/__init__.py,sha256=v-bMmhfnkYP7kR6Mw9wPLG_cCagk-ZKiUZi6pyap2GU,590
43
+ grpc/framework/common/cardinality.py,sha256=lhyS0Chc2kUCH84K069F2PgNLFJHpjfBjSdN79olL8E,1014
44
+ grpc/framework/common/style.py,sha256=eFEX5mA2ynBzHFf8H2eKeAFp2mm-fR343MiGq9Xq_sI,848
45
+ grpc/framework/foundation/__init__.py,sha256=v-bMmhfnkYP7kR6Mw9wPLG_cCagk-ZKiUZi6pyap2GU,590
46
+ grpc/framework/foundation/abandonment.py,sha256=lI3FSuizdQ85z8sxEKluhvYj9I64YeImvqWDuWu6JXs,900
47
+ grpc/framework/foundation/callable_util.py,sha256=QJZNFhQXoJFD6DAeiRe3KGSnJd-br0C7aqgsagAR1HI,3249
48
+ grpc/framework/foundation/future.py,sha256=WGkqWv-4W0ahgE0iRsgsKdIuVNIBny22OrARQb4AMfc,8592
49
+ grpc/framework/foundation/logging_pool.py,sha256=4hGk3EL1_QyDyF4ic4CF5SI2rrTwWe7Pczj-dJEyuYs,2320
50
+ grpc/framework/foundation/stream.py,sha256=l2VMgFK5qhPMBT0yjM75ZppHMIf5Lzz6Iwnp6Wd9wAw,1420
51
+ grpc/framework/foundation/stream_util.py,sha256=xbo7u8uXLBsQ_vf_NKHsls8mFOmmsaLQni51yk_xLpw,4920
52
+ grpc/framework/interfaces/__init__.py,sha256=v-bMmhfnkYP7kR6Mw9wPLG_cCagk-ZKiUZi6pyap2GU,590
53
+ grpc/framework/interfaces/base/__init__.py,sha256=v-bMmhfnkYP7kR6Mw9wPLG_cCagk-ZKiUZi6pyap2GU,590
54
+ grpc/framework/interfaces/base/base.py,sha256=5Bvs4SPEUAhJUQCvflvP4BqUx-UXs2SGBAXf2hAv9TA,12562
55
+ grpc/framework/interfaces/base/utilities.py,sha256=fN-_DUGGZdbb8HwHmOmWYHcSRHZbWiPy1ScROb9zCzc,2445
56
+ grpc/framework/interfaces/face/__init__.py,sha256=v-bMmhfnkYP7kR6Mw9wPLG_cCagk-ZKiUZi6pyap2GU,590
57
+ grpc/framework/interfaces/face/face.py,sha256=Ml3loDRLwrunMkCs_B9iE6uJEbV3QSCciWxLWykGaYo,40784
58
+ grpc/framework/interfaces/face/utilities.py,sha256=i2hcUy2q1bGfZ2YGgz8vR1Hhjxd3VmqWQAN5G6Tel-0,7022
59
+ grpcio_fips-1.70.0.dist-info/licenses/LICENSE,sha256=r2PsgwP9UTw5BUp_27KVfsqU-p-O8FvhUTnWMS8iJ3s,30297
60
+ grpcio_fips-1.70.0.dist-info/METADATA,sha256=Oa0O2fengchnYyuA0O5dq-9rtq4G9i8RYCFlQbMst6A,1643
61
+ grpcio_fips-1.70.0.dist-info/WHEEL,sha256=yC3OVe9skFE0rAd70upJxuH5WUo8L-vbuVSibQ-iR4c,101
62
+ grpcio_fips-1.70.0.dist-info/top_level.txt,sha256=eEd2Jq_aVQFp38bWW8Pfwjz_5iibqeOFT-2zXlPAq_8,5
63
+ grpcio_fips-1.70.0.dist-info/RECORD,,
@@ -0,0 +1,5 @@
1
+ Wheel-Version: 1.0
2
+ Generator: setuptools (78.1.1)
3
+ Root-Is-Purelib: false
4
+ Tag: cp313-cp313-win_amd64
5
+