tencentcloud-sdk-python-tmt 3.0.1478__tar.gz → 3.1.54__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_tmt-3.1.54/PKG-INFO +46 -0
- {tencentcloud-sdk-python-tmt-3.0.1478 → tencentcloud_sdk_python_tmt-3.1.54}/setup.py +2 -1
- {tencentcloud-sdk-python-tmt-3.0.1478 → tencentcloud_sdk_python_tmt-3.1.54}/tencentcloud/__init__.py +1 -1
- {tencentcloud-sdk-python-tmt-3.0.1478 → tencentcloud_sdk_python_tmt-3.1.54}/tencentcloud/tmt/v20180321/errorcodes.py +2 -23
- tencentcloud_sdk_python_tmt-3.1.54/tencentcloud/tmt/v20180321/models.py +845 -0
- tencentcloud_sdk_python_tmt-3.1.54/tencentcloud/tmt/v20180321/tmt_client.py +78 -0
- tencentcloud_sdk_python_tmt-3.1.54/tencentcloud/tmt/v20180321/tmt_client_async.py +68 -0
- tencentcloud_sdk_python_tmt-3.1.54/tencentcloud_sdk_python_tmt.egg-info/PKG-INFO +46 -0
- {tencentcloud-sdk-python-tmt-3.0.1478 → tencentcloud_sdk_python_tmt-3.1.54}/tencentcloud_sdk_python_tmt.egg-info/SOURCES.txt +1 -0
- tencentcloud_sdk_python_tmt-3.1.54/tencentcloud_sdk_python_tmt.egg-info/requires.txt +1 -0
- tencentcloud-sdk-python-tmt-3.0.1478/PKG-INFO +0 -45
- tencentcloud-sdk-python-tmt-3.0.1478/tencentcloud/tmt/v20180321/models.py +0 -2464
- tencentcloud-sdk-python-tmt-3.0.1478/tencentcloud/tmt/v20180321/tmt_client.py +0 -223
- tencentcloud-sdk-python-tmt-3.0.1478/tencentcloud_sdk_python_tmt.egg-info/PKG-INFO +0 -45
- tencentcloud-sdk-python-tmt-3.0.1478/tencentcloud_sdk_python_tmt.egg-info/requires.txt +0 -1
- {tencentcloud-sdk-python-tmt-3.0.1478 → tencentcloud_sdk_python_tmt-3.1.54}/README.rst +0 -0
- {tencentcloud-sdk-python-tmt-3.0.1478 → tencentcloud_sdk_python_tmt-3.1.54}/setup.cfg +0 -0
- {tencentcloud-sdk-python-tmt-3.0.1478 → tencentcloud_sdk_python_tmt-3.1.54}/tencentcloud/tmt/__init__.py +0 -0
- {tencentcloud-sdk-python-tmt-3.0.1478 → tencentcloud_sdk_python_tmt-3.1.54}/tencentcloud/tmt/v20180321/__init__.py +0 -0
- {tencentcloud-sdk-python-tmt-3.0.1478 → tencentcloud_sdk_python_tmt-3.1.54}/tencentcloud_sdk_python_tmt.egg-info/dependency_links.txt +0 -0
- {tencentcloud-sdk-python-tmt-3.0.1478 → tencentcloud_sdk_python_tmt-3.1.54}/tencentcloud_sdk_python_tmt.egg-info/top_level.txt +0 -0
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
Metadata-Version: 2.1
|
|
2
|
+
Name: tencentcloud-sdk-python-tmt
|
|
3
|
+
Version: 3.1.54
|
|
4
|
+
Summary: Tencent Cloud Tmt 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.1.54
|
|
19
|
+
|
|
20
|
+
============================
|
|
21
|
+
Tencent Cloud SDK for Python
|
|
22
|
+
============================
|
|
23
|
+
|
|
24
|
+
Tencent Cloud Python Tmt 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-tmt
|
|
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 tmt
|
|
46
|
+
|
|
@@ -8,7 +8,8 @@ ROOT = os.path.dirname(__file__)
|
|
|
8
8
|
|
|
9
9
|
setup(
|
|
10
10
|
name='tencentcloud-sdk-python-tmt',
|
|
11
|
-
install_requires=["tencentcloud-sdk-python-common>=3.
|
|
11
|
+
install_requires=["tencentcloud-sdk-python-common>=3.1.54,<4.0.0"],
|
|
12
|
+
|
|
12
13
|
version=tencentcloud.__version__,
|
|
13
14
|
description='Tencent Cloud Tmt SDK for Python',
|
|
14
15
|
long_description=open('README.rst').read(),
|
|
@@ -14,8 +14,8 @@
|
|
|
14
14
|
# limitations under the License.
|
|
15
15
|
|
|
16
16
|
|
|
17
|
-
#
|
|
18
|
-
|
|
17
|
+
# 图片解码失败
|
|
18
|
+
FAILEDOPERATION_DECODEERR = 'FailedOperation.DecodeErr'
|
|
19
19
|
|
|
20
20
|
# 图片下载出错
|
|
21
21
|
FAILEDOPERATION_DOWNLOADERR = 'FailedOperation.DownloadErr'
|
|
@@ -23,9 +23,6 @@ FAILEDOPERATION_DOWNLOADERR = 'FailedOperation.DownloadErr'
|
|
|
23
23
|
# 用户区域与请求服务区域不一致。
|
|
24
24
|
FAILEDOPERATION_ERRORUSERAREA = 'FailedOperation.ErrorUserArea'
|
|
25
25
|
|
|
26
|
-
# 数据插入错误。
|
|
27
|
-
FAILEDOPERATION_INSERTERR = 'FailedOperation.InsertErr'
|
|
28
|
-
|
|
29
26
|
# 暂时无法识别该语种。
|
|
30
27
|
FAILEDOPERATION_LANGUAGERECOGNITIONERR = 'FailedOperation.LanguageRecognitionErr'
|
|
31
28
|
|
|
@@ -41,15 +38,6 @@ FAILEDOPERATION_SERVICEISOLATE = 'FailedOperation.ServiceIsolate'
|
|
|
41
38
|
# 账号已停服。
|
|
42
39
|
FAILEDOPERATION_STOPUSING = 'FailedOperation.StopUsing'
|
|
43
40
|
|
|
44
|
-
# 当日提交任务数达到上限
|
|
45
|
-
FAILEDOPERATION_SUBMISSIONLIMITREACHED = 'FailedOperation.SubmissionLimitReached'
|
|
46
|
-
|
|
47
|
-
# 过多未完成任务
|
|
48
|
-
FAILEDOPERATION_TOOMANYWAITPROCESS = 'FailedOperation.TooManyWaitProcess'
|
|
49
|
-
|
|
50
|
-
# 本月免费额度已用完,如需继续使用您可以在机器翻译控制台购买资源包或开通后付费使用。
|
|
51
|
-
FAILEDOPERATION_USERHASNOFREEAMOUNT = 'FailedOperation.UserHasNoFreeAmount'
|
|
52
|
-
|
|
53
41
|
# 服务未开通,请在腾讯云官网机器翻译控制台开通服务。
|
|
54
42
|
FAILEDOPERATION_USERNOTREGISTERED = 'FailedOperation.UserNotRegistered'
|
|
55
43
|
|
|
@@ -71,15 +59,9 @@ INTERNALERROR_REQUESTFAILED = 'InternalError.RequestFailed'
|
|
|
71
59
|
# 参数错误。
|
|
72
60
|
INVALIDPARAMETER = 'InvalidParameter'
|
|
73
61
|
|
|
74
|
-
# 重复的SessionUuid和Seq组合。
|
|
75
|
-
INVALIDPARAMETER_DUPLICATEDSESSIONIDANDSEQ = 'InvalidParameter.DuplicatedSessionIdAndSeq'
|
|
76
|
-
|
|
77
62
|
# 参数错误。
|
|
78
63
|
INVALIDPARAMETER_MISSINGPARAMETER = 'InvalidParameter.MissingParameter'
|
|
79
64
|
|
|
80
|
-
# Seq之间的间隙请不要大于2000。
|
|
81
|
-
INVALIDPARAMETER_SEQINTERVALTOOLARGE = 'InvalidParameter.SeqIntervalTooLarge'
|
|
82
|
-
|
|
83
65
|
# 参数取值错误。
|
|
84
66
|
INVALIDPARAMETERVALUE = 'InvalidParameterValue'
|
|
85
67
|
|
|
@@ -101,9 +83,6 @@ UNAUTHORIZEDOPERATION_ACTIONNOTFOUND = 'UnauthorizedOperation.ActionNotFound'
|
|
|
101
83
|
# 操作不支持。
|
|
102
84
|
UNSUPPORTEDOPERATION = 'UnsupportedOperation'
|
|
103
85
|
|
|
104
|
-
# 音频分片长度超过限制,请保证分片长度小于8s。
|
|
105
|
-
UNSUPPORTEDOPERATION_AUDIODURATIONEXCEED = 'UnsupportedOperation.AudioDurationExceed'
|
|
106
|
-
|
|
107
86
|
# 单次请求text超过长度限制。
|
|
108
87
|
UNSUPPORTEDOPERATION_TEXTTOOLONG = 'UnsupportedOperation.TextTooLong'
|
|
109
88
|
|