apache-iotdb 2.0.2__py3-none-any.whl → 2.0.4__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.
- {apache_iotdb-2.0.2.dist-info → apache_iotdb-2.0.4.dist-info}/METADATA +6 -6
- {apache_iotdb-2.0.2.dist-info → apache_iotdb-2.0.4.dist-info}/RECORD +34 -22
- {apache_iotdb-2.0.2.dist-info → apache_iotdb-2.0.4.dist-info}/WHEEL +1 -1
- iotdb/Session.py +158 -184
- iotdb/SessionPool.py +3 -1
- iotdb/template/MeasurementNode.py +1 -1
- iotdb/template/Template.py +3 -3
- iotdb/thrift/common/ttypes.py +18 -1
- iotdb/thrift/confignode/IConfigNodeRPCService.py +28480 -0
- iotdb/thrift/confignode/__init__.py +1 -0
- iotdb/thrift/confignode/constants.py +14 -0
- iotdb/thrift/confignode/ttypes.py +17409 -0
- iotdb/thrift/datanode/IDataNodeRPCService.py +17960 -0
- iotdb/thrift/datanode/MPPDataExchangeService.py +1071 -0
- iotdb/thrift/datanode/__init__.py +1 -0
- iotdb/thrift/datanode/constants.py +14 -0
- iotdb/thrift/datanode/ttypes.py +10920 -0
- iotdb/tsfile/utils/tsblock_serde.py +266 -0
- iotdb/utils/Field.py +30 -5
- iotdb/utils/NumpyTablet.py +1 -1
- iotdb/utils/SessionDataSet.py +43 -24
- iotdb/utils/Tablet.py +1 -1
- iotdb/utils/{IoTDBConnectionException.py → exception.py} +20 -0
- iotdb/utils/iotdb_rpc_dataset.py +406 -0
- iotdb/utils/rpc_utils.py +110 -0
- tests/integration/tablet_performance_comparison.py +3 -1
- tests/integration/test_new_data_types.py +6 -6
- tests/integration/test_tablemodel_query.py +476 -0
- iotdb/utils/IoTDBRpcDataSet.py +0 -463
- {apache_iotdb-2.0.2.dist-info → apache_iotdb-2.0.4.dist-info}/entry_points.txt +0 -0
- {apache_iotdb-2.0.2.dist-info → apache_iotdb-2.0.4.dist-info}/top_level.txt +0 -0
- /iotdb/tsfile/common/constant/{TsFileConstant.py → tsfile_constant.py} +0 -0
- /iotdb/tsfile/utils/{DateUtils.py → date_utils.py} +0 -0
- /iotdb/tsfile/utils/{Pair.py → pair.py} +0 -0
- /iotdb/tsfile/utils/{ReadWriteIOUtils.py → read_write_io_utils.py} +0 -0
|
@@ -1,14 +1,13 @@
|
|
|
1
|
-
Metadata-Version: 2.
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
2
|
Name: apache-iotdb
|
|
3
|
-
Version: 2.0.
|
|
3
|
+
Version: 2.0.4
|
|
4
4
|
Summary: Apache IoTDB client API
|
|
5
5
|
Author-email: Apache IoTDB <dev@iotdb.apache.org>
|
|
6
|
-
License: Apache
|
|
6
|
+
License-Expression: Apache-2.0
|
|
7
7
|
Project-URL: Homepage, https://iotdb.apache.org
|
|
8
8
|
Project-URL: Documentation, https://github.com/apache/iotdb
|
|
9
9
|
Keywords: iotdb,apache,client,API
|
|
10
10
|
Classifier: Programming Language :: Python :: 3
|
|
11
|
-
Classifier: License :: OSI Approved :: Apache Software License
|
|
12
11
|
Classifier: Operating System :: OS Independent
|
|
13
12
|
Classifier: Topic :: Software Development :: Libraries
|
|
14
13
|
Classifier: Topic :: Software Development :: Libraries :: Python Modules
|
|
@@ -19,6 +18,7 @@ Requires-Dist: pandas>=1.0.0
|
|
|
19
18
|
Requires-Dist: numpy>=1.0.0
|
|
20
19
|
Requires-Dist: sqlalchemy>=1.4
|
|
21
20
|
Requires-Dist: sqlalchemy-utils>=0.37.8
|
|
21
|
+
Requires-Dist: tzlocal>=4.0
|
|
22
22
|
|
|
23
23
|
<!--
|
|
24
24
|
|
|
@@ -95,7 +95,7 @@ session.close()
|
|
|
95
95
|
* Initialize a Session
|
|
96
96
|
|
|
97
97
|
```python
|
|
98
|
-
session = Session(ip, port_, username_, password_, fetch_size=1024, zone_id="
|
|
98
|
+
session = Session(ip, port_, username_, password_, fetch_size=1024, zone_id="Asia/Shanghai")
|
|
99
99
|
```
|
|
100
100
|
|
|
101
101
|
* Open a session, with a parameter to specify whether to enable RPC compression
|
|
@@ -397,7 +397,7 @@ ip = "127.0.0.1"
|
|
|
397
397
|
port_ = "6667"
|
|
398
398
|
username_ = "root"
|
|
399
399
|
password_ = "root"
|
|
400
|
-
conn = connect(ip, port_, username_, password_,fetch_size=1024,zone_id="
|
|
400
|
+
conn = connect(ip, port_, username_, password_,fetch_size=1024,zone_id="Asia/Shanghai",sqlalchemy_mode=False)
|
|
401
401
|
cursor = conn.cursor()
|
|
402
402
|
```
|
|
403
403
|
+ simple SQL statement execution
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
iotdb/Session.py,sha256=
|
|
2
|
-
iotdb/SessionPool.py,sha256
|
|
1
|
+
iotdb/Session.py,sha256=GkSe9xoMYg6g24AU--_oeYtRxHXK607Q0EM3xPxcGVg,102354
|
|
2
|
+
iotdb/SessionPool.py,sha256=vBy8vG7fmuDexGPzVqQhM8pWjKLrczN0na1OD-hFDnY,6674
|
|
3
3
|
iotdb/__init__.py,sha256=vGVFsdMOp1iKaCQl5rfYcPVa0FV94d-a7MsMDQDhHMc,789
|
|
4
4
|
iotdb/table_session.py,sha256=Jav4TuvRl4PxOhNBaBqTvMGFWemu5YkAwRU_KXUy9wk,6173
|
|
5
5
|
iotdb/table_session_pool.py,sha256=sqhceeGbr1bsLjYj6aEF_p3qzqiVhtXKAEjV9CY4pWI,5329
|
|
@@ -12,50 +12,62 @@ iotdb/sqlalchemy/IoTDBIdentifierPreparer.py,sha256=NxOf58CXp6QYeifyF9KAZfEgPbNW0
|
|
|
12
12
|
iotdb/sqlalchemy/IoTDBSQLCompiler.py,sha256=UuLRB7sEuy3YVVVU7oBeEKcJ9-OdLsbP7eiyIlja9kY,11790
|
|
13
13
|
iotdb/sqlalchemy/IoTDBTypeCompiler.py,sha256=1ZrQvMt3lieN-HUjJLlmSVGy1DwBCWZMwC8zZjX6FOI,1416
|
|
14
14
|
iotdb/sqlalchemy/__init__.py,sha256=vGVFsdMOp1iKaCQl5rfYcPVa0FV94d-a7MsMDQDhHMc,789
|
|
15
|
-
iotdb/template/MeasurementNode.py,sha256=
|
|
16
|
-
iotdb/template/Template.py,sha256=
|
|
15
|
+
iotdb/template/MeasurementNode.py,sha256=E0VltSHzvUjaftdeRZ18llGsetM-Ln_C562-5n-I5b0,2318
|
|
16
|
+
iotdb/template/Template.py,sha256=ohLT0UC1uBFELSgLLANgxvgPMskgcGSLhQry-N2o49U,3653
|
|
17
17
|
iotdb/template/TemplateNode.py,sha256=6dR84yg7QV5A4nmGqws8cfV3GygfrR5HErQS5t2ORNw,1556
|
|
18
18
|
iotdb/template/TemplateQueryType.py,sha256=6bNiydOiIqFnzutiuxdpWrOm-z9CkSawMCd_52EYh44,1272
|
|
19
19
|
iotdb/template/__init__.py,sha256=vGVFsdMOp1iKaCQl5rfYcPVa0FV94d-a7MsMDQDhHMc,789
|
|
20
20
|
iotdb/thrift/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
21
21
|
iotdb/thrift/common/__init__.py,sha256=YFcZTT8Cm-6Y4oTiCaqq0DT1lw2W09WqoEc5_pTAwW0,34
|
|
22
22
|
iotdb/thrift/common/constants.py,sha256=IKRM8SpfhYWXERWBgUbUhbdFpn363hmZjXDhEYnVRbw,366
|
|
23
|
-
iotdb/thrift/common/ttypes.py,sha256=
|
|
23
|
+
iotdb/thrift/common/ttypes.py,sha256=a3ku19FQ7JomwGNxU0DzsGL3m-hV3JuX4ovFAluw-kg,117248
|
|
24
|
+
iotdb/thrift/confignode/IConfigNodeRPCService.py,sha256=i_4N2SRVes6CXLlfqTyACeWg1Ez8_zB0Letmc9DIJao,956734
|
|
25
|
+
iotdb/thrift/confignode/__init__.py,sha256=_SxvW-9GzGZcPWR-szpFI_VrvxJvSfjwu8HEieGWtik,59
|
|
26
|
+
iotdb/thrift/confignode/constants.py,sha256=IKRM8SpfhYWXERWBgUbUhbdFpn363hmZjXDhEYnVRbw,366
|
|
27
|
+
iotdb/thrift/confignode/ttypes.py,sha256=6zrI__IUwMYl4putL77NJzqZJ774iuHDgQTN09C85ZY,699818
|
|
28
|
+
iotdb/thrift/datanode/IDataNodeRPCService.py,sha256=fQzCY_FJH1VVJW7KFGKU3RMBMvAQ_F_YcWyJMNMw7oM,601663
|
|
29
|
+
iotdb/thrift/datanode/MPPDataExchangeService.py,sha256=Pk3n-6JLTzf_SAVSC5cdUjgYUsi1fL4h2J5HIc_jPWU,35226
|
|
30
|
+
iotdb/thrift/datanode/__init__.py,sha256=J5dw3MYQMv2wUCQqOxUUdaNrCJP8j3Iy80Fv-PJ70S4,83
|
|
31
|
+
iotdb/thrift/datanode/constants.py,sha256=IKRM8SpfhYWXERWBgUbUhbdFpn363hmZjXDhEYnVRbw,366
|
|
32
|
+
iotdb/thrift/datanode/ttypes.py,sha256=1bKRSVm0qx-E8CrB7Pl3qFTSp5qBw-avj9n7LVyBk1k,437451
|
|
24
33
|
iotdb/thrift/rpc/IClientRPCService.py,sha256=gHrJArjwcFMkcKIR46CFiz_D5rhR-WetjQSI8jRLXeY,416186
|
|
25
34
|
iotdb/thrift/rpc/__init__.py,sha256=69gRO2XxQu71SDeCRxiZFjK6Xw_61hdl5MdWceI-e1A,55
|
|
26
35
|
iotdb/thrift/rpc/constants.py,sha256=IKRM8SpfhYWXERWBgUbUhbdFpn363hmZjXDhEYnVRbw,366
|
|
27
36
|
iotdb/thrift/rpc/ttypes.py,sha256=SBn1WHuSwmEoZrO6Ke2Ddcty6z52Hu1lGJp0uDJ1z8Y,301147
|
|
28
37
|
iotdb/tsfile/__init__.py,sha256=vGVFsdMOp1iKaCQl5rfYcPVa0FV94d-a7MsMDQDhHMc,789
|
|
29
38
|
iotdb/tsfile/common/__init__.py,sha256=vGVFsdMOp1iKaCQl5rfYcPVa0FV94d-a7MsMDQDhHMc,789
|
|
30
|
-
iotdb/tsfile/common/constant/TsFileConstant.py,sha256=uLSw9vnQZ6objfyhO3b9bHTip8yUW5aapPHEsXC0e7s,1165
|
|
31
39
|
iotdb/tsfile/common/constant/__init__.py,sha256=vGVFsdMOp1iKaCQl5rfYcPVa0FV94d-a7MsMDQDhHMc,789
|
|
32
|
-
iotdb/tsfile/
|
|
33
|
-
iotdb/tsfile/utils/Pair.py,sha256=91ecijUAlEiMRLlH2hjRi_mT_xWp6Vm-R3n4Z4USFqQ,952
|
|
34
|
-
iotdb/tsfile/utils/ReadWriteIOUtils.py,sha256=31CKH_1XWz8xc7DyInKaD-avkY-hVqNQILDb5PMucm4,2977
|
|
40
|
+
iotdb/tsfile/common/constant/tsfile_constant.py,sha256=uLSw9vnQZ6objfyhO3b9bHTip8yUW5aapPHEsXC0e7s,1165
|
|
35
41
|
iotdb/tsfile/utils/__init__.py,sha256=vGVFsdMOp1iKaCQl5rfYcPVa0FV94d-a7MsMDQDhHMc,789
|
|
42
|
+
iotdb/tsfile/utils/date_utils.py,sha256=Z31FexAA_pR72X2PDLT6pVJOFRWguIAEUjOyAwjipcI,1496
|
|
43
|
+
iotdb/tsfile/utils/pair.py,sha256=91ecijUAlEiMRLlH2hjRi_mT_xWp6Vm-R3n4Z4USFqQ,952
|
|
44
|
+
iotdb/tsfile/utils/read_write_io_utils.py,sha256=31CKH_1XWz8xc7DyInKaD-avkY-hVqNQILDb5PMucm4,2977
|
|
45
|
+
iotdb/tsfile/utils/tsblock_serde.py,sha256=t5PToZM8vLrdbObFtNQcXd7WRfHkGH5q4qn2mqx6qeE,8714
|
|
36
46
|
iotdb/utils/BitMap.py,sha256=dGvruuvDJlT4KH7pIrkprZWsY_AG-P8HXe6JHBKDOpI,1436
|
|
37
|
-
iotdb/utils/Field.py,sha256=
|
|
38
|
-
iotdb/utils/IoTDBConnectionException.py,sha256=D38r5MicwIdVsliCwtipICjx19wbvRI4ye0doAX7DPM,1179
|
|
47
|
+
iotdb/utils/Field.py,sha256=irpHFsp4FrD2sk17uEOHLFglsE0wyFenJImY3yV6FKg,8240
|
|
39
48
|
iotdb/utils/IoTDBConstants.py,sha256=mOXYQvaOccFS0cOUEqSXgZ3qSjhe6K8_sIjTT9S6qaI,1950
|
|
40
|
-
iotdb/utils/
|
|
41
|
-
iotdb/utils/NumpyTablet.py,sha256=ImJ2y4QOQ36skWnfqVVxQHLmFh6kkik19EIAyyiQtWo,7950
|
|
49
|
+
iotdb/utils/NumpyTablet.py,sha256=qfRVenLhXnOlpgpfRCvvqfHbmcEkLaNP57tbe0JNb1o,7951
|
|
42
50
|
iotdb/utils/RowRecord.py,sha256=TIfQzMdi84GhGGIfVcZ-kvmm7aQwsDWge2kY00sf1lo,1690
|
|
43
|
-
iotdb/utils/SessionDataSet.py,sha256=
|
|
44
|
-
iotdb/utils/Tablet.py,sha256=
|
|
51
|
+
iotdb/utils/SessionDataSet.py,sha256=v6Tr8saagQLl1UhG1VqGq4lqhWtJkM96g9rY8VqwRKQ,5792
|
|
52
|
+
iotdb/utils/Tablet.py,sha256=HOYPSV1vyTB79T3e8rsHBN6ZiZJm_rFutEIOI8nDcDk,10198
|
|
45
53
|
iotdb/utils/__init__.py,sha256=vGVFsdMOp1iKaCQl5rfYcPVa0FV94d-a7MsMDQDhHMc,789
|
|
54
|
+
iotdb/utils/exception.py,sha256=iCSzBE2Cy1q_OwC3nHdGH-OnGuwy0iPRY63VQvO8fcg,1834
|
|
55
|
+
iotdb/utils/iotdb_rpc_dataset.py,sha256=TdCslPx7zzd_vr2kSg7sAlhoJX4Kn4r3qZuQoDhx6To,16555
|
|
56
|
+
iotdb/utils/rpc_utils.py,sha256=4-pYb-0IFxq9QASYcqAo5hbRLlh7YJERwyU3R6L-VEg,3679
|
|
46
57
|
tests/__init__.py,sha256=vGVFsdMOp1iKaCQl5rfYcPVa0FV94d-a7MsMDQDhHMc,789
|
|
47
58
|
tests/integration/__init__.py,sha256=vGVFsdMOp1iKaCQl5rfYcPVa0FV94d-a7MsMDQDhHMc,789
|
|
48
59
|
tests/integration/iotdb_container.py,sha256=gmGMEzacytqvrpCXGn0xrm3ab4LDyToNCHPEFg82Mwg,2514
|
|
49
|
-
tests/integration/tablet_performance_comparison.py,sha256=
|
|
60
|
+
tests/integration/tablet_performance_comparison.py,sha256=9MonGs6tOLDBlKKwFG6RmzSgkNhhDJCP5wI84g49djI,10746
|
|
50
61
|
tests/integration/test_aligned_timeseries.py,sha256=W6GG08YzYDfmF5rlvKmF_iAHxNoZIc9ETaAslUTAWu4,9902
|
|
51
62
|
tests/integration/test_dataframe.py,sha256=6jnCqpvw-3uYLzCli9x9hnXTX8llnrLWdOzgOZ41OFA,2804
|
|
52
63
|
tests/integration/test_delete_data.py,sha256=7ZSVZYLFChM4V7oeBKWyZeilr_HBaLgQ8hk6H7TpwEY,5117
|
|
53
|
-
tests/integration/test_new_data_types.py,sha256=
|
|
64
|
+
tests/integration/test_new_data_types.py,sha256=6ip4YYLfoKV_2FPRvbCxUXNhWRNeE6DEATZgyKp4lR0,6427
|
|
54
65
|
tests/integration/test_one_device.py,sha256=6Wab6CzHvoLdlCHgYBdBD7woZqOqQ57j4AWcVFd2q4M,4730
|
|
55
66
|
tests/integration/test_relational_session.py,sha256=sZLZZj9IZSLVkGEPJGj2L_dmLmasm-kKwANERTPsnq8,4448
|
|
56
67
|
tests/integration/test_session.py,sha256=7ewSmo7eMte8J7WX7t7cu70DOv644rbwzJjC9ElDwFo,16510
|
|
57
68
|
tests/integration/test_session_pool.py,sha256=cldbmfO5NSK9XQipwiDgjjixpxuSoBTVYObhlFm-WRo,3887
|
|
58
69
|
tests/integration/test_tablemodel_insert.py,sha256=NMF4f-FzhAIDc8qLBxI8rZEtQjfs0pDPykMWx19cjwI,54634
|
|
70
|
+
tests/integration/test_tablemodel_query.py,sha256=Z5ORRj9I_b5lRkacT_7ktf6THweFutK2S1aYBwsz8JM,16862
|
|
59
71
|
tests/integration/test_tablet.py,sha256=j6LQJKVAZ9elZdHrv8O-yeb3q9yNIXOdjCexJqlLE24,4434
|
|
60
72
|
tests/integration/test_todf.py,sha256=v4aF9SwU0gcKgIms161zFbMCCWzwGACfwZ16QPQLPb0,8124
|
|
61
73
|
tests/integration/test_treemodel_insert.py,sha256=Td1pThwzjxg2JKSKKeMXsi9WYibDGa_eY9GlPRGajJo,195607
|
|
@@ -66,8 +78,8 @@ tests/integration/sqlalchemy/__init__.py,sha256=vGVFsdMOp1iKaCQl5rfYcPVa0FV94d-a
|
|
|
66
78
|
tests/integration/sqlalchemy/test_dialect.py,sha256=QvhZ3h-gbXQHRLQglbIeBM-YaJxWjd8NFwCCtRZDCQg,3478
|
|
67
79
|
tests/unit/__init__.py,sha256=vGVFsdMOp1iKaCQl5rfYcPVa0FV94d-a7MsMDQDhHMc,789
|
|
68
80
|
tests/unit/test_numpy_tablet.py,sha256=w3lLK8Cft7lGsCj_6Z1Y7kDshltN0osSDJb-EESi6_Y,7235
|
|
69
|
-
apache_iotdb-2.0.
|
|
70
|
-
apache_iotdb-2.0.
|
|
71
|
-
apache_iotdb-2.0.
|
|
72
|
-
apache_iotdb-2.0.
|
|
73
|
-
apache_iotdb-2.0.
|
|
81
|
+
apache_iotdb-2.0.4.dist-info/METADATA,sha256=UhzW3PF2YTLd8dkGTkPKk4HarbGCKBiyfefFBSO5s0k,18767
|
|
82
|
+
apache_iotdb-2.0.4.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
83
|
+
apache_iotdb-2.0.4.dist-info/entry_points.txt,sha256=BmQWy6NHyWXorQcVm8-VWpt9MSqe46UFyV2hnsl4yok,73
|
|
84
|
+
apache_iotdb-2.0.4.dist-info/top_level.txt,sha256=B9jGGOaAAqF1WrWw2jX2K-naWAZn2nhyrL-6hM1qwyM,12
|
|
85
|
+
apache_iotdb-2.0.4.dist-info/RECORD,,
|