apache-iotdb 1.3.0__py3-none-any.whl → 1.3.2__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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: apache-iotdb
3
- Version: 1.3.0
3
+ Version: 1.3.2
4
4
  Summary: Apache IoTDB client API
5
5
  Home-page: https://github.com/apache/iotdb
6
6
  Author: Apache Software Foundation
@@ -13,12 +13,11 @@ Classifier: Topic :: Software Development :: Libraries
13
13
  Classifier: Topic :: Software Development :: Libraries :: Python Modules
14
14
  Requires-Python: >=3.7
15
15
  Description-Content-Type: text/markdown
16
- Requires-Dist: thrift (>=0.13.0)
17
- Requires-Dist: pandas (<1.99.99,>=1.0.0)
18
- Requires-Dist: numpy (>=1.0.0)
19
- Requires-Dist: testcontainers (>=2.0.0)
20
- Requires-Dist: sqlalchemy (<1.5,>=1.4)
21
- Requires-Dist: sqlalchemy-utils (>=0.37.8)
16
+ Requires-Dist: thrift >=0.14.1
17
+ Requires-Dist: pandas >=1.3.5
18
+ Requires-Dist: numpy >=1.21.4
19
+ Requires-Dist: sqlalchemy <1.5,>=1.4
20
+ Requires-Dist: sqlalchemy-utils >=0.37.8
22
21
 
23
22
  <!--
24
23
 
@@ -19,20 +19,20 @@ iotdb/sqlalchemy/tests/test_dialect.py,sha256=MdrJXqVpwRznppYvqC3OfVUOjR0sbMU5ub
19
19
  iotdb/template/InternalNode.py,sha256=jLFe_t4BG6Fq-ePD6u6_l8lox6syXDrXgH2S-xzDqiA,1417
20
20
  iotdb/template/MeasurementNode.py,sha256=bIBAXBFJqbmg4TOFMB8JbzuHTiBjRUew515kde2pWyM,2012
21
21
  iotdb/template/Template.py,sha256=p5ofgl0urb1eg6qfORR82ry5NbX_oeB8G9oLyvb1atk,3378
22
- iotdb/template/TemplateNode.py,sha256=trqtuCrkLOmxB2hMODaXrsxySlyGXDGrZQdpZqmlADA,1309
22
+ iotdb/template/TemplateNode.py,sha256=CxsaJlt65FDayRETADzdDZhMYDybOO6iURDheDFCFAw,1285
23
23
  iotdb/template/TemplateQueryType.py,sha256=6bNiydOiIqFnzutiuxdpWrOm-z9CkSawMCd_52EYh44,1272
24
24
  iotdb/template/__init__.py,sha256=vGVFsdMOp1iKaCQl5rfYcPVa0FV94d-a7MsMDQDhHMc,789
25
25
  iotdb/thrift/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
26
26
  iotdb/thrift/common/__init__.py,sha256=YFcZTT8Cm-6Y4oTiCaqq0DT1lw2W09WqoEc5_pTAwW0,34
27
27
  iotdb/thrift/common/constants.py,sha256=IKRM8SpfhYWXERWBgUbUhbdFpn363hmZjXDhEYnVRbw,366
28
- iotdb/thrift/common/ttypes.py,sha256=ZVwAZjDmDXG13AgiQFBQ5gvOCLatP5tLDnyxJMtTUjE,74243
29
- iotdb/thrift/rpc/IClientRPCService.py,sha256=X_c5xImwPQKfmaYksX28VJUsz01RdyOxa_P-_aw_lHI,392401
28
+ iotdb/thrift/common/ttypes.py,sha256=EfE9QC6UmDoOZ42-mP6uLS-cISdt737cLE2cj0yOugM,75737
29
+ iotdb/thrift/rpc/IClientRPCService.py,sha256=C9CZxONUf14jJgAjrgOXfxwK3rfwfVrnCDnucwpDkwI,416186
30
30
  iotdb/thrift/rpc/__init__.py,sha256=69gRO2XxQu71SDeCRxiZFjK6Xw_61hdl5MdWceI-e1A,55
31
31
  iotdb/thrift/rpc/constants.py,sha256=IKRM8SpfhYWXERWBgUbUhbdFpn363hmZjXDhEYnVRbw,366
32
- iotdb/thrift/rpc/ttypes.py,sha256=4Gu_Nga5ExmEpDY0gtoZX4KK9MfUcu2BQYhF7L_2-_U,288248
32
+ iotdb/thrift/rpc/ttypes.py,sha256=s5k6EvfcaYa-9VeyyRDH0W7hZflDmCZkPGu83amSLxM,295368
33
33
  iotdb/tsfile/__init__.py,sha256=vGVFsdMOp1iKaCQl5rfYcPVa0FV94d-a7MsMDQDhHMc,789
