tencentcloud-sdk-python-lkeap 3.1.102__tar.gz → 3.1.145__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.
Files changed (17) hide show
  1. {tencentcloud_sdk_python_lkeap-3.1.102 → tencentcloud_sdk_python_lkeap-3.1.145}/PKG-INFO +2 -2
  2. {tencentcloud_sdk_python_lkeap-3.1.102 → tencentcloud_sdk_python_lkeap-3.1.145}/setup.py +1 -1
  3. {tencentcloud_sdk_python_lkeap-3.1.102 → tencentcloud_sdk_python_lkeap-3.1.145}/tencentcloud/__init__.py +1 -1
  4. {tencentcloud_sdk_python_lkeap-3.1.102 → tencentcloud_sdk_python_lkeap-3.1.145}/tencentcloud/lkeap/v20240522/lkeap_client.py +3 -1
  5. {tencentcloud_sdk_python_lkeap-3.1.102 → tencentcloud_sdk_python_lkeap-3.1.145}/tencentcloud/lkeap/v20240522/lkeap_client_async.py +2 -0
  6. {tencentcloud_sdk_python_lkeap-3.1.102 → tencentcloud_sdk_python_lkeap-3.1.145}/tencentcloud/lkeap/v20240522/models.py +25 -22
  7. {tencentcloud_sdk_python_lkeap-3.1.102 → tencentcloud_sdk_python_lkeap-3.1.145}/tencentcloud_sdk_python_lkeap.egg-info/PKG-INFO +2 -2
  8. tencentcloud_sdk_python_lkeap-3.1.145/tencentcloud_sdk_python_lkeap.egg-info/requires.txt +1 -0
  9. tencentcloud_sdk_python_lkeap-3.1.102/tencentcloud_sdk_python_lkeap.egg-info/requires.txt +0 -1
  10. {tencentcloud_sdk_python_lkeap-3.1.102 → tencentcloud_sdk_python_lkeap-3.1.145}/README.rst +0 -0
  11. {tencentcloud_sdk_python_lkeap-3.1.102 → tencentcloud_sdk_python_lkeap-3.1.145}/setup.cfg +0 -0
  12. {tencentcloud_sdk_python_lkeap-3.1.102 → tencentcloud_sdk_python_lkeap-3.1.145}/tencentcloud/lkeap/__init__.py +0 -0
  13. {tencentcloud_sdk_python_lkeap-3.1.102 → tencentcloud_sdk_python_lkeap-3.1.145}/tencentcloud/lkeap/v20240522/__init__.py +0 -0
  14. {tencentcloud_sdk_python_lkeap-3.1.102 → tencentcloud_sdk_python_lkeap-3.1.145}/tencentcloud/lkeap/v20240522/errorcodes.py +0 -0
  15. {tencentcloud_sdk_python_lkeap-3.1.102 → tencentcloud_sdk_python_lkeap-3.1.145}/tencentcloud_sdk_python_lkeap.egg-info/SOURCES.txt +0 -0
  16. {tencentcloud_sdk_python_lkeap-3.1.102 → tencentcloud_sdk_python_lkeap-3.1.145}/tencentcloud_sdk_python_lkeap.egg-info/dependency_links.txt +0 -0
  17. {tencentcloud_sdk_python_lkeap-3.1.102 → tencentcloud_sdk_python_lkeap-3.1.145}/tencentcloud_sdk_python_lkeap.egg-info/top_level.txt +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: tencentcloud-sdk-python-lkeap
3
- Version: 3.1.102
3
+ Version: 3.1.145
4
4
  Summary: Tencent Cloud Lkeap SDK for Python
5
5
  Home-page: https://github.com/TencentCloud/tencentcloud-sdk-python
6
6
  Author: Tencent Cloud
@@ -15,7 +15,7 @@ Classifier: Programming Language :: Python :: 2.7
15
15
  Classifier: Programming Language :: Python :: 3
16
16
  Classifier: Programming Language :: Python :: 3.6
17
17
  Classifier: Programming Language :: Python :: 3.7
18
- Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.102
18
+ Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.145
19
19
 
20
20
  ============================
21
21
  Tencent Cloud SDK for Python
@@ -8,7 +8,7 @@ ROOT = os.path.dirname(__file__)
8
8
 
