aspose-html-net 25.5.0__py3-none-win32.whl → 25.7.0__py3-none-win32.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.
@@ -1,21 +1,21 @@
1
- aspose/html/__init__.pyi,sha256=1MQVfbDcP_iyyhtkCOENd9yTP4twM35GITI3UgU4j58,1646762
1
+ aspose/html/__init__.pyi,sha256=RsKLZnA2K-rBSj5La-IHmmbgaZnd-gVeujlvWDR7p6c,1880057
2
2
  aspose/html/accessibility/__init__.pyi,sha256=cProbeqJMU2xyc2b6LIDOfQlIn7uAqL5iDcNCn0QXpk,15861
3
3
  aspose/html/accessibility/results/__init__.pyi,sha256=FQIhvU6vjrMR6yhohyu2iZe-7uz1qHZU6gGw8IH1rb4,3473
4
4
  aspose/html/accessibility/saving/__init__.pyi,sha256=Pw0iy26CTAkfzYoC_l4DLIS-4-MG3j9MS1cMsv1y6R8,2449
5
- aspose/html/collections/__init__.pyi,sha256=Co-hfLEsHm3aBBSqxkoeoPPTloJCZLCZ7fQD6UocgrA,9609
5
+ aspose/html/collections/__init__.pyi,sha256=_QNSf9VpCMOvZgw21eNxiG4x8Z2cWGC3-T89o3ESuuE,9569
6
6
  aspose/html/converters/__init__.pyi,sha256=et0BMyVfbtydxEN7vga0iDJeIU84_BW3Od4cv-gfkH4,138817
7
7
  aspose/html/diagnostics/__init__.pyi,sha256=Y3gLNPbn_-0CGKGw9R-agG3hyBSfeGtcXeKJ5GHnI_c,2540
8
- aspose/html/dom/__init__.pyi,sha256=KPWVnIvZz3jglZB1GcXi-0nPd5BQyq_SlmZVVm3TO34,272439
8
+ aspose/html/dom/__init__.pyi,sha256=APLK671vRVGz45aoiubbJrzO9pspMTvL4XioU2inQVo,327749
9
9
  aspose/html/dom/attributes/__init__.pyi,sha256=690fS271IUVeWrgcPM9gCAdw7gDNXlScK0BuAB6jeZw,4173
10
- aspose/html/dom/canvas/__init__.pyi,sha256=I803lCpxEtt6NEuJu8FB5_I7sdWvtASz5NIpiF2rj40,52991
11
- aspose/html/dom/css/__init__.pyi,sha256=kVS5EAyO4I1Xc71pTE2rhdF12-VvUmfk-X8_BXUtTEY,96541
12
- aspose/html/dom/events/__init__.pyi,sha256=3Btu8Q9mRxi91P5wOZUf4ncfGd6qO-DEtFABt77THTE,52484
13
- aspose/html/dom/mutations/__init__.pyi,sha256=SX7BBcl6bouF_CWFvLO9JNPspfvmivEmzXS46y4tioE,9638
14
- aspose/html/dom/svg/__init__.pyi,sha256=CXaCO__B9AQcL1wuFcEI9ksnn5cCf9XxunIMiwli-DE,1313690
15
- aspose/html/dom/svg/datatypes/__init__.pyi,sha256=koBdDv3QSzTP_AqRh8nJWKfzyfRZKzcYwPkkiKK2rno,42148
16
- aspose/html/dom/svg/events/__init__.pyi,sha256=yDgXi1jSBfqi1ectiteIpIfFWeud_rwOogiGrYAwclg,10178
17
- aspose/html/dom/svg/filters/__init__.pyi,sha256=-imLAxP8CRclrKJWarPSdLLEmpMQT_BqYtvJNWxDZhI,645806
18
- aspose/html/dom/svg/paths/__init__.pyi,sha256=2-NXDL5PpgecTxJUT8gXt1eQpzTHZFDozaBSCnvzO44,105519
10
+ aspose/html/dom/canvas/__init__.pyi,sha256=YR6RMwXTZ1Ob93yAn4oySCcsCg_VBY5o-tcdWe4SqSE,52971
11
+ aspose/html/dom/css/__init__.pyi,sha256=KV66Efy6IQ5kix-pwekehBCzpRFwozPs4yqL069m4kI,96594
12
+ aspose/html/dom/events/__init__.pyi,sha256=hSVDedQW2LMmhGr_PJMZ9VfepalS2uiqBE7NS_pagGc,52284
13
+ aspose/html/dom/mutations/__init__.pyi,sha256=BYqW3no64LsaFKzvfmhpz_focsSUQwGlBcveykiHvec,9598
14
+ aspose/html/dom/svg/__init__.pyi,sha256=wRtxlwmZsCNkMAoO9ktnRzZcMmQkQkWSamfrHat_bqg,1504037
15
+ aspose/html/dom/svg/datatypes/__init__.pyi,sha256=41RTAuntnU13rmeP6KMCa1yy8-_LT7qjc-zhkFr580U,41628
16
+ aspose/html/dom/svg/events/__init__.pyi,sha256=K3xQZNwViZK8KXEEqPrqxgbysyJBvGA4xfqlbqByTYg,10138
17
+ aspose/html/dom/svg/filters/__init__.pyi,sha256=dAl31MAb_SbSHxFHRwR8oM3oQDKM3droI92l5GKAevc,742031
18
+ aspose/html/dom/svg/paths/__init__.pyi,sha256=HejQ5sjt8B4IgoX8m0h6WYeyVyo6xyAB910qw3LpSd8,105099
19
19
  aspose/html/dom/svg/saving/__init__.pyi,sha256=rcUHz1wLIrVD2nf1qKBzc2JgrcxjmMO9FSmZHMTrMRw,2532
