fasthtmlparser 0.1.0__tar.gz → 0.1.2__tar.gz
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.
- {fasthtmlparser-0.1.0 → fasthtmlparser-0.1.2}/.github/workflows/ci.yml +11 -11
- {fasthtmlparser-0.1.0 → fasthtmlparser-0.1.2}/Cargo.lock +3 -3
- {fasthtmlparser-0.1.0 → fasthtmlparser-0.1.2}/Cargo.toml +1 -1
- {fasthtmlparser-0.1.0 → fasthtmlparser-0.1.2}/LICENSE.md +18 -3
- {fasthtmlparser-0.1.0 → fasthtmlparser-0.1.2}/PKG-INFO +16 -2
- {fasthtmlparser-0.1.0 → fasthtmlparser-0.1.2}/README.md +14 -0
- {fasthtmlparser-0.1.0 → fasthtmlparser-0.1.2}/pyproject.toml +2 -2
- {fasthtmlparser-0.1.0 → fasthtmlparser-0.1.2}/.gitattributes +0 -0
- {fasthtmlparser-0.1.0 → fasthtmlparser-0.1.2}/.gitignore +0 -0
- {fasthtmlparser-0.1.0 → fasthtmlparser-0.1.2}/bench-results.md +0 -0
- {fasthtmlparser-0.1.0 → fasthtmlparser-0.1.2}/python/fasthtmlparser/__init__.py +0 -0
- {fasthtmlparser-0.1.0 → fasthtmlparser-0.1.2}/python/fasthtmlparser/_fasthtmlparser.pyi +0 -0
- {fasthtmlparser-0.1.0 → fasthtmlparser-0.1.2}/python/fasthtmlparser/py.typed +0 -0
- {fasthtmlparser-0.1.0 → fasthtmlparser-0.1.2}/src/lib.rs +0 -0
- {fasthtmlparser-0.1.0 → fasthtmlparser-0.1.2}/tests/test_api.py +0 -0
- {fasthtmlparser-0.1.0 → fasthtmlparser-0.1.2}/tests/test_conformance.py +0 -0
|
@@ -17,8 +17,8 @@ jobs:
|
|
|
17
17
|
os: [ubuntu-latest, windows-latest, macos-latest]
|
|
18
18
|
python: ["3.10", "3.14"]
|
|
19
19
|
steps:
|
|
20
|
-
- uses: actions/checkout@
|
|
21
|
-
- uses: actions/setup-python@
|
|
20
|
+
- uses: actions/checkout@v7
|
|
21
|
+
- uses: actions/setup-python@v7
|
|
22
22
|
with:
|
|
23
23
|
python-version: ${{ matrix.python }}
|
|
24
24
|
- uses: dtolnay/rust-toolchain@stable
|
|
@@ -34,7 +34,7 @@ jobs:
|
|
|
34
34
|
lint:
|
|
35
35
|
runs-on: ubuntu-latest
|
|
36
36
|
steps:
|
|
37
|
-
- uses: actions/checkout@
|
|
37
|
+
- uses: actions/checkout@v7
|
|
38
38
|
- uses: dtolnay/rust-toolchain@stable
|
|
39
39
|
with:
|
|
40
40
|
components: clippy, rustfmt
|
|
@@ -45,8 +45,8 @@ jobs:
|
|
|
45
45
|
bench:
|
|
46
46
|
runs-on: ubuntu-latest
|
|
47
47
|
steps:
|
|
48
|
-
- uses: actions/checkout@
|
|
49
|
-
- uses: actions/setup-python@
|
|
48
|
+
- uses: actions/checkout@v7
|
|
49
|
+
- uses: actions/setup-python@v7
|
|
50
50
|
with:
|
|
51
51
|
python-version: "3.14"
|
|
52
52
|
- uses: dtolnay/rust-toolchain@stable
|
|
@@ -72,8 +72,8 @@ jobs:
|
|
|
72
72
|
- { os: macos-latest, target: aarch64 }
|
|
73
73
|
- { os: macos-15-intel, target: x86_64 }
|
|
74
74
|
steps:
|
|
75
|
-
- uses: actions/checkout@
|
|
76
|
-
- uses: actions/setup-python@
|
|
75
|
+
- uses: actions/checkout@v7
|
|
76
|
+
- uses: actions/setup-python@v7
|
|
77
77
|
with:
|
|
78
78
|
python-version: "3.14"
|
|
79
79
|
- uses: PyO3/maturin-action@v1
|
|
@@ -81,7 +81,7 @@ jobs:
|
|
|
81
81
|
target: ${{ matrix.target }}
|
|
82
82
|
manylinux: ${{ matrix.manylinux }}
|
|
83
83
|
args: --release --out dist
|
|
84
|
-
- uses: actions/upload-artifact@
|
|
84
|
+
- uses: actions/upload-artifact@v7
|
|
85
85
|
with:
|
|
86
86
|
name: wheels-${{ matrix.os }}-${{ matrix.target }}-${{ matrix.manylinux }}
|
|
87
87
|
path: dist
|
|
@@ -90,12 +90,12 @@ jobs:
|
|
|
90
90
|
needs: [test, lint]
|
|
91
91
|
runs-on: ubuntu-latest
|
|
92
92
|
steps:
|
|
93
|
-
- uses: actions/checkout@
|
|
93
|
+
- uses: actions/checkout@v7
|
|
94
94
|
- uses: PyO3/maturin-action@v1
|
|
95
95
|
with:
|
|
96
96
|
command: sdist
|
|
97
97
|
args: --out dist
|
|
98
|
-
- uses: actions/upload-artifact@
|
|
98
|
+
- uses: actions/upload-artifact@v7
|
|
99
99
|
with:
|
|
100
100
|
name: sdist
|
|
101
101
|
path: dist
|
|
@@ -110,7 +110,7 @@ jobs:
|
|
|
110
110
|
permissions:
|
|
111
111
|
id-token: write
|
|
112
112
|
steps:
|
|
113
|
-
- uses: actions/download-artifact@
|
|
113
|
+
- uses: actions/download-artifact@v8
|
|
114
114
|
with:
|
|
115
115
|
path: dist
|
|
116
116
|
merge-multiple: true
|
|
@@ -4,16 +4,16 @@ version = 4
|
|
|
4
4
|
|
|
5
5
|
[[package]]
|
|
6
6
|
name = "fasthtmlparser"
|
|
7
|
-
version = "0.1.
|
|
7
|
+
version = "0.1.2"
|
|
8
8
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
9
|
-
checksum = "
|
|
9
|
+
checksum = "7b92ee0f12e1b4a5a6774a77e612cb356893bc1a78813661e8278ef7684f7689"
|
|
10
10
|
dependencies = [
|
|
11
11
|
"memchr",
|
|
12
12
|
]
|
|
13
13
|
|
|
14
14
|
[[package]]
|
|
15
15
|
name = "fasthtmlparser-py"
|
|
16
|
-
version = "0.1.
|
|
16
|
+
version = "0.1.2"
|
|
17
17
|
dependencies = [
|
|
18
18
|
"fasthtmlparser",
|
|
19
19
|
"pyo3",
|
|
@@ -2,8 +2,23 @@
|
|
|
2
2
|
|
|
3
3
|
Copyright © 2026 z3l. All rights reserved.
|
|
4
4
|
|
|
5
|
-
This license applies to the z3l.FastHtmlParser library
|
|
6
|
-
|
|
5
|
+
This license applies to the z3l.FastHtmlParser library and to every port of it to another language
|
|
6
|
+
published by z3l, including:
|
|
7
|
+
|
|
8
|
+
- C#: the NuGet package z3l.FastHtmlParser (github.com/romanti3172/z3l.FastHtmlParser);
|
|
9
|
+
- Go: the module github.com/romanti3172/fasthtmlparser;
|
|
10
|
+
- Rust: the crate fasthtmlparser (github.com/romanti3172/fasthtmlparser-rs);
|
|
11
|
+
- Java: io.github.romanti3172:fasthtmlparser (github.com/romanti3172/fasthtmlparser-java);
|
|
12
|
+
- JavaScript / TypeScript: the npm package z3l-fasthtmlparser (github.com/romanti3172/fasthtmlparser-js);
|
|
13
|
+
- Python: the packages fasthtmlparser (github.com/romanti3172/fasthtmlparser-py) and
|
|
14
|
+
fasthtmlparser-pure (github.com/romanti3172/fasthtmlparser-pure);
|
|
15
|
+
- PHP: the Composer package z3l/fasthtmlparser (github.com/romanti3172/fasthtmlparser-php);
|
|
16
|
+
- Ruby: the gem fasthtmlparser (github.com/romanti3172/fasthtmlparser-rb);
|
|
17
|
+
- C: github.com/romanti3172/fasthtmlparser-c;
|
|
18
|
+
- C++: github.com/romanti3172/fasthtmlparser-cpp.
|
|
19
|
+
|
|
20
|
+
It covers their source code, binaries and the packages built from them on any package registry
|
|
21
|
+
(together, the "Software").
|
|
7
22
|
|
|
8
23
|
## 1. Definitions
|
|
9
24
|
|
|
@@ -38,7 +53,7 @@ more**, the Licensee must purchase a Commercial License.
|
|
|
38
53
|
- A Licensee that stops being a Small Licensee (its Annual Revenue or Headcount reaches the
|
|
39
54
|
threshold) while already using the Software must purchase the Commercial License within
|
|
40
55
|
30 days.
|
|
41
|
-
- To purchase: https://
|
|
56
|
+
- To purchase: https://fasthtmlparser.com/#pricing, or contact **romanti3172@gmail.com** for an invoice.
|
|
42
57
|
|
|
43
58
|
The Commercial License grants the same rights as section 2, without the revenue and headcount
|
|
44
59
|
limits.
|
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: fasthtmlparser
|
|
3
|
-
Version: 0.1.
|
|
3
|
+
Version: 0.1.2
|
|
4
4
|
Classifier: Development Status :: 4 - Beta
|
|
5
5
|
Classifier: Intended Audience :: Developers
|
|
6
|
-
Classifier: License :: Other/Proprietary License
|
|
7
6
|
Classifier: Programming Language :: Python :: 3
|
|
8
7
|
Classifier: Programming Language :: Python :: 3 :: Only
|
|
9
8
|
Classifier: Programming Language :: Rust
|
|
@@ -15,6 +14,7 @@ License-File: LICENSE.md
|
|
|
15
14
|
Summary: Fast HTML / XML parser for scraping with XPath 1.0 and CSS selectors, in Rust. A port of z3l.FastHtmlParser.
|
|
16
15
|
Keywords: html,parser,xpath,css,selectors,scraping,web-scraping,rust
|
|
17
16
|
Author: z3l
|
|
17
|
+
License-Expression: LicenseRef-z3l-FastHtmlParser
|
|
18
18
|
Requires-Python: >=3.10
|
|
19
19
|
Description-Content-Type: text/markdown; charset=UTF-8; variant=GFM
|
|
20
20
|
Project-URL: Homepage, https://github.com/romanti3172/fasthtmlparser-py
|
|
@@ -27,6 +27,8 @@ Project-URL: Source, https://github.com/romanti3172/fasthtmlparser-py
|
|
|
27
27
|
[](https://github.com/romanti3172/fasthtmlparser-py/actions/workflows/ci.yml)
|
|
28
28
|
[](https://pypi.org/project/fasthtmlparser/)
|
|
29
29
|
|
|
30
|
+
**Website:** [fasthtmlparser.com](https://fasthtmlparser.com): try the parser on any page, documentation and every language.
|
|
31
|
+
|
|
30
32
|
A fast HTML / XML parser for scraping, with **XPath 1.0** and **CSS selectors**: Python bindings of the
|
|
31
33
|
[Rust port](https://github.com/romanti3172/fasthtmlparser-rs) of
|
|
32
34
|
[z3l.FastHtmlParser](https://github.com/romanti3172/z3l.FastHtmlParser). It is built for extracting data, not for
|
|
@@ -149,6 +151,18 @@ maturin develop --release
|
|
|
149
151
|
pytest
|
|
150
152
|
```
|
|
151
153
|
|
|
154
|
+
## Other languages
|
|
155
|
+
|
|
156
|
+
The same parser is available for:
|
|
157
|
+
|
|
158
|
+
| Language | Package | Source |
|
|
159
|
+
|---|---|---|
|
|
160
|
+
| C# (.NET 9 and 10) | [z3l.FastHtmlParser](https://www.nuget.org/packages/z3l.FastHtmlParser) on NuGet | [romanti3172/z3l.FastHtmlParser](https://github.com/romanti3172/z3l.FastHtmlParser) |
|
|
161
|
+
| Go | `github.com/romanti3172/fasthtmlparser` | [romanti3172/fasthtmlparser](https://github.com/romanti3172/fasthtmlparser) |
|
|
162
|
+
| Rust | [fasthtmlparser](https://crates.io/crates/fasthtmlparser) on crates.io | [romanti3172/fasthtmlparser-rs](https://github.com/romanti3172/fasthtmlparser-rs) |
|
|
163
|
+
| JavaScript / TypeScript | [z3l-fasthtmlparser](https://www.npmjs.com/package/z3l-fasthtmlparser) on npm | [romanti3172/fasthtmlparser-js](https://github.com/romanti3172/fasthtmlparser-js) |
|
|
164
|
+
| Python | [fasthtmlparser](https://pypi.org/project/fasthtmlparser/) on PyPI | [romanti3172/fasthtmlparser-py](https://github.com/romanti3172/fasthtmlparser-py) |
|
|
165
|
+
|
|
152
166
|
## License
|
|
153
167
|
|
|
154
168
|
Same terms as z3l.FastHtmlParser (see LICENSE.md): free for companies under USD 1M annual revenue and under 100
|
|
@@ -3,6 +3,8 @@
|
|
|
3
3
|
[](https://github.com/romanti3172/fasthtmlparser-py/actions/workflows/ci.yml)
|
|
4
4
|
[](https://pypi.org/project/fasthtmlparser/)
|
|
5
5
|
|
|
6
|
+
**Website:** [fasthtmlparser.com](https://fasthtmlparser.com): try the parser on any page, documentation and every language.
|
|
7
|
+
|
|
6
8
|
A fast HTML / XML parser for scraping, with **XPath 1.0** and **CSS selectors**: Python bindings of the
|
|
7
9
|
[Rust port](https://github.com/romanti3172/fasthtmlparser-rs) of
|
|
8
10
|
[z3l.FastHtmlParser](https://github.com/romanti3172/z3l.FastHtmlParser). It is built for extracting data, not for
|
|
@@ -125,6 +127,18 @@ maturin develop --release
|
|
|
125
127
|
pytest
|
|
126
128
|
```
|
|
127
129
|
|
|
130
|
+
## Other languages
|
|
131
|
+
|
|
132
|
+
The same parser is available for:
|
|
133
|
+
|
|
134
|
+
| Language | Package | Source |
|
|
135
|
+
|---|---|---|
|
|
136
|
+
| C# (.NET 9 and 10) | [z3l.FastHtmlParser](https://www.nuget.org/packages/z3l.FastHtmlParser) on NuGet | [romanti3172/z3l.FastHtmlParser](https://github.com/romanti3172/z3l.FastHtmlParser) |
|
|
137
|
+
| Go | `github.com/romanti3172/fasthtmlparser` | [romanti3172/fasthtmlparser](https://github.com/romanti3172/fasthtmlparser) |
|
|
138
|
+
| Rust | [fasthtmlparser](https://crates.io/crates/fasthtmlparser) on crates.io | [romanti3172/fasthtmlparser-rs](https://github.com/romanti3172/fasthtmlparser-rs) |
|
|
139
|
+
| JavaScript / TypeScript | [z3l-fasthtmlparser](https://www.npmjs.com/package/z3l-fasthtmlparser) on npm | [romanti3172/fasthtmlparser-js](https://github.com/romanti3172/fasthtmlparser-js) |
|
|
140
|
+
| Python | [fasthtmlparser](https://pypi.org/project/fasthtmlparser/) on PyPI | [romanti3172/fasthtmlparser-py](https://github.com/romanti3172/fasthtmlparser-py) |
|
|
141
|
+
|
|
128
142
|
## License
|
|
129
143
|
|
|
130
144
|
Same terms as z3l.FastHtmlParser (see LICENSE.md): free for companies under USD 1M annual revenue and under 100
|
|
@@ -4,9 +4,10 @@ build-backend = "maturin"
|
|
|
4
4
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "fasthtmlparser"
|
|
7
|
-
version = "0.1.
|
|
7
|
+
version = "0.1.2"
|
|
8
8
|
description = "Fast HTML / XML parser for scraping with XPath 1.0 and CSS selectors, in Rust. A port of z3l.FastHtmlParser."
|
|
9
9
|
readme = "README.md"
|
|
10
|
+
license = "LicenseRef-z3l-FastHtmlParser"
|
|
10
11
|
license-files = ["LICENSE.md"]
|
|
11
12
|
requires-python = ">=3.10"
|
|
12
13
|
authors = [{ name = "z3l" }]
|
|
@@ -14,7 +15,6 @@ keywords = ["html", "parser", "xpath", "css", "selectors", "scraping", "web-scra
|
|
|
14
15
|
classifiers = [
|
|
15
16
|
"Development Status :: 4 - Beta",
|
|
16
17
|
"Intended Audience :: Developers",
|
|
17
|
-
"License :: Other/Proprietary License",
|
|
18
18
|
"Programming Language :: Python :: 3",
|
|
19
19
|
"Programming Language :: Python :: 3 :: Only",
|
|
20
20
|
"Programming Language :: Rust",
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|