apache-iotdb 2.0.1b0__py3-none-any.whl → 2.0.4.dev0__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.
Files changed (38) hide show
  1. {apache_iotdb-2.0.1b0.dist-info → apache_iotdb-2.0.4.dev0.dist-info}/METADATA +6 -6
  2. {apache_iotdb-2.0.1b0.dist-info → apache_iotdb-2.0.4.dev0.dist-info}/RECORD +37 -25
  3. {apache_iotdb-2.0.1b0.dist-info → apache_iotdb-2.0.4.dev0.dist-info}/WHEEL +1 -1
  4. iotdb/Session.py +199 -194
  5. iotdb/SessionPool.py +15 -1
  6. iotdb/table_session.py +9 -0
  7. iotdb/table_session_pool.py +6 -0
  8. iotdb/template/MeasurementNode.py +1 -1
  9. iotdb/template/Template.py +3 -3
  10. iotdb/thrift/common/ttypes.py +113 -73
  11. iotdb/thrift/confignode/IConfigNodeRPCService.py +28290 -0
  12. iotdb/thrift/confignode/__init__.py +1 -0
  13. iotdb/thrift/confignode/constants.py +14 -0
  14. iotdb/thrift/confignode/ttypes.py +17249 -0
  15. iotdb/thrift/datanode/IDataNodeRPCService.py +17960 -0
  16. iotdb/thrift/datanode/MPPDataExchangeService.py +1071 -0
  17. iotdb/thrift/datanode/__init__.py +1 -0
  18. iotdb/thrift/datanode/constants.py +14 -0
  19. iotdb/thrift/datanode/ttypes.py +10920 -0
  20. iotdb/thrift/rpc/ttypes.py +13 -1
  21. iotdb/tsfile/utils/tsblock_serde.py +266 -0
  22. iotdb/utils/Field.py +30 -5
  23. iotdb/utils/NumpyTablet.py +1 -1
  24. iotdb/utils/SessionDataSet.py +43 -24
  25. iotdb/utils/Tablet.py +1 -1
  26. iotdb/utils/{IoTDBConnectionException.py → exception.py} +20 -0
  27. iotdb/utils/iotdb_rpc_dataset.py +406 -0
  28. iotdb/utils/rpc_utils.py +110 -0
  29. tests/integration/tablet_performance_comparison.py +3 -1
  30. tests/integration/test_new_data_types.py +6 -6
  31. tests/integration/test_tablemodel_query.py +476 -0
  32. iotdb/utils/IoTDBRpcDataSet.py +0 -463
  33. {apache_iotdb-2.0.1b0.dist-info → apache_iotdb-2.0.4.dev0.dist-info}/entry_points.txt +0 -0
  34. {apache_iotdb-2.0.1b0.dist-info → apache_iotdb-2.0.4.dev0.dist-info}/top_level.txt +0 -0
  35. /iotdb/tsfile/common/constant/{TsFileConstant.py → tsfile_constant.py} +0 -0
  36. /iotdb/tsfile/utils/{DateUtils.py → date_utils.py} +0 -0
  37. /iotdb/tsfile/utils/{Pair.py → pair.py} +0 -0
  38. /iotdb/tsfile/utils/{ReadWriteIOUtils.py → read_write_io_utils.py} +0 -0
@@ -1,14 +1,13 @@
1
- Metadata-Version: 2.2
1
+ Metadata-Version: 2.4
2
2
  Name: apache-iotdb
3
- Version: 2.0.1b0
3
+ Version: 2.0.4.dev0
4
4
  Summary: Apache IoTDB client API
5
5
  Author-email: Apache IoTDB <dev@iotdb.apache.org>
6
- License: Apache License, Version 2.0
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="UTC+8")
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="UTC+8",sqlalchemy_mode=False)
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,8 +1,8 @@
1
- iotdb/Session.py,sha256=N7nTHKejA5pMnuC2dIN6zo6Te6bpv10eTfkexFBtFS0,101728
2
- iotdb/SessionPool.py,sha256=qsIDm1knn85PF9id44lBxfqT_ztpXUCsnC6pENuOJFg,6001
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
- iotdb/table_session.py,sha256=xxzIWBV5snp1SAvl6lnrF4vfVxjWq1ADa9jerCk7ro8,5781
5
- iotdb/table_session_pool.py,sha256=tNZTdtDQFZ4PrLCP5A-nvMHCyBJz8Huot2q4UgMg0QE,5099
4
+ iotdb/table_session.py,sha256=Jav4TuvRl4PxOhNBaBqTvMGFWemu5YkAwRU_KXUy9wk,6173
5
+ iotdb/table_session_pool.py,sha256=sqhceeGbr1bsLjYj6aEF_p3qzqiVhtXKAEjV9CY4pWI,5329
6
6
  iotdb/dbapi/Connection.py,sha256=t5CuwOTrMJxJ2YVxaEKi2fdaH9Vob-u7nQRCD_9vLcg,2569
