tencentcloud-sdk-python-vclm 3.0.1178__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-vclm-3.0.1178/PKG-INFO +45 -0
- tencentcloud-sdk-python-vclm-3.0.1178/README.rst +27 -0
- tencentcloud-sdk-python-vclm-3.0.1178/setup.cfg +8 -0
- tencentcloud-sdk-python-vclm-3.0.1178/setup.py +32 -0
- tencentcloud-sdk-python-vclm-3.0.1178/tencentcloud/__init__.py +17 -0
- tencentcloud-sdk-python-vclm-3.0.1178/tencentcloud/vclm/__init__.py +0 -0
- tencentcloud-sdk-python-vclm-3.0.1178/tencentcloud/vclm/v20240523/__init__.py +0 -0
- tencentcloud-sdk-python-vclm-3.0.1178/tencentcloud/vclm/v20240523/errorcodes.py +198 -0
- tencentcloud-sdk-python-vclm-3.0.1178/tencentcloud/vclm/v20240523/models.py +1028 -0
- tencentcloud-sdk-python-vclm-3.0.1178/tencentcloud/vclm/v20240523/vclm_client.py +187 -0
- tencentcloud-sdk-python-vclm-3.0.1178/tencentcloud_sdk_python_vclm.egg-info/PKG-INFO +45 -0
- tencentcloud-sdk-python-vclm-3.0.1178/tencentcloud_sdk_python_vclm.egg-info/SOURCES.txt +14 -0
- tencentcloud-sdk-python-vclm-3.0.1178/tencentcloud_sdk_python_vclm.egg-info/dependency_links.txt +1 -0
- tencentcloud-sdk-python-vclm-3.0.1178/tencentcloud_sdk_python_vclm.egg-info/requires.txt +1 -0
- tencentcloud-sdk-python-vclm-3.0.1178/tencentcloud_sdk_python_vclm.egg-info/top_level.txt +1 -0
@@ -0,0 +1,45 @@
|
|
1
|
+
Metadata-Version: 1.1
|
2
|
+
Name: tencentcloud-sdk-python-vclm
|
3
|
+
Version: 3.0.1178
|
4
|
+
Summary: Tencent Cloud Vclm SDK for Python
|
5
|
+
Home-page: https://github.com/TencentCloud/tencentcloud-sdk-python
|
6
|
+
Author: Tencent Cloud
|
7
|
+
Author-email: tencentcloudapi@tencent.com
|
8
|
+
License: Apache License 2.0
|
9
|
+
Description: ============================
|
10
|
+
Tencent Cloud SDK for Python
|
11
|
+
============================
|
12
|
+
|
13
|
+
Tencent Cloud Python Vclm 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.
|
14
|
+
The SDK works on Python versions:
|
15
|
+
|
16
|
+
* 2.7 and greater, including 3.x
|
17
|
+
|
18
|
+
Quick Start
|
19
|
+
-----------
|
20
|
+
|
21
|
+
First, install the library:
|
22
|
+
|
23
|
+
.. code-block:: sh
|
24
|
+
|
25
|
+
$ pip install tencentcloud-sdk-python-common
|
26
|
+
$ pip install tencentcloud-sdk-python-vclm
|
27
|
+
|
28
|
+
or download source code from github and install:
|
29
|
+
|
30
|
+
.. code-block:: sh
|
31
|
+
|
32
|
+
$ git clone https://github.com/tencentcloud/tencentcloud-sdk-python.git
|
33
|
+
$ cd tencentcloud-sdk-python
|
34
|
+
$ python package.py --components common vclm
|
35
|
+
|
36
|
+
|
37
|
+
Platform: any
|
38
|
+
Classifier: Development Status :: 5 - Production/Stable
|
39
|
+
Classifier: Intended Audience :: Developers
|
40
|
+
Classifier: License :: OSI Approved :: Apache Software License
|
41
|
+
Classifier: Programming Language :: Python
|
42
|
+
Classifier: Programming Language :: Python :: 2.7
|
43
|
+
Classifier: Programming Language :: Python :: 3
|
44
|
+
Classifier: Programming Language :: Python :: 3.6
|
45
|
+
Classifier: Programming Language :: Python :: 3.7
|
@@ -0,0 +1,27 @@
|
|
1
|
+
============================
|
2
|
+
Tencent Cloud SDK for Python
|
3
|
+
============================
|
4
|
+
|
5
|
+
Tencent Cloud Python Vclm 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.
|
6
|
+
The SDK works on Python versions:
|
7
|
+
|
8
|
+
* 2.7 and greater, including 3.x
|
9
|
+
|
10
|
+
Quick Start
|
11
|
+
-----------
|
12
|
+
|
13
|
+
First, install the library:
|
14
|
+
|
15
|
+
.. code-block:: sh
|
16
|
+
|
17
|
+
$ pip install tencentcloud-sdk-python-common
|
18
|
+
$ pip install tencentcloud-sdk-python-vclm
|
19
|
+
|
20
|
+
or download source code from github and install:
|
21
|
+
|
22
|
+
.. code-block:: sh
|
23
|
+
|
24
|
+
$ git clone https://github.com/tencentcloud/tencentcloud-sdk-python.git
|
25
|
+
$ cd tencentcloud-sdk-python
|
26
|
+
$ python package.py --components common vclm
|
27
|
+
|
@@ -0,0 +1,32 @@
|
|
1
|
+
#!/usr/bin/env python
|
2
|
+
import os
|
3
|
+
from setuptools import setup, find_packages
|
4
|
+
|
5
|
+
import tencentcloud
|
6
|
+
|
7
|
+
ROOT = os.path.dirname(__file__)
|
8
|
+
|
9
|
+
setup(
|
10
|
+
name='tencentcloud-sdk-python-vclm',
|
11
|
+
install_requires=["tencentcloud-sdk-python-common==3.0.1178"],
|
12
|
+
version=tencentcloud.__version__,
|
13
|
+
description='Tencent Cloud Vclm SDK for Python',
|
14
|
+
long_description=open('README.rst').read(),
|
15
|
+
author='Tencent Cloud',
|
16
|
+
url='https://github.com/TencentCloud/tencentcloud-sdk-python',
|
17
|
+
maintainer_email="tencentcloudapi@tencent.com",
|
18
|
+
scripts=[],
|
19
|
+
packages=find_packages(exclude=["tests*"]),
|
20
|
+
license="Apache License 2.0",
|
21
|
+
platforms='any',
|
22
|
+
classifiers=[
|
23
|
+
'Development Status :: 5 - Production/Stable',
|
24
|
+
'Intended Audience :: Developers',
|
25
|
+
'License :: OSI Approved :: Apache Software License',
|
26
|
+
'Programming Language :: Python',
|
27
|
+
'Programming Language :: Python :: 2.7',
|
28
|
+
'Programming Language :: Python :: 3',
|
29
|
+
'Programming Language :: Python :: 3.6',
|
30
|
+
'Programming Language :: Python :: 3.7',
|
31
|
+
],
|
32
|
+
)
|
@@ -0,0 +1,17 @@
|
|
1
|
+
# -*- coding: utf-8 -*-
|
2
|
+
# Copyright 1999-2018 Tencent Ltd.
|
3
|
+
#
|
4
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
5
|
+
# you may not use this file except in compliance with the License.
|
6
|
+
# You may obtain a copy of the License at
|
7
|
+
#
|
8
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
9
|
+
#
|
10
|
+
# Unless required by applicable law or agreed to in writing, software
|
11
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
12
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
13
|
+
# See the License for the specific language governing permissions and
|
14
|
+
# limitations under the License.
|
15
|
+
|
16
|
+
|
17
|
+
__version__ = '3.0.1178'
|
File without changes
|
File without changes
|
@@ -0,0 +1,198 @@
|
|
1
|
+
# -*- coding: utf8 -*-
|
2
|
+
# Copyright (c) 2017-2021 THL A29 Limited, a Tencent company. All Rights Reserved.
|
3
|
+
#
|
4
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
5
|
+
# you may not use this file except in compliance with the License.
|
6
|
+
# You may obtain a copy of the License at
|
7
|
+
#
|
8
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
9
|
+
#
|
10
|
+
# Unless required by applicable law or agreed to in writing, software
|
11
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
12
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
13
|
+
# See the License for the specific language governing permissions and
|
14
|
+
# limitations under the License.
|
15
|
+
|
16
|
+
|
17
|
+
# CAM签名/鉴权错误。
|
18
|
+
AUTHFAILURE = 'AuthFailure'
|
19
|
+
|
20
|
+
# 音频解码失败。
|
21
|
+
FAILEDOPERATION_AUDIODECODEFAILED = 'FailedOperation.AudioDecodeFailed'
|
22
|
+
|
23
|
+
# 音频处理失败。
|
24
|
+
FAILEDOPERATION_AUDIOPROCESSFAILED = 'FailedOperation.AudioProcessFailed'
|
25
|
+
|
26
|
+
# 音频处理任务未完成,不能执行翻译结果确认
|
27
|
+
FAILEDOPERATION_AUDIOPROCESSNOTFINISHED = 'FailedOperation.AudioProcessNotFinished'
|
28
|
+
|
29
|
+
# 翻译结果确认任务异常。
|
30
|
+
FAILEDOPERATION_CONFIRMTASKEXCEPTION = 'FailedOperation.ConfirmTaskException'
|
31
|
+
|
32
|
+
# 下载视频出错。
|
33
|
+
FAILEDOPERATION_DOWNLOADERROR = 'FailedOperation.DownloadError'
|
34
|
+
|
35
|
+
# 人脸框太小,无法识别使用。
|
36
|
+
FAILEDOPERATION_FACESIZETOOSMALL = 'FailedOperation.FaceSizeTooSmall'
|
37
|
+
|
38
|
+
# 图片解码失败。
|
39
|
+
FAILEDOPERATION_IMAGEDECODEFAILED = 'FailedOperation.ImageDecodeFailed'
|
40
|
+
|
41
|
+
# 不支持的图片文件。
|
42
|
+
FAILEDOPERATION_IMAGENOTSUPPORTED = 'FailedOperation.ImageNotSupported'
|
43
|
+
|
44
|
+
# 图片分辨率过大。
|
45
|
+
FAILEDOPERATION_IMAGERESOLUTIONEXCEED = 'FailedOperation.ImageResolutionExceed'
|
46
|
+
|
47
|
+
# base64编码后的图片数据过大。
|
48
|
+
FAILEDOPERATION_IMAGESIZEEXCEED = 'FailedOperation.ImageSizeExceed'
|
49
|
+
|
50
|
+
# 服务内部错误,请重试。
|
51
|
+
FAILEDOPERATION_INNERERROR = 'FailedOperation.InnerError'
|
52
|
+
|
53
|
+
# 任务不存在。
|
54
|
+
FAILEDOPERATION_JOBNOTEXIST = 'FailedOperation.JobNotExist'
|
55
|
+
|
56
|
+
# 任务不存在。
|
57
|
+
FAILEDOPERATION_JOBNOTFOUND = 'FailedOperation.JobNotFound'
|
58
|
+
|
59
|
+
# 任务队列已满,请稍后重试。
|
60
|
+
FAILEDOPERATION_JOBQUEUEFULL = 'FailedOperation.JobQueueFull'
|
61
|
+
|
62
|
+
# 内容审核不通过。
|
63
|
+
FAILEDOPERATION_MODERATIONFAILED = 'FailedOperation.ModerationFailed'
|
64
|
+
|
65
|
+
# 后端服务超时。
|
66
|
+
FAILEDOPERATION_REQUESTTIMEOUT = 'FailedOperation.RequestTimeout'
|
67
|
+
|
68
|
+
# 系统内部错误。
|
69
|
+
FAILEDOPERATION_SERVERERROR = 'FailedOperation.ServerError'
|
70
|
+
|
71
|
+
# 任务不存在。
|
72
|
+
FAILEDOPERATION_TASKNOTEXIST = 'FailedOperation.TaskNotExist'
|
73
|
+
|
74
|
+
# 任务状态异常。
|
75
|
+
FAILEDOPERATION_TASKSTATUSERROR = 'FailedOperation.TaskStatusError'
|
76
|
+
|
77
|
+
# 文本未通过审核,请修改后重新尝试。
|
78
|
+
FAILEDOPERATION_TEXTMODERATIONNOTPASS = 'FailedOperation.TextModerationNotPass'
|
79
|
+
|
80
|
+
# 音频翻译结果已确认
|
81
|
+
FAILEDOPERATION_TRANSLATIONCONFIRMHASFINISHED = 'FailedOperation.TranslationConfirmHasFinished'
|
82
|
+
|
83
|
+
# 用户未选择确认音频翻译结果
|
84
|
+
FAILEDOPERATION_TRANSLATIONNOTNEEDCONFIRM = 'FailedOperation.TranslationNotNeedConfirm'
|
85
|
+
|
86
|
+
# 内部错误。
|
87
|
+
FAILEDOPERATION_UNKNOWERROR = 'FailedOperation.UnKnowError'
|
88
|
+
|
89
|
+
# 视频解码失败。
|
90
|
+
FAILEDOPERATION_VIDEODECODEFAILED = 'FailedOperation.VideoDecodeFailed'
|
91
|
+
|
92
|
+
# 视频时长超限制。
|
93
|
+
FAILEDOPERATION_VIDEODURATIONEXCEED = 'FailedOperation.VideoDurationExceed'
|
94
|
+
|
95
|
+
# 视频Fps超限制。
|
96
|
+
FAILEDOPERATION_VIDEOFPSEXCEED = 'FailedOperation.VideoFpsExceed'
|
97
|
+
|
98
|
+
# 视频分辨率超限制。
|
99
|
+
FAILEDOPERATION_VIDEORESOLUTIONEXCEED = 'FailedOperation.VideoResolutionExceed'
|
100
|
+
|
101
|
+
# 视频分辨率超限制。
|
102
|
+
FAILEDOPERATION_VIDEOSIZEEXCEED = 'FailedOperation.VideoSizeExceed'
|
103
|
+
|
104
|
+
# 内部错误。
|
105
|
+
INTERNALERROR = 'InternalError'
|
106
|
+
|
107
|
+
# 参数错误。
|
108
|
+
INVALIDPARAMETER = 'InvalidParameter'
|
109
|
+
|
110
|
+
# 参数不合法。
|
111
|
+
INVALIDPARAMETER_INVALIDPARAMETER = 'InvalidParameter.InvalidParameter'
|
112
|
+
|
113
|
+
# 参数取值错误。
|
114
|
+
INVALIDPARAMETERVALUE = 'InvalidParameterValue'
|
115
|
+
|
116
|
+
# 视频时长超过限制。
|
117
|
+
INVALIDPARAMETERVALUE_INVALIDVIDEODURATION = 'InvalidParameterValue.InvalidVideoDuration'
|
118
|
+
|
119
|
+
# 不支持的视频FPS。
|
120
|
+
INVALIDPARAMETERVALUE_INVALIDVIDEOFPS = 'InvalidParameterValue.InvalidVideoFPS'
|
121
|
+
|
122
|
+
# 不支持的视频格式。
|
123
|
+
INVALIDPARAMETERVALUE_INVALIDVIDEOFORMAT = 'InvalidParameterValue.InvalidVideoFormat'
|
124
|
+
|
125
|
+
# 不支持的分辨率。
|
126
|
+
INVALIDPARAMETERVALUE_INVALIDVIDEORESOLUTION = 'InvalidParameterValue.InvalidVideoResolution'
|
127
|
+
|
128
|
+
# 图片中没有人脸。
|
129
|
+
INVALIDPARAMETERVALUE_NOFACEINPHOTO = 'InvalidParameterValue.NoFaceInPhoto'
|
130
|
+
|
131
|
+
# 参数字段或者值有误。
|
132
|
+
INVALIDPARAMETERVALUE_PARAMETERVALUEERROR = 'InvalidParameterValue.ParameterValueError'
|
133
|
+
|
134
|
+
# 风格不存在。
|
135
|
+
INVALIDPARAMETERVALUE_STYLENOTEXIST = 'InvalidParameterValue.StyleNotExist'
|
136
|
+
|
137
|
+
# URL格式不合法。
|
138
|
+
INVALIDPARAMETERVALUE_URLILLEGAL = 'InvalidParameterValue.UrlIllegal'
|
139
|
+
|
140
|
+
# 视频大小超过限制。
|
141
|
+
INVALIDPARAMETERVALUE_VIDEOSIZEEXCEED = 'InvalidParameterValue.VideoSizeExceed'
|
142
|
+
|
143
|
+
# 超过配额限制。
|
144
|
+
LIMITEXCEEDED = 'LimitExceeded'
|
145
|
+
|
146
|
+
# 操作被拒绝。
|
147
|
+
OPERATIONDENIED = 'OperationDenied'
|
148
|
+
|
149
|
+
# 请求的次数超过了频率限制。
|
150
|
+
REQUESTLIMITEXCEEDED = 'RequestLimitExceeded'
|
151
|
+
|
152
|
+
# 提交任务数超过最大并发。
|
153
|
+
REQUESTLIMITEXCEEDED_JOBNUMEXCEED = 'RequestLimitExceeded.JobNumExceed'
|
154
|
+
|
155
|
+
# 用户账号超出了限制。
|
156
|
+
REQUESTLIMITEXCEEDED_UINLIMITEXCEEDED = 'RequestLimitExceeded.UinLimitExceeded'
|
157
|
+
|
158
|
+
# 资源不足。
|
159
|
+
RESOURCEINSUFFICIENT = 'ResourceInsufficient'
|
160
|
+
|
161
|
+
# 资源不存在。
|
162
|
+
RESOURCENOTFOUND = 'ResourceNotFound'
|
163
|
+
|
164
|
+
# 资源正在发货中。
|
165
|
+
RESOURCEUNAVAILABLE_DELIVERING = 'ResourceUnavailable.Delivering'
|
166
|
+
|
167
|
+
# 账号已被冻结。
|
168
|
+
RESOURCEUNAVAILABLE_FREEZE = 'ResourceUnavailable.Freeze'
|
169
|
+
|
170
|
+
# ResourceUnavailable.InArrears
|
171
|
+
RESOURCEUNAVAILABLE_INARREARS = 'ResourceUnavailable.InArrears'
|
172
|
+
|
173
|
+
# 服务正在开通中,请稍等。
|
174
|
+
RESOURCEUNAVAILABLE_ISOPENING = 'ResourceUnavailable.IsOpening'
|
175
|
+
|
176
|
+
# ResourceUnavailable.LowBalance
|
177
|
+
RESOURCEUNAVAILABLE_LOWBALANCE = 'ResourceUnavailable.LowBalance'
|
178
|
+
|
179
|
+
# 计费状态未知。
|
180
|
+
RESOURCEUNAVAILABLE_NOTEXIST = 'ResourceUnavailable.NotExist'
|
181
|
+
|
182
|
+
# 服务未开通。
|
183
|
+
RESOURCEUNAVAILABLE_NOTREADY = 'ResourceUnavailable.NotReady'
|
184
|
+
|
185
|
+
# 资源已被回收。
|
186
|
+
RESOURCEUNAVAILABLE_RECOVER = 'ResourceUnavailable.Recover'
|
187
|
+
|
188
|
+
# 计费状态未知。
|
189
|
+
RESOURCEUNAVAILABLE_UNKNOWNSTATUS = 'ResourceUnavailable.UnknownStatus'
|
190
|
+
|
191
|
+
# 账号已欠费。
|
192
|
+
RESOURCESSOLDOUT_CHARGESTATUSEXCEPTION = 'ResourcesSoldOut.ChargeStatusException'
|
193
|
+
|
194
|
+
# 未授权操作。
|
195
|
+
UNAUTHORIZEDOPERATION = 'UnauthorizedOperation'
|
196
|
+
|
197
|
+
# 操作不支持。
|
198
|
+
UNSUPPORTEDOPERATION = 'UnsupportedOperation'
|