tencentcloud-sdk-python-ocr 3.1.157__tar.gz → 3.1.162__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_ocr-3.1.157 → tencentcloud_sdk_python_ocr-3.1.162}/PKG-INFO +2 -2
- {tencentcloud_sdk_python_ocr-3.1.157 → tencentcloud_sdk_python_ocr-3.1.162}/setup.py +1 -1
- {tencentcloud_sdk_python_ocr-3.1.157 → tencentcloud_sdk_python_ocr-3.1.162}/tencentcloud/__init__.py +1 -1
- {tencentcloud_sdk_python_ocr-3.1.157 → tencentcloud_sdk_python_ocr-3.1.162}/tencentcloud/ocr/v20181119/models.py +96 -66
- {tencentcloud_sdk_python_ocr-3.1.157 → tencentcloud_sdk_python_ocr-3.1.162}/tencentcloud_sdk_python_ocr.egg-info/PKG-INFO +2 -2
- tencentcloud_sdk_python_ocr-3.1.162/tencentcloud_sdk_python_ocr.egg-info/requires.txt +1 -0
- tencentcloud_sdk_python_ocr-3.1.157/tencentcloud_sdk_python_ocr.egg-info/requires.txt +0 -1
- {tencentcloud_sdk_python_ocr-3.1.157 → tencentcloud_sdk_python_ocr-3.1.162}/README.rst +0 -0
- {tencentcloud_sdk_python_ocr-3.1.157 → tencentcloud_sdk_python_ocr-3.1.162}/setup.cfg +0 -0
- {tencentcloud_sdk_python_ocr-3.1.157 → tencentcloud_sdk_python_ocr-3.1.162}/tencentcloud/ocr/__init__.py +0 -0
- {tencentcloud_sdk_python_ocr-3.1.157 → tencentcloud_sdk_python_ocr-3.1.162}/tencentcloud/ocr/v20181119/__init__.py +0 -0
- {tencentcloud_sdk_python_ocr-3.1.157 → tencentcloud_sdk_python_ocr-3.1.162}/tencentcloud/ocr/v20181119/errorcodes.py +0 -0
- {tencentcloud_sdk_python_ocr-3.1.157 → tencentcloud_sdk_python_ocr-3.1.162}/tencentcloud/ocr/v20181119/ocr_client.py +0 -0
- {tencentcloud_sdk_python_ocr-3.1.157 → tencentcloud_sdk_python_ocr-3.1.162}/tencentcloud/ocr/v20181119/ocr_client_async.py +0 -0
- {tencentcloud_sdk_python_ocr-3.1.157 → tencentcloud_sdk_python_ocr-3.1.162}/tencentcloud_sdk_python_ocr.egg-info/SOURCES.txt +0 -0
- {tencentcloud_sdk_python_ocr-3.1.157 → tencentcloud_sdk_python_ocr-3.1.162}/tencentcloud_sdk_python_ocr.egg-info/dependency_links.txt +0 -0
- {tencentcloud_sdk_python_ocr-3.1.157 → tencentcloud_sdk_python_ocr-3.1.162}/tencentcloud_sdk_python_ocr.egg-info/top_level.txt +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: tencentcloud-sdk-python-ocr
|
|
3
|
-
Version: 3.1.
|
|
3
|
+
Version: 3.1.162
|
|
4
4
|
Summary: Tencent Cloud Ocr 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.
|
|
18
|
+
Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.162
|
|
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-ocr',
|
|
11
|
-
install_requires=["tencentcloud-sdk-python-common>=3.1.
|
|
11
|
+
install_requires=["tencentcloud-sdk-python-common>=3.1.162,<4.0.0"],
|
|
12
12
|
|
|
13
13
|
version=tencentcloud.__version__,
|
|
14
14
|
description='Tencent Cloud Ocr SDK for Python',
|
|
@@ -4909,14 +4909,14 @@ class DescribeMarkEssayAgentJobRequest(AbstractModel):
|
|
|
4909
4909
|
|
|
4910
4910
|
def __init__(self):
|
|
4911
4911
|
r"""
|
|
4912
|
-
:param _JobId:
|
|
4912
|
+
:param _JobId: <p>任务唯一ID。由服务端生成。</p>
|
|
4913
4913
|
:type JobId: str
|
|
4914
4914
|
"""
|
|
4915
4915
|
self._JobId = None
|
|
4916
4916
|
|
|
4917
4917
|
@property
|
|
4918
4918
|
def JobId(self):
|
|
4919
|
-
r"""
|
|
4919
|
+
r"""<p>任务唯一ID。由服务端生成。</p>
|
|
4920
4920
|
:rtype: str
|
|
4921
4921
|
"""
|
|
4922
4922
|
return self._JobId
|
|
@@ -4945,15 +4945,15 @@ class DescribeMarkEssayAgentJobResponse(AbstractModel):
|
|
|
4945
4945
|
|
|
4946
4946
|
def __init__(self):
|
|
4947
4947
|
r"""
|
|
4948
|
-
:param _Angle:
|
|
4948
|
+
:param _Angle: <p>图片旋转角度(角度制),文本的水平方向为 0;顺时针为正,逆时针为负。</p>
|
|
4949
4949
|
:type Angle: float
|
|
4950
|
-
:param _SentenceSuggests:
|
|
4950
|
+
:param _SentenceSuggests: <p>配置结构化文本信息。</p>
|
|
4951
4951
|
:type SentenceSuggests: list of MarkEssaySuggestions
|
|
4952
|
-
:param _ErrorCode:
|
|
4952
|
+
:param _ErrorCode: <p>任务执行错误码。当任务状态不为 FAIL 时,该值为""。</p>
|
|
4953
4953
|
:type ErrorCode: str
|
|
4954
|
-
:param _ErrorMessage:
|
|
4954
|
+
:param _ErrorMessage: <p>任务执行错误信息。当任务状态不为 FAIL 时,该值为""。</p>
|
|
4955
4955
|
:type ErrorMessage: str
|
|
4956
|
-
:param _JobStatus:
|
|
4956
|
+
:param _JobStatus: <p>任务状态。WAIT:等待中,RUN:执行中,FAIL:任务失败,DONE:任务成功</p>
|
|
4957
4957
|
:type JobStatus: str
|
|
4958
4958
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
4959
4959
|
:type RequestId: str
|
|
@@ -4967,7 +4967,7 @@ class DescribeMarkEssayAgentJobResponse(AbstractModel):
|
|
|
4967
4967
|
|
|
4968
4968
|
@property
|
|
4969
4969
|
def Angle(self):
|
|
4970
|
-
r"""
|
|
4970
|
+
r"""<p>图片旋转角度(角度制),文本的水平方向为 0;顺时针为正,逆时针为负。</p>
|
|
4971
4971
|
:rtype: float
|
|
4972
4972
|
"""
|
|
4973
4973
|
return self._Angle
|
|
@@ -4978,7 +4978,7 @@ class DescribeMarkEssayAgentJobResponse(AbstractModel):
|
|
|
4978
4978
|
|
|
4979
4979
|
@property
|
|
4980
4980
|
def SentenceSuggests(self):
|
|
4981
|
-
r"""
|
|
4981
|
+
r"""<p>配置结构化文本信息。</p>
|
|
4982
4982
|
:rtype: list of MarkEssaySuggestions
|
|
4983
4983
|
"""
|
|
4984
4984
|
return self._SentenceSuggests
|
|
@@ -4989,7 +4989,7 @@ class DescribeMarkEssayAgentJobResponse(AbstractModel):
|
|
|
4989
4989
|
|
|
4990
4990
|
@property
|
|
4991
4991
|
def ErrorCode(self):
|
|
4992
|
-
r"""
|
|
4992
|
+
r"""<p>任务执行错误码。当任务状态不为 FAIL 时,该值为""。</p>
|
|
4993
4993
|
:rtype: str
|
|
4994
4994
|
"""
|
|
4995
4995
|
return self._ErrorCode
|
|
@@ -5000,7 +5000,7 @@ class DescribeMarkEssayAgentJobResponse(AbstractModel):
|
|
|
5000
5000
|
|
|
5001
5001
|
@property
|
|
5002
5002
|
def ErrorMessage(self):
|
|
5003
|
-
r"""
|
|
5003
|
+
r"""<p>任务执行错误信息。当任务状态不为 FAIL 时,该值为""。</p>
|
|
5004
5004
|
:rtype: str
|
|
5005
5005
|
"""
|
|
5006
5006
|
return self._ErrorMessage
|
|
@@ -5011,7 +5011,7 @@ class DescribeMarkEssayAgentJobResponse(AbstractModel):
|
|
|
5011
5011
|
|
|
5012
5012
|
@property
|
|
5013
5013
|
def JobStatus(self):
|
|
5014
|
-
r"""
|
|
5014
|
+
r"""<p>任务状态。WAIT:等待中,RUN:执行中,FAIL:任务失败,DONE:任务成功</p>
|
|
5015
5015
|
:rtype: str
|
|
5016
5016
|
"""
|
|
5017
5017
|
return self._JobStatus
|
|
@@ -29341,13 +29341,13 @@ class SubmitMarkEssayAgentJobRequest(AbstractModel):
|
|
|
29341
29341
|
|
|
29342
29342
|
def __init__(self):
|
|
29343
29343
|
r"""
|
|
29344
|
-
:param _ImageBase64List:
|
|
29344
|
+
:param _ImageBase64List: <p>图片/PDF的 Base64 值。要求Base64不超过10M,分辨率建议600*800以上,支持PNG、JPG、JPEG、BMP、PDF格式。图片的 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl。 示例值:/9j/4AAQSkZJRg.....s97n//2Q==</p>
|
|
29345
29345
|
:type ImageBase64List: list of str
|
|
29346
|
-
:param _ImageUrlList:
|
|
29346
|
+
:param _ImageUrlList: <p>图片/PDF的 Url 地址。要求图片经Base64编码后不超过10M,分辨率建议600*800以上,支持PNG、JPG、JPEG、BMP、PDF格式。图片下载时间不超过 3 秒。图片存储于腾讯云的 Url 可保障更高的下载速度和稳定性,建议图片存储于腾讯云。非腾讯云存储的 Url 速度和稳定性可能受一定影响。 示例值:https://ocr-demo-1254418846.cos.ap-guangzhou.myqcloud.com/general/GeneralAccurateOCR/GeneralAccurateOCR1.jpg</p>
|
|
29347
29347
|
:type ImageUrlList: list of str
|
|
29348
|
-
:param _PdfPageNumber:
|
|
29348
|
+
:param _PdfPageNumber: <p>需要识别的PDF页面的对应页码,仅支持PDF单页识别,默认值为1。 示例值:1</p>
|
|
29349
29349
|
:type PdfPageNumber: int
|
|
29350
|
-
:param _QuestionConfigMap:
|
|
29350
|
+
:param _QuestionConfigMap: <p>批改信息输出配置,当key对应为1表示开启配置开关。 当key为StructureAndContent value为1 表示SentenceSuggest返回篇章结构和内容信息,默认只返回词汇、语句</p>
|
|
29351
29351
|
:type QuestionConfigMap: str
|
|
29352
29352
|
"""
|
|
29353
29353
|
self._ImageBase64List = None
|
|
@@ -29357,7 +29357,7 @@ class SubmitMarkEssayAgentJobRequest(AbstractModel):
|
|
|
29357
29357
|
|
|
29358
29358
|
@property
|
|
29359
29359
|
def ImageBase64List(self):
|
|
29360
|
-
r"""
|
|
29360
|
+
r"""<p>图片/PDF的 Base64 值。要求Base64不超过10M,分辨率建议600*800以上,支持PNG、JPG、JPEG、BMP、PDF格式。图片的 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl。 示例值:/9j/4AAQSkZJRg.....s97n//2Q==</p>
|
|
29361
29361
|
:rtype: list of str
|
|
29362
29362
|
"""
|
|
29363
29363
|
return self._ImageBase64List
|
|
@@ -29368,7 +29368,7 @@ class SubmitMarkEssayAgentJobRequest(AbstractModel):
|
|
|
29368
29368
|
|
|
29369
29369
|
@property
|
|
29370
29370
|
def ImageUrlList(self):
|
|
29371
|
-
r"""
|
|
29371
|
+
r"""<p>图片/PDF的 Url 地址。要求图片经Base64编码后不超过10M,分辨率建议600*800以上,支持PNG、JPG、JPEG、BMP、PDF格式。图片下载时间不超过 3 秒。图片存储于腾讯云的 Url 可保障更高的下载速度和稳定性,建议图片存储于腾讯云。非腾讯云存储的 Url 速度和稳定性可能受一定影响。 示例值:https://ocr-demo-1254418846.cos.ap-guangzhou.myqcloud.com/general/GeneralAccurateOCR/GeneralAccurateOCR1.jpg</p>
|
|
29372
29372
|
:rtype: list of str
|
|
29373
29373
|
"""
|
|
29374
29374
|
return self._ImageUrlList
|
|
@@ -29379,7 +29379,7 @@ class SubmitMarkEssayAgentJobRequest(AbstractModel):
|
|
|
29379
29379
|
|
|
29380
29380
|
@property
|
|
29381
29381
|
def PdfPageNumber(self):
|
|
29382
|
-
r"""
|
|
29382
|
+
r"""<p>需要识别的PDF页面的对应页码,仅支持PDF单页识别,默认值为1。 示例值:1</p>
|
|
29383
29383
|
:rtype: int
|
|
29384
29384
|
"""
|
|
29385
29385
|
return self._PdfPageNumber
|
|
@@ -29390,7 +29390,7 @@ class SubmitMarkEssayAgentJobRequest(AbstractModel):
|
|
|
29390
29390
|
|
|
29391
29391
|
@property
|
|
29392
29392
|
def QuestionConfigMap(self):
|
|
29393
|
-
r"""
|
|
29393
|
+
r"""<p>批改信息输出配置,当key对应为1表示开启配置开关。 当key为StructureAndContent value为1 表示SentenceSuggest返回篇章结构和内容信息,默认只返回词汇、语句</p>
|
|
29394
29394
|
:rtype: str
|
|
29395
29395
|
"""
|
|
29396
29396
|
return self._QuestionConfigMap
|
|
@@ -29422,7 +29422,7 @@ class SubmitMarkEssayAgentJobResponse(AbstractModel):
|
|
|
29422
29422
|
|
|
29423
29423
|
def __init__(self):
|
|
29424
29424
|
r"""
|
|
29425
|
-
:param _JobIds:
|
|
29425
|
+
:param _JobIds: <p>任务唯一ID。由服务端生成。 示例值:1334797167793684480</p>
|
|
29426
29426
|
:type JobIds: list of str
|
|
29427
29427
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
29428
29428
|
:type RequestId: str
|
|
@@ -29432,7 +29432,7 @@ class SubmitMarkEssayAgentJobResponse(AbstractModel):
|
|
|
29432
29432
|
|
|
29433
29433
|
@property
|
|
29434
29434
|
def JobIds(self):
|
|
29435
|
-
r"""
|
|
29435
|
+
r"""<p>任务唯一ID。由服务端生成。 示例值:1334797167793684480</p>
|
|
29436
29436
|
:rtype: list of str
|
|
29437
29437
|
"""
|
|
29438
29438
|
return self._JobIds
|
|
@@ -35350,48 +35350,52 @@ class VatElectronicItemInfo(AbstractModel):
|
|
|
35350
35350
|
|
|
35351
35351
|
def __init__(self):
|
|
35352
35352
|
r"""
|
|
35353
|
-
:param _Name:
|
|
35353
|
+
:param _Name: <p>项目名称</p>
|
|
35354
35354
|
:type Name: str
|
|
35355
|
-
:param _Quantity:
|
|
35355
|
+
:param _Quantity: <p>数量</p>
|
|
35356
35356
|
:type Quantity: str
|
|
35357
|
-
:param _Specification:
|
|
35357
|
+
:param _Specification: <p>规格型号</p>
|
|
35358
35358
|
:type Specification: str
|
|
35359
|
-
:param _Price:
|
|
35359
|
+
:param _Price: <p>单价</p>
|
|
35360
35360
|
:type Price: str
|
|
35361
|
-
:param _Total:
|
|
35361
|
+
:param _Total: <p>金额</p>
|
|
35362
35362
|
:type Total: str
|
|
35363
|
-
:param _TaxRate:
|
|
35363
|
+
:param _TaxRate: <p>税率</p>
|
|
35364
35364
|
:type TaxRate: str
|
|
35365
|
-
:param _Tax:
|
|
35365
|
+
:param _Tax: <p>税额</p>
|
|
35366
35366
|
:type Tax: str
|
|
35367
|
-
:param _Unit:
|
|
35367
|
+
:param _Unit: <p>单位</p>
|
|
35368
35368
|
:type Unit: str
|
|
35369
|
-
:param _VehicleType:
|
|
35369
|
+
:param _VehicleType: <p>运输工具类型</p>
|
|
35370
35370
|
:type VehicleType: str
|
|
35371
|
-
:param _VehicleBrand:
|
|
35371
|
+
:param _VehicleBrand: <p>运输工具牌号</p>
|
|
35372
35372
|
:type VehicleBrand: str
|
|
35373
|
-
:param _DeparturePlace:
|
|
35373
|
+
:param _DeparturePlace: <p>起始地</p>
|
|
35374
35374
|
:type DeparturePlace: str
|
|
35375
|
-
:param _ArrivalPlace:
|
|
35375
|
+
:param _ArrivalPlace: <p>到达地</p>
|
|
35376
35376
|
:type ArrivalPlace: str
|
|
35377
|
-
:param _TransportItemsName:
|
|
35377
|
+
:param _TransportItemsName: <p>运输货物名称,仅货物运输服务发票返回</p>
|
|
35378
35378
|
:type TransportItemsName: str
|
|
35379
|
-
:param _PlaceOfBuildingService:
|
|
35379
|
+
:param _PlaceOfBuildingService: <p>建筑服务发生地,仅建筑发票返回</p>
|
|
35380
35380
|
:type PlaceOfBuildingService: str
|
|
35381
|
-
:param _BuildingName:
|
|
35381
|
+
:param _BuildingName: <p>建筑项目名称,仅建筑发票返回</p>
|
|
35382
35382
|
:type BuildingName: str
|
|
35383
|
-
:param _EstateNumber:
|
|
35383
|
+
:param _EstateNumber: <p>产权证书/不动产权证号,仅不动产经营租赁服务发票返回</p>
|
|
35384
35384
|
:type EstateNumber: str
|
|
35385
|
-
:param _AreaUnit:
|
|
35385
|
+
:param _AreaUnit: <p>面积单位,仅不动产经营租赁服务发票返回</p>
|
|
35386
35386
|
:type AreaUnit: str
|
|
35387
|
-
:param _Traveler:
|
|
35387
|
+
:param _Traveler: <p>出行人,仅旅客运输服务发票返回</p>
|
|
35388
35388
|
:type Traveler: str
|
|
35389
|
-
:param _TravelerID:
|
|
35389
|
+
:param _TravelerID: <p>有效身份证件号,仅旅客运输服务发票返回</p>
|
|
35390
35390
|
:type TravelerID: str
|
|
35391
|
-
:param _TravelDate:
|
|
35391
|
+
:param _TravelDate: <p>出行日期,仅旅客运输服务发票返回</p>
|
|
35392
35392
|
:type TravelDate: str
|
|
35393
|
-
:param _TravelLevel:
|
|
35393
|
+
:param _TravelLevel: <p>等级,仅旅客运输服务发票返回</p>
|
|
35394
35394
|
:type TravelLevel: str
|
|
35395
|
+
:param _DateStart: <p>通行日期起</p>
|
|
35396
|
+
:type DateStart: str
|
|
35397
|
+
:param _DateEnd: <p>通行日期止</p>
|
|
35398
|
+
:type DateEnd: str
|
|
35395
35399
|
"""
|
|
35396
35400
|
self._Name = None
|
|
35397
35401
|
self._Quantity = None
|
|
@@ -35414,10 +35418,12 @@ class VatElectronicItemInfo(AbstractModel):
|
|
|
35414
35418
|
self._TravelerID = None
|
|
35415
35419
|
self._TravelDate = None
|
|
35416
35420
|
self._TravelLevel = None
|
|
35421
|
+
self._DateStart = None
|
|
35422
|
+
self._DateEnd = None
|
|
35417
35423
|
|
|
35418
35424
|
@property
|
|
35419
35425
|
def Name(self):
|
|
35420
|
-
r"""
|
|
35426
|
+
r"""<p>项目名称</p>
|
|
35421
35427
|
:rtype: str
|
|
35422
35428
|
"""
|
|
35423
35429
|
return self._Name
|
|
@@ -35428,7 +35434,7 @@ class VatElectronicItemInfo(AbstractModel):
|
|
|
35428
35434
|
|
|
35429
35435
|
@property
|
|
35430
35436
|
def Quantity(self):
|
|
35431
|
-
r"""
|
|
35437
|
+
r"""<p>数量</p>
|
|
35432
35438
|
:rtype: str
|
|
35433
35439
|
"""
|
|
35434
35440
|
return self._Quantity
|
|
@@ -35439,7 +35445,7 @@ class VatElectronicItemInfo(AbstractModel):
|
|
|
35439
35445
|
|
|
35440
35446
|
@property
|
|
35441
35447
|
def Specification(self):
|
|
35442
|
-
r"""
|
|
35448
|
+
r"""<p>规格型号</p>
|
|
35443
35449
|
:rtype: str
|
|
35444
35450
|
"""
|
|
35445
35451
|
return self._Specification
|
|
@@ -35450,7 +35456,7 @@ class VatElectronicItemInfo(AbstractModel):
|
|
|
35450
35456
|
|
|
35451
35457
|
@property
|
|
35452
35458
|
def Price(self):
|
|
35453
|
-
r"""
|
|
35459
|
+
r"""<p>单价</p>
|
|
35454
35460
|
:rtype: str
|
|
35455
35461
|
"""
|
|
35456
35462
|
return self._Price
|
|
@@ -35461,7 +35467,7 @@ class VatElectronicItemInfo(AbstractModel):
|
|
|
35461
35467
|
|
|
35462
35468
|
@property
|
|
35463
35469
|
def Total(self):
|
|
35464
|
-
r"""
|
|
35470
|
+
r"""<p>金额</p>
|
|
35465
35471
|
:rtype: str
|
|
35466
35472
|
"""
|
|
35467
35473
|
return self._Total
|
|
@@ -35472,7 +35478,7 @@ class VatElectronicItemInfo(AbstractModel):
|
|
|
35472
35478
|
|
|
35473
35479
|
@property
|
|
35474
35480
|
def TaxRate(self):
|
|
35475
|
-
r"""
|
|
35481
|
+
r"""<p>税率</p>
|
|
35476
35482
|
:rtype: str
|
|
35477
35483
|
"""
|
|
35478
35484
|
return self._TaxRate
|
|
@@ -35483,7 +35489,7 @@ class VatElectronicItemInfo(AbstractModel):
|
|
|
35483
35489
|
|
|
35484
35490
|
@property
|
|
35485
35491
|
def Tax(self):
|
|
35486
|
-
r"""
|
|
35492
|
+
r"""<p>税额</p>
|
|
35487
35493
|
:rtype: str
|
|
35488
35494
|
"""
|
|
35489
35495
|
return self._Tax
|
|
@@ -35494,7 +35500,7 @@ class VatElectronicItemInfo(AbstractModel):
|
|
|
35494
35500
|
|
|
35495
35501
|
@property
|
|
35496
35502
|
def Unit(self):
|
|
35497
|
-
r"""
|
|
35503
|
+
r"""<p>单位</p>
|
|
35498
35504
|
:rtype: str
|
|
35499
35505
|
"""
|
|
35500
35506
|
return self._Unit
|
|
@@ -35505,7 +35511,7 @@ class VatElectronicItemInfo(AbstractModel):
|
|
|
35505
35511
|
|
|
35506
35512
|
@property
|
|
35507
35513
|
def VehicleType(self):
|
|
35508
|
-
r"""
|
|
35514
|
+
r"""<p>运输工具类型</p>
|
|
35509
35515
|
:rtype: str
|
|
35510
35516
|
"""
|
|
35511
35517
|
return self._VehicleType
|
|
@@ -35516,7 +35522,7 @@ class VatElectronicItemInfo(AbstractModel):
|
|
|
35516
35522
|
|
|
35517
35523
|
@property
|
|
35518
35524
|
def VehicleBrand(self):
|
|
35519
|
-
r"""
|
|
35525
|
+
r"""<p>运输工具牌号</p>
|
|
35520
35526
|
:rtype: str
|
|
35521
35527
|
"""
|
|
35522
35528
|
return self._VehicleBrand
|
|
@@ -35527,7 +35533,7 @@ class VatElectronicItemInfo(AbstractModel):
|
|
|
35527
35533
|
|
|
35528
35534
|
@property
|
|
35529
35535
|
def DeparturePlace(self):
|
|
35530
|
-
r"""
|
|
35536
|
+
r"""<p>起始地</p>
|
|
35531
35537
|
:rtype: str
|
|
35532
35538
|
"""
|
|
35533
35539
|
return self._DeparturePlace
|
|
@@ -35538,7 +35544,7 @@ class VatElectronicItemInfo(AbstractModel):
|
|
|
35538
35544
|
|
|
35539
35545
|
@property
|
|
35540
35546
|
def ArrivalPlace(self):
|
|
35541
|
-
r"""
|
|
35547
|
+
r"""<p>到达地</p>
|
|
35542
35548
|
:rtype: str
|
|
35543
35549
|
"""
|
|
35544
35550
|
return self._ArrivalPlace
|
|
@@ -35549,7 +35555,7 @@ class VatElectronicItemInfo(AbstractModel):
|
|
|
35549
35555
|
|
|
35550
35556
|
@property
|
|
35551
35557
|
def TransportItemsName(self):
|
|
35552
|
-
r"""
|
|
35558
|
+
r"""<p>运输货物名称,仅货物运输服务发票返回</p>
|
|
35553
35559
|
:rtype: str
|
|
35554
35560
|
"""
|
|
35555
35561
|
return self._TransportItemsName
|
|
@@ -35560,7 +35566,7 @@ class VatElectronicItemInfo(AbstractModel):
|
|
|
35560
35566
|
|
|
35561
35567
|
@property
|
|
35562
35568
|
def PlaceOfBuildingService(self):
|
|
35563
|
-
r"""
|
|
35569
|
+
r"""<p>建筑服务发生地,仅建筑发票返回</p>
|
|
35564
35570
|
:rtype: str
|
|
35565
35571
|
"""
|
|
35566
35572
|
return self._PlaceOfBuildingService
|
|
@@ -35571,7 +35577,7 @@ class VatElectronicItemInfo(AbstractModel):
|
|
|
35571
35577
|
|
|
35572
35578
|
@property
|
|
35573
35579
|
def BuildingName(self):
|
|
35574
|
-
r"""
|
|
35580
|
+
r"""<p>建筑项目名称,仅建筑发票返回</p>
|
|
35575
35581
|
:rtype: str
|
|
35576
35582
|
"""
|
|
35577
35583
|
return self._BuildingName
|
|
@@ -35582,7 +35588,7 @@ class VatElectronicItemInfo(AbstractModel):
|
|
|
35582
35588
|
|
|
35583
35589
|
@property
|
|
35584
35590
|
def EstateNumber(self):
|
|
35585
|
-
r"""
|
|
35591
|
+
r"""<p>产权证书/不动产权证号,仅不动产经营租赁服务发票返回</p>
|
|
35586
35592
|
:rtype: str
|
|
35587
35593
|
"""
|
|
35588
35594
|
return self._EstateNumber
|
|
@@ -35593,7 +35599,7 @@ class VatElectronicItemInfo(AbstractModel):
|
|
|
35593
35599
|
|
|
35594
35600
|
@property
|
|
35595
35601
|
def AreaUnit(self):
|
|
35596
|
-
r"""
|
|
35602
|
+
r"""<p>面积单位,仅不动产经营租赁服务发票返回</p>
|
|
35597
35603
|
:rtype: str
|
|
35598
35604
|
"""
|
|
35599
35605
|
return self._AreaUnit
|
|
@@ -35604,7 +35610,7 @@ class VatElectronicItemInfo(AbstractModel):
|
|
|
35604
35610
|
|
|
35605
35611
|
@property
|
|
35606
35612
|
def Traveler(self):
|
|
35607
|
-
r"""
|
|
35613
|
+
r"""<p>出行人,仅旅客运输服务发票返回</p>
|
|
35608
35614
|
:rtype: str
|
|
35609
35615
|
"""
|
|
35610
35616
|
return self._Traveler
|
|
@@ -35615,7 +35621,7 @@ class VatElectronicItemInfo(AbstractModel):
|
|
|
35615
35621
|
|
|
35616
35622
|
@property
|
|
35617
35623
|
def TravelerID(self):
|
|
35618
|
-
r"""
|
|
35624
|
+
r"""<p>有效身份证件号,仅旅客运输服务发票返回</p>
|
|
35619
35625
|
:rtype: str
|
|
35620
35626
|
"""
|
|
35621
35627
|
return self._TravelerID
|
|
@@ -35626,7 +35632,7 @@ class VatElectronicItemInfo(AbstractModel):
|
|
|
35626
35632
|
|
|
35627
35633
|
@property
|
|
35628
35634
|
def TravelDate(self):
|
|
35629
|
-
r"""
|
|
35635
|
+
r"""<p>出行日期,仅旅客运输服务发票返回</p>
|
|
35630
35636
|
:rtype: str
|
|
35631
35637
|
"""
|
|
35632
35638
|
return self._TravelDate
|
|
@@ -35637,7 +35643,7 @@ class VatElectronicItemInfo(AbstractModel):
|
|
|
35637
35643
|
|
|
35638
35644
|
@property
|
|
35639
35645
|
def TravelLevel(self):
|
|
35640
|
-
r"""
|
|
35646
|
+
r"""<p>等级,仅旅客运输服务发票返回</p>
|
|
35641
35647
|
:rtype: str
|
|
35642
35648
|
"""
|
|
35643
35649
|
return self._TravelLevel
|
|
@@ -35646,6 +35652,28 @@ class VatElectronicItemInfo(AbstractModel):
|
|
|
35646
35652
|
def TravelLevel(self, TravelLevel):
|
|
35647
35653
|
self._TravelLevel = TravelLevel
|
|
35648
35654
|
|
|
35655
|
+
@property
|
|
35656
|
+
def DateStart(self):
|
|
35657
|
+
r"""<p>通行日期起</p>
|
|
35658
|
+
:rtype: str
|
|
35659
|
+
"""
|
|
35660
|
+
return self._DateStart
|
|
35661
|
+
|
|
35662
|
+
@DateStart.setter
|
|
35663
|
+
def DateStart(self, DateStart):
|
|
35664
|
+
self._DateStart = DateStart
|
|
35665
|
+
|
|
35666
|
+
@property
|
|
35667
|
+
def DateEnd(self):
|
|
35668
|
+
r"""<p>通行日期止</p>
|
|
35669
|
+
:rtype: str
|
|
35670
|
+
"""
|
|
35671
|
+
return self._DateEnd
|
|
35672
|
+
|
|
35673
|
+
@DateEnd.setter
|
|
35674
|
+
def DateEnd(self, DateEnd):
|
|
35675
|
+
self._DateEnd = DateEnd
|
|
35676
|
+
|
|
35649
35677
|
|
|
35650
35678
|
def _deserialize(self, params):
|
|
35651
35679
|
self._Name = params.get("Name")
|
|
@@ -35669,6 +35697,8 @@ class VatElectronicItemInfo(AbstractModel):
|
|
|
35669
35697
|
self._TravelerID = params.get("TravelerID")
|
|
35670
35698
|
self._TravelDate = params.get("TravelDate")
|
|
35671
35699
|
self._TravelLevel = params.get("TravelLevel")
|
|
35700
|
+
self._DateStart = params.get("DateStart")
|
|
35701
|
+
self._DateEnd = params.get("DateEnd")
|
|
35672
35702
|
memeber_set = set(params.keys())
|
|
35673
35703
|
for name, value in vars(self).items():
|
|
35674
35704
|
property_name = name[1:]
|
|
@@ -40460,7 +40490,7 @@ class VerifyScenePhotoRequest(AbstractModel):
|
|
|
40460
40490
|
|
|
40461
40491
|
def __init__(self):
|
|
40462
40492
|
r"""
|
|
40463
|
-
:param _Scene: <p>场景类型参数,如果场景无法细分请选用该大类的第一个子类,目前支持以下类型:<br><strong>经营场所照</strong><br>0101 门头照<br>0102 店内照<br>0103
|
|
40493
|
+
:param _Scene: <p>场景类型参数,如果场景无法细分请选用该大类的第一个子类,目前支持以下类型:<br><strong>经营场所照</strong><br>0101 门头照<br>0102 店内照<br>0103 流动经营照 </p><p><strong>车牌业务照</strong><br>0201 车牌</p>
|
|
40464
40494
|
:type Scene: str
|
|
40465
40495
|
:param _ImageUrl: <p>图片的 Url 地址。要求图片经Base64编码后不超过 10M。</p>
|
|
40466
40496
|
:type ImageUrl: str
|
|
@@ -40473,7 +40503,7 @@ class VerifyScenePhotoRequest(AbstractModel):
|
|
|
40473
40503
|
|
|
40474
40504
|
@property
|
|
40475
40505
|
def Scene(self):
|
|
40476
|
-
r"""<p>场景类型参数,如果场景无法细分请选用该大类的第一个子类,目前支持以下类型:<br><strong>经营场所照</strong><br>0101 门头照<br>0102 店内照<br>0103
|
|
40506
|
+
r"""<p>场景类型参数,如果场景无法细分请选用该大类的第一个子类,目前支持以下类型:<br><strong>经营场所照</strong><br>0101 门头照<br>0102 店内照<br>0103 流动经营照 </p><p><strong>车牌业务照</strong><br>0201 车牌</p>
|
|
40477
40507
|
:rtype: str
|
|
40478
40508
|
"""
|
|
40479
40509
|
return self._Scene
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: tencentcloud-sdk-python-ocr
|
|
3
|
-
Version: 3.1.
|
|
3
|
+
Version: 3.1.162
|
|
4
4
|
Summary: Tencent Cloud Ocr 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.
|
|
18
|
+
Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.162
|
|
19
19
|
|
|
20
20
|
============================
|
|
21
21
|
Tencent Cloud SDK for Python
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
tencentcloud-sdk-python-common<4.0.0,>=3.1.162
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
tencentcloud-sdk-python-common<4.0.0,>=3.1.157
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|