9
9
  setup(
10
10
  name='tencentcloud-sdk-python-lkeap',
11
- install_requires=["tencentcloud-sdk-python-common>=3.1.102,<4.0.0"],
11
+ install_requires=["tencentcloud-sdk-python-common>=3.1.145,<4.0.0"],
12
12
 
13
13
  version=tencentcloud.__version__,
14
14
  description='Tencent Cloud Lkeap SDK for Python',
@@ -14,4 +14,4 @@
14
14
  # limitations under the License.
15
15
 
16
16
 
17
- __version__ = '3.1.102'
17
+ __version__ = '3.1.145'
@@ -344,7 +344,9 @@ class LkeapClient(AbstractClient):
344
344
 
345
345
 
346
346
  def ReconstructDocumentSSE(self, request):
347
- r"""准实时文档解析接口,使用HTTP SSE 协议通信。
347
+ r"""**此接口处于预下线状态 。请尽快升级到新对应接口:**https://cloud.tencent.com/document/product/866/133224
348
+
349
+ 准实时文档解析接口,使用HTTP SSE 协议通信。
348
350
  支持将图片或PDF文件转换成Markdown格式文件,可解析包括表格、公式、图片、标题、段落、页眉、页脚等内容元素,并将内容智能转换成阅读顺序。
349
351
  输入:pdf、ppt、docx、doc、jpg等
350
352
  输出:正常阅读顺序的md文件、识别结果的json(可选)等
@@ -308,6 +308,8 @@ class LkeapClient(AbstractClient):
308
308
  opts: Dict = None,
309
309
  ) -> models.ReconstructDocumentSSEResponse:
310
310
  """
311
+ **此接口处于预下线状态 。请尽快升级到新对应接口:**https://cloud.tencent.com/document/product/866/133224
312
+
311
313
  准实时文档解析接口,使用HTTP SSE 协议通信。
312
314
  支持将图片或PDF文件转换成Markdown格式文件,可解析包括表格、公式、图片、标题、段落、页眉、页脚等内容元素,并将内容智能转换成阅读顺序。
313
315
  输入:pdf、ppt、docx、doc、jpg等
@@ -2238,35 +2238,29 @@ class ReconstructDocumentSSEConfig(AbstractModel):
2238
2238
 
2239
2239
  def __init__(self):
2240
2240
  r"""
2241
- :param _TableResultType: Markdown文件中表格返回的形式
2242
- 0,表格以MD形式返回
2243
- 1,表格以HTML形式返回
2244
- 默认为0
2241
+ :param _TableResultType: <p>Markdown文件中表格返回的形式<br>0,表格以MD形式返回<br>1,表格以HTML形式返回<br>默认为0</p>
2245
2242
  :type TableResultType: str
2246
- :param _MarkdownImageResponseType: Markdown文件中图片返回的形式
2247
- 0:markdown中图片以链接形式返回
2248
- 1:markdown中图片只返回图片中提取的文本内容
2249
- 默认是0
2243
+ :param _MarkdownImageResponseType: <p>Markdown文件中图片返回的形式<br>0:markdown中图片以链接形式返回<br>1:markdown中图片只返回图片中提取的文本内容<br>默认是0</p>
2250
2244
  :type MarkdownImageResponseType: str
2251
- :param _ReturnPageFormat: Markdown文件中是否包含页码信息
2245
+ :param _ReturnPageFormat: <p>Markdown文件中是否包含页码信息</p>
2252
2246
  :type ReturnPageFormat: bool
2253
- :param _PageFormat: 自定义输出页码样式,{{p}}为页码占位符,开启ReturnPageFormat生效。未填默认样式:<page_num>page {{p}}</page_num>
2247
+ :param _PageFormat: <p>自定义输出页码样式,{{p}}为页码占位符,开启ReturnPageFormat生效。未填默认样式:<page_num>page {{p}}</page_num></p>
2254
2248
  :type PageFormat: str
2255
- :param _IgnoreFailedPage: 是否忽略失败页,返回已成功的页数据
2249
+ :param _IgnoreFailedPage: <p>是否忽略失败页,返回已成功的页数据</p>
2256
2250
  :type IgnoreFailedPage: bool
2251
+ :param _ResultType: <p>智能文档解析返回结果的格式</p><p>枚举值:</p><ul><li>0: 只返回全文MD</li><li>1: 只返回每一页的OCR原始Json</li><li>2: 只返回每一页的MD</li><li>3: 返回全文MD + 每一页的OCR原始Json</li><li>4: 返回全文MD + 每一页的MD</li><li>5: 返回全文md,每一页ocr原始json,每一页md</li></ul><p>默认值:3</p>
2252
+ :type ResultType: str
2257
2253
  """
2258
2254
  self._TableResultType = None
2259
2255
  self._MarkdownImageResponseType = None
2260
2256
  self._ReturnPageFormat = None
2261
2257
  self._PageFormat = None
2262
2258
  self._IgnoreFailedPage = None
2259
+ self._ResultType = None
2263
2260
 
2264
2261
  @property
2265
2262
  def TableResultType(self):
2266
- r"""Markdown文件中表格返回的形式
2267
- 0,表格以MD形式返回
2268
- 1,表格以HTML形式返回
2269
- 默认为0
2263
+ r"""<p>Markdown文件中表格返回的形式<br>0,表格以MD形式返回<br>1,表格以HTML形式返回<br>默认为0</p>
2270
2264
  :rtype: str
2271
2265
  """
2272
2266
  return self._TableResultType
@@ -2277,10 +2271,7 @@ class ReconstructDocumentSSEConfig(AbstractModel):
2277
2271
 
