aspose-html-net 25.5.0__py3-none-manylinux1_x86_64.whl → 25.7.0__py3-none-manylinux1_x86_64.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.
- aspose/assemblies/html/Aspose.HTML.dll +0 -0
- aspose/assemblies/html/WrpInterop.Aspose.Html.dll +0 -0
- aspose/html/__init__.pyi +3367 -2025
- aspose/html/collections/__init__.pyi +4 -4
- aspose/html/dom/__init__.pyi +778 -404
- aspose/html/dom/canvas/__init__.pyi +2 -2
- aspose/html/dom/css/__init__.pyi +12 -11
- aspose/html/dom/events/__init__.pyi +20 -20
- aspose/html/dom/mutations/__init__.pyi +4 -4
- aspose/html/dom/svg/__init__.pyi +2726 -1627
- aspose/html/dom/svg/datatypes/__init__.pyi +52 -52
- aspose/html/dom/svg/events/__init__.pyi +4 -4
- aspose/html/dom/svg/filters/__init__.pyi +1375 -825
- aspose/html/dom/svg/paths/__init__.pyi +42 -42
- aspose/html/rendering/__init__.pyi +8 -0
- aspose/html/window/__init__.pyi +18 -7
- aspose/html.cpython-310-x86_64-linux-gnu.so +0 -0
- aspose/html.cpython-311-x86_64-linux-gnu.so +0 -0
- aspose/html.cpython-313-x86_64-linux-gnu.so +0 -0
- aspose/html.cpython-35m-x86_64-linux-gnu.so +0 -0
- aspose/html.cpython-36m-x86_64-linux-gnu.so +0 -0
- aspose/html.cpython-37m-x86_64-linux-gnu.so +0 -0
- aspose/html.cpython-38-x86_64-linux-gnu.so +0 -0
- aspose/html.cpython-39-x86_64-linux-gnu.so +0 -0
- aspose_html_net-25.7.0.dist-info/METADATA +224 -0
- {aspose_html_net-25.5.0.dist-info → aspose_html_net-25.7.0.dist-info}/RECORD +29 -29
- aspose_html_net-25.5.0.dist-info/METADATA +0 -114
- {aspose_html_net-25.5.0.dist-info → aspose_html_net-25.7.0.dist-info}/WHEEL +0 -0
- {aspose_html_net-25.5.0.dist-info → aspose_html_net-25.7.0.dist-info}/entry_points.txt +0 -0
- {aspose_html_net-25.5.0.dist-info → aspose_html_net-25.7.0.dist-info}/top_level.txt +0 -0
@@ -1,21 +1,21 @@
|
|
1
|
-
aspose/html/__init__.pyi,sha256=
|
1
|
+
aspose/html/__init__.pyi,sha256=Fqw39WXqRLDHfx-_EoajK3Ap8TOxIGQjqoOLhdyUyiw,1837964
|
2
2
|
aspose/html/accessibility/__init__.pyi,sha256=_y3-Hz1xBjlZFA2WcN7WG6lEl-zhKBNd4emhU9qqFu4,15392
|
3
3
|
aspose/html/accessibility/results/__init__.pyi,sha256=HK0Is0UJG7NJ08s5N2kN6E3yz4OVw82XB4weJ0caHmw,3367
|
4
4
|
aspose/html/accessibility/saving/__init__.pyi,sha256=xJFHL-vBz5QmrOlSpzmgNVgqBl3KHP3BuKCg97wmQdk,2371
|
5
|
-
aspose/html/collections/__init__.pyi,sha256=
|
5
|
+
aspose/html/collections/__init__.pyi,sha256=ynh7P8vsTNq5bSmtcwPgHkf4Dp4Coy5chglOgZo-LQY,9323
|
6
6
|
aspose/html/converters/__init__.pyi,sha256=Gfz2HdPlJqFahOeBKoVKVdbHR0ZALvkad-zoyKlNHlI,136024
|
7
7
|
aspose/html/diagnostics/__init__.pyi,sha256=G6HxAZZr3q8ytgF3c5ftpOpZOWM_xXy2nKfRQ-AjV6c,2468
|
8
|
-
aspose/html/dom/__init__.pyi,sha256=
|
8
|
+
aspose/html/dom/__init__.pyi,sha256=gsdT0jag8LzPNEe-kb7bFdITYekhUv_hAI6ZwHcJILA,320919
|
9
9
|
aspose/html/dom/attributes/__init__.pyi,sha256=JZYklzF6lGG8VJVRaiPggOOk4L45vYIlHh5e7JU1gKQ,4029
|
10
|
-
aspose/html/dom/canvas/__init__.pyi,sha256=
|
11
|
-
aspose/html/dom/css/__init__.pyi,sha256=
|
12
|
-
aspose/html/dom/events/__init__.pyi,sha256=
|
13
|
-
aspose/html/dom/mutations/__init__.pyi,sha256=
|
14
|
-
aspose/html/dom/svg/__init__.pyi,sha256=
|
15
|
-
aspose/html/dom/svg/datatypes/__init__.pyi,sha256=
|
16
|
-
aspose/html/dom/svg/events/__init__.pyi,sha256=
|
17
|
-
aspose/html/dom/svg/filters/__init__.pyi,sha256=
|
18
|
-
aspose/html/dom/svg/paths/__init__.pyi,sha256=
|
10
|
+
aspose/html/dom/canvas/__init__.pyi,sha256=WyFJfu6CuZywNSy1rvjLiYv7FLGqDaWLoL9H-27Elsc,51868
|
11
|
+
aspose/html/dom/css/__init__.pyi,sha256=bJ9WcHj5ZN1esKmjcYNcDmboypO1dAyeU-9efgU3gdQ,93106
|
12
|
+
aspose/html/dom/events/__init__.pyi,sha256=LMdIvHkw4TIZg2FshjsKXcrlDXC7j9CjljQfCjZJRiE,50887
|
13
|
+
aspose/html/dom/mutations/__init__.pyi,sha256=_lR2KrfT5Cf8nIB0kxydOZo-ggTqZJN0ZQr_wzx7EA0,9339
|
14
|
+
aspose/html/dom/svg/__init__.pyi,sha256=VYLELAXcDUBgk6w37OZ5y2TvUZQSec_whDj0bjuf1AE,1472138
|
15
|
+
aspose/html/dom/svg/datatypes/__init__.pyi,sha256=f7hzhyqmUXA1dAN09IArfTv-Lm4m5toVRb-HV9zivL4,40381
|
16
|
+
aspose/html/dom/svg/events/__init__.pyi,sha256=5R6tslFJS-Kqw0tOh_DFmZDtsWZLnuYWcsQXn3fgG6Y,9859
|
17
|
+
aspose/html/dom/svg/filters/__init__.pyi,sha256=OlBQyaoM9h-adpku9v4jfavgr_sTUMffSHt_4K2QBm0,725881
|
18
|
+
aspose/html/dom/svg/paths/__init__.pyi,sha256=x9BjJRWEBfzCppTK0bXvfbhefe5_OjMylIskZ-xbr58,101633
|
19
19
|
aspose/html/dom/svg/saving/__init__.pyi,sha256=dtaQi1V77-ZWDkhPuu_FJ_NPNeMRr3sIclpigmVe_nI,2449
|
20
20
|
aspose/html/dom/traversal/__init__.pyi,sha256=NM_s8MNbuD6u8DkkLkd3Cxl4TtBxHYWQAXAiMxLlYHc,19285
|
21
21
|
aspose/html/dom/traversal/filters/__init__.pyi,sha256=I3UqxZvtjZmlEiTjv2fMDD6ZOvz6VUgfjsL3wO9fDVU,6377
|
@@ -29,7 +29,7 @@ aspose/html/net/__init__.pyi,sha256=Pgm0N1uT_AaY6KBAs4rBTEbjBWReGoxF28HWh9J1EqM,
|
|
29
29
|
aspose/html/net/headers/__init__.pyi,sha256=mbR_gX6ppYMUIQhWdhhP0idhwG13G8mWhi9095xl39I,3781
|
30
30
|
aspose/html/net/messagefilters/__init__.pyi,sha256=oxK3kODcFEcKZ4Ez6He9WRmwEhQ9mQLemDWkmCEzdMQ,2346
|
31
31
|
aspose/html/net/messagehandlers/__init__.pyi,sha256=E1bXRXE0vRIxWyHjSqr0DAkLCSH2qAuCd-t4ixLw7kc,3410
|
32
|
-
aspose/html/rendering/__init__.pyi,sha256=
|
32
|
+
aspose/html/rendering/__init__.pyi,sha256=L-be27TQlApv9xtHgYSz43gevgeqipmMGTo3b-Y27HU,26292
|
33
33
|
aspose/html/rendering/doc/__init__.pyi,sha256=xm25lSjGCbKugWtMnW8UGwgW-PQUDecfS_TqR9Jjprg,9962
|
34
34
|
aspose/html/rendering/fonts/__init__.pyi,sha256=NC0tlTkHxQsuTWh04IgPhytMGvf7vbwz5vLwzbeAc7o,3027
|
35
35
|
aspose/html/rendering/image/__init__.pyi,sha256=ZvP7n3E-P3khlB1xNoskCKcxxOhKMxLInXru8hAJIq0,8680
|
@@ -48,16 +48,16 @@ aspose/html/toolkit/markdown/syntax/parser/extensions/__init__.pyi,sha256=aNSmzd
|
|
48
48
|
aspose/html/toolkit/markdown/syntax/parser/extensions/gfm/__init__.pyi,sha256=3A6p27Cxujctaz860JPLKA9dYvGZ8sxbH5bZB6gUUxU,2192
|
49
49
|
aspose/html/toolkit/markdown/syntax/text/__init__.pyi,sha256=ie7eNsE_xdzDipof40LPnAPyWXV9l6lwPuXP7sVAG0Y,10494
|
50
50
|
aspose/html/toolkit/optimizers/__init__.pyi,sha256=aGegLBHHcasELmZdgCe43_xFOTcOVAHZ_eFFBSyhWQk,6442
|
51
|
-
aspose/html/window/__init__.pyi,sha256=
|
51
|
+
aspose/html/window/__init__.pyi,sha256=voPSQu-nno8xjCIiKs2HNTM0OY06ZEijOzAbdT_FEME,24865
|
52
52
|
aspose/__init__.py,sha256=BZzm7zoBt2MkmKtNe7cyCVeUKSx7QjTyZke3W5jbaAE,3188
|
53
|
-
aspose/html.cpython-310-x86_64-linux-gnu.so,sha256=
|
54
|
-
aspose/html.cpython-311-x86_64-linux-gnu.so,sha256=
|
55
|
-
aspose/html.cpython-313-x86_64-linux-gnu.so,sha256=
|
56
|
-
aspose/html.cpython-35m-x86_64-linux-gnu.so,sha256=
|
57
|
-
aspose/html.cpython-36m-x86_64-linux-gnu.so,sha256=
|
58
|
-
aspose/html.cpython-37m-x86_64-linux-gnu.so,sha256=
|
59
|
-
aspose/html.cpython-38-x86_64-linux-gnu.so,sha256=
|
60
|
-
aspose/html.cpython-39-x86_64-linux-gnu.so,sha256=
|
53
|
+
aspose/html.cpython-310-x86_64-linux-gnu.so,sha256=LLQcImmY25kPbBDv9Kg1pOLioZCC609LHLpKyIPc_28,13278680
|
54
|
+
aspose/html.cpython-311-x86_64-linux-gnu.so,sha256=fMJMj_VQgPErAb7G16tjxifi8I1xNNcztACkf7rMhZ4,13278672
|
55
|
+
aspose/html.cpython-313-x86_64-linux-gnu.so,sha256=vd6ar6c7rLZrlOnJlXIticQ4hPwUsu7Y4e7EptOqyxE,13453936
|
56
|
+
aspose/html.cpython-35m-x86_64-linux-gnu.so,sha256=urQcIUZrtqUSGp_dogEFBhgJ0ZFDP7AV4wCP00QOHXI,13220072
|
57
|
+
aspose/html.cpython-36m-x86_64-linux-gnu.so,sha256=FrNzmR9adakRcPS3taqf6fWkgLjXrOYySieCo9LFkvI,13220072
|
58
|
+
aspose/html.cpython-37m-x86_64-linux-gnu.so,sha256=TRR9LLtyUhQusXtOUfI5FQVnDwDx2qBw_sJR6_mH-L4,13220032
|
59
|
+
aspose/html.cpython-38-x86_64-linux-gnu.so,sha256=JTuWdG0dUq3mgYblFJ_1T99yxrSkQW03-g4rPTtvEJ8,13270384
|
60
|
+
aspose/html.cpython-39-x86_64-linux-gnu.so,sha256=pU580IUzPzd6dxQ6g8GbTm2ZEWK9RJxcbXhhNtegBM0,13278696
|
61
61
|
aspose/pycore.cpython-310-x86_64-linux-gnu.so,sha256=MJJqnWv03T03alL5kuR3hNRVpZdVCJgrAVPTkVdggfM,171072
|
62
62
|
aspose/pycore.cpython-311-x86_64-linux-gnu.so,sha256=BzFQggLQGVyx8UOyd6ELT4QD1pjU-WMu_90jTqqLHrM,171072
|
63
63
|
aspose/pycore.cpython-313-x86_64-linux-gnu.so,sha256=WgF2vmP68v4NJTK6EoqB1xwNfZauJwZbeW01uqpKv8U,171016
|
@@ -92,7 +92,7 @@ aspose/pyreflection.cpython-38-x86_64-linux-gnu.so,sha256=ff2CzzjYLyo4TYPElZXxzY
|
|
92
92
|
aspose/pyreflection.cpython-39-x86_64-linux-gnu.so,sha256=ejlT4FnfrWlL6XGOcQhb1DAWTrEuVTgpHlqHboILRo8,666496
|
93
93
|
aspose/__pyinstaller/__init__.pyi,sha256=JUQjpLnZGSJEDwHrogA4y1SSuAI9uGQxXL40_PPuGes,31
|
94
94
|
aspose/__pyinstaller/hook-aspose.py,sha256=G2uQAF1mgFtEjkZFyvcElHUEzLLoFGdqVOMAs9bsTi0,258
|
95
|
-
aspose/assemblies/html/Aspose.HTML.dll,sha256=
|
95
|
+
aspose/assemblies/html/Aspose.HTML.dll,sha256=bEVpCOjqH011Qcy-5PIj8dxg74tviFejf_4q999JmTU,8944992
|
96
96
|
aspose/assemblies/html/Microsoft.Extensions.Logging.Abstractions.dll,sha256=ugmwtqiRElj4isMBMibMwG59NCgNiQb_IGZvvYEtOvQ,66176
|
97
97
|
aspose/assemblies/html/Microsoft.Win32.SystemEvents.dll,sha256=QV6B1p_dQJO7qHvPN0JZr5UKKFp-s9zZSnViNcpgVN8,27528
|
98
98
|
aspose/assemblies/html/System.Diagnostics.DiagnosticSource.dll,sha256=-GyWeDxbygECfqj6Vrr75_1lzdDcJb9OxfZoHsn6t1Q,159872
|
@@ -102,7 +102,7 @@ aspose/assemblies/html/System.Security.AccessControl.dll,sha256=kwhIScF6IfZBwTyf
|
|
102
102
|
aspose/assemblies/html/System.Security.Permissions.dll,sha256=Fc4jFXYMaWW2W3h8IdcgJ75gPchQugiuaBea-ERGco4,97160
|
103
103
|
aspose/assemblies/html/System.Security.Principal.Windows.dll,sha256=9HDH7g-Z9c6qJfUZcJiM-83b4PjdhJHKPpz0-fUv23U,37768
|
104
104
|
aspose/assemblies/html/System.Windows.Extensions.dll,sha256=BbG3Acl8iXmfE3LuNvbKYS6X2odUBKq_rEdnj-dGEos,25480
|
105
|
-
aspose/assemblies/html/WrpInterop.Aspose.Html.dll,sha256=
|
105
|
+
aspose/assemblies/html/WrpInterop.Aspose.Html.dll,sha256=THI1XhDtOgUHTs8AM8HvEUrgTCmE2SI72qOm7HSqauk,1249792
|
106
106
|
aspose/assemblies/pycore/WrpInterop.Aspose.PyCore.dll,sha256=FpZww8Viow3BxyQptCxPKo7dVYTDqs5eL2_1aFi8_Wc,93696
|
107
107
|
aspose/assemblies/pydrawing/Microsoft.Win32.SystemEvents.dll,sha256=QV6B1p_dQJO7qHvPN0JZr5UKKFp-s9zZSnViNcpgVN8,27528
|
108
108
|
aspose/assemblies/pydrawing/System.Drawing.Common.dll,sha256=-Jy68TM39pwgsw9ojLHIK5U-YBC2a81c9yMGYaqXd48,419720
|
@@ -313,8 +313,8 @@ aspose/pygc/__pyinstaller/hook-aspose.pygc.py,sha256=6R0gEknOsHoQBZRHzyvgD4-PU30
|
|
313
313
|
aspose/pyreflection/__init__.pyi,sha256=m1gNKyNjs7AAirNANAXD4Pp6USsE77y4cXIudmqePW8,257
|
314
314
|
aspose/pyreflection/__pyinstaller/__init__.pyi,sha256=micugwtjBQx5QHPQ3sjszDmdDrh_j6WEf2rIgmQEQtg,30
|
315
315
|
aspose/pyreflection/__pyinstaller/hook-aspose.pyreflection.py,sha256=KhNCbh91nfinnu94UllN04QVKgzGfhV8briC6xbCK9o,272
|
316
|
-
aspose_html_net-25.
|
317
|
-
aspose_html_net-25.
|
318
|
-
aspose_html_net-25.
|
319
|
-
aspose_html_net-25.
|
320
|
-
aspose_html_net-25.
|
316
|
+
aspose_html_net-25.7.0.dist-info/METADATA,sha256=lxbZy4b8a5XV6sGYp2nyL0aGVUCnoS1HhdEoafrZHYg,13978
|
317
|
+
aspose_html_net-25.7.0.dist-info/WHEEL,sha256=-kQi_VMfvRQozZJT7HUPMfY-5vLo0LVTmAylNJ3Ft98,106
|
318
|
+
aspose_html_net-25.7.0.dist-info/entry_points.txt,sha256=ncOOUOA7P4CKYv0p9YBs_Erf12mciNs3kqNIdTh4bvw,67
|
319
|
+
aspose_html_net-25.7.0.dist-info/top_level.txt,sha256=oaVLKmiUSo0u7EtpqKJ11ARBx8ZWhYuUXJdy-lByYWg,7
|
320
|
+
aspose_html_net-25.7.0.dist-info/RECORD,,
|
@@ -1,114 +0,0 @@
|
|
1
|
-
Metadata-Version: 2.1
|
2
|
-
Name: aspose-html-net
|
3
|
-
Version: 25.5.0
|
4
|
-
Summary: Aspose.HTML for Python via .NET is a powerful API for Python that provides a headless browser functionality, allowing you to work with HTML documents in a variety of ways. With this API, you can easily create new HTML documents or open existing ones from different sources. Once you have the document, you can perform various manipulation operations, such as removing and replacing HTML nodes.
|
5
|
-
Home-page: https://products.aspose.com/html/python-net/
|
6
|
-
Author: Aspose
|
7
|
-
License: UNKNOWN
|
8
|
-
Project-URL: Docs, https://docs.aspose.com/html/python-net/
|
9
|
-
Project-URL: Release Notes, https://releases.aspose.com/html/python-net/release-notes/2025/aspose-html-for-python-via-dotnet-25-5-release-notes/
|
10
|
-
Project-URL: Demos, https://products.aspose.app/html/applications
|
11
|
-
Project-URL: API Reference, https://reference.aspose.com/html/python-net/
|
12
|
-
Project-URL: Examples, https://github.com/aspose-html/
|
13
|
-
Project-URL: Blog, https://blog.aspose.com/category/html/
|
14
|
-
Project-URL: Free Support, https://forum.aspose.com/c/html/29
|
15
|
-
Project-URL: Temporary License, https://purchase.aspose.com/temporary-license
|
16
|
-
Keywords: Aspose,Aspose.HTML,Aspose.Total,Python,Component,Conholdate,Conholdate.Total,convert,converter,vectorization,vectorizer,vectorize,encoding,base64,css,DOM,dom-manipulation,image,JPEG,Library,Microsoft,mvc,net-standard,netcore,netstandard,to PDF,PNG,rotate,security,Standard,XPath,XPS,SVG,Windows,Vector Graphics,line,Bezier Curves,Cubic,Glyphs,Paths,Text,Scaling,Rotation,Skewing,Fill,Dots,Bitmap,HTML,HTML-to-Image,HTML-to-PDF,HTML-to-XPS,HTML-to-DOCX,HTML-to-MHTML,HTML-to-Markdown,HTML-to-MD,EPUB-to-Image,EPUB-to-PDF,EPUB-to-XPS,Markdown-to-HTML,MD-to-HTML,HTML-Template,HTML-Converter,HTML-Renderer,SVG-Renderer,MHTML-Renderer,EPUB-Renderer,HTML5,HTML5-Canvas,HTML-DOM,HTML-Form-Editor,HTML,XHTML,MHTML,EPUB,SVG,MD,Markdown,DOCX,PDF,XPS,TIFF,JPEG,JPG,PNG,BMP,GIF,WEBP,eBook-API,Headless-Browser,Document-Manipulation,Web-Scraping,Conversion,Crawler,Hypertext,Markup,XPath,Spider,CSS,CSS3,Converter,DOM,Convert,Azure,parse,render,image,graphics,to HTML-code,XHTML-to-PDF,MHTML-to-PDF,HTML-to-GIF,MHTML-to-JPG
|
17
|
-
Platform: linux_x86_64
|
18
|
-
Classifier: Operating System :: Microsoft :: Windows
|
19
|
-
Classifier: Operating System :: POSIX :: Linux
|
20
|
-
Classifier: License :: Other/Proprietary License
|
21
|
-
Classifier: Programming Language :: Python :: 3
|
22
|
-
Classifier: Programming Language :: Python :: 3 :: Only
|
23
|
-
Classifier: Programming Language :: Python :: 3.8
|
24
|
-
Classifier: Programming Language :: Python :: 3.9
|
25
|
-
Classifier: Programming Language :: Python :: 3.10
|
26
|
-
Classifier: Programming Language :: Python :: 3.11
|
27
|
-
Classifier: Programming Language :: Python :: 3.13
|
28
|
-
Classifier: Topic :: Software Development :: Libraries
|
29
|
-
Classifier: Topic :: Office/Business
|
30
|
-
Classifier: Topic :: Office/Business :: Scheduling
|
31
|
-
Requires-Python: >=3.5,<3.14
|
32
|
-
Description-Content-Type: text/markdown
|
33
|
-
|
34
|
-
# Process & Manipulate HTML via Python API
|
35
|
-
|
36
|
-
<!--- banner links to [Temporary License](https://purchase.aspose.com/temporary-license) -->
|
37
|
-
[](https://purchase.aspose.com/temporary-license)
|
38
|
-
|
39
|
-
[Product Page](https://products.aspose.com/html/python-net/) | [Docs](https://docs.aspose.com/html/python-net/) | [Demos](https://products.aspose.app/html/applications) | [API Reference](https://reference.aspose.com/html/python-net/) | [Examples](https://github.com/aspose-html/) | [Blog](https://blog.aspose.com/category/html/) | [Search](https://search.aspose.com/) | [Free Support](https://forum.aspose.com/c/html/29)
|
40
|
-
|
41
|
-
[Aspose.HTML for Python via .NET](https://products.aspose.com/html/python-net/) is a powerful API for Python that provides headless browser functionality, allowing you to work with HTML documents. With this API, you can easily create new HTML documents or open existing ones from different sources. Once you have the document, you can perform various manipulation operations, such as removing and replacing HTML nodes, rendering, and converting HTML to other popular formats, etc.
|
42
|
-
|
43
|
-
## HTML API Features
|
44
|
-
|
45
|
-
The following are some popular features of Aspose.HTML for Python via .NET:
|
46
|
-
|
47
|
-
- Convert HTML documents to a wide range of formats, including PDF, XPS, DOCX, and different image formats (PNG, JPEG, BMP, TIFF, and GIF).
|
48
|
-
- Load and convert SVG and EPUB to XPS, PDF, and images.
|
49
|
-
- Navigate through documents using either NodeIterator or TreeWalker.
|
50
|
-
- Set and control the timeout for the rendering process.
|
51
|
-
- Use MutationObserver to monitor DOM modifications.
|
52
|
-
- Populate HTML documents with external data sources such as XML and JSON.
|
53
|
-
- Support for both single (PDF, XPS) and multiple (image formats) output file streams.
|
54
|
-
- Extract CSS styling information from HTML documents.
|
55
|
-
- Configure a Sandbox environment that is independent of the execution machine, ensuring a secure and isolated environment for running and testing.
|
56
|
-
|
57
|
-
## Read & Write Web Formats
|
58
|
-
|
59
|
-
- Web: HTML, XHTML, MHTML
|
60
|
-
- Other: SVG, MD (Markdown)
|
61
|
-
|
62
|
-
## Save HTML As
|
63
|
-
|
64
|
-
- Fixed Layout: PDF, XPS
|
65
|
-
- Images: TIFF, JPEG, PNG, BMP, GIF
|
66
|
-
|
67
|
-
## Read Formats
|
68
|
-
|
69
|
-
- EPUB
|
70
|
-
|
71
|
-
## Platform Independence
|
72
|
-
|
73
|
-
Aspose.HTML for Python via .NET can be used to develop applications for a vast range of operating systems, such as Windows, where Python 3.5 or later is installed. You can build both 32-bit and 64-bit Python applications.
|
74
|
-
|
75
|
-
## Get Started
|
76
|
-
|
77
|
-
Are you ready to give Aspose.HTML for Python via .NET a try?
|
78
|
-
|
79
|
-
Simply run ```pip install aspose-html-net``` from the Console to fetch the package.
|
80
|
-
If you already have Aspose.HTML for Python via .NET and want to upgrade the version, please run ```pip install --upgrade aspose-html-net``` to get the latest version.
|
81
|
-
|
82
|
-
You can run the following snippets in your environment to see how Aspose.HTML works, or check out the [GitHub Repository](https://github.com/aspose-html/) or [Aspose.HTML for Python via .NET Documentation](https://docs.aspose.com/html/python-net/) for other common use cases.
|
83
|
-
|
84
|
-
## Using Python to Convert HTML to Markdown (MD)
|
85
|
-
|
86
|
-
Aspose.HTML for Python via .NET allows you to convert HTML to PDF, XPS, Markdown, MHTML, PNG, JPEG, and other file formats. The following snippet demonstrates the conversion from HTML to GIT-based Markdown (MD) Format:
|
87
|
-
|
88
|
-
```python
|
89
|
-
import os
|
90
|
-
from aspose.html import *
|
91
|
-
from aspose.html.converters import *
|
92
|
-
from aspose.html.saving import *
|
93
|
-
|
94
|
-
# Setup directories
|
95
|
-
output_folder = "output/"
|
96
|
-
input_folder = "data/"
|
97
|
-
if not os.path.exists(output_folder):
|
98
|
-
os.makedirs(output_folder)
|
99
|
-
|
100
|
-
# Prepare an HTML code and save it to the file
|
101
|
-
code = "<h1>Header 1</h1>" \
|
102
|
-
"<h2>Header 2</h2>" \
|
103
|
-
"<p>Hello World!!</p>"
|
104
|
-
document_path = os.path.join(input_folder, 'document.html')
|
105
|
-
output_path = os.path.join(output_folder, 'output.md')
|
106
|
-
with open(document_path, 'w', encoding="utf-8") as f:
|
107
|
-
f.write(code)
|
108
|
-
f.close()
|
109
|
-
# Call convert_html method to convert HTML to Markdown.
|
110
|
-
Converter.convert_html(document_path, MarkdownSaveOptions.git, output_path)
|
111
|
-
```
|
112
|
-
|
113
|
-
[Product Page](https://products.aspose.com/html/python-net/) | [Docs](https://docs.aspose.com/html/python-net/) | [Demos](https://products.aspose.app/html/applications) | [API Reference](https://reference.aspose.com/html/python-net/) | [Examples](https://github.com/aspose-html/) | [Blog](https://blog.aspose.com/category/html/) | [Search](https://search.aspose.com/) | [Free Support](https://forum.aspose.com/c/html/29) | [Temporary License](https://purchase.aspose.com/temporary-license)
|
114
|
-
|
File without changes
|
File without changes
|
File without changes
|