talira

Compare

xmltodictlxml
What it isWork with XML in Python as if it were JSON: parse it into dicts and backXML and HTML processing for Python
KindOpen sourceOpen source
Trust0.470.66
Stars57603079
Last commit2026-08-192026-11-27
LicenceMITBSD-3-Clause
PricingFree and open sourceFree and open source
Free tierYesYes
Self-hostable——
Ways to run it——
SOC 2——
HIPAA——
SSO——
API——
Plugins——
MCP server——
CompanyMartin Blechlxml dev team
Features
  • XML to nested dicts and back (parse and unparse)
  • streaming mode for large documents
  • namespace support
  • force_list and force_cdata for chosen elements
  • entity parsing off by default
  • ElementTree-compatible API
  • XPath and XSLT, with Python extension functions
  • validation with DTD, RelaxNG, XML Schema and Schematron
  • lxml.html for HTML parsing, links, forms and diffs
  • CSS selectors via lxml.cssselect
  • incremental and event-based parsing with iterparse