tencentcloud-sdk-python-iotexplorer 3.0.1477__tar.gz → 3.0.1491__tar.gz
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.
- tencentcloud_sdk_python_iotexplorer-3.0.1491/PKG-INFO +46 -0
- {tencentcloud-sdk-python-iotexplorer-3.0.1477 → tencentcloud_sdk_python_iotexplorer-3.0.1491}/setup.py +1 -1
- {tencentcloud-sdk-python-iotexplorer-3.0.1477 → tencentcloud_sdk_python_iotexplorer-3.0.1491}/tencentcloud/__init__.py +1 -1
- {tencentcloud-sdk-python-iotexplorer-3.0.1477 → tencentcloud_sdk_python_iotexplorer-3.0.1491}/tencentcloud/iotexplorer/v20190423/iotexplorer_client.py +161 -25
- {tencentcloud-sdk-python-iotexplorer-3.0.1477 → tencentcloud_sdk_python_iotexplorer-3.0.1491}/tencentcloud/iotexplorer/v20190423/models.py +2372 -743
- tencentcloud_sdk_python_iotexplorer-3.0.1491/tencentcloud_sdk_python_iotexplorer.egg-info/PKG-INFO +46 -0
- tencentcloud_sdk_python_iotexplorer-3.0.1491/tencentcloud_sdk_python_iotexplorer.egg-info/requires.txt +1 -0
- tencentcloud-sdk-python-iotexplorer-3.0.1477/PKG-INFO +0 -45
- tencentcloud-sdk-python-iotexplorer-3.0.1477/tencentcloud_sdk_python_iotexplorer.egg-info/PKG-INFO +0 -45
- tencentcloud-sdk-python-iotexplorer-3.0.1477/tencentcloud_sdk_python_iotexplorer.egg-info/requires.txt +0 -1
- {tencentcloud-sdk-python-iotexplorer-3.0.1477 → tencentcloud_sdk_python_iotexplorer-3.0.1491}/README.rst +0 -0
- {tencentcloud-sdk-python-iotexplorer-3.0.1477 → tencentcloud_sdk_python_iotexplorer-3.0.1491}/setup.cfg +0 -0
- {tencentcloud-sdk-python-iotexplorer-3.0.1477 → tencentcloud_sdk_python_iotexplorer-3.0.1491}/tencentcloud/iotexplorer/__init__.py +0 -0
- {tencentcloud-sdk-python-iotexplorer-3.0.1477 → tencentcloud_sdk_python_iotexplorer-3.0.1491}/tencentcloud/iotexplorer/v20190423/__init__.py +0 -0
- {tencentcloud-sdk-python-iotexplorer-3.0.1477 → tencentcloud_sdk_python_iotexplorer-3.0.1491}/tencentcloud/iotexplorer/v20190423/errorcodes.py +0 -0
- {tencentcloud-sdk-python-iotexplorer-3.0.1477 → tencentcloud_sdk_python_iotexplorer-3.0.1491}/tencentcloud_sdk_python_iotexplorer.egg-info/SOURCES.txt +0 -0
- {tencentcloud-sdk-python-iotexplorer-3.0.1477 → tencentcloud_sdk_python_iotexplorer-3.0.1491}/tencentcloud_sdk_python_iotexplorer.egg-info/dependency_links.txt +0 -0
- {tencentcloud-sdk-python-iotexplorer-3.0.1477 → tencentcloud_sdk_python_iotexplorer-3.0.1491}/tencentcloud_sdk_python_iotexplorer.egg-info/top_level.txt +0 -0
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
Metadata-Version: 2.1
|
|
2
|
+
Name: tencentcloud-sdk-python-iotexplorer
|
|
3
|
+
Version: 3.0.1491
|
|
4
|
+
Summary: Tencent Cloud Iotexplorer SDK for Python
|
|
5
|
+
Home-page: https://github.com/TencentCloud/tencentcloud-sdk-python
|
|
6
|
+
Author: Tencent Cloud
|
|
7
|
+
Maintainer-email: tencentcloudapi@tencent.com
|
|
8
|
+
License: Apache License 2.0
|
|
9
|
+
Platform: any
|
|
10
|
+
Classifier: Development Status :: 5 - Production/Stable
|
|
11
|
+
Classifier: Intended Audience :: Developers
|
|
12
|
+
Classifier: License :: OSI Approved :: Apache Software License
|
|
13
|
+
Classifier: Programming Language :: Python
|
|
14
|
+
Classifier: Programming Language :: Python :: 2.7
|
|
15
|
+
Classifier: Programming Language :: Python :: 3
|
|
16
|
+
Classifier: Programming Language :: Python :: 3.6
|
|
17
|
+
Classifier: Programming Language :: Python :: 3.7
|
|
18
|
+
Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.0.1491
|
|
19
|
+
|
|
20
|
+
============================
|
|
21
|
+
Tencent Cloud SDK for Python
|
|
22
|
+
============================
|
|
23
|
+
|
|
24
|
+
Tencent Cloud Python Iotexplorer SDK is the official software development kit, which allows Python developers to write software that makes use of Tencent Cloud services like CVM and CBS.
|
|
25
|
+
The SDK works on Python versions:
|
|
26
|
+
|
|
27
|
+
* 2.7 and greater, including 3.x
|
|
28
|
+
|
|
29
|
+
Quick Start
|
|
30
|
+
-----------
|
|
31
|
+
|
|
32
|
+
First, install the library:
|
|
33
|
+
|
|
34
|
+
.. code-block:: sh
|
|
35
|
+
|
|
36
|
+
$ pip install tencentcloud-sdk-python-common
|
|
37
|
+
$ pip install tencentcloud-sdk-python-iotexplorer
|
|
38
|
+
|
|
39
|
+
or download source code from github and install:
|
|
40
|
+
|
|
41
|
+
.. code-block:: sh
|
|
42
|
+
|
|
43
|
+
$ git clone https://github.com/tencentcloud/tencentcloud-sdk-python.git
|
|
44
|
+
$ cd tencentcloud-sdk-python
|
|
45
|
+
$ python package.py --components common iotexplorer
|
|
46
|
+
|
|
@@ -8,7 +8,7 @@ ROOT = os.path.dirname(__file__)
|
|
|
8
8
|
|
|
9
9
|
setup(
|
|
10
10
|
name='tencentcloud-sdk-python-iotexplorer',
|
|
11
|
-
install_requires=["tencentcloud-sdk-python-common>=3.0.
|
|
11
|
+
install_requires=["tencentcloud-sdk-python-common>=3.0.1491,<4.0.0"],
|
|
12
12
|
version=tencentcloud.__version__,
|
|
13
13
|
description='Tencent Cloud Iotexplorer SDK for Python',
|
|
14
14
|
long_description=open('README.rst').read(),
|
|
@@ -49,6 +49,52 @@ class IotexplorerClient(AbstractClient):
|
|
|
49
49
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
50
50
|
|
|
51
51
|
|
|
52
|
+
def BatchCreateTWeSeeRecognitionTask(self, request):
|
|
53
|
+
r"""批量同步执行 TWeSee 语义理解任务
|
|
54
|
+
|
|
55
|
+
:param request: Request instance for BatchCreateTWeSeeRecognitionTask.
|
|
56
|
+
:type request: :class:`tencentcloud.iotexplorer.v20190423.models.BatchCreateTWeSeeRecognitionTaskRequest`
|
|
57
|
+
:rtype: :class:`tencentcloud.iotexplorer.v20190423.models.BatchCreateTWeSeeRecognitionTaskResponse`
|
|
58
|
+
|
|
59
|
+
"""
|
|
60
|
+
try:
|
|
61
|
+
params = request._serialize()
|
|
62
|
+
headers = request.headers
|
|
63
|
+
body = self.call("BatchCreateTWeSeeRecognitionTask", params, headers=headers)
|
|
64
|
+
response = json.loads(body)
|
|
65
|
+
model = models.BatchCreateTWeSeeRecognitionTaskResponse()
|
|
66
|
+
model._deserialize(response["Response"])
|
|
67
|
+
return model
|
|
68
|
+
except Exception as e:
|
|
69
|
+
if isinstance(e, TencentCloudSDKException):
|
|
70
|
+
raise
|
|
71
|
+
else:
|
|
72
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
73
|
+
|
|
74
|
+
|
|
75
|
+
def BatchInvokeTWeSeeRecognitionTask(self, request):
|
|
76
|
+
r"""批量同步执行 TWeSee 语义理解任务
|
|
77
|
+
|
|
78
|
+
:param request: Request instance for BatchInvokeTWeSeeRecognitionTask.
|
|
79
|
+
:type request: :class:`tencentcloud.iotexplorer.v20190423.models.BatchInvokeTWeSeeRecognitionTaskRequest`
|
|
80
|
+
:rtype: :class:`tencentcloud.iotexplorer.v20190423.models.BatchInvokeTWeSeeRecognitionTaskResponse`
|
|
81
|
+
|
|
82
|
+
"""
|
|
83
|
+
try:
|
|
84
|
+
params = request._serialize()
|
|
85
|
+
headers = request.headers
|
|
86
|
+
body = self.call("BatchInvokeTWeSeeRecognitionTask", params, headers=headers)
|
|
87
|
+
response = json.loads(body)
|
|
88
|
+
model = models.BatchInvokeTWeSeeRecognitionTaskResponse()
|
|
89
|
+
model._deserialize(response["Response"])
|
|
90
|
+
return model
|
|
91
|
+
except Exception as e:
|
|
92
|
+
if isinstance(e, TencentCloudSDKException):
|
|
93
|
+
raise
|
|
94
|
+
else:
|
|
95
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
96
|
+
|
|
97
|
+
|
|
52
98
|
def BatchUpdateFirmware(self, request):
|
|
53
99
|
r"""本接口(BatchUpdateFirmware)用于批量更新设备固件
|
|
54
100
|
|
|
@@ -718,6 +764,52 @@ class IotexplorerClient(AbstractClient):
|
|
|
718
764
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
719
765
|
|
|
720
766
|
|
|
767
|
+
def CreateTWeSeeRecognitionTaskWithFile(self, request):
|
|
768
|
+
r"""同步执行 TWeSee 语义理解任务
|
|
769
|
+
|
|
770
|
+
:param request: Request instance for CreateTWeSeeRecognitionTaskWithFile.
|
|
771
|
+
:type request: :class:`tencentcloud.iotexplorer.v20190423.models.CreateTWeSeeRecognitionTaskWithFileRequest`
|
|
772
|
+
:rtype: :class:`tencentcloud.iotexplorer.v20190423.models.CreateTWeSeeRecognitionTaskWithFileResponse`
|
|
773
|
+
|
|
774
|
+
"""
|
|
775
|
+
try:
|
|
776
|
+
params = request._serialize()
|
|
777
|
+
headers = request.headers
|
|
778
|
+
body = self.call("CreateTWeSeeRecognitionTaskWithFile", params, headers=headers)
|
|
779
|
+
response = json.loads(body)
|
|
780
|
+
model = models.CreateTWeSeeRecognitionTaskWithFileResponse()
|
|
781
|
+
model._deserialize(response["Response"])
|
|
782
|
+
return model
|
|
783
|
+
except Exception as e:
|
|
784
|
+
if isinstance(e, TencentCloudSDKException):
|
|
785
|
+
raise
|
|
786
|
+
else:
|
|
787
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
788
|
+
|
|
789
|
+
|
|
790
|
+
def CreateTWeSeeService(self, request):
|
|
791
|
+
r"""开通 TWeSee 后付费服务
|
|
792
|
+
|
|
793
|
+
:param request: Request instance for CreateTWeSeeService.
|
|
794
|
+
:type request: :class:`tencentcloud.iotexplorer.v20190423.models.CreateTWeSeeServiceRequest`
|
|
795
|
+
:rtype: :class:`tencentcloud.iotexplorer.v20190423.models.CreateTWeSeeServiceResponse`
|
|
796
|
+
|
|
797
|
+
"""
|
|
798
|
+
try:
|
|
799
|
+
params = request._serialize()
|
|
800
|
+
headers = request.headers
|
|
801
|
+
body = self.call("CreateTWeSeeService", params, headers=headers)
|
|
802
|
+
response = json.loads(body)
|
|
803
|
+
model = models.CreateTWeSeeServiceResponse()
|
|
804
|
+
model._deserialize(response["Response"])
|
|
805
|
+
return model
|
|
806
|
+
except Exception as e:
|
|
807
|
+
if isinstance(e, TencentCloudSDKException):
|
|
808
|
+
raise
|
|
809
|
+
else:
|
|
810
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
811
|
+
|
|
812
|
+
|
|
721
813
|
def CreateTWeTalkProductConfig(self, request):
|
|
722
814
|
r"""用于配置TWeTalk服务连接产品配置信息。
|
|
723
815
|
|
|
@@ -1063,6 +1155,29 @@ class IotexplorerClient(AbstractClient):
|
|
|
1063
1155
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
1064
1156
|
|
|
1065
1157
|
|
|
1158
|
+
def DeleteTWeTalkProductConfigV2(self, request):
|
|
1159
|
+
r"""用于删除配置TWeTalk服务连接产品配置信息。
|
|
1160
|
+
|
|
1161
|
+
:param request: Request instance for DeleteTWeTalkProductConfigV2.
|
|
1162
|
+
:type request: :class:`tencentcloud.iotexplorer.v20190423.models.DeleteTWeTalkProductConfigV2Request`
|
|
1163
|
+
:rtype: :class:`tencentcloud.iotexplorer.v20190423.models.DeleteTWeTalkProductConfigV2Response`
|
|
1164
|
+
|
|
1165
|
+
"""
|
|
1166
|
+
try:
|
|
1167
|
+
params = request._serialize()
|
|
1168
|
+
headers = request.headers
|
|
1169
|
+
body = self.call("DeleteTWeTalkProductConfigV2", params, headers=headers)
|
|
1170
|
+
response = json.loads(body)
|
|
1171
|
+
model = models.DeleteTWeTalkProductConfigV2Response()
|
|
1172
|
+
model._deserialize(response["Response"])
|
|
1173
|
+
return model
|
|
1174
|
+
except Exception as e:
|
|
1175
|
+
if isinstance(e, TencentCloudSDKException):
|
|
1176
|
+
raise
|
|
1177
|
+
else:
|
|
1178
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
1179
|
+
|
|
1180
|
+
|
|
1066
1181
|
def DeleteTopicPolicy(self, request):
|
|
1067
1182
|
r"""本接口(DeleteTopicPolicy)用于删除Topic
|
|
1068
1183
|
|
|
@@ -1776,31 +1891,6 @@ class IotexplorerClient(AbstractClient):
|
|
|
1776
1891
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
1777
1892
|
|
|
1778
1893
|
|
|
1779
|
-
def DescribeDeviceLocationSolve(self, request):
|
|
1780
|
-
r"""获取实时位置解析依赖于teg位置服务,近30天调用只有2个个人账号调用,产品推下线
|
|
1781
|
-
|
|
1782
|
-
获取实时位置解析
|
|
1783
|
-
|
|
1784
|
-
:param request: Request instance for DescribeDeviceLocationSolve.
|
|
1785
|
-
:type request: :class:`tencentcloud.iotexplorer.v20190423.models.DescribeDeviceLocationSolveRequest`
|
|
1786
|
-
:rtype: :class:`tencentcloud.iotexplorer.v20190423.models.DescribeDeviceLocationSolveResponse`
|
|
1787
|
-
|
|
1788
|
-
"""
|
|
1789
|
-
try:
|
|
1790
|
-
params = request._serialize()
|
|
1791
|
-
headers = request.headers
|
|
1792
|
-
body = self.call("DescribeDeviceLocationSolve", params, headers=headers)
|
|
1793
|
-
response = json.loads(body)
|
|
1794
|
-
model = models.DescribeDeviceLocationSolveResponse()
|
|
1795
|
-
model._deserialize(response["Response"])
|
|
1796
|
-
return model
|
|
1797
|
-
except Exception as e:
|
|
1798
|
-
if isinstance(e, TencentCloudSDKException):
|
|
1799
|
-
raise
|
|
1800
|
-
else:
|
|
1801
|
-
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
1802
|
-
|
|
1803
|
-
|
|
1804
1894
|
def DescribeDevicePackages(self, request):
|
|
1805
1895
|
r"""根据设备信息拉取有效套餐列表
|
|
1806
1896
|
|
|
@@ -3227,6 +3317,29 @@ class IotexplorerClient(AbstractClient):
|
|
|
3227
3317
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
3228
3318
|
|
|
3229
3319
|
|
|
3320
|
+
def InvokeTWeSeeRecognitionTaskWithFile(self, request):
|
|
3321
|
+
r"""同步执行 TWeSee 语义理解任务
|
|
3322
|
+
|
|
3323
|
+
:param request: Request instance for InvokeTWeSeeRecognitionTaskWithFile.
|
|
3324
|
+
:type request: :class:`tencentcloud.iotexplorer.v20190423.models.InvokeTWeSeeRecognitionTaskWithFileRequest`
|
|
3325
|
+
:rtype: :class:`tencentcloud.iotexplorer.v20190423.models.InvokeTWeSeeRecognitionTaskWithFileResponse`
|
|
3326
|
+
|
|
3327
|
+
"""
|
|
3328
|
+
try:
|
|
3329
|
+
params = request._serialize()
|
|
3330
|
+
headers = request.headers
|
|
3331
|
+
body = self.call("InvokeTWeSeeRecognitionTaskWithFile", params, headers=headers)
|
|
3332
|
+
response = json.loads(body)
|
|
3333
|
+
model = models.InvokeTWeSeeRecognitionTaskWithFileResponse()
|
|
3334
|
+
model._deserialize(response["Response"])
|
|
3335
|
+
return model
|
|
3336
|
+
except Exception as e:
|
|
3337
|
+
if isinstance(e, TencentCloudSDKException):
|
|
3338
|
+
raise
|
|
3339
|
+
else:
|
|
3340
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
3341
|
+
|
|
3342
|
+
|
|
3230
3343
|
def InvokeVideosKeywordsAnalyzer(self, request):
|
|
3231
3344
|
r"""获取某个时间段的视频内容关键字
|
|
3232
3345
|
|
|
@@ -4312,6 +4425,29 @@ class IotexplorerClient(AbstractClient):
|
|
|
4312
4425
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
4313
4426
|
|
|
4314
4427
|
|
|
4428
|
+
def UpdateOtaTaskStatus(self, request):
|
|
4429
|
+
r"""本接口(UpdateOtaTask)当固件升级大任务处于没有在全部成功的状态时,可修改为取消状态,取消部分或全部设备的升级;或其它允许的可修改的状态。
|
|
4430
|
+
|
|
4431
|
+
:param request: Request instance for UpdateOtaTaskStatus.
|
|
4432
|
+
:type request: :class:`tencentcloud.iotexplorer.v20190423.models.UpdateOtaTaskStatusRequest`
|
|
4433
|
+
:rtype: :class:`tencentcloud.iotexplorer.v20190423.models.UpdateOtaTaskStatusResponse`
|
|
4434
|
+
|
|
4435
|
+
"""
|
|
4436
|
+
try:
|
|
4437
|
+
params = request._serialize()
|
|
4438
|
+
headers = request.headers
|
|
4439
|
+
body = self.call("UpdateOtaTaskStatus", params, headers=headers)
|
|
4440
|
+
response = json.loads(body)
|
|
4441
|
+
model = models.UpdateOtaTaskStatusResponse()
|
|
4442
|
+
model._deserialize(response["Response"])
|
|
4443
|
+
return model
|
|
4444
|
+
except Exception as e:
|
|
4445
|
+
if isinstance(e, TencentCloudSDKException):
|
|
4446
|
+
raise
|
|
4447
|
+
else:
|
|
4448
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
4449
|
+
|
|
4450
|
+
|
|
4315
4451
|
def UploadFirmware(self, request):
|
|
4316
4452
|
r"""本接口(UploadFirmware)用于创建设备固件版本信息,在平台用于固件版本升级、固件资源下发等。
|
|
4317
4453
|
|