tencentcloud-sdk-python-live 3.0.1460__tar.gz → 3.1.4__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_live-3.1.4/PKG-INFO +46 -0
- {tencentcloud-sdk-python-live-3.0.1460 → tencentcloud_sdk_python_live-3.1.4}/setup.py +2 -1
- {tencentcloud-sdk-python-live-3.0.1460 → tencentcloud_sdk_python_live-3.1.4}/tencentcloud/__init__.py +1 -1
- {tencentcloud-sdk-python-live-3.0.1460 → tencentcloud_sdk_python_live-3.1.4}/tencentcloud/live/v20180801/live_client.py +0 -25
- tencentcloud_sdk_python_live-3.1.4/tencentcloud/live/v20180801/live_client_async.py +3758 -0
- {tencentcloud-sdk-python-live-3.0.1460 → tencentcloud_sdk_python_live-3.1.4}/tencentcloud/live/v20180801/models.py +4 -284
- tencentcloud_sdk_python_live-3.1.4/tencentcloud_sdk_python_live.egg-info/PKG-INFO +46 -0
- {tencentcloud-sdk-python-live-3.0.1460 → tencentcloud_sdk_python_live-3.1.4}/tencentcloud_sdk_python_live.egg-info/SOURCES.txt +1 -0
- tencentcloud_sdk_python_live-3.1.4/tencentcloud_sdk_python_live.egg-info/requires.txt +1 -0
- tencentcloud-sdk-python-live-3.0.1460/PKG-INFO +0 -45
- tencentcloud-sdk-python-live-3.0.1460/tencentcloud_sdk_python_live.egg-info/PKG-INFO +0 -45
- tencentcloud-sdk-python-live-3.0.1460/tencentcloud_sdk_python_live.egg-info/requires.txt +0 -1
- {tencentcloud-sdk-python-live-3.0.1460 → tencentcloud_sdk_python_live-3.1.4}/README.rst +0 -0
- {tencentcloud-sdk-python-live-3.0.1460 → tencentcloud_sdk_python_live-3.1.4}/setup.cfg +0 -0
- {tencentcloud-sdk-python-live-3.0.1460 → tencentcloud_sdk_python_live-3.1.4}/tencentcloud/live/__init__.py +0 -0
- {tencentcloud-sdk-python-live-3.0.1460 → tencentcloud_sdk_python_live-3.1.4}/tencentcloud/live/v20180801/__init__.py +0 -0
- {tencentcloud-sdk-python-live-3.0.1460 → tencentcloud_sdk_python_live-3.1.4}/tencentcloud/live/v20180801/errorcodes.py +0 -0
- {tencentcloud-sdk-python-live-3.0.1460 → tencentcloud_sdk_python_live-3.1.4}/tencentcloud_sdk_python_live.egg-info/dependency_links.txt +0 -0
- {tencentcloud-sdk-python-live-3.0.1460 → tencentcloud_sdk_python_live-3.1.4}/tencentcloud_sdk_python_live.egg-info/top_level.txt +0 -0
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
Metadata-Version: 2.1
|
|
2
|
+
Name: tencentcloud-sdk-python-live
|
|
3
|
+
Version: 3.1.4
|
|
4
|
+
Summary: Tencent Cloud Live 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.4
|
|
19
|
+
|
|
20
|
+
============================
|
|
21
|
+
Tencent Cloud SDK for Python
|
|
22
|
+
============================
|
|
23
|
+
|
|
24
|
+
Tencent Cloud Python Live 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-live
|
|
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 live
|
|
46
|
+
|
|
@@ -8,7 +8,8 @@ ROOT = os.path.dirname(__file__)
|
|
|
8
8
|
|
|
9
9
|
setup(
|
|
10
10
|
name='tencentcloud-sdk-python-live',
|
|
11
|
-
install_requires=["tencentcloud-sdk-python-common>=3.
|
|
11
|
+
install_requires=["tencentcloud-sdk-python-common>=3.1.4,<4.0.0"],
|
|
12
|
+
|
|
12
13
|
version=tencentcloud.__version__,
|
|
13
14
|
description='Tencent Cloud Live SDK for Python',
|
|
14
15
|
long_description=open('README.rst').read(),
|
|
@@ -2424,31 +2424,6 @@ class LiveClient(AbstractClient):
|
|
|
2424
2424
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
2425
2425
|
|
|
2426
2426
|
|
|
2427
|
-
def DescribeLiveForbidStreamList(self, request):
|
|
2428
|
-
r"""获取禁推流列表。
|
|
2429
|
-
|
|
2430
|
-
注意:该接口仅作为直播辅助查询接口,重要业务场景不可强依赖该接口。
|
|
2431
|
-
|
|
2432
|
-
:param request: Request instance for DescribeLiveForbidStreamList.
|
|
2433
|
-
:type request: :class:`tencentcloud.live.v20180801.models.DescribeLiveForbidStreamListRequest`
|
|
2434
|
-
:rtype: :class:`tencentcloud.live.v20180801.models.DescribeLiveForbidStreamListResponse`
|
|
2435
|
-
|
|
2436
|
-
"""
|
|
2437
|
-
try:
|
|
2438
|
-
params = request._serialize()
|
|
2439
|
-
headers = request.headers
|
|
2440
|
-
body = self.call("DescribeLiveForbidStreamList", params, headers=headers)
|
|
2441
|
-
response = json.loads(body)
|
|
2442
|
-
model = models.DescribeLiveForbidStreamListResponse()
|
|
2443
|
-
model._deserialize(response["Response"])
|
|
2444
|
-
return model
|
|
2445
|
-
except Exception as e:
|
|
2446
|
-
if isinstance(e, TencentCloudSDKException):
|
|
2447
|
-
raise
|
|
2448
|
-
else:
|
|
2449
|
-
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
2450
|
-
|
|
2451
|
-
|
|
2452
2427
|
def DescribeLivePackageInfo(self, request):
|
|
2453
2428
|
r"""查询用户套餐包总量、使用量、剩余量、包状态、购买时间和过期时间等。
|
|
2454
2429
|
|