femtocrux 0.5.0__py3-none-any.whl → 0.5.1__py3-none-any.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.
femtocrux/VERSION CHANGED
@@ -1 +1 @@
1
- 0.5.0
1
+ 0.5.1
@@ -1,7 +1,7 @@
1
1
  # -*- coding: utf-8 -*-
2
2
  # Generated by the protocol buffer compiler. DO NOT EDIT!
3
3
  # source: compiler_service.proto
4
- # Protobuf Python Version: 4.25.1
4
+ # Protobuf Python Version: 5.26.1
5
5
  """Generated protocol buffer code."""
6
6
  from google.protobuf import descriptor as _descriptor
7
7
  from google.protobuf import descriptor_pool as _descriptor_pool
@@ -21,8 +21,8 @@ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x16\x63ompiler_se
21
21
  _globals = globals()
22
22
  _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
23
23
  _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'compiler_service_pb2', _globals)
24
- if _descriptor._USE_C_DESCRIPTORS == False:
25
- DESCRIPTOR._options = None
24
+ if not _descriptor._USE_C_DESCRIPTORS:
25
+ DESCRIPTOR._loaded_options = None
26
26
  _globals['_FQIR']._serialized_start=97
27
27
  _globals['_FQIR']._serialized_end=200
28
28
  _globals['_TFLITE']._serialized_start=202
@@ -1,10 +1,35 @@
1
1
  # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT!
2
2
  """Client and server classes corresponding to protobuf-defined services."""
3
3
  import grpc
4
+ import warnings
4
5
 
5
6
  import compiler_service_pb2 as compiler__service__pb2
6
7
  from google.protobuf import empty_pb2 as google_dot_protobuf_dot_empty__pb2
7
8
 
9
+ GRPC_GENERATED_VERSION = '1.63.0'
10
+ GRPC_VERSION = grpc.__version__
11
+ EXPECTED_ERROR_RELEASE = '1.65.0'
12
+ SCHEDULED_RELEASE_DATE = 'June 25, 2024'
13
+ _version_not_supported = False
14
+
15
+ try:
16
+ from grpc._utilities import first_version_is_lower
17
+ _version_not_supported = first_version_is_lower(GRPC_VERSION, GRPC_GENERATED_VERSION)
18
+ except ImportError:
19
+ _version_not_supported = True
20
+
21
+ if _version_not_supported:
22
+ warnings.warn(
23
+ f'The grpc package installed is at version {GRPC_VERSION},'
24
+ + f' but the generated code in compiler_service_pb2_grpc.py depends on'
25
+ + f' grpcio>={GRPC_GENERATED_VERSION}.'
26
+ + f' Please upgrade your grpc module to grpcio>={GRPC_GENERATED_VERSION}'
27
+ + f' or downgrade your generated code using grpcio-tools<={GRPC_VERSION}.'
28
+ + f' This warning will become an error in {EXPECTED_ERROR_RELEASE},'
29
+ + f' scheduled for release on {SCHEDULED_RELEASE_DATE}.',
30
+ RuntimeWarning
31
+ )
32
+
8
33
 
9
34
  class CompileStub(object):