34
34
  iotdb/tsfile/common/__init__.py,sha256=vGVFsdMOp1iKaCQl5rfYcPVa0FV94d-a7MsMDQDhHMc,789
35
- iotdb/tsfile/common/constant/TsFileConstant.py,sha256=jVzbxYy4j6HBP6mOIDnSIMrWgC_HrZoyDhkTwWfS-ak,1173
35
+ iotdb/tsfile/common/constant/TsFileConstant.py,sha256=uLSw9vnQZ6objfyhO3b9bHTip8yUW5aapPHEsXC0e7s,1165
36
36
  iotdb/tsfile/common/constant/__init__.py,sha256=vGVFsdMOp1iKaCQl5rfYcPVa0FV94d-a7MsMDQDhHMc,789
37
37
  iotdb/tsfile/utils/Pair.py,sha256=91ecijUAlEiMRLlH2hjRi_mT_xWp6Vm-R3n4Z4USFqQ,952
38
38
  iotdb/tsfile/utils/ReadWriteIOUtils.py,sha256=31CKH_1XWz8xc7DyInKaD-avkY-hVqNQILDb5PMucm4,2977
@@ -41,7 +41,7 @@ iotdb/utils/BitMap.py,sha256=dGvruuvDJlT4KH7pIrkprZWsY_AG-P8HXe6JHBKDOpI,1436
41
41
  iotdb/utils/Field.py,sha256=VcbEsTVCCzthTcXuZK5lSLH6FKe8SgOKidSDotbhY8s,5910
42
42
  iotdb/utils/IoTDBConnectionException.py,sha256=D38r5MicwIdVsliCwtipICjx19wbvRI4ye0doAX7DPM,1179
43
43
  iotdb/utils/IoTDBConstants.py,sha256=u3ZevIqqKlL4NVU5LDGoB0YiZfhsYqkdYWKXfAXU7Tw,1717
44
- iotdb/utils/IoTDBRpcDataSet.py,sha256=PK4YypOHvUTeaO1SG4w80HBsS_ekEJfuI5p26kwxsHg,16268
44
+ iotdb/utils/IoTDBRpcDataSet.py,sha256=vKPuaXq-GL-jpeLQdaK2y__BQoeSvEu8sVv77op9Iuk,16482
45
45
  iotdb/utils/NumpyTablet.py,sha256=HBlYmjE4Ohy5fimWvP9iex7Xte7LybDPjOHmYnwwVrc,6210
46
46
  iotdb/utils/RowRecord.py,sha256=-dQRu5YsPoFyDbEpdJdt5Eo-CvGleba9CcCPc7Nm3Vw,1750
47
47
  iotdb/utils/SessionDataSet.py,sha256=MabD9x9eLi23ytRqLmdpjOW7efrei76HDJBUuzK2Sks,5157
@@ -50,7 +50,7 @@ iotdb/utils/__init__.py,sha256=vGVFsdMOp1iKaCQl5rfYcPVa0FV94d-a7MsMDQDhHMc,789
50
50
  tests/__init__.py,sha256=vGVFsdMOp1iKaCQl5rfYcPVa0FV94d-a7MsMDQDhHMc,789
51
51
  tests/tablet_performance_comparison.py,sha256=cjWV-RGhp73JjzITyKwC7Abx5IRGg00cLrS3cH3BkOo,10724
52
52
  tests/test_aligned_timeseries.py,sha256=hig7q7UEBEdYiQnCmW2uOUiVopBW9_WpUBWE8sWP8lk,9906
53
- tests/test_dataframe.py,sha256=0vBqIBBXwKpBnPNxmm_LGb0jfYkIG4gHB6DzS2QiBMQ,2807
53
+ tests/test_dataframe.py,sha256=c3ATEbljj6NKFhbOOAFZX-WC4saoNUFNVfLfic9ogf8,2808
54
54
  tests/test_delete_data.py,sha256=vDDNWJ_WUZihLOMdwRMyS4r9F6nm-SalVSx1hPXrDlE,5121
55
55
  tests/test_numpy_tablet.py,sha256=w3lLK8Cft7lGsCj_6Z1Y7kDshltN0osSDJb-EESi6_Y,7235
56
56
  tests/test_one_device.py,sha256=QW6t8GfH4FnYxZODYztpHEt8m3NAC-AUcs18KKK4q0w,4734
