Skip to content

v1.0.0 - Production Release

Choose a tag to compare

@nth-bailey nth-bailey released this 11 Oct 14:59
· 23 commits to main since this release

SafeXML 1.0.0 - Memory-Safe, Ultra-Fast Defused XML Parser

SafeXML is a high-performance, memory-safe, drop-in replacement for Python's defusedxml and xml.etree.ElementTree, backed by a streaming Rust engine (quick-xml and PyO3).

Highlights

  • 100% Drop-in Parity: Drop-in compatible with defusedxml.ElementTree and xml.etree.ElementTree (fromstring, parse, iterparse, XML, tostring, indent, defuse_stdlib).
  • Defusedxml Issue Fixes:
  • Multi-core Scaling: Releases Python GIL during Rust parsing via py.detach(|| ...).
  • Target Platform: Exclusively Python >= 3.12. Prebuilt ABI3 wheels for Linux (x86_64, aarch64), macOS (arm64, x86_64), and Windows (x64).

Installation

pip install safexml

PyPI: https://pypi.org/project/safexml/1.0.0/