20
20
  aspose/html/dom/traversal/__init__.pyi,sha256=W_FveEsZsDyvUb73E20J7qOR-JTA1jHb6XYdamLJLeE,19746
21
21
  aspose/html/dom/traversal/filters/__init__.pyi,sha256=uPdrDOVXLQbeW6E5DgMltZ2CrzfL_r7xKWX3zlAEUAo,6577
@@ -29,7 +29,7 @@ aspose/html/net/__init__.pyi,sha256=Hm7WaGsX8uRum1nEIxZMzlA4vnbZSxBTEluC1ehBIxA,
29
29
  aspose/html/net/headers/__init__.pyi,sha256=rJZz8lFUDfXmOyOcTsAE4UAWaYGquWx0xEI268wKZls,3928
30
30
  aspose/html/net/messagefilters/__init__.pyi,sha256=LBja6-9Gx1C9Smnw-1UVkwDuOaA5TXbSrBRBZzWhUn8,2413
31
31
  aspose/html/net/messagehandlers/__init__.pyi,sha256=W8rKWeDI5tkaU8HIQJH7pELnTIEDhuLpxEecrEkirUI,3513
32
- aspose/html/rendering/__init__.pyi,sha256=Rk9CK1waZyE5EG0w2q5dwFOSssc6bDC8X5XvzAWtiUg,26935
32
+ aspose/html/rendering/__init__.pyi,sha256=xIvvRvSJWYi7mA_b_NvJx2-t6OVKFtj9mKz5a1_9bJo,27093
33
33
  aspose/html/rendering/doc/__init__.pyi,sha256=HtYWI9yI2095vp3UZ-oz182j9eKSkxLjUTr11klK7xU,10242
34
34
  aspose/html/rendering/fonts/__init__.pyi,sha256=qAhsgJyNZIAVrvoizkQhs3O-gs0Q0Fu-w8wPwu5vtJk,3117
35
35
  aspose/html/rendering/image/__init__.pyi,sha256=Uew3hy5K0T55j5aLW2ol4Dluia46skkBOkdfCjEg7r4,8971
@@ -48,16 +48,16 @@ aspose/html/toolkit/markdown/syntax/parser/extensions/__init__.pyi,sha256=kSb43X
48
48
  aspose/html/toolkit/markdown/syntax/parser/extensions/gfm/__init__.pyi,sha256=jS862W-5KCf_7P8UQvQRNSUcR3qmAovvEc7u8m4ovWM,2258
49
49
  aspose/html/toolkit/markdown/syntax/text/__init__.pyi,sha256=ScfWyF_7yI9DvSkek2TjYDddD5nlr-vhyqqbYkY-dAA,10860
50
50
  aspose/html/toolkit/optimizers/__init__.pyi,sha256=VL8zyEuP1HV8MRRdvMDCLRsnWumaCumtS4ut8yxpOyg,6675