@@ -59,8 +59,8 @@ tests/test_session_pool.py,sha256=v4cbLLwob8JTG0vEV1zhr_YCHM7649JacBOg2Svcemo,38
59
59
  tests/test_tablet.py,sha256=m0jLWJPQpy0K8sgOMS-91MaIL8QnwI3u4SWHjcEWbDI,4438
60
60
  tests/test_template.py,sha256=oN4vL6qvF89NG3vw_kj77RgH2DZVVizQX52AMBWOmCE,4021
61
61
  tests/test_todf.py,sha256=DPqapHpwjgits_y3OI3fU1mw7JHa8sUMg_-ViJ6NeYg,8071
62
- apache_iotdb-1.3.0.dist-info/METADATA,sha256=pDtBeQif0Nry5JBhZCoQ1NQmGwU1y4ysS2d-QGqUlM0,21540
63
- apache_iotdb-1.3.0.dist-info/WHEEL,sha256=2wepM1nk4DS4eFpYrW1TTqPcoGNfHhhO_i5m4cOimbo,92
64
- apache_iotdb-1.3.0.dist-info/entry_points.txt,sha256=BmQWy6NHyWXorQcVm8-VWpt9MSqe46UFyV2hnsl4yok,73
65
- apache_iotdb-1.3.0.dist-info/top_level.txt,sha256=B9jGGOaAAqF1WrWw2jX2K-naWAZn2nhyrL-6hM1qwyM,12
66
- apache_iotdb-1.3.0.dist-info/RECORD,,
62
+ apache_iotdb-1.3.2.dist-info/METADATA,sha256=cqbP9uBdjETc3PFqZj88YKXf75kMsRqdxl3oPE-2lwI,21482
63
+ apache_iotdb-1.3.2.dist-info/WHEEL,sha256=mguMlWGMX-VHnMpKOjjQidIo1ssRlCFu4a4mBpz1s2M,91
64
+ apache_iotdb-1.3.2.dist-info/entry_points.txt,sha256=BmQWy6NHyWXorQcVm8-VWpt9MSqe46UFyV2hnsl4yok,73
65
+ apache_iotdb-1.3.2.dist-info/top_level.txt,sha256=B9jGGOaAAqF1WrWw2jX2K-naWAZn2nhyrL-6hM1qwyM,12
66
+ apache_iotdb-1.3.2.dist-info/RECORD,,
@@ -1,5 +1,5 @@
1
1
  Wheel-Version: 1.0
2
- Generator: bdist_wheel (0.38.4)
2
+ Generator: setuptools (70.1.1)
3
3
  Root-Is-Purelib: true
4
4
  Tag: py3-none-any
5
5
 
@@ -31,11 +31,9 @@ class TemplateNode(object):
31
31
  def get_children(self):
32
32
  return None
33
33
 
34
- def add_child(self, node):
35
- ...
34
+ def add_child(self, node): ...
36
35
 
37
- def delete_child(self, node):
38
- ...
36
+ def delete_child(self, node): ...
39
37
 
40
38
  def is_measurement(self):
41
39
  return False
@@ -43,5 +41,4 @@ class TemplateNode(object):
43
41
  def is_share_time(self):
44
42
  return False
45
43
 
46
- def serialize(self, *args, **kwargs):
47
- ...
44
+ def serialize(self, *args, **kwargs): ...
@@ -40,6 +40,7 @@ class TRegionMigrateFailedType(object):
40
40
  RemoveConsensusGroupFailed = 2
41
41
  DeleteRegionFailed = 3
42
42
  CreateRegionFailed = 4
43
+ Disconnect = 5
43
44
 
44
45
  _VALUES_TO_NAMES = {
45
46
  0: "AddPeerFailed",
@@ -47,6 +48,7 @@ class TRegionMigrateFailedType(object):
47
48
  2: "RemoveConsensusGroupFailed",
48
49
  3: "DeleteRegionFailed",
49
50
  4: "CreateRegionFailed",
51
+ 5: "Disconnect",
50
52
  }
51
53
 
52
54
  _NAMES_TO_VALUES = {
@@ -55,6 +57,28 @@ class TRegionMigrateFailedType(object):
55
57
  "RemoveConsensusGroupFailed": 2,
56
58
  "DeleteRegionFailed": 3,
57
59
  "CreateRegionFailed": 4,
60
+ "Disconnect": 5,
61
+ }
62
+
63
+
64
+ class TRegionMaintainTaskStatus(object):
65
+ TASK_NOT_EXIST = 0
66
+ PROCESSING = 1
67
+ SUCCESS = 2
68
+ FAIL = 3
69
+
70
+ _VALUES_TO_NAMES = {
71
+ 0: "TASK_NOT_EXIST",
72
+ 1: "PROCESSING",
73
+ 2: "SUCCESS",
74
+ 3: "FAIL",
75
+ }
76
+
77
+ _NAMES_TO_VALUES = {
78
+ "TASK_NOT_EXIST": 0,
79
+ "PROCESSING": 1,
80
+ "SUCCESS": 2,
81
+ "FAIL": 3,
58
82
  }
