groupdocs-conversion-cloud 24.8__py3-none-any.whl → 24.11__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.
@@ -74,12 +74,12 @@ class ApiClient(object):
74
74
  self.configuration = configuration
75
75
  self.pool = None
76
76
  self.rest_client = rest.RESTClientObject(configuration)
77
- self.default_headers = {'x-groupdocs-client': 'python sdk', 'x-groupdocs-version': '24.8'}
77
+ self.default_headers = {'x-groupdocs-client': 'python sdk', 'x-groupdocs-version': '24.11'}
78
78
  if header_name is not None:
79
79
  self.default_headers[header_name] = header_value
80
80
  self.cookie = cookie
81
81
  # Set default User-Agent.
82
- self.user_agent = 'python sdk 24.8'
82
+ self.user_agent = 'python sdk 24.11'
83
83
 
84
84
  def __del__(self):
85
85
  if self.pool is not None:
@@ -202,6 +202,6 @@ class Configuration(object):
202
202
  return "Python SDK Debug Report:\n"\
203
203
  "OS: {env}\n"\
204
204
  "Python Version: {pyversion}\n"\
205
- "Version of the API: 24.8\n"\
206
- "SDK Package Version: 24.8".\
205
+ "Version of the API: 24.11\n"\
206
+ "SDK Package Version: 24.11".\
207
207
  format(env=sys.platform, pyversion=sys.version)
@@ -45,20 +45,35 @@ class WebLoadOptions(LoadOptions):
45
45
  and the value is json key in definition.
