html-to-markdown 2.14.0__cp310-abi3-macosx_11_0_arm64.whl → 2.14.2__cp310-abi3-macosx_11_0_arm64.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.
- html_to_markdown/__init__.py +1 -2
- html_to_markdown/_html_to_markdown.abi3.so +0 -0
- html_to_markdown/_html_to_markdown.pyi +6 -6
- html_to_markdown/bin/html-to-markdown +0 -0
- html_to_markdown/v1_compat.py +0 -1
- {html_to_markdown-2.14.0.data → html_to_markdown-2.14.2.data}/scripts/html-to-markdown +0 -0
- {html_to_markdown-2.14.0.dist-info → html_to_markdown-2.14.2.dist-info}/METADATA +1 -1
- html_to_markdown-2.14.2.dist-info/RECORD +17 -0
- html_to_markdown-2.14.0.dist-info/RECORD +0 -17
- {html_to_markdown-2.14.0.dist-info → html_to_markdown-2.14.2.dist-info}/WHEEL +0 -0
- {html_to_markdown-2.14.0.dist-info → html_to_markdown-2.14.2.dist-info}/licenses/LICENSE +0 -0
html_to_markdown/__init__.py
CHANGED
|
@@ -37,7 +37,6 @@ from html_to_markdown.exceptions import (
|
|
|
37
37
|
from html_to_markdown.options import ConversionOptions, PreprocessingOptions
|
|
38
38
|
from html_to_markdown.v1_compat import convert_to_markdown, markdownify
|
|
39
39
|
|
|
40
|
-
# Optional metadata support
|
|
41
40
|
with contextlib.suppress(ImportError):
|
|
42
41
|
from html_to_markdown.api import MetadataConfig, convert_with_metadata
|
|
43
42
|
|
|
@@ -63,4 +62,4 @@ __all__ = [
|
|
|
63
62
|
"markdownify",
|
|
64
63
|
]
|
|
65
64
|
|
|
66
|
-
__version__ = "2.14.
|
|
65
|
+
__version__ = "2.14.2"
|
|
Binary file
|
|
@@ -141,13 +141,13 @@ class DocumentMetadata(TypedDict):
|
|
|
141
141
|
canonical_url: str | None
|
|
142
142
|
base_href: str | None
|
|
143
143
|
language: str | None
|
|
144
|
-
text_direction: str | None
|
|
144
|
+
text_direction: str | None
|
|
145
145
|
open_graph: dict[str, str]
|
|
146
146
|
twitter_card: dict[str, str]
|
|
147
147
|
meta_tags: dict[str, str]
|
|
148
148
|
|
|
149
149
|
class HeaderMetadata(TypedDict):
|
|
150
|
-
level: int
|
|
150
|
+
level: int
|
|
151
151
|
text: str
|
|
152
152
|
id: str | None
|
|
153
153
|
depth: int
|
|
@@ -157,7 +157,7 @@ class LinkMetadata(TypedDict):
|
|
|
157
157
|
href: str
|
|
158
158
|
text: str
|
|
159
159
|
title: str | None
|
|
160
|
-
link_type: str
|
|
160
|
+
link_type: str
|
|
161
161
|
rel: list[str]
|
|
162
162
|
attributes: dict[str, str]
|
|
163
163
|
|
|
@@ -165,12 +165,12 @@ class ImageMetadata(TypedDict):
|
|
|
165
165
|
src: str
|
|
166
166
|
alt: str | None
|
|
167
167
|
title: str | None
|
|
168
|
-
dimensions: tuple[int, int] | None
|
|
169
|
-
image_type: str
|
|
168
|
+
dimensions: tuple[int, int] | None
|
|
169
|
+
image_type: str
|
|
170
170
|
attributes: dict[str, str]
|
|
171
171
|
|
|
172
172
|
class StructuredData(TypedDict):
|
|
173
|
-
data_type: str
|
|
173
|
+
data_type: str
|
|
174
174
|
raw_json: str
|
|
175
175
|
schema_type: str | None
|
|
176
176
|
|
|
Binary file
|
html_to_markdown/v1_compat.py
CHANGED
|
@@ -136,7 +136,6 @@ def convert_to_markdown(
|
|
|
136
136
|
)
|
|
137
137
|
|
|
138
138
|
# ~keep: v1 used indented code blocks by default, but switched to backticks when a language was set
|
|
139
|
-
# This maintains v1 behavior for backward compatibility
|
|
140
139
|
code_block_style = "backticks" if code_language else "indented"
|
|
141
140
|
|
|
142
141
|
options = ConversionOptions(
|
|
Binary file
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
html_to_markdown-2.14.2.data/scripts/html-to-markdown,sha256=hniSeml124eJXvYbQsC3GLsUlS-TX93fFYgLtxogCn8,6263856
|
|
2
|
+
html_to_markdown-2.14.2.dist-info/RECORD,,
|
|
3
|
+
html_to_markdown-2.14.2.dist-info/WHEEL,sha256=WvP__evn8XoyZeDO32cKBm5BQTOFbdB1WoQ-d3AzYdw,132
|
|
4
|
+
html_to_markdown-2.14.2.dist-info/METADATA,sha256=KceoGs__CWCDYonJi8jTkXIyTSczsxeQP6IT-niDOPE,23246
|
|
5
|
+
html_to_markdown-2.14.2.dist-info/licenses/LICENSE,sha256=oQvPC-0UWvfg0WaeUBe11OJMtX60An-TW1ev_oaAA0k,1086
|
|
6
|
+
html_to_markdown/options.py,sha256=vImRfeHAeyAy0Lnt6cTPHGbj7mTdw8AEUgo19u7MAA0,5080
|
|
7
|
+
html_to_markdown/_html_to_markdown.pyi,sha256=IPD6CegtaanBsKTmK30v4nvWZ5HUlCajS6jkiOsoVj8,5875
|
|
8
|
+
html_to_markdown/_html_to_markdown.abi3.so,sha256=aL3Cy8W9rUaEyom4OTw9D1NQJ01ELgSzXSr-aDjVPc4,3503168
|
|
9
|
+
html_to_markdown/__init__.py,sha256=heUlsM_dzRMTxzDPQtvEHO-9g85GtWXyLucGfkk_wp0,1692
|
|
10
|
+
html_to_markdown/api.py,sha256=zXXoFpdDbMIQXl65NT7BjjYu_1xwEM7VNGNUK2zQNfQ,6934
|
|
11
|
+
html_to_markdown/v1_compat.py,sha256=kn5GYvgn3dTW_Zksu9PzWVk-5CYhvXxsqAeyTdDYZSY,8001
|
|
12
|
+
html_to_markdown/cli.py,sha256=Rn-s3FZPea1jgCJtDzH_TFvOEiA_uZFVfgjhr6xyL_g,64
|
|
13
|
+
html_to_markdown/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
14
|
+
html_to_markdown/exceptions.py,sha256=aTASOzbywgfqOYjlw18ZkOWSxKff4EbUbmMua_73TGA,2370
|
|
15
|
+
html_to_markdown/cli_proxy.py,sha256=HPYKH5Mf5OUvkbEQISJvAkxrbjWKxE5GokA44HoQ6z8,3858
|
|
16
|
+
html_to_markdown/__main__.py,sha256=3Ic_EbOt2h6W88q084pkz5IKU6iY5z_woBygH6u9aw0,327
|
|
17
|
+
html_to_markdown/bin/html-to-markdown,sha256=hniSeml124eJXvYbQsC3GLsUlS-TX93fFYgLtxogCn8,6263856
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
html_to_markdown-2.14.0.dist-info/RECORD,,
|
|
2
|
-
html_to_markdown-2.14.0.dist-info/WHEEL,sha256=WvP__evn8XoyZeDO32cKBm5BQTOFbdB1WoQ-d3AzYdw,132
|
|
3
|
-
html_to_markdown-2.14.0.dist-info/METADATA,sha256=JG4gq6AeDUutrpmm9yBndbm3rGNfg5TpQH6SpOsuTw4,23246
|
|
4
|
-
html_to_markdown-2.14.0.dist-info/licenses/LICENSE,sha256=oQvPC-0UWvfg0WaeUBe11OJMtX60An-TW1ev_oaAA0k,1086
|
|
5
|
-
html_to_markdown-2.14.0.data/scripts/html-to-markdown,sha256=IuASvb2-OF95pz52ODWCERrDGRIBc4bWjzETXGcP_3w,6263856
|
|
6
|
-
html_to_markdown/options.py,sha256=vImRfeHAeyAy0Lnt6cTPHGbj7mTdw8AEUgo19u7MAA0,5080
|
|
7
|
-
html_to_markdown/_html_to_markdown.pyi,sha256=C4Y80U97JpQhjWZxpDb2Lu2ojbFwAZLtygchVdmhYs0,6093
|
|
8
|
-
html_to_markdown/_html_to_markdown.abi3.so,sha256=jIVAAeoTyJkoHiTwjskEbKnJxvWuDDQ2HMvzs2qZMzs,3486656
|
|
9
|
-
html_to_markdown/__init__.py,sha256=NuQiHxunqCAfbGRYXjgbp31YBXoLlYjXU_Fko4GC5oM,1720
|
|
10
|
-
html_to_markdown/api.py,sha256=zXXoFpdDbMIQXl65NT7BjjYu_1xwEM7VNGNUK2zQNfQ,6934
|
|
11
|
-
html_to_markdown/v1_compat.py,sha256=nZN8hVd3u4vacbfyLsPMIGqSmJENZgx1Ya0SpqVLi-g,8061
|
|
12
|
-
html_to_markdown/cli.py,sha256=Rn-s3FZPea1jgCJtDzH_TFvOEiA_uZFVfgjhr6xyL_g,64
|
|
13
|
-
html_to_markdown/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
14
|
-
html_to_markdown/exceptions.py,sha256=aTASOzbywgfqOYjlw18ZkOWSxKff4EbUbmMua_73TGA,2370
|
|
15
|
-
html_to_markdown/cli_proxy.py,sha256=HPYKH5Mf5OUvkbEQISJvAkxrbjWKxE5GokA44HoQ6z8,3858
|
|
16
|
-
html_to_markdown/__main__.py,sha256=3Ic_EbOt2h6W88q084pkz5IKU6iY5z_woBygH6u9aw0,327
|
|
17
|
-
html_to_markdown/bin/html-to-markdown,sha256=IuASvb2-OF95pz52ODWCERrDGRIBc4bWjzETXGcP_3w,6263856
|
|
File without changes
|
|
File without changes
|