volcengine-python-sdk 5.0.51.post1__py2.py3-none-any.whl → 5.0.51.post2__py2.py3-none-any.whl

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,312 @@
1
+ Metadata-Version: 2.4
2
+ Name: volcengine-python-sdk
3
+ Version: 5.0.51.post2
4
+ Summary: Volcengine SDK for Python (all services)
5
+ Home-page: https://github.com/volcengine/volcengine-python-sdk
6
+ Author: volc-engine
7
+ Author-email: volc-sdk-team@bytedance.com
8
+ License: Apache License 2.0
9
+ Platform: any
10
+ Requires-Python: >=2.7
11
+ Description-Content-Type: text/markdown
12
+ License-File: LICENSE.txt
13
+ License-File: NOTICE.md
14
+ Requires-Dist: volcenginesdk-acep==5.0.51.post2; python_version >= "2.7"
15
+ Requires-Dist: volcenginesdk-advdefence==5.0.51.post2; python_version >= "2.7"
16
+ Requires-Dist: volcenginesdk-advdefence20230308==5.0.51.post2; python_version >= "2.7"
17
+ Requires-Dist: volcenginesdk-aidap==5.0.51.post2; python_version >= "2.7"
18
+ Requires-Dist: volcenginesdk-aiotvideo==5.0.51.post2; python_version >= "2.7"
19
+ Requires-Dist: volcenginesdk-aiotvideo20231001==5.0.51.post2; python_version >= "2.7"
20
+ Requires-Dist: volcenginesdk-alb==5.0.51.post2; python_version >= "2.7"
21
+ Requires-Dist: volcenginesdk-apig==5.0.51.post2; python_version >= "2.7"
22
+ Requires-Dist: volcenginesdk-apig20221112==5.0.51.post2; python_version >= "2.7"
23
+ Requires-Dist: volcenginesdk-apmplusserver==5.0.51.post2; python_version >= "2.7"
24
+ Requires-Dist: volcenginesdk-ark==5.0.51.post2; python_version >= "2.7"
25
+ Requires-Dist: volcenginesdk-arkclaw==5.0.51.post2; python_version >= "2.7"
26
+ Requires-Dist: volcengine-ark-runtime==5.0.51.post2; python_version >= "3.10"
27
+ Requires-Dist: volcenginesdk-autoscaling==5.0.51.post2; python_version >= "2.7"
28
+ Requires-Dist: volcenginesdk-billing==5.0.51.post2; python_version >= "2.7"
29
+ Requires-Dist: volcenginesdk-bio==5.0.51.post2; python_version >= "2.7"
30
+ Requires-Dist: volcenginesdk-bmq==5.0.51.post2; python_version >= "2.7"
31
+ Requires-Dist: volcenginesdk-bmq20240901==5.0.51.post2; python_version >= "2.7"
32
+ Requires-Dist: volcenginesdk-bytehousece20240831==5.0.51.post2; python_version >= "2.7"
33
+ Requires-Dist: volcenginesdk-cbr==5.0.51.post2; python_version >= "2.7"
34
+ Requires-Dist: volcenginesdk-cdn==5.0.51.post2; python_version >= "2.7"
35
+ Requires-Dist: volcenginesdk-cen==5.0.51.post2; python_version >= "2.7"
36
+ Requires-Dist: volcenginesdk-certificateservice==5.0.51.post2; python_version >= "2.7"
37
+ Requires-Dist: volcenginesdk-cfs==5.0.51.post2; python_version >= "2.7"
38
+ Requires-Dist: volcenginesdk-clawsentry==5.0.51.post2; python_version >= "2.7"
39
+ Requires-Dist: volcenginesdk-clb==5.0.51.post2; python_version >= "2.7"
40
+ Requires-Dist: volcenginesdk-cloudcontrol==5.0.51.post2; python_version >= "2.7"
41
+ Requires-Dist: volcenginesdk-clouddetect==5.0.51.post2; python_version >= "2.7"
42
+ Requires-Dist: volcenginesdk-clouddetect20251031==5.0.51.post2; python_version >= "2.7"
43
+ Requires-Dist: volcenginesdk-cloudidentity==5.0.51.post2; python_version >= "2.7"
44
+ Requires-Dist: volcenginesdk-cloudmonitor==5.0.51.post2; python_version >= "2.7"
45
+ Requires-Dist: volcenginesdk-cloudmonitor20251201==5.0.51.post2; python_version >= "2.7"
46
+ Requires-Dist: volcenginesdk-cloudtrail==5.0.51.post2; python_version >= "2.7"
47
+ Requires-Dist: volcenginesdk-cloudtrail20180101==5.0.51.post2; python_version >= "2.7"
48
+ Requires-Dist: volcenginesdk-config==5.0.51.post2; python_version >= "2.7"
49
+ Requires-Dist: volcenginesdk-core==5.0.51.post2; python_version >= "2.7"
50
+ Requires-Dist: volcenginesdk-coze20250601==5.0.51.post2; python_version >= "2.7"
51
+ Requires-Dist: volcenginesdk-cp==5.0.51.post2; python_version >= "2.7"
52
+ Requires-Dist: volcenginesdk-cpaas==5.0.51.post2; python_version >= "2.7"
53
+ Requires-Dist: volcenginesdk-cr==5.0.51.post2; python_version >= "2.7"
54
+ Requires-Dist: volcenginesdk-cv20240606==5.0.51.post2; python_version >= "2.7"
55
+ Requires-Dist: volcenginesdk-dataleap==5.0.51.post2; python_version >= "2.7"
56
+ Requires-Dist: volcenginesdk-dataleap20260301==5.0.51.post2; python_version >= "2.7"
57
+ Requires-Dist: volcenginesdk-dbw==5.0.51.post2; python_version >= "2.7"
58
+ Requires-Dist: volcenginesdk-directconnect==5.0.51.post2; python_version >= "2.7"
59
+ Requires-Dist: volcenginesdk-dms==5.0.51.post2; python_version >= "2.7"
60
+ Requires-Dist: volcenginesdk-dms20250101==5.0.51.post2; python_version >= "2.7"
61
+ Requires-Dist: volcenginesdk-dns==5.0.51.post2; python_version >= "2.7"
62
+ Requires-Dist: volcenginesdk-dramart==5.0.51.post2; python_version >= "2.7"
63
+ Requires-Dist: volcenginesdk-dts==5.0.51.post2; python_version >= "2.7"
64
+ Requires-Dist: volcenginesdk-dts20180101==5.0.51.post2; python_version >= "2.7"
65
+ Requires-Dist: volcenginesdk-ecs==5.0.51.post2; python_version >= "2.7"
66
+ Requires-Dist: volcenginesdk-edx==5.0.51.post2; python_version >= "2.7"
67
+ Requires-Dist: volcenginesdk-efs==5.0.51.post2; python_version >= "2.7"
68
+ Requires-Dist: volcenginesdk-emr==5.0.51.post2; python_version >= "2.7"
69
+ Requires-Dist: volcenginesdk-escloud==5.0.51.post2; python_version >= "2.7"
70
+ Requires-Dist: volcenginesdk-fasttrack==5.0.51.post2; python_version >= "2.7"
71
+ Requires-Dist: volcenginesdk-filenas==5.0.51.post2; python_version >= "2.7"
72
+ Requires-Dist: volcenginesdk-flink20250101==5.0.51.post2; python_version >= "2.7"
73
+ Requires-Dist: volcenginesdk-fwcenter==5.0.51.post2; python_version >= "2.7"
74
+ Requires-Dist: volcenginesdk-ga==5.0.51.post2; python_version >= "2.7"
75
+ Requires-Dist: volcenginesdk-graph==5.0.51.post2; python_version >= "2.7"
76
+ Requires-Dist: volcenginesdk-graph20250815==5.0.51.post2; python_version >= "2.7"
77
+ Requires-Dist: volcenginesdk-gtm==5.0.51.post2; python_version >= "2.7"
78
+ Requires-Dist: volcenginesdk-hbase==5.0.51.post2; python_version >= "2.7"
79
+ Requires-Dist: volcenginesdk-httpdns==5.0.51.post2; python_version >= "2.7"
80
+ Requires-Dist: volcenginesdk-i18nopenapi==5.0.51.post2; python_version >= "2.7"
81
+ Requires-Dist: volcenginesdk-iam==5.0.51.post2; python_version >= "2.7"
82
+ Requires-Dist: volcenginesdk-iam20210801==5.0.51.post2; python_version >= "2.7"
83
+ Requires-Dist: volcenginesdk-id==5.0.51.post2; python_version >= "2.7"
84
+ Requires-Dist: volcenginesdk-insight==5.0.51.post2; python_version >= "2.7"
85
+ Requires-Dist: volcenginesdk-kafka==5.0.51.post2; python_version >= "2.7"
86
+ Requires-Dist: volcenginesdk-kms==5.0.51.post2; python_version >= "2.7"
87
+ Requires-Dist: volcenginesdk-livesaas==5.0.51.post2; python_version >= "2.7"
88
+ Requires-Dist: volcenginesdk-livesaas20230801==5.0.51.post2; python_version >= "2.7"
89
+ Requires-Dist: volcenginesdk-llmscan==5.0.51.post2; python_version >= "2.7"
90
+ Requires-Dist: volcenginesdk-llmshield==5.0.51.post2; python_version >= "3.8"
91
+ Requires-Dist: volcenginesdk-mcdn==5.0.51.post2; python_version >= "2.7"
92
+ Requires-Dist: volcenginesdk-mcs==5.0.51.post2; python_version >= "2.7"
93
+ Requires-Dist: volcenginesdk-mem0==5.0.51.post2; python_version >= "2.7"
94
+ Requires-Dist: volcenginesdk-metakms==5.0.51.post2; python_version >= "2.7"
95
+ Requires-Dist: volcenginesdk-milvus==5.0.51.post2; python_version >= "2.7"
96
+ Requires-Dist: volcenginesdk-mlplatform20240701==5.0.51.post2; python_version >= "2.7"
97
+ Requires-Dist: volcenginesdk-mongodb==5.0.51.post2; python_version >= "2.7"
98
+ Requires-Dist: volcenginesdk-na==5.0.51.post2; python_version >= "2.7"
99
+ Requires-Dist: volcenginesdk-natgateway==5.0.51.post2; python_version >= "2.7"
100
+ Requires-Dist: volcenginesdk-nta==5.0.51.post2; python_version >= "2.7"
101
+ Requires-Dist: volcenginesdk-organization==5.0.51.post2; python_version >= "2.7"
102
+ Requires-Dist: volcenginesdk-origindefence==5.0.51.post2; python_version >= "2.7"
103
+ Requires-Dist: volcenginesdk-partner==5.0.51.post2; python_version >= "2.7"
104
+ Requires-Dist: volcenginesdk-pca==5.0.51.post2; python_version >= "2.7"
105
+ Requires-Dist: volcenginesdk-pca20251001==5.0.51.post2; python_version >= "2.7"
106
+ Requires-Dist: volcenginesdk-privatelink==5.0.51.post2; python_version >= "2.7"
107
+ Requires-Dist: volcenginesdk-privatezone==5.0.51.post2; python_version >= "2.7"
108
+ Requires-Dist: volcenginesdk-quota==5.0.51.post2; python_version >= "2.7"
109
+ Requires-Dist: volcenginesdk-rabbitmq==5.0.51.post2; python_version >= "2.7"
110
+ Requires-Dist: volcenginesdk-rcs5g==5.0.51.post2; python_version >= "2.7"
111
+ Requires-Dist: volcenginesdk-rdsmssql==5.0.51.post2; python_version >= "2.7"
112
+ Requires-Dist: volcenginesdk-rdsmysql==5.0.51.post2; python_version >= "2.7"
113
+ Requires-Dist: volcenginesdk-rdsmysqlv2==5.0.51.post2; python_version >= "2.7"
114
+ Requires-Dist: volcenginesdk-rdspostgresql==5.0.51.post2; python_version >= "2.7"
115
+ Requires-Dist: volcenginesdk-redis==5.0.51.post2; python_version >= "2.7"
116
+ Requires-Dist: volcenginesdk-resourcecenter==5.0.51.post2; python_version >= "2.7"
117
+ Requires-Dist: volcenginesdk-resourceshare==5.0.51.post2; python_version >= "2.7"
118
+ Requires-Dist: volcenginesdk-rocketmq==5.0.51.post2; python_version >= "2.7"
119
+ Requires-Dist: volcenginesdk-secagent==5.0.51.post2; python_version >= "2.7"
120
+ Requires-Dist: volcenginesdk-seccenter==5.0.51.post2; python_version >= "2.7"
121
+ Requires-Dist: volcenginesdk-seccenter20240508==5.0.51.post2; python_version >= "2.7"
122
+ Requires-Dist: volcenginesdk-smc==5.0.51.post2; python_version >= "2.7"
123
+ Requires-Dist: volcenginesdk-spark==5.0.51.post2; python_version >= "2.7"
124
+ Requires-Dist: volcenginesdk-speechsaasprod==5.0.51.post2; python_version >= "2.7"
125
+ Requires-Dist: volcenginesdk-speechsaasprod20250521==5.0.51.post2; python_version >= "2.7"
126
+ Requires-Dist: volcenginesdk-sqs==5.0.51.post2; python_version >= "2.7"
127
+ Requires-Dist: volcenginesdk-storageebs==5.0.51.post2; python_version >= "2.7"
128
+ Requires-Dist: volcenginesdk-sts==5.0.51.post2; python_version >= "2.7"
129
+ Requires-Dist: volcenginesdk-tag==5.0.51.post2; python_version >= "2.7"
130
+ Requires-Dist: volcenginesdk-tidb==5.0.51.post2; python_version >= "2.7"
131
+ Requires-Dist: volcenginesdk-tis==5.0.51.post2; python_version >= "2.7"
132
+ Requires-Dist: volcenginesdk-transitrouter==5.0.51.post2; python_version >= "2.7"
133
+ Requires-Dist: volcenginesdk-translate20250301==5.0.51.post2; python_version >= "2.7"
134
+ Requires-Dist: volcenginesdk-vedbm==5.0.51.post2; python_version >= "2.7"
135
+ Requires-Dist: volcenginesdk-veenedge==5.0.51.post2; python_version >= "2.7"
136
+ Requires-Dist: volcenginesdk-vefaas==5.0.51.post2; python_version >= "2.7"
137
+ Requires-Dist: volcenginesdk-vefaasdev==5.0.51.post2; python_version >= "2.7"
138
+ Requires-Dist: volcenginesdk-veiapi==5.0.51.post2; python_version >= "2.7"
139
+ Requires-Dist: volcenginesdk-vepfs==5.0.51.post2; python_version >= "2.7"
140
+ Requires-Dist: volcenginesdk-vikingdb==5.0.51.post2; python_version >= "2.7"
141
+ Requires-Dist: volcenginesdk-vke==5.0.51.post2; python_version >= "2.7"
142
+ Requires-Dist: volcenginesdk-vmp==5.0.51.post2; python_version >= "2.7"
143
+ Requires-Dist: volcenginesdk-vms==5.0.51.post2; python_version >= "2.7"
144
+ Requires-Dist: volcenginesdk-vod20250101==5.0.51.post2; python_version >= "2.7"
145
+ Requires-Dist: volcenginesdk-vod20260101==5.0.51.post2; python_version >= "2.7"
146
+ Requires-Dist: volcenginesdk-volcobserve==5.0.51.post2; python_version >= "2.7"
147
+ Requires-Dist: volcenginesdk-volcsms==5.0.51.post2; python_version >= "2.7"
148
+ Requires-Dist: volcenginesdk-vpc==5.0.51.post2; python_version >= "2.7"
149
+ Requires-Dist: volcenginesdk-vpn==5.0.51.post2; python_version >= "2.7"
150
+ Requires-Dist: volcenginesdk-waf==5.0.51.post2; python_version >= "2.7"
151
+ Requires-Dist: volcenginesdk-wafruntime==5.0.51.post2; python_version >= "2.7"
152
+ Dynamic: author
153
+ Dynamic: author-email
154
+ Dynamic: description
155
+ Dynamic: description-content-type
156
+ Dynamic: home-page
157
+ Dynamic: license
158
+ Dynamic: license-file
159
+ Dynamic: platform
160
+ Dynamic: requires-dist
161
+ Dynamic: requires-python
162
+ Dynamic: summary
163
+
164
+ 中文 | [English](README.EN.MD)
165
+
166
+ # Volcengine SDK for Python
167
+
168
+ ## 目录
169
+
170
+ * Requirements
171
+ * Install
172
+ * Usage
173
+ * FAQ
174
+
175
+ ### Requirements ###
176
+
177
+ * Python 版本需要不低于2.7。
178
+ * 如使用方舟服务(`arkruntime`),Python 版本需要不低于 3.10。
179
+
180
+ ### Install ###
181
+
182
+ Install via pip
183
+
184
+ ```sh
185
+ pip install volcengine-python-sdk
186
+ ```
187
+
188
+ `volcengine-python-sdk` 是安装全部服务的兼容元包。仅使用单个产品时可按需安装,
189
+ 例如 ECS:
190
+
191
+ ```sh
192
+ pip install volcenginesdk-ecs
193
+ ```
194
+
195
+ 分包不会改变 Python 导入路径,已有的 `import volcenginesdkecs` 无需修改。
196
+ 完整设计、包名映射和发布流程见[分包设计](./docs/package-splitting-zh.md)。
197
+
198
+ 如需使用方舟,请安装官方 Ark Runtime 包:
199
+
200
+ ```sh
201
+ pip install arkruntime
202
+ ```
203
+
204
+ ### Usage ###
205
+
206
+ #### 详细使用文档 ####
207
+
208
+ SDK 详细使用文档(凭证配置、Endpoint、Transport、超时、重试、异常处理、Debug)请参考:[SDK 接入文档](./docs/0-Overview-zh.md)
209
+
210
+ #### Configuration Usage ####
211
+
212
+ 步骤一:启动时初始化,配置 Configuration 全局默认参数
213
+
214
+ ```python
215
+ import volcenginesdkautoscaling
216
+ import volcenginesdkcore
217
+
218
+ configuration = volcenginesdkcore.Configuration()
219
+ configuration.client_side_validation = True # 客户端是否进行参数校验
220
+ configuration.scheme = "https" # https or http
221
+ configuration.debug = False # 是否开启调试
222
+ configuration.logger_file = "sdk.log"
223
+
224
+ volcenginesdkcore.Configuration.set_default(configuration)
225
+ ```
226
+
227
+ 步骤二:获取 Client
228
+
229
+ ```python
230
+ def get_client(ak, sk, region):
231
+ # 包含默认属性
232
+ configuration = volcenginesdkcore.Configuration()
233
+ configuration.ak = ak
234
+ configuration.sk = sk
235
+ configuration.region = region
236
+ client = volcenginesdkautoscaling.AUTOSCALINGApi(volcenginesdkcore.ApiClient(configuration))
237
+ return client
238
+ ```
239
+
240
+ #### Endpoint 设置 ####
241
+
242
+ 如果您要自定义SDK的Endpoint,可以按照以下示例代码设置:
243
+
244
+ ```python
245
+ configuration = volcenginesdkcore.Configuration()
246
+ configuration.host = 'ecs.cn-beijing-autodriving.volcengineapi.com'
247
+ ```
248
+
249
+ 火山引擎标准的Endpoint规则说明:
250
+
251
+ | Regional 服务 | Global 服务 |
252
+ |----------------------------------------------------------------------------------------------------------------------------------------|------------------------------------------------------------------------------------|
253
+ | `{service}.{region}.volcengineapi.com` <br> 例如:云服务ecs在cn-beijing-autodriving Region域名为: `ecs.cn-beijing-autodriving.volcengineapi.com` | `{service}.volcengineapi.com` <br> 例如:访问控制iam为Global服务,域名为:`iam.volcengineapi.com` |
254
+
255
+ 注:
256
+
257
+ - Service中存在_符号时,Endpoint时需转为-符号。存在大写字母时需转成小写。
258
+
259
+ #### 完整示例 ####
260
+
261
+ ```python
262
+ from __future__ import print_function
263
+ import volcenginesdkecs
264
+ import volcenginesdkcore
265
+ from pprint import pprint
266
+ from volcenginesdkcore.rest import ApiException
267
+
268
+ if __name__ == '__main__':
269
+ configuration = volcenginesdkcore.Configuration()
270
+ configuration.ak = "Your AK"
271
+ configuration.sk = "Your SK"
272
+ configuration.region = "cn-beijing"
273
+ configuration.client_side_validation = True
274
+ # set default configuration
275
+ volcenginesdkcore.Configuration.set_default(configuration)
276
+
277
+ # use global default configuration
278
+ api_instance = volcenginesdkecs.ECSApi()
279
+ # use custom configuration
280
+ # api_instance = volcenginesdkecs.ECSApi(volcenginesdkcore.ApiClient(configuration))
281
+
282
+ try:
283
+ resp = api_instance.run_instances(
284
+ volcenginesdkecs.RunInstancesRequest(
285
+ instance_name="insname",
286
+ instance_type="ecs.g1.large",
287
+ zone_id="cn-beijing-a",
288
+ network_interfaces=[volcenginesdkecs.NetworkInterfaceForRunInstancesInput(
289
+ subnet_id="subnet-2d68bh73d858ozfekrm8fj",
290
+ security_group_ids=["sg-2b3dq7v0ha0w2dx0eg0nhljv"],
291
+ )],
292
+ image_id="image-ybvz29l3da4ox5h0m9",
293
+ volumes=[volcenginesdkecs.VolumeForRunInstancesInput(
294
+ volume_type="ESSD",
295
+ size=40,
296
+ )],
297
+ key_pair_name="vtable",
298
+ instance_charge_type="PostPaid"
299
+ ))
300
+ pprint(resp)
301
+ except ApiException as e:
302
+ print("Exception when calling ECSApi->run_instances: %s\n" % e)
303
+
304
+ ```
305
+
306
+ ### FAQ ###
307
+
308
+ 关于 SDK 使用时碰到的常见问题,请查看 [FAQ](FAQ.md)
309
+
310
+ ## Security and privacy
311
+ This project takes security seriously.
312
+ For vulnerability reporting and supported versions, see [SECURITY.md](SECURITY.md)
@@ -0,0 +1,6 @@
1
+ volcengine_python_sdk-5.0.51.post2.dist-info/licenses/LICENSE.txt,sha256=z8d0m5b2O9McPEK1xHG_dWgUBT6EfBDz6wA0F7xSPTA,11358
2
+ volcengine_python_sdk-5.0.51.post2.dist-info/licenses/NOTICE.md,sha256=dqWX0O4-gFqGLdHJsXAiF6Q8JHlu_3nFaQSmrMHzujM,254
3
+ volcengine_python_sdk-5.0.51.post2.dist-info/METADATA,sha256=Iu4_HjGRAKjvTY45VDVA-hrOAGAffzKjy3zZGjCXYk0,16104
4
+ volcengine_python_sdk-5.0.51.post2.dist-info/WHEEL,sha256=4YBfCYNH4wlLpv3pzq1hbEuIlXA4WJabKLFurZ7eTL0,109
5
+ volcengine_python_sdk-5.0.51.post2.dist-info/top_level.txt,sha256=AbpHGcgLb-kRsJGnwFEktk7uzpZOCcBY74-YBdrKVGs,1
6
+ volcengine_python_sdk-5.0.51.post2.dist-info/RECORD,,
@@ -1,311 +0,0 @@
1
- Metadata-Version: 2.4
2
- Name: volcengine-python-sdk
3
- Version: 5.0.51.post1
4
- Summary: Volcengine SDK for Python (all services)
5
- Home-page: https://github.com/volcengine/volcengine-python-sdk
6
- Author: volc-engine
7
- Author-email: volc-sdk-team@bytedance.com
8
- License: Apache License 2.0
9
- Platform: any
10
- Requires-Python: >=2.7
11
- Description-Content-Type: text/markdown
12
- License-File: LICENSE.txt
13
- License-File: NOTICE.md
14
- Requires-Dist: volcenginesdk-acep==5.0.51.post1; python_version >= "2.7"
15
- Requires-Dist: volcenginesdk-advdefence==5.0.51.post1; python_version >= "2.7"
16
- Requires-Dist: volcenginesdk-advdefence20230308==5.0.51.post1; python_version >= "2.7"
17
- Requires-Dist: volcenginesdk-aidap==5.0.51.post1; python_version >= "2.7"
18
- Requires-Dist: volcenginesdk-aiotvideo==5.0.51.post1; python_version >= "2.7"
19
- Requires-Dist: volcenginesdk-aiotvideo20231001==5.0.51.post1; python_version >= "2.7"
20
- Requires-Dist: volcenginesdk-alb==5.0.51.post1; python_version >= "2.7"
21
- Requires-Dist: volcenginesdk-apig==5.0.51.post1; python_version >= "2.7"
22
- Requires-Dist: volcenginesdk-apig20221112==5.0.51.post1; python_version >= "2.7"
23
- Requires-Dist: volcenginesdk-apmplusserver==5.0.51.post1; python_version >= "2.7"
24
- Requires-Dist: volcenginesdk-ark==5.0.51.post1; python_version >= "2.7"
25
- Requires-Dist: volcenginesdk-arkclaw==5.0.51.post1; python_version >= "2.7"
26
- Requires-Dist: volcenginesdk-autoscaling==5.0.51.post1; python_version >= "2.7"
27
- Requires-Dist: volcenginesdk-billing==5.0.51.post1; python_version >= "2.7"
28
- Requires-Dist: volcenginesdk-bio==5.0.51.post1; python_version >= "2.7"
29
- Requires-Dist: volcenginesdk-bmq==5.0.51.post1; python_version >= "2.7"
30
- Requires-Dist: volcenginesdk-bmq20240901==5.0.51.post1; python_version >= "2.7"
31
- Requires-Dist: volcenginesdk-bytehousece20240831==5.0.51.post1; python_version >= "2.7"
32
- Requires-Dist: volcenginesdk-cbr==5.0.51.post1; python_version >= "2.7"
33
- Requires-Dist: volcenginesdk-cdn==5.0.51.post1; python_version >= "2.7"
34
- Requires-Dist: volcenginesdk-cen==5.0.51.post1; python_version >= "2.7"
35
- Requires-Dist: volcenginesdk-certificateservice==5.0.51.post1; python_version >= "2.7"
36
- Requires-Dist: volcenginesdk-cfs==5.0.51.post1; python_version >= "2.7"
37
- Requires-Dist: volcenginesdk-clawsentry==5.0.51.post1; python_version >= "2.7"
38
- Requires-Dist: volcenginesdk-clb==5.0.51.post1; python_version >= "2.7"
39
- Requires-Dist: volcenginesdk-cloudcontrol==5.0.51.post1; python_version >= "2.7"
40
- Requires-Dist: volcenginesdk-clouddetect==5.0.51.post1; python_version >= "2.7"
41
- Requires-Dist: volcenginesdk-clouddetect20251031==5.0.51.post1; python_version >= "2.7"
42
- Requires-Dist: volcenginesdk-cloudidentity==5.0.51.post1; python_version >= "2.7"
43
- Requires-Dist: volcenginesdk-cloudmonitor==5.0.51.post1; python_version >= "2.7"
44
- Requires-Dist: volcenginesdk-cloudmonitor20251201==5.0.51.post1; python_version >= "2.7"
45
- Requires-Dist: volcenginesdk-cloudtrail==5.0.51.post1; python_version >= "2.7"
46
- Requires-Dist: volcenginesdk-cloudtrail20180101==5.0.51.post1; python_version >= "2.7"
47
- Requires-Dist: volcenginesdk-config==5.0.51.post1; python_version >= "2.7"
48
- Requires-Dist: volcenginesdk-core==5.0.51.post1; python_version >= "2.7"
49
- Requires-Dist: volcenginesdk-coze20250601==5.0.51.post1; python_version >= "2.7"
50
- Requires-Dist: volcenginesdk-cp==5.0.51.post1; python_version >= "2.7"
51
- Requires-Dist: volcenginesdk-cpaas==5.0.51.post1; python_version >= "2.7"
52
- Requires-Dist: volcenginesdk-cr==5.0.51.post1; python_version >= "2.7"
53
- Requires-Dist: volcenginesdk-cv20240606==5.0.51.post1; python_version >= "2.7"
54
- Requires-Dist: volcenginesdk-dataleap==5.0.51.post1; python_version >= "2.7"
55
- Requires-Dist: volcenginesdk-dataleap20260301==5.0.51.post1; python_version >= "2.7"
56
- Requires-Dist: volcenginesdk-dbw==5.0.51.post1; python_version >= "2.7"
57
- Requires-Dist: volcenginesdk-directconnect==5.0.51.post1; python_version >= "2.7"
58
- Requires-Dist: volcenginesdk-dms==5.0.51.post1; python_version >= "2.7"
59
- Requires-Dist: volcenginesdk-dms20250101==5.0.51.post1; python_version >= "2.7"
60
- Requires-Dist: volcenginesdk-dns==5.0.51.post1; python_version >= "2.7"
61
- Requires-Dist: volcenginesdk-dramart==5.0.51.post1; python_version >= "2.7"
62
- Requires-Dist: volcenginesdk-dts==5.0.51.post1; python_version >= "2.7"
63
- Requires-Dist: volcenginesdk-dts20180101==5.0.51.post1; python_version >= "2.7"
64
- Requires-Dist: volcenginesdk-ecs==5.0.51.post1; python_version >= "2.7"
65
- Requires-Dist: volcenginesdk-edx==5.0.51.post1; python_version >= "2.7"
66
- Requires-Dist: volcenginesdk-efs==5.0.51.post1; python_version >= "2.7"
67
- Requires-Dist: volcenginesdk-emr==5.0.51.post1; python_version >= "2.7"
68
- Requires-Dist: volcenginesdk-escloud==5.0.51.post1; python_version >= "2.7"
69
- Requires-Dist: volcenginesdk-fasttrack==5.0.51.post1; python_version >= "2.7"
70
- Requires-Dist: volcenginesdk-filenas==5.0.51.post1; python_version >= "2.7"
71
- Requires-Dist: volcenginesdk-flink20250101==5.0.51.post1; python_version >= "2.7"
72
- Requires-Dist: volcenginesdk-fwcenter==5.0.51.post1; python_version >= "2.7"
73
- Requires-Dist: volcenginesdk-ga==5.0.51.post1; python_version >= "2.7"
74
- Requires-Dist: volcenginesdk-graph==5.0.51.post1; python_version >= "2.7"
75
- Requires-Dist: volcenginesdk-graph20250815==5.0.51.post1; python_version >= "2.7"
76
- Requires-Dist: volcenginesdk-gtm==5.0.51.post1; python_version >= "2.7"
77
- Requires-Dist: volcenginesdk-hbase==5.0.51.post1; python_version >= "2.7"
78
- Requires-Dist: volcenginesdk-httpdns==5.0.51.post1; python_version >= "2.7"
79
- Requires-Dist: volcenginesdk-i18nopenapi==5.0.51.post1; python_version >= "2.7"
80
- Requires-Dist: volcenginesdk-iam==5.0.51.post1; python_version >= "2.7"
81
- Requires-Dist: volcenginesdk-iam20210801==5.0.51.post1; python_version >= "2.7"
82
- Requires-Dist: volcenginesdk-id==5.0.51.post1; python_version >= "2.7"
83
- Requires-Dist: volcenginesdk-insight==5.0.51.post1; python_version >= "2.7"
84
- Requires-Dist: volcenginesdk-kafka==5.0.51.post1; python_version >= "2.7"
85
- Requires-Dist: volcenginesdk-kms==5.0.51.post1; python_version >= "2.7"
86
- Requires-Dist: volcenginesdk-livesaas==5.0.51.post1; python_version >= "2.7"
87
- Requires-Dist: volcenginesdk-livesaas20230801==5.0.51.post1; python_version >= "2.7"
88
- Requires-Dist: volcenginesdk-llmscan==5.0.51.post1; python_version >= "2.7"
89
- Requires-Dist: volcenginesdk-llmshield==5.0.51.post1; python_version >= "2.7"
90
- Requires-Dist: volcenginesdk-mcdn==5.0.51.post1; python_version >= "2.7"
91
- Requires-Dist: volcenginesdk-mcs==5.0.51.post1; python_version >= "2.7"
92
- Requires-Dist: volcenginesdk-mem0==5.0.51.post1; python_version >= "2.7"
93
- Requires-Dist: volcenginesdk-metakms==5.0.51.post1; python_version >= "2.7"
94
- Requires-Dist: volcenginesdk-milvus==5.0.51.post1; python_version >= "2.7"
95
- Requires-Dist: volcenginesdk-mlplatform20240701==5.0.51.post1; python_version >= "2.7"
96
- Requires-Dist: volcenginesdk-mongodb==5.0.51.post1; python_version >= "2.7"
97
- Requires-Dist: volcenginesdk-na==5.0.51.post1; python_version >= "2.7"
98
- Requires-Dist: volcenginesdk-natgateway==5.0.51.post1; python_version >= "2.7"
99
- Requires-Dist: volcenginesdk-nta==5.0.51.post1; python_version >= "2.7"
100
- Requires-Dist: volcenginesdk-organization==5.0.51.post1; python_version >= "2.7"
101
- Requires-Dist: volcenginesdk-origindefence==5.0.51.post1; python_version >= "2.7"
102
- Requires-Dist: volcenginesdk-partner==5.0.51.post1; python_version >= "2.7"
103
- Requires-Dist: volcenginesdk-pca==5.0.51.post1; python_version >= "2.7"
104
- Requires-Dist: volcenginesdk-pca20251001==5.0.51.post1; python_version >= "2.7"
105
- Requires-Dist: volcenginesdk-privatelink==5.0.51.post1; python_version >= "2.7"
106
- Requires-Dist: volcenginesdk-privatezone==5.0.51.post1; python_version >= "2.7"
107
- Requires-Dist: volcenginesdk-quota==5.0.51.post1; python_version >= "2.7"
108
- Requires-Dist: volcenginesdk-rabbitmq==5.0.51.post1; python_version >= "2.7"
109
- Requires-Dist: volcenginesdk-rcs5g==5.0.51.post1; python_version >= "2.7"
110
- Requires-Dist: volcenginesdk-rdsmssql==5.0.51.post1; python_version >= "2.7"
111
- Requires-Dist: volcenginesdk-rdsmysql==5.0.51.post1; python_version >= "2.7"
112
- Requires-Dist: volcenginesdk-rdsmysqlv2==5.0.51.post1; python_version >= "2.7"
113
- Requires-Dist: volcenginesdk-rdspostgresql==5.0.51.post1; python_version >= "2.7"
114
- Requires-Dist: volcenginesdk-redis==5.0.51.post1; python_version >= "2.7"
115
- Requires-Dist: volcenginesdk-resourcecenter==5.0.51.post1; python_version >= "2.7"
116
- Requires-Dist: volcenginesdk-resourceshare==5.0.51.post1; python_version >= "2.7"
117
- Requires-Dist: volcenginesdk-rocketmq==5.0.51.post1; python_version >= "2.7"
118
- Requires-Dist: volcenginesdk-secagent==5.0.51.post1; python_version >= "2.7"
119
- Requires-Dist: volcenginesdk-seccenter==5.0.51.post1; python_version >= "2.7"
120
- Requires-Dist: volcenginesdk-seccenter20240508==5.0.51.post1; python_version >= "2.7"
121
- Requires-Dist: volcenginesdk-smc==5.0.51.post1; python_version >= "2.7"
122
- Requires-Dist: volcenginesdk-spark==5.0.51.post1; python_version >= "2.7"
123
- Requires-Dist: volcenginesdk-speechsaasprod==5.0.51.post1; python_version >= "2.7"
124
- Requires-Dist: volcenginesdk-speechsaasprod20250521==5.0.51.post1; python_version >= "2.7"
125
- Requires-Dist: volcenginesdk-sqs==5.0.51.post1; python_version >= "2.7"
126
- Requires-Dist: volcenginesdk-storageebs==5.0.51.post1; python_version >= "2.7"
127
- Requires-Dist: volcenginesdk-sts==5.0.51.post1; python_version >= "2.7"
128
- Requires-Dist: volcenginesdk-tag==5.0.51.post1; python_version >= "2.7"
129
- Requires-Dist: volcenginesdk-tidb==5.0.51.post1; python_version >= "2.7"
130
- Requires-Dist: volcenginesdk-tis==5.0.51.post1; python_version >= "2.7"
131
- Requires-Dist: volcenginesdk-transitrouter==5.0.51.post1; python_version >= "2.7"
132
- Requires-Dist: volcenginesdk-translate20250301==5.0.51.post1; python_version >= "2.7"
133
- Requires-Dist: volcenginesdk-vedbm==5.0.51.post1; python_version >= "2.7"
134
- Requires-Dist: volcenginesdk-veenedge==5.0.51.post1; python_version >= "2.7"
135
- Requires-Dist: volcenginesdk-vefaas==5.0.51.post1; python_version >= "2.7"
136
- Requires-Dist: volcenginesdk-vefaasdev==5.0.51.post1; python_version >= "2.7"
137
- Requires-Dist: volcenginesdk-veiapi==5.0.51.post1; python_version >= "2.7"
138
- Requires-Dist: volcenginesdk-vepfs==5.0.51.post1; python_version >= "2.7"
139
- Requires-Dist: volcenginesdk-vikingdb==5.0.51.post1; python_version >= "2.7"
140
- Requires-Dist: volcenginesdk-vke==5.0.51.post1; python_version >= "2.7"
141
- Requires-Dist: volcenginesdk-vmp==5.0.51.post1; python_version >= "2.7"
142
- Requires-Dist: volcenginesdk-vms==5.0.51.post1; python_version >= "2.7"
143
- Requires-Dist: volcenginesdk-vod20250101==5.0.51.post1; python_version >= "2.7"
144
- Requires-Dist: volcenginesdk-vod20260101==5.0.51.post1; python_version >= "2.7"
145
- Requires-Dist: volcenginesdk-volcobserve==5.0.51.post1; python_version >= "2.7"
146
- Requires-Dist: volcenginesdk-volcsms==5.0.51.post1; python_version >= "2.7"
147
- Requires-Dist: volcenginesdk-vpc==5.0.51.post1; python_version >= "2.7"
148
- Requires-Dist: volcenginesdk-vpn==5.0.51.post1; python_version >= "2.7"
149
- Requires-Dist: volcenginesdk-waf==5.0.51.post1; python_version >= "2.7"
150
- Requires-Dist: volcenginesdk-wafruntime==5.0.51.post1; python_version >= "2.7"
151
- Dynamic: author
152
- Dynamic: author-email
153
- Dynamic: description
154
- Dynamic: description-content-type
155
- Dynamic: home-page
156
- Dynamic: license
157
- Dynamic: license-file
158
- Dynamic: platform
159
- Dynamic: requires-dist
160
- Dynamic: requires-python
161
- Dynamic: summary
162
-
163
- 中文 | [English](README.EN.MD)
164
-
165
- # Volcengine SDK for Python
166
-
167
- ## 目录
168
-
169
- * Requirements
170
- * Install
171
- * Usage
172
- * FAQ
173
-
174
- ### Requirements ###
175
-
176
- * Python 版本需要不低于2.7。
177
- * 如使用方舟服务(`arkruntime`),Python 版本需要不低于 3.10。
178
-
179
- ### Install ###
180
-
181
- Install via pip
182
-
183
- ```sh
184
- pip install volcengine-python-sdk
185
- ```
186
-
187
- `volcengine-python-sdk` 是安装全部服务的兼容元包。仅使用单个产品时可按需安装,
188
- 例如 ECS:
189
-
190
- ```sh
191
- pip install volcenginesdk-ecs
192
- ```
193
-
194
- 分包不会改变 Python 导入路径,已有的 `import volcenginesdkecs` 无需修改。
195
- 完整设计、包名映射和发布流程见[分包设计](./docs/package-splitting-zh.md)。
196
-
197
- 如需使用方舟,请安装官方 Ark Runtime 包:
198
-
199
- ```sh
200
- pip install arkruntime
201
- ```
202
-
203
- ### Usage ###
204
-
205
- #### 详细使用文档 ####
206
-
207
- SDK 详细使用文档(凭证配置、Endpoint、Transport、超时、重试、异常处理、Debug)请参考:[SDK 接入文档](./docs/0-Overview-zh.md)
208
-
209
- #### Configuration Usage ####
210
-
211
- 步骤一:启动时初始化,配置 Configuration 全局默认参数
212
-
213
- ```python
214
- import volcenginesdkautoscaling
215
- import volcenginesdkcore
216
-
217
- configuration = volcenginesdkcore.Configuration()
218
- configuration.client_side_validation = True # 客户端是否进行参数校验
219
- configuration.scheme = "https" # https or http
220
- configuration.debug = False # 是否开启调试
221
- configuration.logger_file = "sdk.log"
222
-
223
- volcenginesdkcore.Configuration.set_default(configuration)
224
- ```
225
-
226
- 步骤二:获取 Client
227
-
228
- ```python
229
- def get_client(ak, sk, region):
230
- # 包含默认属性
231
- configuration = volcenginesdkcore.Configuration()
232
- configuration.ak = ak
233
- configuration.sk = sk
234
- configuration.region = region
235
- client = volcenginesdkautoscaling.AUTOSCALINGApi(volcenginesdkcore.ApiClient(configuration))
236
- return client
237
- ```
238
-
239
- #### Endpoint 设置 ####
240
-
241
- 如果您要自定义SDK的Endpoint,可以按照以下示例代码设置:
242
-
243
- ```python
244
- configuration = volcenginesdkcore.Configuration()
245
- configuration.host = 'ecs.cn-beijing-autodriving.volcengineapi.com'
246
- ```
247
-
248
- 火山引擎标准的Endpoint规则说明:
249
-
250
- | Regional 服务 | Global 服务 |
251
- |----------------------------------------------------------------------------------------------------------------------------------------|------------------------------------------------------------------------------------|
252
- | `{service}.{region}.volcengineapi.com` <br> 例如:云服务ecs在cn-beijing-autodriving Region域名为: `ecs.cn-beijing-autodriving.volcengineapi.com` | `{service}.volcengineapi.com` <br> 例如:访问控制iam为Global服务,域名为:`iam.volcengineapi.com` |
253
-
254
- 注:
255
-
256
- - Service中存在_符号时,Endpoint时需转为-符号。存在大写字母时需转成小写。
257
-
258
- #### 完整示例 ####
259
-
260
- ```python
261
- from __future__ import print_function
262
- import volcenginesdkecs
263
- import volcenginesdkcore
264
- from pprint import pprint
265
- from volcenginesdkcore.rest import ApiException
266
-
267
- if __name__ == '__main__':
268
- configuration = volcenginesdkcore.Configuration()
269
- configuration.ak = "Your AK"
270
- configuration.sk = "Your SK"
271
- configuration.region = "cn-beijing"
272
- configuration.client_side_validation = True
273
- # set default configuration
274
- volcenginesdkcore.Configuration.set_default(configuration)
275
-
276
- # use global default configuration
277
- api_instance = volcenginesdkecs.ECSApi()
278
- # use custom configuration
279
- # api_instance = volcenginesdkecs.ECSApi(volcenginesdkcore.ApiClient(configuration))
280
-
281
- try:
282
- resp = api_instance.run_instances(
283
- volcenginesdkecs.RunInstancesRequest(
284
- instance_name="insname",
285
- instance_type="ecs.g1.large",
286
- zone_id="cn-beijing-a",
287
- network_interfaces=[volcenginesdkecs.NetworkInterfaceForRunInstancesInput(
288
- subnet_id="subnet-2d68bh73d858ozfekrm8fj",
289
- security_group_ids=["sg-2b3dq7v0ha0w2dx0eg0nhljv"],
290
- )],
291
- image_id="image-ybvz29l3da4ox5h0m9",
292
- volumes=[volcenginesdkecs.VolumeForRunInstancesInput(
293
- volume_type="ESSD",
294
- size=40,
295
- )],
296
- key_pair_name="vtable",
297
- instance_charge_type="PostPaid"
298
- ))
299
- pprint(resp)
300
- except ApiException as e:
301
- print("Exception when calling ECSApi->run_instances: %s\n" % e)
302
-
303
- ```
304
-
305
- ### FAQ ###
306
-
307
- 关于 SDK 使用时碰到的常见问题,请查看 [FAQ](FAQ.md)
308
-
309
- ## Security and privacy
310
- This project takes security seriously.
311
- For vulnerability reporting and supported versions, see [SECURITY.md](SECURITY.md)
@@ -1,6 +0,0 @@
1
- volcengine_python_sdk-5.0.51.post1.dist-info/licenses/LICENSE.txt,sha256=z8d0m5b2O9McPEK1xHG_dWgUBT6EfBDz6wA0F7xSPTA,11358
2
- volcengine_python_sdk-5.0.51.post1.dist-info/licenses/NOTICE.md,sha256=dqWX0O4-gFqGLdHJsXAiF6Q8JHlu_3nFaQSmrMHzujM,254
3
- volcengine_python_sdk-5.0.51.post1.dist-info/METADATA,sha256=tvuGF4TTYksvZa2Icq6aMnzcBaPJ9FWed7ftJn0Zoi4,16026
4
- volcengine_python_sdk-5.0.51.post1.dist-info/WHEEL,sha256=4YBfCYNH4wlLpv3pzq1hbEuIlXA4WJabKLFurZ7eTL0,109
5
- volcengine_python_sdk-5.0.51.post1.dist-info/top_level.txt,sha256=AbpHGcgLb-kRsJGnwFEktk7uzpZOCcBY74-YBdrKVGs,1
6
- volcengine_python_sdk-5.0.51.post1.dist-info/RECORD,,