7
7
  iotdb/dbapi/Cursor.py,sha256=CBFyHsk7cOxLJEwCWMJK0r4guXQ-OkNh39H54cyyH5k,9110
8
8
  iotdb/dbapi/Exceptions.py,sha256=X3qhGXQ_rNL7998DQwFeQc9cG5ByXlfhIQx2sBHOiuw,1278
@@ -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=O0-MVLN9a-Sap8uPriQxlmkh_NyUsiWGEoNQgmyBQ28,2315
16
- iotdb/template/Template.py,sha256=9zSaBsTwT_hWj-qf8Y_r9cIdd4WhdIrhxAl31Ejmo5E,3649
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=sINE2XOIW_A6L7QHsA9z_zWejljJL4jnLadoa91gRXs,115474
23
+ iotdb/thrift/common/ttypes.py,sha256=a3ku19FQ7JomwGNxU0DzsGL3m-hV3JuX4ovFAluw-kg,117248
24
+ iotdb/thrift/confignode/IConfigNodeRPCService.py,sha256=s_MSIRqwrgUbBbmbj22iBFK_bPxiIVQEqLe_8v5-YZY,950392
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=EGZJFglcybpLimNs0FHoudwdhEwTmnsw0ZlqIJw5YqE,693436
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
- iotdb/thrift/rpc/ttypes.py,sha256=KsZuh4H0ReVWUeKqcBsQczLp2G8_7vH_q_UhnUPV2XM,300653
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/utils/DateUtils.py,sha256=Z31FexAA_pR72X2PDLT6pVJOFRWguIAEUjOyAwjipcI,1496
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=gn2p7RBbn_Kr0r2jAGNK4TkHDOF5SrwxmeW4UgptRVQ,7302
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/IoTDBRpcDataSet.py,sha256=aFG1BGaXFYlivTmkx2exZh5lfCPWc7JDD0PC72SR5FQ,18429
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=uS06ceDkhb8TocGM8MzdefofauoOrC4GWYi1TjWQS1w,5359
44
- iotdb/utils/Tablet.py,sha256=WguKP2_Gu3UzaaKVt9wPR8kpib3Yd5iMONAzyAoIxbI,10197
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=cjWV-RGhp73JjzITyKwC7Abx5IRGg00cLrS3cH3BkOo,10724
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=fjUccRuSGKHTQr03NBI3kVSqZ4IAgGZ3U_vJCoBiWIA,6363
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.1b0.dist-info/METADATA,sha256=q8mXekKkl4rP2yJ9C6AcHEoL2o7PV0iAzXx6_bkc9ko,18794
70
- apache_iotdb-2.0.1b0.dist-info/WHEEL,sha256=jB7zZ3N9hIM9adW7qlTAyycLYW9npaWKLRzaoVcLKcM,91
71
- apache_iotdb-2.0.1b0.dist-info/entry_points.txt,sha256=BmQWy6NHyWXorQcVm8-VWpt9MSqe46UFyV2hnsl4yok,73
72
- apache_iotdb-2.0.1b0.dist-info/top_level.txt,sha256=B9jGGOaAAqF1WrWw2jX2K-naWAZn2nhyrL-6hM1qwyM,12
73
- apache_iotdb-2.0.1b0.dist-info/RECORD,,
81
+ apache_iotdb-2.0.4.dev0.dist-info/METADATA,sha256=WeT2VCWGgFNJ3PbhgqAklYeQALwYGiCNERS3VpnM34Q,18772
82
+ apache_iotdb-2.0.4.dev0.dist-info/WHEEL,sha256=SmOxYU7pzNKBqASvQJ7DjX3XGUF92lrGhMb3R6_iiqI,91
83
+ apache_iotdb-2.0.4.dev0.dist-info/entry_points.txt,sha256=BmQWy6NHyWXorQcVm8-VWpt9MSqe46UFyV2hnsl4yok,73
84
+ apache_iotdb-2.0.4.dev0.dist-info/top_level.txt,sha256=B9jGGOaAAqF1WrWw2jX2K-naWAZn2nhyrL-6hM1qwyM,12
85
+ apache_iotdb-2.0.4.dev0.dist-info/RECORD,,
@@ -1,5 +1,5 @@
1
1
  Wheel-Version: 1.0
2
- Generator: setuptools (75.8.2)
2
+ Generator: setuptools (79.0.1)
3
3
  Root-Is-Purelib: true
4
4
  Tag: py3-none-any
5
5