selectolax 0.3.34__cp314-cp314t-win_arm64.whl → 0.4.0__cp314-cp314t-win_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.
Potentially problematic release.
This version of selectolax might be problematic. Click here for more details.
- selectolax/__init__.py +1 -1
- selectolax/lexbor/node.pxi +108 -14
- selectolax/lexbor/node_remove.pxi +29 -0
- selectolax/lexbor/selection.pxi +24 -2
- selectolax/lexbor.c +6101 -4196
- selectolax/lexbor.cp314t-win_arm64.pyd +0 -0
- selectolax/lexbor.pxd +8 -0
- selectolax/lexbor.pyi +84 -7
- selectolax/lexbor.pyx +40 -4
- selectolax/modest/node.pxi +4 -1
- selectolax/parser.c +1540 -1457
- selectolax/parser.cp314t-win_arm64.pyd +0 -0
- selectolax/parser.pyi +5 -2
- selectolax/parser.pyx +2 -2
- {selectolax-0.3.34.dist-info → selectolax-0.4.0.dist-info}/METADATA +2 -2
- selectolax-0.4.0.dist-info/RECORD +27 -0
- selectolax-0.3.34.dist-info/RECORD +0 -26
- {selectolax-0.3.34.dist-info → selectolax-0.4.0.dist-info}/WHEEL +0 -0
- {selectolax-0.3.34.dist-info → selectolax-0.4.0.dist-info}/licenses/LICENSE +0 -0
- {selectolax-0.3.34.dist-info → selectolax-0.4.0.dist-info}/top_level.txt +0 -0
|
Binary file
|
selectolax/parser.pyi
CHANGED
|
@@ -203,7 +203,10 @@ class Node:
|
|
|
203
203
|
...
|
|
204
204
|
@property
|
|
205
205
|
def child(self) -> Node | None:
|
|
206
|
-
"""
|
|
206
|
+
"""Alias for the `first_child` property.
|
|
207
|
+
|
|
208
|
+
**Deprecated**. Please use `first_child` instead.
|
|
209
|
+
"""
|
|
207
210
|
...
|
|
208
211
|
@property
|
|
209
212
|
def parent(self) -> Node | None:
|
|
@@ -588,7 +591,7 @@ class HTMLParser:
|
|
|
588
591
|
query : str
|
|
589
592
|
default : bool, default None
|
|
590
593
|
Default value to return if there is no match.
|
|
591
|
-
strict: bool, default
|
|
594
|
+
strict: bool, default False
|
|
592
595
|
Set to True if you want to check if there is strictly only one match in the document.
|
|
593
596
|
|
|
594
597
|
|
selectolax/parser.pyx
CHANGED
|
@@ -72,9 +72,9 @@ cdef class HTMLParser:
|
|
|
72
72
|
----------
|
|
73
73
|
|
|
74
74
|
query : str
|
|
75
|
-
default :
|
|
75
|
+
default : Any, default None
|
|
76
76
|
Default value to return if there is no match.
|
|
77
|
-
strict: bool, default
|
|
77
|
+
strict: bool, default False
|
|
78
78
|
Set to True if you want to check if there is strictly only one match in the document.
|
|
79
79
|
|
|
80
80
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: selectolax
|
|
3
|
-
Version: 0.
|
|
3
|
+
Version: 0.4.0
|
|
4
4
|
Summary: Fast HTML5 parser with CSS selectors.
|
|
5
5
|
Home-page: https://github.com/rushter/selectolax
|
|
6
6
|
Author: Artem Golubin
|
|
@@ -8,7 +8,7 @@ Author-email: Artem Golubin <me@rushter.com>
|
|
|
8
8
|
License-Expression: MIT
|
|
9
9
|
Project-URL: Repository, https://github.com/rushter/selectolax
|
|
10
10
|
Project-URL: Documentation, https://selectolax.readthedocs.io/en/latest/parser.html
|
|
11
|
-
Project-URL: Changelog, https://github.com/rushter/selectolax/blob/
|
|
11
|
+
Project-URL: Changelog, https://github.com/rushter/selectolax/blob/master/CHANGES.md
|
|
12
12
|
Keywords: selectolax,html,parser,css,fast
|
|
13
13
|
Classifier: Development Status :: 5 - Production/Stable
|
|
14
14
|
Classifier: Topic :: Text Processing :: Markup :: HTML
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
selectolax/__init__.py,sha256=-050n6lsikxxW1ZltsXOBwrx_z-ULnFcxLZ0xTjoJQg,156
|
|
2
|
+
selectolax/base.pxi,sha256=zOj3BrCA71xd-mJFtkMIAglP4ZybfrHVoCoy6ljTBDQ,93
|
|
3
|
+
selectolax/lexbor.c,sha256=zIE6ZN5RlghwQzYmXIvv31K8piaJ3PmzsvGgc76W_wg,2501162
|
|
4
|
+
selectolax/lexbor.cp314t-win_arm64.pyd,sha256=YGCbg6fujl5DOCSLcvbpObUTEFvJ3r554f2WsZteG74,3272192
|
|
5
|
+
selectolax/lexbor.pxd,sha256=jZugG2ClrbWzJohWWeqblIVmbvFHkbX5WB-Wvc8tkn4,22236
|
|
6
|
+
selectolax/lexbor.pyi,sha256=hu1HMzR3mWfraGM-XNyiX3eHU_xljVEPg0AoRF27a_w,31046
|
|
7
|
+
selectolax/lexbor.pyx,sha256=P5Q3it_Apj3rFhywvpSlcZXofOhuq9upHzbOAEDBcuA,13892
|
|
8
|
+
selectolax/parser.c,sha256=DiBXHp4M5ewwRp3tpn5uZWMPk9nTluVmaMGYb7BO_48,2260593
|
|
9
|
+
selectolax/parser.cp314t-win_arm64.pyd,sha256=F3WTHXiB7lLVSv1JfDm-re1SlKKt2hacnBKvTtl3IUQ,2189824
|
|
10
|
+
selectolax/parser.pxd,sha256=T7GoQdaOkhp_W2TBlRY0tZqom97PkHrytYaXQlyVnbI,25196
|
|
11
|
+
selectolax/parser.pyi,sha256=wO1pkE5efgtWLGt0ULEqHEZ_XyxcBy_YWzFZmU5mJdQ,25699
|
|
12
|
+
selectolax/parser.pyx,sha256=wy6GHgv__oa5gt1kQYGJGNc4cwVIU1NdJUJ8O4FKqmI,14127
|
|
13
|
+
selectolax/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
14
|
+
selectolax/utils.pxi,sha256=hkzKfycdpwH1P-E_pP-9NTGsmiajt6EJNZSlkxlRapA,3623
|
|
15
|
+
selectolax/lexbor/attrs.pxi,sha256=d59V77aGkpp7YsYsd6t_z4-tRnUoQTJZKsvMC8nyttM,3978
|
|
16
|
+
selectolax/lexbor/node.pxi,sha256=98M-9bRzKfnbHn0-vT1v3fSUrXqojpPK2yK4FI2BEJk,36345
|
|
17
|
+
selectolax/lexbor/node_remove.pxi,sha256=6h7KwWCxkLWtl71VROlLDA6EukHK745iyKK-uNw78fI,789
|
|
18
|
+
selectolax/lexbor/selection.pxi,sha256=H2-oPgLAEBwhwXMmk_-49YKah5z5hGgwBK0gciQtBak,8245
|
|
19
|
+
selectolax/lexbor/util.pxi,sha256=q2EYVNdnROg9y30mWpGwlNA0W00nJ7ZRNEEDrOEG14s,584
|
|
20
|
+
selectolax/modest/node.pxi,sha256=M52G3TlJrHIErR8CLqIXWUjSlNSCanjSJ9aFKn1p74Y,34777
|
|
21
|
+
selectolax/modest/selection.pxi,sha256=PfHUN1uuNA7YfcxTu7JZjhxevVbFRP1bHd3kyyFdO7E,6703
|
|
22
|
+
selectolax/modest/util.pxi,sha256=zab67Wzo8FcipA2VS8ClptaC19lZirbNqFEGQ3hW2Is,572
|
|
23
|
+
selectolax-0.4.0.dist-info/licenses/LICENSE,sha256=A7Jb3WZcENcLfZRc7QPdm9zJdwfpIyPodPJu-kdMH6E,1087
|
|
24
|
+
selectolax-0.4.0.dist-info/METADATA,sha256=tbBfJ2_fHMj95Pm8aazPr0U2Jvon511S9bn5FKDMWSs,1319
|
|
25
|
+
selectolax-0.4.0.dist-info/WHEEL,sha256=zXchtPDG49pF0-WydodiT6g5I4rYIqRMLOrUzYY4Dyw,102
|
|
26
|
+
selectolax-0.4.0.dist-info/top_level.txt,sha256=e5MuEM2PrQzoDlWetkFli9uXSlxa_ktW5jJEihhaI1c,11
|
|
27
|
+
selectolax-0.4.0.dist-info/RECORD,,
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
selectolax/__init__.py,sha256=iI6pQ10gimevS2gTf4K4_1cXh4NBRFj_5GjkmhrvU94,157
|
|
2
|
-
selectolax/base.pxi,sha256=zOj3BrCA71xd-mJFtkMIAglP4ZybfrHVoCoy6ljTBDQ,93
|
|
3
|
-
selectolax/lexbor.c,sha256=Kz7IFiUGbVTJvAH3WTwu188zD4xQm08Fs6ab6Jo6jyE,2419433
|
|
4
|
-
selectolax/lexbor.cp314t-win_arm64.pyd,sha256=X8K0FhU_0kFUCvw6gyaCYZhclpLHHTYHGBde3NcSblI,3233280
|
|
5
|
-
selectolax/lexbor.pxd,sha256=BcqAzhlUVq0GVWiJHWXNhs4jY-gi6k0BELEnQtSYJAI,21720
|
|
6
|
-
selectolax/lexbor.pyi,sha256=dRNzLXJEbFRR7QcItuX8Ews9E9I6h6G4vA3X1hijzj4,28990
|
|
7
|
-
selectolax/lexbor.pyx,sha256=XLZ2vGwLoWdctnmU-gfizjD6tMjehR_bzNOapDJ_YOQ,12891
|
|
8
|
-
selectolax/parser.c,sha256=zUJAqFbI1vy5-cjgPwJVfYassgbP7Gdnr2eRYv5D3W4,2259231
|
|
9
|
-
selectolax/parser.cp314t-win_arm64.pyd,sha256=dauf0YDYEQldYP4MDTJ8fU2oBD0Lf8bOFlcsoWGSKHk,2189824
|
|
10
|
-
selectolax/parser.pxd,sha256=T7GoQdaOkhp_W2TBlRY0tZqom97PkHrytYaXQlyVnbI,25196
|
|
11
|
-
selectolax/parser.pyi,sha256=-qutpjrK1dD4rrl3SsHWQt2FT5lv6meaACkQzk1Bt6o,25612
|
|
12
|
-
selectolax/parser.pyx,sha256=nIWuhaEFRwlfo64WmgrSOM0A8mUw0eWw9j_fWyLV-Ro,14127
|
|
13
|
-
selectolax/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
14
|
-
selectolax/utils.pxi,sha256=hkzKfycdpwH1P-E_pP-9NTGsmiajt6EJNZSlkxlRapA,3623
|
|
15
|
-
selectolax/lexbor/attrs.pxi,sha256=d59V77aGkpp7YsYsd6t_z4-tRnUoQTJZKsvMC8nyttM,3978
|
|
16
|
-
selectolax/lexbor/node.pxi,sha256=KODqPk3yZ_owwdSxqNr2Ih6qAOhu9CJ-jrHtqQJcWmY,33407
|
|
17
|
-
selectolax/lexbor/selection.pxi,sha256=BeUDypw5_P0CTmi-ACLcd7pK2NnG9ASrwWOdLdweAZY,7378
|
|
18
|
-
selectolax/lexbor/util.pxi,sha256=q2EYVNdnROg9y30mWpGwlNA0W00nJ7ZRNEEDrOEG14s,584
|
|
19
|
-
selectolax/modest/node.pxi,sha256=iX_yRPIPVkG0ALW7hEfmXiVperw6RjkSGATkxzLokz0,34691
|
|
20
|
-
selectolax/modest/selection.pxi,sha256=PfHUN1uuNA7YfcxTu7JZjhxevVbFRP1bHd3kyyFdO7E,6703
|
|
21
|
-
selectolax/modest/util.pxi,sha256=zab67Wzo8FcipA2VS8ClptaC19lZirbNqFEGQ3hW2Is,572
|
|
22
|
-
selectolax-0.3.34.dist-info/licenses/LICENSE,sha256=A7Jb3WZcENcLfZRc7QPdm9zJdwfpIyPodPJu-kdMH6E,1087
|
|
23
|
-
selectolax-0.3.34.dist-info/METADATA,sha256=rAqskRB9wMSn7tEZLxZswUJD4wFzN4fizyXjiBv4L4o,1318
|
|
24
|
-
selectolax-0.3.34.dist-info/WHEEL,sha256=zXchtPDG49pF0-WydodiT6g5I4rYIqRMLOrUzYY4Dyw,102
|
|
25
|
-
selectolax-0.3.34.dist-info/top_level.txt,sha256=e5MuEM2PrQzoDlWetkFli9uXSlxa_ktW5jJEihhaI1c,11
|
|
26
|
-
selectolax-0.3.34.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|