10
35
  """Compiler service
@@ -20,22 +45,22 @@ class CompileStub(object):
20
45
  '/fscompiler.Compile/compile',
21
46
  request_serializer=compiler__service__pb2.model.SerializeToString,
22
47
  response_deserializer=compiler__service__pb2.compiled_artifacts.FromString,
23
- )
48
+ _registered_method=True)
24
49
  self.ping = channel.unary_unary(
25
50
  '/fscompiler.Compile/ping',
26
51
  request_serializer=compiler__service__pb2.data.SerializeToString,
27
52
  response_deserializer=compiler__service__pb2.data.FromString,
28
- )
53
+ _registered_method=True)
29
54
  self.simulate = channel.stream_stream(
30
55
  '/fscompiler.Compile/simulate',
31
56
  request_serializer=compiler__service__pb2.simulation_input.SerializeToString,
32
57
  response_deserializer=compiler__service__pb2.simulation_output.FromString,
33
- )
58
+ _registered_method=True)
34
59
  self.version = channel.unary_unary(
35
60
  '/fscompiler.Compile/version',
36
61
  request_serializer=google_dot_protobuf_dot_empty__pb2.Empty.SerializeToString,
37
62
  response_deserializer=compiler__service__pb2.version_info.FromString,
38
- )
63
+ _registered_method=True)
39
64
 
40
65
 
41
66
  class CompileServicer(object):
@@ -111,11 +136,21 @@ class Compile(object):
111
136
  wait_for_ready=None,
112
137
  timeout=None,
113
138
  metadata=None):
114
- return grpc.experimental.unary_unary(request, target, '/fscompiler.Compile/compile',
139
+ return grpc.experimental.unary_unary(
140
+ request,
141
+ target,
142
+ '/fscompiler.Compile/compile',
115
143
  compiler__service__pb2.model.SerializeToString,
116
144
  compiler__service__pb2.compiled_artifacts.FromString,
117
- options, channel_credentials,
118
- insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
145
+ options,
146
+ channel_credentials,
147
+ insecure,
148
+ call_credentials,
149
+ compression,
150
+ wait_for_ready,
151
+ timeout,
152
+ metadata,
153
+ _registered_method=True)
119
154
 
120
155
  @staticmethod
121
156
  def ping(request,
@@ -128,11 +163,21 @@ class Compile(object):
128
163
  wait_for_ready=None,
129
164
  timeout=None,
130
165
  metadata=None):
131
- return grpc.experimental.unary_unary(request, target, '/fscompiler.Compile/ping',
166
+ return grpc.experimental.unary_unary(
167
+ request,
168
+ target,
169
+ '/fscompiler.Compile/ping',
132
170
  compiler__service__pb2.data.SerializeToString,
133
171
  compiler__service__pb2.data.FromString,
134
- options, channel_credentials,
135
- insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
172
+ options,
173
+ channel_credentials,
174
+ insecure,
175
+ call_credentials,
176
+ compression,
177
+ wait_for_ready,
178
+ timeout,
179
+ metadata,
180
+ _registered_method=True)
136
181
 
137
182
  @staticmethod
138
183
  def simulate(request_iterator,
@@ -145,11 +190,21 @@ class Compile(object):
145
190
  wait_for_ready=None,
146
191
  timeout=None,
147
192
  metadata=None):
148
- return grpc.experimental.stream_stream(request_iterator, target, '/fscompiler.Compile/simulate',
193
+ return grpc.experimental.stream_stream(
194
+ request_iterator,
195
+ target,
196
+ '/fscompiler.Compile/simulate',
149
197
  compiler__service__pb2.simulation_input.SerializeToString,
150
198
  compiler__service__pb2.simulation_output.FromString,
151
- options, channel_credentials,
152
- insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
199
+ options,
200
+ channel_credentials,
201
+ insecure,
202
+ call_credentials,
203
+ compression,
204
+ wait_for_ready,
205
+ timeout,
206
+ metadata,
207
+ _registered_method=True)
153
208
 
154
209
  @staticmethod
155
210
  def version(request,
@@ -162,8 +217,18 @@ class Compile(object):
162
217
  wait_for_ready=None,
163
218
  timeout=None,
164
219
  metadata=None):
165
- return grpc.experimental.unary_unary(request, target, '/fscompiler.Compile/version',
220
+ return grpc.experimental.unary_unary(
221
+ request,
222
+ target,
223
+ '/fscompiler.Compile/version',
166
224
  google_dot_protobuf_dot_empty__pb2.Empty.SerializeToString,
167
225
  compiler__service__pb2.version_info.FromString,
168
- options, channel_credentials,
169
- insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
226
+ options,
227
+ channel_credentials,
228
+ insecure,
229
+ call_credentials,
230
+ compression,
231
+ wait_for_ready,
232
+ timeout,
233
+ metadata,
234
+ _registered_method=True)
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: femtocrux
3
- Version: 0.5.0
3
+ Version: 0.5.1
4
4
  Summary: Femtosense Compiler
5
5
  Home-page: https://github.com/femtosense/femtocrux
6
6
  Author: Femtosense
@@ -1,21 +1,21 @@
1
1
  femtocrux/ENV_REQUIREMENTS.sh,sha256=t_O1B4hJAMgxvH9gwp1qls6eVFmhSYBJe64KmuK_H-4,1389
2
2
  femtocrux/PY_REQUIREMENTS,sha256=ItZMLU9SXzT6zUFc960ccY2U4l2i8q0H9-FsVfPXeDg,303
3
- femtocrux/VERSION,sha256=oK1QZAE5pST4ZZEVcUW_HUZ06pwGW_6iFVjw97BEMMg,6
3
+ femtocrux/VERSION,sha256=q6lRYmyGkM5JPLyPAYIFu0aAA_YfvwD9PTxxzrq8AXc,6
4
4
  femtocrux/__init__.py,sha256=yIWd9I2PEXCn_PKIILAN3mkWeTf0tgtVualeTIHNxfQ,342
5
5
  femtocrux/version.py,sha256=uNg2kHxQo6oUN1ah7s9_85rCZVRoTHGPD1GAQPZW4lw,164
6
6
  femtocrux/client/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
7
7
  femtocrux/client/client.py,sha256=PNaXL_XTe_7_r14WWKmp1RnvAW-kvYzDXcimseA8sEo,22726
8
8
  femtocrux/grpc/__init__.py,sha256=uiMHQt5I2eAKJqI3Zh0h1Gm7cmPR4PbaGS71nCJQCGw,169
9
- femtocrux/grpc/compiler_service_pb2.py,sha256=bUFQwqbLMWSDGu1SyMDcrFfg6rbIvLGMLOjQs5KDpb8,4458
10
- femtocrux/grpc/compiler_service_pb2_grpc.py,sha256=L9EQFYMFVACngUrAEmSJDgUTSPSi3rDoG7TERg-pFq4,7002
9
+ femtocrux/grpc/compiler_service_pb2.py,sha256=Fu4wOuUsu4lN1Ig3GacvuzYJ7MPRq-hTbqSzrCDqRAc,4460
10
+ femtocrux/grpc/compiler_service_pb2_grpc.py,sha256=d6ia_tmF6FD1rNScAjgtWVfpvirVds_v6hq2xEFyZsw,8652
11
11
  femtocrux/server/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
12
12
  femtocrux/server/exceptions.py,sha256=lI6n471n5QKf5G3aL_1kuBVEItD-jBgithVVpPDwNYc,609
13
13
  femtocrux/server/healthcheck.py,sha256=ehqAwnv0D0zpy-AUZAPwv8rp874DZCwUmP8nzdXzZvI,1565
14
14
  femtocrux/server/server.py,sha256=tmXVleZQB59oFzdmut3na4NnDvr0gmxphXF3N3MQx6I,7919
15
15
  femtocrux/util/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
16
16
  femtocrux/util/utils.py,sha256=FZ8cssDom4B3FDbVU_ew4Cf3wOWjo2w1jwcbnLzoYnM,1003
17
- femtocrux-0.5.0.dist-info/LICENSE,sha256=eN9ZI1xHjUmFvN3TEeop5kBGXRUBfbsl55KBNBYYFqI,36
18
- femtocrux-0.5.0.dist-info/METADATA,sha256=-yBCxGfR5PPSfCXUh8Gc-hjNnF-UEJk10XnOj7exmO4,3536
19
- femtocrux-0.5.0.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
20
- femtocrux-0.5.0.dist-info/top_level.txt,sha256=BkTttlioC3je__8577wxRieZqY3Abu7FOOdMnmYbcNI,10
21
- femtocrux-0.5.0.dist-info/RECORD,,
17
+ femtocrux-0.5.1.dist-info/LICENSE,sha256=eN9ZI1xHjUmFvN3TEeop5kBGXRUBfbsl55KBNBYYFqI,36
18
+ femtocrux-0.5.1.dist-info/METADATA,sha256=qUdCKstH1LNLf9AeEJh0Alogiys9TwMkyc1gZsqb958,3536
19
+ femtocrux-0.5.1.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
20
+ femtocrux-0.5.1.dist-info/top_level.txt,sha256=BkTttlioC3je__8577wxRieZqY3Abu7FOOdMnmYbcNI,10
21
+ femtocrux-0.5.1.dist-info/RECORD,,