51
- aspose/html/window/__init__.pyi,sha256=jaBDu0HRV7O81xImESUdwYHfVv4Xb-XNvqZ-YR1IJRY,24263
51
+ aspose/html/window/__init__.pyi,sha256=Jj7LkzilBWpcNkClqrYTOK8rMvrXL043RpILzYSMXV0,25366
52
52
  aspose/__init__.py,sha256=BZzm7zoBt2MkmKtNe7cyCVeUKSx7QjTyZke3W5jbaAE,3188
53
- aspose/html.cp310-win32.pyd,sha256=etzAqQ7KJsuX1OZh208KFeuzKdRlSidrJXduUNLgqmc,4091392
54
- aspose/html.cp311-win32.pyd,sha256=yyR1rN8R3uHctTryaaueRT7UtaFV4_OyX0_vZdbVNQQ,4091392
55
- aspose/html.cp313-win32.pyd,sha256=D9wfk7zZhusGS18jzK1ut51WQX9gJT2Ki6GZ3gifrHc,4319232
56
- aspose/html.cp35-win32.pyd,sha256=KlT07lZX_wXwXyO0Z7jxTRc_Qj1JfkcynzW4ZvW9M5g,4189184
57
- aspose/html.cp36-win32.pyd,sha256=iftm3wZRBMjZHhjBDGS8l77PNipSCych1PfiMXv1o0E,4189184
58
- aspose/html.cp37-win32.pyd,sha256=DFTC33pWm_EJbx3zPR4JvgTMjy2Lej2CY3ZRE8NA4ds,4189696
59
- aspose/html.cp38-win32.pyd,sha256=QTRKNL0iSsF3kPRetcn_Xm8qWxKYFc32IAZrlfdf9nI,4192256
60
- aspose/html.cp39-win32.pyd,sha256=FpZMo1zjl5SlEzYyGdOUoqduxPNSnRSLEHyBM9Jjs8c,4099584
53
+ aspose/html.cp310-win32.pyd,sha256=aN41n9KF_a6Dtn45_c2nUpiDeFrPA_HrhUXiCenQqbY,4091392
54
+ aspose/html.cp311-win32.pyd,sha256=E5ekt4_2wVsu4AXC9cvFogR2DZjVGQnqz9-bAJ6yJ4s,4091392
55
+ aspose/html.cp313-win32.pyd,sha256=lroZbO83QC8-0exWfZm44dP24dtUN75C_CX-r7zsMIA,4319744
56
+ aspose/html.cp35-win32.pyd,sha256=wceyfKQlLetu7ZHSkHQTn3zBxnHXAfJ-bCrvXN0cwKE,4189696
57
+ aspose/html.cp36-win32.pyd,sha256=tbEy58T-r6PY5cQae-qDufOnSPfuAd3E82yCuUPCoRI,4189696
58
+ aspose/html.cp37-win32.pyd,sha256=yI0J93xomKXbsZmb-QIBmDnxQi5u9ZlKKAFKRGmSHrQ,4189696
59
+ aspose/html.cp38-win32.pyd,sha256=UpPFBdApPMp1NI5IWXg540xK3AtUSPxb1MgdY5c010M,4192256
60
+ aspose/html.cp39-win32.pyd,sha256=W9vOWB1HRTsxiL7Ho4es3i2y42bQRmKXB_gKQDLdac4,4099584
61
61
  aspose/pycore.cp310-win32.pyd,sha256=NTc7ukwKVY9Ejj-0SrjTe4fOqKPchN1haW0tGSDMqDk,95744
62
62
  aspose/pycore.cp311-win32.pyd,sha256=FTyyXIbbnizQXeUfhnGFDsm_Bg334hfXOrt5tIP6XMc,95744
63
63
  aspose/pycore.cp313-win32.pyd,sha256=IQlyTqV--QcjAnfX6lNqtPmpp-Pp4qEfFHuPkSo6ZLk,96768
@@ -92,7 +92,7 @@ aspose/pyreflection.cp38-win32.pyd,sha256=LaDu7QtXevfXDGLeAu0RoPXBGXQoYuYdGS-Wns
92
92
  aspose/pyreflection.cp39-win32.pyd,sha256=zOFJQpLEBDuZ5O2TYkXAG7QdCzzhzE6U61taC9k2Ao8,261632
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=OCRjVaGo-S-_v3_yx2s3Hw-InNlMVv0211lwAuoRy20,8924448
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=ByxMO9MLtnP--Va1d3JNGUp76EBFi8nkQo7-VeS45EQ,52104
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=lNMvvnB8WhYsH343
102
102
  aspose/assemblies/html/System.Security.Permissions.dll,sha256=Fc4jFXYMaWW2W3h8IdcgJ75gPchQugiuaBea-ERGco4,97160