46
46
  """
47
47
  swagger_types = {
48
- 'page_numbering': 'bool'
48
+ 'page_numbering': 'bool',
49
+ 'encoding': 'str',
50
+ 'use_pdf': 'bool',
51
+ 'rendering_mode': 'str'
49
52
  }
50
53
 
51
54
  attribute_map = {
52
- 'page_numbering': 'PageNumbering'
55
+ 'page_numbering': 'PageNumbering',
56
+ 'encoding': 'Encoding',
57
+ 'use_pdf': 'UsePdf',
58
+ 'rendering_mode': 'RenderingMode'
53
59
  }
54
60
 
55
- def __init__(self, page_numbering=None, **kwargs): # noqa: E501
61
+ def __init__(self, page_numbering=None, encoding=None, use_pdf=None, rendering_mode=None, **kwargs): # noqa: E501
56
62
  """Initializes new instance of WebLoadOptions""" # noqa: E501
57
63
 
58
64
  self._page_numbering = None
65
+ self._encoding = None
66
+ self._use_pdf = None
67
+ self._rendering_mode = None
59
68
 
60
69
  if page_numbering is not None:
61
70
  self.page_numbering = page_numbering
71
+ if encoding is not None:
72
+ self.encoding = encoding
73
+ if use_pdf is not None:
74
+ self.use_pdf = use_pdf
75
+ if rendering_mode is not None:
76
+ self.rendering_mode = rendering_mode
62
77
 
63
78
  base = super(WebLoadOptions, self)
64
79
  base.__init__(**kwargs)
@@ -91,6 +106,90 @@ class WebLoadOptions(LoadOptions):
91
106
  if page_numbering is None:
92
107
  raise ValueError("Invalid value for `page_numbering`, must not be `None`") # noqa: E501
93
108
  self._page_numbering = page_numbering
109
+
110
+ @property
111
+ def encoding(self):
112
+ """
113
+ Gets the encoding. # noqa: E501
114
+
115
+ Get or sets the encoding to be used when loading the web document. If the property is null the encoding will be determined from document character set attribute # noqa: E501
116
+
117
+ :return: The encoding. # noqa: E501
118
+ :rtype: str
119
+ """
120
+ return self._encoding
121
+
122
+ @encoding.setter
123
+ def encoding(self, encoding):
124
+ """
125
+ Sets the encoding.
126
+
127
+ Get or sets the encoding to be used when loading the web document. If the property is null the encoding will be determined from document character set attribute # noqa: E501
128
+
129
+ :param encoding: The encoding. # noqa: E501
130
+ :type: str
131
+ """
132
+ self._encoding = encoding
133
+
134
+ @property
135
+ def use_pdf(self):
136
+ """
137
+ Gets the use_pdf. # noqa: E501
138
+
139
+ Use pdf for the conversion. Default: false # noqa: E501
140
+
141
+ :return: The use_pdf. # noqa: E501
142
+ :rtype: bool
143
+ """
144
+ return self._use_pdf
145
+
146
+ @use_pdf.setter
147
+ def use_pdf(self, use_pdf):
148
+ """
149
+ Sets the use_pdf.
150
+
151
+ Use pdf for the conversion. Default: false # noqa: E501
152
+
153
+ :param use_pdf: The use_pdf. # noqa: E501
154
+ :type: bool
155
+ """
156
+ if use_pdf is None:
157
+ raise ValueError("Invalid value for `use_pdf`, must not be `None`") # noqa: E501
158
+ self._use_pdf = use_pdf
159
+
160
+ @property
161
+ def rendering_mode(self):
162
+ """
163
+ Gets the rendering_mode. # noqa: E501
164
+
165
+ Controls how HTML content is rendered. Default: AbsolutePositioning # noqa: E501
166
+
167
+ :return: The rendering_mode. # noqa: E501
168
+ :rtype: str
169
+ """
170
+ return self._rendering_mode
171
+
172
+ @rendering_mode.setter
173
+ def rendering_mode(self, rendering_mode):
174
+ """
175
+ Sets the rendering_mode.
176
+
177
+ Controls how HTML content is rendered. Default: AbsolutePositioning # noqa: E501
178
+
179
+ :param rendering_mode: The rendering_mode. # noqa: E501
180
+ :type: str
181
+ """
182
+ if rendering_mode is None:
183
+ raise ValueError("Invalid value for `rendering_mode`, must not be `None`") # noqa: E501
184
+ allowed_values = ["Flow", "AbsolutePositioning"] # noqa: E501
185
+ if not rendering_mode.isdigit():
186
+ if rendering_mode not in allowed_values:
187
+ raise ValueError(
188
+ "Invalid value for `rendering_mode` ({0}), must be one of {1}" # noqa: E501
189
+ .format(rendering_mode, allowed_values))
190
+ self._rendering_mode = rendering_mode
191
+ else:
192
+ self._rendering_mode = allowed_values[int(rendering_mode) if six.PY3 else long(rendering_mode)]
94
193
 
95
194
  def to_dict(self):
96
195
  """Returns the model properties as a dict"""
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: groupdocs-conversion-cloud
3
- Version: 24.8
3
+ Version: 24.11
4
4
  Summary: GroupDocs.Conversion Cloud Python SDK
5
5
  Home-page: http://github.com/groupdocs-conversion-cloud/groupdocs-conversion-cloud-python
6
6
  Author: GroupDocs
@@ -17,8 +17,8 @@ Classifier: Programming Language :: Python :: 3.6
17
17
  Classifier: Programming Language :: Python :: 3.7
18
18
  Description-Content-Type: text/markdown
19
19
  License-File: LICENSE
20
- Requires-Dist: urllib3 >=1.15
21
- Requires-Dist: six >=1.10
20
+ Requires-Dist: urllib3>=1.15
21
+ Requires-Dist: six>=1.10
22
22
  Requires-Dist: certifi
23
23
  Requires-Dist: python-dateutil
24
24
 
@@ -1,8 +1,8 @@
1
1
  groupdocs_conversion_cloud/__init__.py,sha256=bgS8QYCgFOSsoxaZd2rbEuIXsHUcWxk4e8IfpOoKlig,16232
2
- groupdocs_conversion_cloud/api_client.py,sha256=7dNvqdZ7Qk9DtcUadS6Xn7y3OHVZuEs3joIkcJ6er10,26255
2
+ groupdocs_conversion_cloud/api_client.py,sha256=botnUSl0u-Ktf8GAJyiNq7q12meps0NaNQfYyAjC1yE,26257
3
3
  groupdocs_conversion_cloud/api_exception.py,sha256=T6GNNC35Vtagbu5LdD37pRZbMzCrEgb0_lqhdAmT7yE,2674
4
4
  groupdocs_conversion_cloud/auth.py,sha256=aQszQ0RPOx3-8Osx5XGZU5PkQYiL5snZHDyyfF_EiGs,3307
5
- groupdocs_conversion_cloud/configuration.py,sha256=WVHWu2IuCVo4-mqMYaQngcwuptiIWp5xmVJRQD4rIa4,7681
5
+ groupdocs_conversion_cloud/configuration.py,sha256=xnTaxSvCsMYiyRfGBkEgjy_i23bT1vwA3-O4trmA_ys,7683
6
6
  groupdocs_conversion_cloud/rest.py,sha256=EVIuZpi0F2-ZYF3O1omyJr5-B4bNKh_Jx9I49VvN4GQ,13739
7
7
  groupdocs_conversion_cloud/apis/__init__.py,sha256=3Ym0gZeACRN-srnslZn5DTM0zfp0EiAgA_FwWIgFteU,533
8
8
  groupdocs_conversion_cloud/apis/async_api.py,sha256=7rE_66UJzTaQd3m79741uJNhRqo53JATGiOWloBLEag,27368
@@ -168,7 +168,7 @@ groupdocs_conversion_cloud/models/vsx_load_options.py,sha256=2qCdU5v-Q402hDRdhuw
168
168
  groupdocs_conversion_cloud/models/vtx_load_options.py,sha256=6XkTsEBV8V5kgkHFwZJCdOXIxm_TemMSOf-_SWRs4JI,3715
169
169
  groupdocs_conversion_cloud/models/watermark_options.py,sha256=JxhkaXwT7CIfYEw3xtGBN2ZRnrqbOIIF76s_Zuc9D5M,16187
170
170
  groupdocs_conversion_cloud/models/web_convert_options.py,sha256=TyqT3mjMuvzd79SvoodOtboEx4aXYRthXHO3MwPAMqI,7852
171
- groupdocs_conversion_cloud/models/web_load_options.py,sha256=Eyrc4aHTeTk-2N9LjIpGSuHopJItB5mI6T7eCtvROiA,4810
171
+ groupdocs_conversion_cloud/models/web_load_options.py,sha256=KdZvUCAj-R0Ad9gOovBfAsiK3EbICKYjDOiR44QNjN4,8210
172
172
  groupdocs_conversion_cloud/models/webp_convert_options.py,sha256=aJfGTACqHblGdnugCKLmEvH8xLIpAh2m3BGWoWsuNsM,4675
173
173
  groupdocs_conversion_cloud/models/webp_load_options.py,sha256=rFh5VJKT_4qe1LT0b345FewpEdCp7jF0ylpyOe2Cz0A,3717
174
174
  groupdocs_conversion_cloud/models/wmf_convert_options.py,sha256=tZlw7Dx1eFVqD0yscG6c-gP7qiOOlFCAVhywrgQMg9c,3735
@@ -201,8 +201,8 @@ test/apis/test_file_api.py,sha256=r_dk6swFFsNL1gUXmDQP4bN7NzpjdvAke4lvuhiF8qQ,38
201
201
  test/apis/test_folder_api.py,sha256=MBFNyHFZGPD6e316JGe8zaFT5ArZQvrc95SW1z3OIB0,3150
202
202
  test/apis/test_info_api.py,sha256=LpdHt7IpXngfeKzQW4SFJIT_JVV19svwwiibKQgq7XE,2972
203
203
  test/apis/test_storage_api.py,sha256=GpKoJIpv_Sq7j8jPPSXr2DnCJzxPwU8m4PlUkrKrJdo,2735
204
- groupdocs_conversion_cloud-24.8.dist-info/LICENSE,sha256=Q7-vrpo6A1xjL5SlSuhiE88PxHSP9tF_RA9s5IlfznE,1105
205
- groupdocs_conversion_cloud-24.8.dist-info/METADATA,sha256=z03pwFQE1OUig80gh6Cq8tvBX9TVJPrSESHvejtvEvI,3149
206
- groupdocs_conversion_cloud-24.8.dist-info/WHEEL,sha256=R0nc6qTxuoLk7ShA2_Y-UWkN8ZdfDBG2B6Eqpz2WXbs,91
207
- groupdocs_conversion_cloud-24.8.dist-info/top_level.txt,sha256=QSw6h5GXn7SFkzZ5fIiGyHwma3Buwqb32LfNpDAu1rI,32
208
- groupdocs_conversion_cloud-24.8.dist-info/RECORD,,
204
+ groupdocs_conversion_cloud-24.11.dist-info/LICENSE,sha256=Q7-vrpo6A1xjL5SlSuhiE88PxHSP9tF_RA9s5IlfznE,1105
205
+ groupdocs_conversion_cloud-24.11.dist-info/METADATA,sha256=V-0zVSXQMKuTxnWWBowFDRmFE58e3D5EqS5mSQCsgIY,3148
206
+ groupdocs_conversion_cloud-24.11.dist-info/WHEEL,sha256=P9jw-gEje8ByB7_hXoICnHtVCrEwMQh-630tKvQWehc,91
207
+ groupdocs_conversion_cloud-24.11.dist-info/top_level.txt,sha256=QSw6h5GXn7SFkzZ5fIiGyHwma3Buwqb32LfNpDAu1rI,32
208
+ groupdocs_conversion_cloud-24.11.dist-info/RECORD,,
@@ -1,5 +1,5 @@
1
1
  Wheel-Version: 1.0
2
- Generator: setuptools (72.1.0)
2
+ Generator: setuptools (75.3.0)
3
3
  Root-Is-Purelib: true
4
4
  Tag: py3-none-any
5
5