alibabacloud-lingmou20250527 1.0.0__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.
@@ -0,0 +1,13 @@
1
+ Copyright (c) 2009-present, Alibaba Cloud All rights reserved.
2
+
3
+ Licensed under the Apache License, Version 2.0 (the "License");
4
+ you may not use this file except in compliance with the License.
5
+ You may obtain a copy of the License at
6
+
7
+ http://www.apache.org/licenses/LICENSE-2.0
8
+
9
+ Unless required by applicable law or agreed to in writing, software
10
+ distributed under the License is distributed on an "AS IS" BASIS,
11
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
+ See the License for the specific language governing permissions and
13
+ limitations under the License.
@@ -0,0 +1,2 @@
1
+ include LICENSE
2
+ include *.md
@@ -0,0 +1,65 @@
1
+ Metadata-Version: 2.1
2
+ Name: alibabacloud_lingmou20250527
3
+ Version: 1.0.0
4
+ Summary: Alibaba Cloud LingMou (20250527) SDK Library for Python
5
+ Home-page: https://github.com/aliyun/alibabacloud-python-sdk
6
+ Author: Alibaba Cloud SDK
7
+ Author-email: sdk-team@alibabacloud.com
8
+ License: Apache License 2.0
9
+ Keywords: alibabacloud,lingmou20250527
10
+ Platform: any
11
+ Classifier: Development Status :: 4 - Beta
12
+ Classifier: Intended Audience :: Developers
13
+ Classifier: License :: OSI Approved :: Apache Software License
14
+ Classifier: Programming Language :: Python
15
+ Classifier: Programming Language :: Python :: 3
16
+ Classifier: Programming Language :: Python :: 3.6
17
+ Classifier: Programming Language :: Python :: 3.7
18
+ Classifier: Programming Language :: Python :: 3.8
19
+ Classifier: Programming Language :: Python :: 3.9
20
+ Classifier: Topic :: Software Development
21
+ Requires-Python: >=3.6
22
+ Description-Content-Type: text/markdown
23
+ License-File: LICENSE
24
+
25
+ English | [简体中文](README-CN.md)
26
+ ![](https://aliyunsdk-pages.alicdn.com/icons/AlibabaCloud.svg)
27
+
28
+ ## Alibaba Cloud LingMou SDK for Python
29
+
30
+ ## Requirements
31
+
32
+ - Python >= 3.7
33
+
34
+ ## Installation
35
+
36
+ - **Install with pip**
37
+
38
+ Python SDK uses a common package management tool named `pip`. If pip is not installed, see the [pip user guide](https://pip.pypa.io/en/stable/installing/ "pip User Guide") to install pip.
39
+
40
+ ```bash
41
+ # Install the alibabacloud_lingmou20250527
42
+ pip install alibabacloud_lingmou20250527
43
+ ```
44
+
45
+ ## Issues
46
+
47
+ [Opening an Issue](https://github.com/aliyun/alibabacloud-sdk/issues/new), Issues not conforming to the guidelines may be closed immediately.
48
+
49
+ ## Usage
50
+
51
+ [Quick Examples](https://github.com/aliyun/alibabacloud-python-sdk/blob/master/docs/0-Usage-EN.md#quick-examples)
52
+
53
+ ## Changelog
54
+
55
+ Detailed changes for each release are documented in the [release notes](https://github.com/aliyun/alibabacloud-python-sdk/blob/master/lingmou-20250527/ChangeLog.md).
56
+
57
+ ## References
58
+
59
+ - [Latest Release](https://github.com/aliyun/alibabacloud-sdk/tree/master/python)
60
+
61
+ ## License
62
+
63
+ [Apache-2.0](http://www.apache.org/licenses/LICENSE-2.0)
64
+
65
+ Copyright (c) 2009-present, Alibaba Cloud All rights reserved.
@@ -0,0 +1,42 @@
1
+ [English](README.md) | 简体中文
2
+
3
+ ![](https://aliyunsdk-pages.alicdn.com/icons/AlibabaCloud.svg)
4
+
5
+ ## Alibaba Cloud LingMou SDK for Python
6
+
7
+ ## 要求
8
+
9
+ - Python >= 3.7
10
+
11
+ ## 安装
12
+
13
+ - **使用 pip 安装(推荐)**
14
+
15
+ 如未安装 `pip`, 请先至pip官网 [pip user guide](https://pip.pypa.io/en/stable/installing/ "pip User Guide") 安装pip .
16
+
17
+ ```bash
18
+ # 安装 alibabacloud_lingmou20250527
19
+ pip install alibabacloud_lingmou20250527
20
+ ```
21
+
22
+ ## 问题
23
+
24
+ [提交 Issue](https://github.com/aliyun/alibabacloud-python-sdk/issues/new),不符合指南的问题可能会立即关闭。
25
+
26
+ ## 使用说明
27
+
28
+ [快速使用](https://github.com/aliyun/alibabacloud-python-sdk/blob/master/docs/0-Usage-CN.md#%E5%BF%AB%E9%80%9F%E4%BD%BF%E7%94%A8)
29
+
30
+ ## 发行说明
31
+
32
+ 每个版本的详细更改记录在[发行说明](https://github.com/aliyun/alibabacloud-python-sdk/blob/master/lingmou-20250527/ChangeLog.md)中。
33
+
34
+ ## 相关
35
+
36
+ - [最新源码](https://github.com/aliyun/alibabacloud-python-sdk/)
37
+
38
+ ## 许可证
39
+
40
+ [Apache-2.0](http://www.apache.org/licenses/LICENSE-2.0)
41
+
42
+ Copyright (c) 2009-present, Alibaba Cloud All rights reserved.
@@ -0,0 +1,41 @@
1
+ English | [简体中文](README-CN.md)
2
+ ![](https://aliyunsdk-pages.alicdn.com/icons/AlibabaCloud.svg)
3
+
4
+ ## Alibaba Cloud LingMou SDK for Python
5
+
6
+ ## Requirements
7
+
8
+ - Python >= 3.7
9
+
10
+ ## Installation
11
+
12
+ - **Install with pip**
13
+
14
+ Python SDK uses a common package management tool named `pip`. If pip is not installed, see the [pip user guide](https://pip.pypa.io/en/stable/installing/ "pip User Guide") to install pip.
15
+
16
+ ```bash
17
+ # Install the alibabacloud_lingmou20250527
18
+ pip install alibabacloud_lingmou20250527
19
+ ```
20
+
21
+ ## Issues
22
+
23
+ [Opening an Issue](https://github.com/aliyun/alibabacloud-sdk/issues/new), Issues not conforming to the guidelines may be closed immediately.
24
+
25
+ ## Usage
26
+
27
+ [Quick Examples](https://github.com/aliyun/alibabacloud-python-sdk/blob/master/docs/0-Usage-EN.md#quick-examples)
28
+
29
+ ## Changelog
30
+
31
+ Detailed changes for each release are documented in the [release notes](https://github.com/aliyun/alibabacloud-python-sdk/blob/master/lingmou-20250527/ChangeLog.md).
32
+
33
+ ## References
34
+
35
+ - [Latest Release](https://github.com/aliyun/alibabacloud-sdk/tree/master/python)
36
+
37
+ ## License
38
+
39
+ [Apache-2.0](http://www.apache.org/licenses/LICENSE-2.0)
40
+
41
+ Copyright (c) 2009-present, Alibaba Cloud All rights reserved.
@@ -0,0 +1 @@
1
+ __version__ = '1.0.0'
@@ -0,0 +1,158 @@
1
+ # -*- coding: utf-8 -*-
2
+ # This file is auto-generated, don't edit it. Thanks.
3
+ from typing import Dict
4
+ from Tea.core import TeaCore
5
+
6
+ from alibabacloud_tea_openapi.client import Client as OpenApiClient
7
+ from alibabacloud_tea_openapi import models as open_api_models
8
+ from alibabacloud_tea_util.client import Client as UtilClient
9
+ from alibabacloud_endpoint_util.client import Client as EndpointUtilClient
10
+ from alibabacloud_lingmou20250527 import models as ling_mou_20250527_models
11
+ from alibabacloud_tea_util import models as util_models
12
+ from alibabacloud_openapi_util.client import Client as OpenApiUtilClient
13
+
14
+
15
+ class Client(OpenApiClient):
16
+ """
17
+ *\
18
+ """
19
+ def __init__(
20
+ self,
21
+ config: open_api_models.Config,
22
+ ):
23
+ super().__init__(config)
24
+ self._endpoint_rule = ''
25
+ self.check_config(config)
26
+ self._endpoint = self.get_endpoint('lingmou', self._region_id, self._endpoint_rule, self._network, self._suffix, self._endpoint_map, self._endpoint)
27
+
28
+ def get_endpoint(
29
+ self,
30
+ product_id: str,
31
+ region_id: str,
32
+ endpoint_rule: str,
33
+ network: str,
34
+ suffix: str,
35
+ endpoint_map: Dict[str, str],
36
+ endpoint: str,
37
+ ) -> str:
38
+ if not UtilClient.empty(endpoint):
39
+ return endpoint
40
+ if not UtilClient.is_unset(endpoint_map) and not UtilClient.empty(endpoint_map.get(region_id)):
41
+ return endpoint_map.get(region_id)
42
+ return EndpointUtilClient.get_endpoint_rules(product_id, region_id, endpoint_rule, network, suffix)
43
+
44
+ def create_chat_session_with_options(
45
+ self,
46
+ id: str,
47
+ request: ling_mou_20250527_models.CreateChatSessionRequest,
48
+ headers: Dict[str, str],
49
+ runtime: util_models.RuntimeOptions,
50
+ ) -> ling_mou_20250527_models.CreateChatSessionResponse:
51
+ """
52
+ @summary 创建数字人会话
53
+
54
+ @param request: CreateChatSessionRequest
55
+ @param headers: map
56
+ @param runtime: runtime options for this request RuntimeOptions
57
+ @return: CreateChatSessionResponse
58
+ """
59
+ UtilClient.validate_model(request)
60
+ query = {}
61
+ if not UtilClient.is_unset(request.instance_id):
62
+ query['instanceId'] = request.instance_id
63
+ if not UtilClient.is_unset(request.license):
64
+ query['license'] = request.license
65
+ if not UtilClient.is_unset(request.platform):
66
+ query['platform'] = request.platform
67
+ req = open_api_models.OpenApiRequest(
68
+ headers=headers,
69
+ query=OpenApiUtilClient.query(query)
70
+ )
71
+ params = open_api_models.Params(
72
+ action='CreateChatSession',
73
+ version='2025-05-27',
74
+ protocol='HTTPS',
75
+ pathname=f'/openapi/chat/init/{OpenApiUtilClient.get_encode_param(id)}',
76
+ method='POST',
77
+ auth_type='AK',
78
+ style='ROA',
79
+ req_body_type='json',
80
+ body_type='json'
81
+ )
82
+ return TeaCore.from_map(
83
+ ling_mou_20250527_models.CreateChatSessionResponse(),
84
+ self.call_api(params, req, runtime)
85
+ )
86
+
87
+ async def create_chat_session_with_options_async(
88
+ self,
89
+ id: str,
90
+ request: ling_mou_20250527_models.CreateChatSessionRequest,
91
+ headers: Dict[str, str],
92
+ runtime: util_models.RuntimeOptions,
93
+ ) -> ling_mou_20250527_models.CreateChatSessionResponse:
94
+ """
95
+ @summary 创建数字人会话
96
+
97
+ @param request: CreateChatSessionRequest
98
+ @param headers: map
99
+ @param runtime: runtime options for this request RuntimeOptions
100
+ @return: CreateChatSessionResponse
101
+ """
102
+ UtilClient.validate_model(request)
103
+ query = {}
104
+ if not UtilClient.is_unset(request.instance_id):
105
+ query['instanceId'] = request.instance_id
106
+ if not UtilClient.is_unset(request.license):
107
+ query['license'] = request.license
108
+ if not UtilClient.is_unset(request.platform):
109
+ query['platform'] = request.platform
110
+ req = open_api_models.OpenApiRequest(
111
+ headers=headers,
112
+ query=OpenApiUtilClient.query(query)
113
+ )
114
+ params = open_api_models.Params(
115
+ action='CreateChatSession',
116
+ version='2025-05-27',
117
+ protocol='HTTPS',
118
+ pathname=f'/openapi/chat/init/{OpenApiUtilClient.get_encode_param(id)}',
119
+ method='POST',
120
+ auth_type='AK',
121
+ style='ROA',
122
+ req_body_type='json',
123
+ body_type='json'
124
+ )
125
+ return TeaCore.from_map(
126
+ ling_mou_20250527_models.CreateChatSessionResponse(),
127
+ await self.call_api_async(params, req, runtime)
128
+ )
129
+
130
+ def create_chat_session(
131
+ self,
132
+ id: str,
133
+ request: ling_mou_20250527_models.CreateChatSessionRequest,
134
+ ) -> ling_mou_20250527_models.CreateChatSessionResponse:
135
+ """
136
+ @summary 创建数字人会话
137
+
138
+ @param request: CreateChatSessionRequest
139
+ @return: CreateChatSessionResponse
140
+ """
141
+ runtime = util_models.RuntimeOptions()
142
+ headers = {}
143
+ return self.create_chat_session_with_options(id, request, headers, runtime)
144
+
145
+ async def create_chat_session_async(
146
+ self,
147
+ id: str,
148
+ request: ling_mou_20250527_models.CreateChatSessionRequest,
149
+ ) -> ling_mou_20250527_models.CreateChatSessionResponse:
150
+ """
151
+ @summary 创建数字人会话
152
+
153
+ @param request: CreateChatSessionRequest
154
+ @return: CreateChatSessionResponse
155
+ """
156
+ runtime = util_models.RuntimeOptions()
157
+ headers = {}
158
+ return await self.create_chat_session_with_options_async(id, request, headers, runtime)
@@ -0,0 +1,316 @@
1
+ # -*- coding: utf-8 -*-
2
+ # This file is auto-generated, don't edit it. Thanks.
3
+ from Tea.model import TeaModel
4
+ from typing import Dict
5
+
6
+
7
+ class CreateChatSessionRequest(TeaModel):
8
+ def __init__(
9
+ self,
10
+ instance_id: str = None,
11
+ license: str = None,
12
+ platform: str = None,
13
+ ):
14
+ # This parameter is required.
15
+ self.instance_id = instance_id
16
+ self.license = license
17
+ self.platform = platform
18
+
19
+ def validate(self):
20
+ pass
21
+
22
+ def to_map(self):
23
+ _map = super().to_map()
24
+ if _map is not None:
25
+ return _map
26
+
27
+ result = dict()
28
+ if self.instance_id is not None:
29
+ result['instanceId'] = self.instance_id
30
+ if self.license is not None:
31
+ result['license'] = self.license
32
+ if self.platform is not None:
33
+ result['platform'] = self.platform
34
+ return result
35
+
36
+ def from_map(self, m: dict = None):
37
+ m = m or dict()
38
+ if m.get('instanceId') is not None:
39
+ self.instance_id = m.get('instanceId')
40
+ if m.get('license') is not None:
41
+ self.license = m.get('license')
42
+ if m.get('platform') is not None:
43
+ self.platform = m.get('platform')
44
+ return self
45
+
46
+
47
+ class CreateChatSessionResponseBodyDataAvatarAssets(TeaModel):
48
+ def __init__(
49
+ self,
50
+ md_5: str = None,
51
+ min_required_version: str = None,
52
+ secret: str = None,
53
+ type: str = None,
54
+ url: str = None,
55
+ ):
56
+ self.md_5 = md_5
57
+ self.min_required_version = min_required_version
58
+ self.secret = secret
59
+ self.type = type
60
+ self.url = url
61
+
62
+ def validate(self):
63
+ pass
64
+
65
+ def to_map(self):
66
+ _map = super().to_map()
67
+ if _map is not None:
68
+ return _map
69
+
70
+ result = dict()
71
+ if self.md_5 is not None:
72
+ result['md5'] = self.md_5
73
+ if self.min_required_version is not None:
74
+ result['minRequiredVersion'] = self.min_required_version
75
+ if self.secret is not None:
76
+ result['secret'] = self.secret
77
+ if self.type is not None:
78
+ result['type'] = self.type
79
+ if self.url is not None:
80
+ result['url'] = self.url
81
+ return result
82
+
83
+ def from_map(self, m: dict = None):
84
+ m = m or dict()
85
+ if m.get('md5') is not None:
86
+ self.md_5 = m.get('md5')
87
+ if m.get('minRequiredVersion') is not None:
88
+ self.min_required_version = m.get('minRequiredVersion')
89
+ if m.get('secret') is not None:
90
+ self.secret = m.get('secret')
91
+ if m.get('type') is not None:
92
+ self.type = m.get('type')
93
+ if m.get('url') is not None:
94
+ self.url = m.get('url')
95
+ return self
96
+
97
+
98
+ class CreateChatSessionResponseBodyDataRtcParams(TeaModel):
99
+ def __init__(
100
+ self,
101
+ app_id: str = None,
102
+ avatar_user_id: str = None,
103
+ channel: str = None,
104
+ client_user_id: str = None,
105
+ gslb: str = None,
106
+ nonce: str = None,
107
+ server_user_id: str = None,
108
+ timestamp: int = None,
109
+ token: str = None,
110
+ ):
111
+ self.app_id = app_id
112
+ self.avatar_user_id = avatar_user_id
113
+ self.channel = channel
114
+ self.client_user_id = client_user_id
115
+ self.gslb = gslb
116
+ self.nonce = nonce
117
+ self.server_user_id = server_user_id
118
+ self.timestamp = timestamp
119
+ self.token = token
120
+
121
+ def validate(self):
122
+ pass
123
+
124
+ def to_map(self):
125
+ _map = super().to_map()
126
+ if _map is not None:
127
+ return _map
128
+
129
+ result = dict()
130
+ if self.app_id is not None:
131
+ result['appId'] = self.app_id
132
+ if self.avatar_user_id is not None:
133
+ result['avatarUserId'] = self.avatar_user_id
134
+ if self.channel is not None:
135
+ result['channel'] = self.channel
136
+ if self.client_user_id is not None:
137
+ result['clientUserId'] = self.client_user_id
138
+ if self.gslb is not None:
139
+ result['gslb'] = self.gslb
140
+ if self.nonce is not None:
141
+ result['nonce'] = self.nonce
142
+ if self.server_user_id is not None:
143
+ result['serverUserId'] = self.server_user_id
144
+ if self.timestamp is not None:
145
+ result['timestamp'] = self.timestamp
146
+ if self.token is not None:
147
+ result['token'] = self.token
148
+ return result
149
+
150
+ def from_map(self, m: dict = None):
151
+ m = m or dict()
152
+ if m.get('appId') is not None:
153
+ self.app_id = m.get('appId')
154
+ if m.get('avatarUserId') is not None:
155
+ self.avatar_user_id = m.get('avatarUserId')
156
+ if m.get('channel') is not None:
157
+ self.channel = m.get('channel')
158
+ if m.get('clientUserId') is not None:
159
+ self.client_user_id = m.get('clientUserId')
160
+ if m.get('gslb') is not None:
161
+ self.gslb = m.get('gslb')
162
+ if m.get('nonce') is not None:
163
+ self.nonce = m.get('nonce')
164
+ if m.get('serverUserId') is not None:
165
+ self.server_user_id = m.get('serverUserId')
166
+ if m.get('timestamp') is not None:
167
+ self.timestamp = m.get('timestamp')
168
+ if m.get('token') is not None:
169
+ self.token = m.get('token')
170
+ return self
171
+
172
+
173
+ class CreateChatSessionResponseBodyData(TeaModel):
174
+ def __init__(
175
+ self,
176
+ avatar_assets: CreateChatSessionResponseBodyDataAvatarAssets = None,
177
+ rtc_params: CreateChatSessionResponseBodyDataRtcParams = None,
178
+ session_id: str = None,
179
+ ):
180
+ self.avatar_assets = avatar_assets
181
+ self.rtc_params = rtc_params
182
+ self.session_id = session_id
183
+
184
+ def validate(self):
185
+ if self.avatar_assets:
186
+ self.avatar_assets.validate()
187
+ if self.rtc_params:
188
+ self.rtc_params.validate()
189
+
190
+ def to_map(self):
191
+ _map = super().to_map()
192
+ if _map is not None:
193
+ return _map
194
+
195
+ result = dict()
196
+ if self.avatar_assets is not None:
197
+ result['avatarAssets'] = self.avatar_assets.to_map()
198
+ if self.rtc_params is not None:
199
+ result['rtcParams'] = self.rtc_params.to_map()
200
+ if self.session_id is not None:
201
+ result['sessionId'] = self.session_id
202
+ return result
203
+
204
+ def from_map(self, m: dict = None):
205
+ m = m or dict()
206
+ if m.get('avatarAssets') is not None:
207
+ temp_model = CreateChatSessionResponseBodyDataAvatarAssets()
208
+ self.avatar_assets = temp_model.from_map(m['avatarAssets'])
209
+ if m.get('rtcParams') is not None:
210
+ temp_model = CreateChatSessionResponseBodyDataRtcParams()
211
+ self.rtc_params = temp_model.from_map(m['rtcParams'])
212
+ if m.get('sessionId') is not None:
213
+ self.session_id = m.get('sessionId')
214
+ return self
215
+
216
+
217
+ class CreateChatSessionResponseBody(TeaModel):
218
+ def __init__(
219
+ self,
220
+ code: str = None,
221
+ data: CreateChatSessionResponseBodyData = None,
222
+ http_status_code: int = None,
223
+ message: str = None,
224
+ request_id: str = None,
225
+ success: bool = None,
226
+ ):
227
+ self.code = code
228
+ self.data = data
229
+ self.http_status_code = http_status_code
230
+ self.message = message
231
+ self.request_id = request_id
232
+ self.success = success
233
+
234
+ def validate(self):
235
+ if self.data:
236
+ self.data.validate()
237
+
238
+ def to_map(self):
239
+ _map = super().to_map()
240
+ if _map is not None:
241
+ return _map
242
+
243
+ result = dict()
244
+ if self.code is not None:
245
+ result['code'] = self.code
246
+ if self.data is not None:
247
+ result['data'] = self.data.to_map()
248
+ if self.http_status_code is not None:
249
+ result['httpStatusCode'] = self.http_status_code
250
+ if self.message is not None:
251
+ result['message'] = self.message
252
+ if self.request_id is not None:
253
+ result['requestId'] = self.request_id
254
+ if self.success is not None:
255
+ result['success'] = self.success
256
+ return result
257
+
258
+ def from_map(self, m: dict = None):
259
+ m = m or dict()
260
+ if m.get('code') is not None:
261
+ self.code = m.get('code')
262
+ if m.get('data') is not None:
263
+ temp_model = CreateChatSessionResponseBodyData()
264
+ self.data = temp_model.from_map(m['data'])
265
+ if m.get('httpStatusCode') is not None:
266
+ self.http_status_code = m.get('httpStatusCode')
267
+ if m.get('message') is not None:
268
+ self.message = m.get('message')
269
+ if m.get('requestId') is not None:
270
+ self.request_id = m.get('requestId')
271
+ if m.get('success') is not None:
272
+ self.success = m.get('success')
273
+ return self
274
+
275
+
276
+ class CreateChatSessionResponse(TeaModel):
277
+ def __init__(
278
+ self,
279
+ headers: Dict[str, str] = None,
280
+ status_code: int = None,
281
+ body: CreateChatSessionResponseBody = None,
282
+ ):
283
+ self.headers = headers
284
+ self.status_code = status_code
285
+ self.body = body
286
+
287
+ def validate(self):
288
+ if self.body:
289
+ self.body.validate()
290
+
291
+ def to_map(self):
292
+ _map = super().to_map()
293
+ if _map is not None:
294
+ return _map
295
+
296
+ result = dict()
297
+ if self.headers is not None:
298
+ result['headers'] = self.headers
299
+ if self.status_code is not None:
300
+ result['statusCode'] = self.status_code
301
+ if self.body is not None:
302
+ result['body'] = self.body.to_map()
303
+ return result
304
+
305
+ def from_map(self, m: dict = None):
306
+ m = m or dict()
307
+ if m.get('headers') is not None:
308
+ self.headers = m.get('headers')
309
+ if m.get('statusCode') is not None:
310
+ self.status_code = m.get('statusCode')
311
+ if m.get('body') is not None:
312
+ temp_model = CreateChatSessionResponseBody()
313
+ self.body = temp_model.from_map(m['body'])
314
+ return self
315
+
316
+
@@ -0,0 +1,65 @@
1
+ Metadata-Version: 2.1
2
+ Name: alibabacloud-lingmou20250527
3
+ Version: 1.0.0
4
+ Summary: Alibaba Cloud LingMou (20250527) SDK Library for Python
5
+ Home-page: https://github.com/aliyun/alibabacloud-python-sdk
6
+ Author: Alibaba Cloud SDK
7
+ Author-email: sdk-team@alibabacloud.com
8
+ License: Apache License 2.0
9
+ Keywords: alibabacloud,lingmou20250527
10
+ Platform: any
11
+ Classifier: Development Status :: 4 - Beta
12
+ Classifier: Intended Audience :: Developers
13
+ Classifier: License :: OSI Approved :: Apache Software License
14
+ Classifier: Programming Language :: Python
15
+ Classifier: Programming Language :: Python :: 3
16
+ Classifier: Programming Language :: Python :: 3.6
17
+ Classifier: Programming Language :: Python :: 3.7
18
+ Classifier: Programming Language :: Python :: 3.8
19
+ Classifier: Programming Language :: Python :: 3.9
20
+ Classifier: Topic :: Software Development
21
+ Requires-Python: >=3.6
22
+ Description-Content-Type: text/markdown
23
+ License-File: LICENSE
24
+
25
+ English | [简体中文](README-CN.md)
26
+ ![](https://aliyunsdk-pages.alicdn.com/icons/AlibabaCloud.svg)
27
+
28
+ ## Alibaba Cloud LingMou SDK for Python
29
+
30
+ ## Requirements
31
+
32
+ - Python >= 3.7
33
+
34
+ ## Installation
35
+
36
+ - **Install with pip**
37
+
38
+ Python SDK uses a common package management tool named `pip`. If pip is not installed, see the [pip user guide](https://pip.pypa.io/en/stable/installing/ "pip User Guide") to install pip.
39
+
40
+ ```bash
41
+ # Install the alibabacloud_lingmou20250527
42
+ pip install alibabacloud_lingmou20250527
43
+ ```
44
+
45
+ ## Issues
46
+
47
+ [Opening an Issue](https://github.com/aliyun/alibabacloud-sdk/issues/new), Issues not conforming to the guidelines may be closed immediately.
48
+
49
+ ## Usage
50
+
51
+ [Quick Examples](https://github.com/aliyun/alibabacloud-python-sdk/blob/master/docs/0-Usage-EN.md#quick-examples)
52
+
53
+ ## Changelog
54
+
55
+ Detailed changes for each release are documented in the [release notes](https://github.com/aliyun/alibabacloud-python-sdk/blob/master/lingmou-20250527/ChangeLog.md).
56
+
57
+ ## References
58
+
59
+ - [Latest Release](https://github.com/aliyun/alibabacloud-sdk/tree/master/python)
60
+
61
+ ## License
62
+
63
+ [Apache-2.0](http://www.apache.org/licenses/LICENSE-2.0)
64
+
65
+ Copyright (c) 2009-present, Alibaba Cloud All rights reserved.
@@ -0,0 +1,14 @@
1
+ LICENSE
2
+ MANIFEST.in
3
+ README-CN.md
4
+ README.md
5
+ setup.cfg
6
+ setup.py
7
+ alibabacloud_lingmou20250527/__init__.py
8
+ alibabacloud_lingmou20250527/client.py
9
+ alibabacloud_lingmou20250527/models.py
10
+ alibabacloud_lingmou20250527.egg-info/PKG-INFO
11
+ alibabacloud_lingmou20250527.egg-info/SOURCES.txt
12
+ alibabacloud_lingmou20250527.egg-info/dependency_links.txt
13
+ alibabacloud_lingmou20250527.egg-info/requires.txt
14
+ alibabacloud_lingmou20250527.egg-info/top_level.txt
@@ -0,0 +1,4 @@
1
+ alibabacloud_endpoint_util<1.0.0,>=0.0.4
2
+ alibabacloud_openapi_util<1.0.0,>=0.2.2
3
+ alibabacloud_tea_openapi<1.0.0,>=0.3.15
4
+ alibabacloud_tea_util<1.0.0,>=0.3.13
@@ -0,0 +1,7 @@
1
+ [metadata]
2
+ license_file = LICENSE
3
+
4
+ [egg_info]
5
+ tag_build =
6
+ tag_date = 0
7
+
@@ -0,0 +1,79 @@
1
+ # -*- coding: utf-8 -*-
2
+ """
3
+ Licensed to the Apache Software Foundation (ASF) under one
4
+ or more contributor license agreements. See the NOTICE file
5
+ distributed with this work for additional information
6
+ regarding copyright ownership. The ASF licenses this file
7
+ to you under the Apache License, Version 2.0 (the
8
+ "License"); you may not use this file except in compliance
9
+ with the License. You may obtain a copy of the License at
10
+
11
+ http://www.apache.org/licenses/LICENSE-2.0
12
+
13
+ Unless required by applicable law or agreed to in writing,
14
+ software distributed under the License is distributed on an
15
+ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16
+ KIND, either express or implied. See the License for the
17
+ specific language governing permissions and limitations
18
+ under the License.
19
+ """
20
+
21
+ import os
22
+ from setuptools import setup, find_packages
23
+
24
+ """
25
+ setup module for alibabacloud_lingmou20250527.
26
+
27
+ Created on 16/07/2025
28
+
29
+ @author: Alibaba Cloud SDK
30
+ """
31
+
32
+ PACKAGE = "alibabacloud_lingmou20250527"
33
+ NAME = "alibabacloud_lingmou20250527" or "alibabacloud-package"
34
+ DESCRIPTION = "Alibaba Cloud LingMou (20250527) SDK Library for Python"
35
+ AUTHOR = "Alibaba Cloud SDK"
36
+ AUTHOR_EMAIL = "sdk-team@alibabacloud.com"
37
+ URL = "https://github.com/aliyun/alibabacloud-python-sdk"
38
+ VERSION = __import__(PACKAGE).__version__
39
+ REQUIRES = [
40
+ "alibabacloud_tea_util>=0.3.13, <1.0.0",
41
+ "alibabacloud_tea_openapi>=0.3.15, <1.0.0",
42
+ "alibabacloud_openapi_util>=0.2.2, <1.0.0",
43
+ "alibabacloud_endpoint_util>=0.0.4, <1.0.0"
44
+ ]
45
+
46
+ LONG_DESCRIPTION = ''
47
+ if os.path.exists('./README.md'):
48
+ with open("README.md", encoding='utf-8') as fp:
49
+ LONG_DESCRIPTION = fp.read()
50
+
51
+ setup(
52
+ name=NAME,
53
+ version=VERSION,
54
+ description=DESCRIPTION,
55
+ long_description=LONG_DESCRIPTION,
56
+ long_description_content_type='text/markdown',
57
+ author=AUTHOR,
58
+ author_email=AUTHOR_EMAIL,
59
+ license="Apache License 2.0",
60
+ url=URL,
61
+ keywords=["alibabacloud","lingmou20250527"],
62
+ packages=find_packages(exclude=["tests*"]),
63
+ include_package_data=True,
64
+ platforms="any",
65
+ install_requires=REQUIRES,
66
+ python_requires=">=3.6",
67
+ classifiers=(
68
+ "Development Status :: 4 - Beta",
69
+ "Intended Audience :: Developers",
70
+ "License :: OSI Approved :: Apache Software License",
71
+ "Programming Language :: Python",
72
+ "Programming Language :: Python :: 3",
73
+ "Programming Language :: Python :: 3.6",
74
+ 'Programming Language :: Python :: 3.7',
75
+ 'Programming Language :: Python :: 3.8',
76
+ 'Programming Language :: Python :: 3.9',
77
+ "Topic :: Software Development"
78
+ )
79
+ )