103
103
  aspose/assemblies/html/System.Security.Principal.Windows.dll,sha256=Ct2Tol_U4BHbVcrJ58BiuAfZhEe8gnLPOiSwa3Q3wWw,81800
104
104
  aspose/assemblies/html/System.Windows.Extensions.dll,sha256=qzkm2EsQpetm_yFDX2b0ejVyPjCHXPrbLUP0op7gn-M,42376
105
- aspose/assemblies/html/WrpInterop.Aspose.Html.dll,sha256=3C-v0Dw6RMOZXYR9TONjHBbiTmRSCMjjWszTr-iH4So,1250304
105
+ aspose/assemblies/html/WrpInterop.Aspose.Html.dll,sha256=DDS6o1BOdDbT2zRjeByn1fbKPzv46Y31Qu2Hu8P89G0,1250304
106
106
  aspose/assemblies/pycore/WrpInterop.Aspose.PyCore.dll,sha256=tyh1f8dBGg7cYbiW8BrARHz34ptBuA5E8VQNsXFxzso,94720
107
107
  aspose/assemblies/pydrawing/Microsoft.Win32.SystemEvents.dll,sha256=ByxMO9MLtnP--Va1d3JNGUp76EBFi8nkQo7-VeS45EQ,52104
108
108
  aspose/assemblies/pydrawing/System.Drawing.Common.dll,sha256=cx5hkSgY-2ueuE0JMJtdBUWVeAtp0D9G7Zd5YorlVW8,436600
@@ -348,8 +348,8 @@ aspose/pygc/__pyinstaller/hook-aspose.pygc.py,sha256=6R0gEknOsHoQBZRHzyvgD4-PU30
348
348
  aspose/pyreflection/__init__.pyi,sha256=m1gNKyNjs7AAirNANAXD4Pp6USsE77y4cXIudmqePW8,257
349
349
  aspose/pyreflection/__pyinstaller/__init__.pyi,sha256=micugwtjBQx5QHPQ3sjszDmdDrh_j6WEf2rIgmQEQtg,30
350
350
  aspose/pyreflection/__pyinstaller/hook-aspose.pyreflection.py,sha256=KhNCbh91nfinnu94UllN04QVKgzGfhV8briC6xbCK9o,272
351
- aspose_html_net-25.5.0.dist-info/METADATA,sha256=7iMcbgc2dQ85CJ55EirkJQoTu9PvtbqovV9qD6wDeLg,7609
352
- aspose_html_net-25.5.0.dist-info/WHEEL,sha256=Qp0pkwX2grZiaAQR0_2-Tf5RWO1YRFeNKTRIWlXCrLE,94
353
- aspose_html_net-25.5.0.dist-info/entry_points.txt,sha256=ncOOUOA7P4CKYv0p9YBs_Erf12mciNs3kqNIdTh4bvw,67
354
- aspose_html_net-25.5.0.dist-info/top_level.txt,sha256=oaVLKmiUSo0u7EtpqKJ11ARBx8ZWhYuUXJdy-lByYWg,7
355
- aspose_html_net-25.5.0.dist-info/RECORD,,
351
+ aspose_html_net-25.7.0.dist-info/METADATA,sha256=23IwoAL0XQdEy1ShiKrmMEOudnyxFq1_5kjdhpLbaDA,14195
352
+ aspose_html_net-25.7.0.dist-info/WHEEL,sha256=Qp0pkwX2grZiaAQR0_2-Tf5RWO1YRFeNKTRIWlXCrLE,94
353
+ aspose_html_net-25.7.0.dist-info/entry_points.txt,sha256=ncOOUOA7P4CKYv0p9YBs_Erf12mciNs3kqNIdTh4bvw,67
354
+ aspose_html_net-25.7.0.dist-info/top_level.txt,sha256=oaVLKmiUSo0u7EtpqKJ11ARBx8ZWhYuUXJdy-lByYWg,7
355
+ 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: win32
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
- [![banner](https://products.aspose.com/html/images/aspose_html-for-python-banner-TL.png)](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
-