expat-rs 0.0.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.
- expat_rs-0.0.1/LICENSE +21 -0
- expat_rs-0.0.1/PKG-INFO +37 -0
- expat_rs-0.0.1/README.md +19 -0
- expat_rs-0.0.1/pyproject.toml +24 -0
- expat_rs-0.0.1/setup.cfg +4 -0
- expat_rs-0.0.1/src/expat_rs/__init__.py +7 -0
- expat_rs-0.0.1/src/expat_rs.egg-info/PKG-INFO +37 -0
- expat_rs-0.0.1/src/expat_rs.egg-info/SOURCES.txt +8 -0
- expat_rs-0.0.1/src/expat_rs.egg-info/dependency_links.txt +1 -0
- expat_rs-0.0.1/src/expat_rs.egg-info/top_level.txt +1 -0
expat_rs-0.0.1/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 expat-rs contributors
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
expat_rs-0.0.1/PKG-INFO
ADDED
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: expat-rs
|
|
3
|
+
Version: 0.0.1
|
|
4
|
+
Summary: Memory-safe drop-in for Python's XML parser (xml.parsers.expat), built on expat-rs. Placeholder: the first working release is in preparation.
|
|
5
|
+
Author: Gordion Solutions
|
|
6
|
+
License-Expression: MIT
|
|
7
|
+
Project-URL: Repository, https://github.com/Gordion-Solutions/expat-rs
|
|
8
|
+
Project-URL: Homepage, https://gordionsolutions.co.uk/memory-safety/
|
|
9
|
+
Classifier: Development Status :: 1 - Planning
|
|
10
|
+
Classifier: Intended Audience :: Developers
|
|
11
|
+
Classifier: Programming Language :: Python :: 3
|
|
12
|
+
Classifier: Programming Language :: Rust
|
|
13
|
+
Classifier: Topic :: Text Processing :: Markup :: XML
|
|
14
|
+
Requires-Python: >=3.10
|
|
15
|
+
Description-Content-Type: text/markdown
|
|
16
|
+
License-File: LICENSE
|
|
17
|
+
Dynamic: license-file
|
|
18
|
+
|
|
19
|
+
# expat-rs for Python
|
|
20
|
+
|
|
21
|
+
**This is a placeholder release.** The first working release is in preparation.
|
|
22
|
+
|
|
23
|
+
expat-rs will be a memory-safe, drop-in replacement for Python's standard XML
|
|
24
|
+
parser, `xml.parsers.expat` (pyexpat), built on the
|
|
25
|
+
[expat-rs](https://github.com/Gordion-Solutions/expat-rs) Rust library:
|
|
26
|
+
|
|
27
|
+
- the same API as `xml.parsers.expat`: `ParserCreate`, the handler attributes,
|
|
28
|
+
errors and options;
|
|
29
|
+
- `expat_rs.install()` to make the standard library's XML modules
|
|
30
|
+
(`xml.sax`, `xml.dom.minidom`, `xml.etree.ElementTree`, `plistlib`,
|
|
31
|
+
`xmlrpc`) parse with it, with no other code changes.
|
|
32
|
+
|
|
33
|
+
The underlying library already passes CPython's own XML test suites when
|
|
34
|
+
CPython is built against it. Follow progress at
|
|
35
|
+
https://github.com/Gordion-Solutions/expat-rs.
|
|
36
|
+
|
|
37
|
+
Version 0.0.1 contains no parser.
|
expat_rs-0.0.1/README.md
ADDED
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
# expat-rs for Python
|
|
2
|
+
|
|
3
|
+
**This is a placeholder release.** The first working release is in preparation.
|
|
4
|
+
|
|
5
|
+
expat-rs will be a memory-safe, drop-in replacement for Python's standard XML
|
|
6
|
+
parser, `xml.parsers.expat` (pyexpat), built on the
|
|
7
|
+
[expat-rs](https://github.com/Gordion-Solutions/expat-rs) Rust library:
|
|
8
|
+
|
|
9
|
+
- the same API as `xml.parsers.expat`: `ParserCreate`, the handler attributes,
|
|
10
|
+
errors and options;
|
|
11
|
+
- `expat_rs.install()` to make the standard library's XML modules
|
|
12
|
+
(`xml.sax`, `xml.dom.minidom`, `xml.etree.ElementTree`, `plistlib`,
|
|
13
|
+
`xmlrpc`) parse with it, with no other code changes.
|
|
14
|
+
|
|
15
|
+
The underlying library already passes CPython's own XML test suites when
|
|
16
|
+
CPython is built against it. Follow progress at
|
|
17
|
+
https://github.com/Gordion-Solutions/expat-rs.
|
|
18
|
+
|
|
19
|
+
Version 0.0.1 contains no parser.
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
[build-system]
|
|
2
|
+
requires = ["setuptools>=77"]
|
|
3
|
+
build-backend = "setuptools.build_meta"
|
|
4
|
+
|
|
5
|
+
[project]
|
|
6
|
+
name = "expat-rs"
|
|
7
|
+
version = "0.0.1"
|
|
8
|
+
description = "Memory-safe drop-in for Python's XML parser (xml.parsers.expat), built on expat-rs. Placeholder: the first working release is in preparation."
|
|
9
|
+
readme = "README.md"
|
|
10
|
+
license = "MIT"
|
|
11
|
+
license-files = ["LICENSE"]
|
|
12
|
+
requires-python = ">=3.10"
|
|
13
|
+
authors = [{ name = "Gordion Solutions" }]
|
|
14
|
+
classifiers = [
|
|
15
|
+
"Development Status :: 1 - Planning",
|
|
16
|
+
"Intended Audience :: Developers",
|
|
17
|
+
"Programming Language :: Python :: 3",
|
|
18
|
+
"Programming Language :: Rust",
|
|
19
|
+
"Topic :: Text Processing :: Markup :: XML",
|
|
20
|
+
]
|
|
21
|
+
|
|
22
|
+
[project.urls]
|
|
23
|
+
Repository = "https://github.com/Gordion-Solutions/expat-rs"
|
|
24
|
+
Homepage = "https://gordionsolutions.co.uk/memory-safety/"
|
expat_rs-0.0.1/setup.cfg
ADDED
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: expat-rs
|
|
3
|
+
Version: 0.0.1
|
|
4
|
+
Summary: Memory-safe drop-in for Python's XML parser (xml.parsers.expat), built on expat-rs. Placeholder: the first working release is in preparation.
|
|
5
|
+
Author: Gordion Solutions
|
|
6
|
+
License-Expression: MIT
|
|
7
|
+
Project-URL: Repository, https://github.com/Gordion-Solutions/expat-rs
|
|
8
|
+
Project-URL: Homepage, https://gordionsolutions.co.uk/memory-safety/
|
|
9
|
+
Classifier: Development Status :: 1 - Planning
|
|
10
|
+
Classifier: Intended Audience :: Developers
|
|
11
|
+
Classifier: Programming Language :: Python :: 3
|
|
12
|
+
Classifier: Programming Language :: Rust
|
|
13
|
+
Classifier: Topic :: Text Processing :: Markup :: XML
|
|
14
|
+
Requires-Python: >=3.10
|
|
15
|
+
Description-Content-Type: text/markdown
|
|
16
|
+
License-File: LICENSE
|
|
17
|
+
Dynamic: license-file
|
|
18
|
+
|
|
19
|
+
# expat-rs for Python
|
|
20
|
+
|
|
21
|
+
**This is a placeholder release.** The first working release is in preparation.
|
|
22
|
+
|
|
23
|
+
expat-rs will be a memory-safe, drop-in replacement for Python's standard XML
|
|
24
|
+
parser, `xml.parsers.expat` (pyexpat), built on the
|
|
25
|
+
[expat-rs](https://github.com/Gordion-Solutions/expat-rs) Rust library:
|
|
26
|
+
|
|
27
|
+
- the same API as `xml.parsers.expat`: `ParserCreate`, the handler attributes,
|
|
28
|
+
errors and options;
|
|
29
|
+
- `expat_rs.install()` to make the standard library's XML modules
|
|
30
|
+
(`xml.sax`, `xml.dom.minidom`, `xml.etree.ElementTree`, `plistlib`,
|
|
31
|
+
`xmlrpc`) parse with it, with no other code changes.
|
|
32
|
+
|
|
33
|
+
The underlying library already passes CPython's own XML test suites when
|
|
34
|
+
CPython is built against it. Follow progress at
|
|
35
|
+
https://github.com/Gordion-Solutions/expat-rs.
|
|
36
|
+
|
|
37
|
+
Version 0.0.1 contains no parser.
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
expat_rs
|