59
83
 
60
84
 
@@ -100,6 +124,15 @@ class TAggregationType(object):
100
124
  TIME_DURATION = 11
101
125
  MODE = 12
102
126
  COUNT_TIME = 13
127
+ STDDEV = 14
128
+ STDDEV_POP = 15
129
+ STDDEV_SAMP = 16
130
+ VARIANCE = 17
131
+ VAR_POP = 18
132
+ VAR_SAMP = 19
133
+ MAX_BY = 20
134
+ MIN_BY = 21
135
+ UDAF = 22
103
136
 
104
137
  _VALUES_TO_NAMES = {
105
138
  0: "COUNT",
@@ -116,6 +149,15 @@ class TAggregationType(object):
116
149
  11: "TIME_DURATION",
117
150
  12: "MODE",
118
151
  13: "COUNT_TIME",
152
+ 14: "STDDEV",
153
+ 15: "STDDEV_POP",
154
+ 16: "STDDEV_SAMP",
155
+ 17: "VARIANCE",
156
+ 18: "VAR_POP",
157
+ 19: "VAR_SAMP",
158
+ 20: "MAX_BY",
159
+ 21: "MIN_BY",
160
+ 22: "UDAF",
119
161
  }
120
162
 
121
163
  _NAMES_TO_VALUES = {
@@ -133,6 +175,15 @@ class TAggregationType(object):
133
175
  "TIME_DURATION": 11,
134
176
  "MODE": 12,
135
177
  "COUNT_TIME": 13,
178
+ "STDDEV": 14,
179
+ "STDDEV_POP": 15,
180
+ "STDDEV_SAMP": 16,
181
+ "VARIANCE": 17,
182
+ "VAR_POP": 18,
183
+ "VAR_SAMP": 19,
184
+ "MAX_BY": 20,
185
+ "MIN_BY": 21,
186
+ "UDAF": 22,
136
187
  }
137
188
 
138
189
 
@@ -215,15 +266,17 @@ class TSStatus(object):
215
266
  - message
216
267
  - subStatus
217
268
  - redirectNode
269
+ - needRetry
218
270
 
219
271
  """
220
272
 
221
273
 
222
- def __init__(self, code=None, message=None, subStatus=None, redirectNode=None,):
274
+ def __init__(self, code=None, message=None, subStatus=None, redirectNode=None, needRetry=None,):
223
275
  self.code = code
224
276
  self.message = message
225
277
  self.subStatus = subStatus
226
278
  self.redirectNode = redirectNode
279
+ self.needRetry = needRetry
227
280
 
228
281
  def read(self, iprot):
229
282
  if iprot._fast_decode is not None and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None:
@@ -261,6 +314,11 @@ class TSStatus(object):
261
314
  self.redirectNode.read(iprot)
262
315
  else:
263
316
  iprot.skip(ftype)
317
+ elif fid == 5:
318
+ if ftype == TType.BOOL:
319
+ self.needRetry = iprot.readBool()
320
+ else:
321
+ iprot.skip(ftype)
264
322
  else:
265
323
  iprot.skip(ftype)
266
324
  iprot.readFieldEnd()
@@ -290,6 +348,10 @@ class TSStatus(object):
290
348
  oprot.writeFieldBegin('redirectNode', TType.STRUCT, 4)
291
349
  self.redirectNode.write(oprot)
292
350
  oprot.writeFieldEnd()
351
+ if self.needRetry is not None:
352
+ oprot.writeFieldBegin('needRetry', TType.BOOL, 5)
353
+ oprot.writeBool(self.needRetry)
354
+ oprot.writeFieldEnd()
293
355
  oprot.writeFieldStop()
294
356
  oprot.writeStructEnd()
295
357
 
@@ -1949,6 +2011,7 @@ TSStatus.thrift_spec = (
1949
2011
  (2, TType.STRING, 'message', 'UTF8', None, ), # 2
1950
2012
  (3, TType.LIST, 'subStatus', (TType.STRUCT, [TSStatus, None], False), None, ), # 3
1951
2013
  (4, TType.STRUCT, 'redirectNode', [TEndPoint, None], None, ), # 4
2014
+ (5, TType.BOOL, 'needRetry', None, None, ), # 5
1952
2015
  )
1953
2016
  all_structs.append(TConsensusGroupId)
1954
2017
  TConsensusGroupId.thrift_spec = (