2278
2272
  @property
2279
2273
  def MarkdownImageResponseType(self):
2280
- r"""Markdown文件中图片返回的形式
2281
- 0:markdown中图片以链接形式返回
2282
- 1:markdown中图片只返回图片中提取的文本内容
2283
- 默认是0
2274
+ r"""<p>Markdown文件中图片返回的形式<br>0:markdown中图片以链接形式返回<br>1:markdown中图片只返回图片中提取的文本内容<br>默认是0</p>
2284
2275
  :rtype: str
2285
2276
  """
2286
2277
  return self._MarkdownImageResponseType
@@ -2291,7 +2282,7 @@ class ReconstructDocumentSSEConfig(AbstractModel):
2291
2282
 
2292
2283
  @property
2293
2284
  def ReturnPageFormat(self):
2294
- r"""Markdown文件中是否包含页码信息
2285
+ r"""<p>Markdown文件中是否包含页码信息</p>
2295
2286
  :rtype: bool
2296
2287
  """
2297
2288
  return self._ReturnPageFormat
@@ -2302,7 +2293,7 @@ class ReconstructDocumentSSEConfig(AbstractModel):
2302
2293
 
2303
2294
  @property
2304
2295
  def PageFormat(self):
2305
- r"""自定义输出页码样式,{{p}}为页码占位符,开启ReturnPageFormat生效。未填默认样式:<page_num>page {{p}}</page_num>
2296
+ r"""<p>自定义输出页码样式,{{p}}为页码占位符,开启ReturnPageFormat生效。未填默认样式:<page_num>page {{p}}</page_num></p>
2306
2297
  :rtype: str
2307
2298
  """
2308
2299
  return self._PageFormat
@@ -2313,7 +2304,7 @@ class ReconstructDocumentSSEConfig(AbstractModel):
2313
2304
 
2314
2305
  @property
2315
2306
  def IgnoreFailedPage(self):
2316
- r"""是否忽略失败页,返回已成功的页数据
2307
+ r"""<p>是否忽略失败页,返回已成功的页数据</p>
2317
2308
  :rtype: bool
2318
2309
  """
2319
2310
  return self._IgnoreFailedPage
@@ -2322,6 +2313,17 @@ class ReconstructDocumentSSEConfig(AbstractModel):
2322
2313
  def IgnoreFailedPage(self, IgnoreFailedPage):
2323
2314
  self._IgnoreFailedPage = IgnoreFailedPage
2324
2315
 
2316
+ @property
2317
+ def ResultType(self):
2318
+ r"""<p>智能文档解析返回结果的格式</p><p>枚举值:</p><ul><li>0: 只返回全文MD</li><li>1: 只返回每一页的OCR原始Json</li><li>2: 只返回每一页的MD</li><li>3: 返回全文MD + 每一页的OCR原始Json</li><li>4: 返回全文MD + 每一页的MD</li><li>5: 返回全文md,每一页ocr原始json,每一页md</li></ul><p>默认值:3</p>
2319
+ :rtype: str
2320
+ """
2321
+ return self._ResultType
2322
+
2323
+ @ResultType.setter
2324
+ def ResultType(self, ResultType):
2325
+ self._ResultType = ResultType
2326
+
2325
2327
 
2326
2328
  def _deserialize(self, params):
2327
2329
  self._TableResultType = params.get("TableResultType")
@@ -2329,6 +2331,7 @@ class ReconstructDocumentSSEConfig(AbstractModel):
2329
2331
  self._ReturnPageFormat = params.get("ReturnPageFormat")
2330
2332
  self._PageFormat = params.get("PageFormat")
2331
2333
  self._IgnoreFailedPage = params.get("IgnoreFailedPage")
2334
+ self._ResultType = params.get("ResultType")
2332
2335
  memeber_set = set(params.keys())
2333
2336
  for name, value in vars(self).items():
2334
2337
  property_name = name[1:]
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: tencentcloud-sdk-python-lkeap
3
- Version: 3.1.102
3
+ Version: 3.1.145
4
4
  Summary: Tencent Cloud Lkeap SDK for Python
5
5
  Home-page: https://github.com/TencentCloud/tencentcloud-sdk-python
6
6
  Author: Tencent Cloud
@@ -15,7 +15,7 @@ Classifier: Programming Language :: Python :: 2.7
15
15
  Classifier: Programming Language :: Python :: 3
16
16
  Classifier: Programming Language :: Python :: 3.6
17
17
  Classifier: Programming Language :: Python :: 3.7
18
- Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.102
18
+ Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.145
19
19
 
20
20
  ============================
21
21
  Tencent Cloud SDK for Python
@@ -0,0 +1 @@
1
+ tencentcloud-sdk-python-common<4.0.0,>=3.1.145
@@ -1 +0,0 @@
1
- tencentcloud-sdk-python-common<4.0.0,>=3.1.102