fasthtmlparser 0.1.0__tar.gz → 0.1.1__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.1}/.github/workflows/ci.yml +11 -11
- {fasthtmlparser-0.1.0 → fasthtmlparser-0.1.1}/Cargo.lock +1 -1
- {fasthtmlparser-0.1.0 → fasthtmlparser-0.1.1}/Cargo.toml +1 -1
- {fasthtmlparser-0.1.0 → fasthtmlparser-0.1.1}/LICENSE.md +17 -2
- {fasthtmlparser-0.1.0 → fasthtmlparser-0.1.1}/PKG-INFO +14 -2
- {fasthtmlparser-0.1.0 → fasthtmlparser-0.1.1}/README.md +12 -0
- {fasthtmlparser-0.1.0 → fasthtmlparser-0.1.1}/pyproject.toml +2 -2
- {fasthtmlparser-0.1.0 → fasthtmlparser-0.1.1}/.gitattributes +0 -0
- {fasthtmlparser-0.1.0 → fasthtmlparser-0.1.1}/.gitignore +0 -0
- {fasthtmlparser-0.1.0 → fasthtmlparser-0.1.1}/bench-results.md +0 -0
- {fasthtmlparser-0.1.0 → fasthtmlparser-0.1.1}/python/fasthtmlparser/__init__.py +0 -0
- {fasthtmlparser-0.1.0 → fasthtmlparser-0.1.1}/python/fasthtmlparser/_fasthtmlparser.pyi +0 -0
- {fasthtmlparser-0.1.0 → fasthtmlparser-0.1.1}/python/fasthtmlparser/py.typed +0 -0
- {fasthtmlparser-0.1.0 → fasthtmlparser-0.1.1}/src/lib.rs +0 -0
- {fasthtmlparser-0.1.0 → fasthtmlparser-0.1.1}/tests/test_api.py +0 -0
- {fasthtmlparser-0.1.0 → fasthtmlparser-0.1.1}/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
|
|
@@ -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
|
|
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: fasthtmlparser
|
|
3
|
-
Version: 0.1.
|
|
3
|
+
Version: 0.1.1
|
|
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
|
|
@@ -149,6 +149,18 @@ maturin develop --release
|
|
|
149
149
|
pytest
|
|
150
150
|
```
|
|
151
151
|
|
|
152
|
+
## Other languages
|
|
153
|
+
|
|
154
|
+
The same parser is available for:
|
|
155
|
+
|
|
156
|
+
| Language | Package | Source |
|
|
157
|
+
|---|---|---|
|
|
158
|
+
| 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) |
|
|
159
|
+
| Go | `github.com/romanti3172/fasthtmlparser` | [romanti3172/fasthtmlparser](https://github.com/romanti3172/fasthtmlparser) |
|
|
160
|
+
| Rust | [fasthtmlparser](https://crates.io/crates/fasthtmlparser) on crates.io | [romanti3172/fasthtmlparser-rs](https://github.com/romanti3172/fasthtmlparser-rs) |
|
|
161
|
+
| JavaScript / TypeScript | [z3l-fasthtmlparser](https://www.npmjs.com/package/z3l-fasthtmlparser) on npm | [romanti3172/fasthtmlparser-js](https://github.com/romanti3172/fasthtmlparser-js) |
|
|
162
|
+
| Python | [fasthtmlparser](https://pypi.org/project/fasthtmlparser/) on PyPI | [romanti3172/fasthtmlparser-py](https://github.com/romanti3172/fasthtmlparser-py) |
|
|
163
|
+
|
|
152
164
|
## License
|
|
153
165
|
|
|
154
166
|
Same terms as z3l.FastHtmlParser (see LICENSE.md): free for companies under USD 1M annual revenue and under 100
|
|
@@ -125,6 +125,18 @@ maturin develop --release
|
|
|
125
125
|
pytest
|
|
126
126
|
```
|
|
127
127
|
|
|
128
|
+
## Other languages
|
|
129
|
+
|
|
130
|
+
The same parser is available for:
|
|
131
|
+
|
|
132
|
+
| Language | Package | Source |
|
|
133
|
+
|---|---|---|
|
|
134
|
+
| 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) |
|
|
135
|
+
| Go | `github.com/romanti3172/fasthtmlparser` | [romanti3172/fasthtmlparser](https://github.com/romanti3172/fasthtmlparser) |
|
|
136
|
+
| Rust | [fasthtmlparser](https://crates.io/crates/fasthtmlparser) on crates.io | [romanti3172/fasthtmlparser-rs](https://github.com/romanti3172/fasthtmlparser-rs) |
|
|
137
|
+
| JavaScript / TypeScript | [z3l-fasthtmlparser](https://www.npmjs.com/package/z3l-fasthtmlparser) on npm | [romanti3172/fasthtmlparser-js](https://github.com/romanti3172/fasthtmlparser-js) |
|
|
138
|
+
| Python | [fasthtmlparser](https://pypi.org/project/fasthtmlparser/) on PyPI | [romanti3172/fasthtmlparser-py](https://github.com/romanti3172/fasthtmlparser-py) |
|
|
139
|
+
|
|
128
140
|
## License
|
|
129
141
|
|
|
130
142
|
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.1"
|
|
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
|