martinblech/xmltodict
Python module that makes working with XML feel like you are working with JSON observed · 2026-08-28
Health v2 · maintenance only
89/100
- Activity 98
- Release rhythm 71
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: 4
- age_days: 5251
- days_rel: 193
- days_push: 14
- n_releases_24m: 6
Adoption not part of the score
5751 stars · 475 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
xmltodict is a Python library that converts XML documents into Python dictionaries and back, making XML manipulation feel like working with JSON. It is built on Expat for speed, supports namespaces, offers a streaming mode for large XML files, and includes a command-line interface.
Use cases
- parse xml files into python dicts
- convert xml to
- process large xml dumps like wikipedia with low memory
- handle xml with namespaces in python
- convert dict back to xml string
- pipe xml data through a command line script
When to choose
- you want simple dict-based access to XML data in Python
- you need to stream very large XML documents without loading them fully into memory
- you want a quick XML-to-JSON style conversion with attribute and namespace support
When to avoid
- you need full XML schema validation or XPath/XSLT support
- you need to preserve comments, processing instructions, or exact document order
- you are working with extremely complex mixed-content XML requiring fine-grained control
Facets
library · maturity stable
parser serialization cli parsers developer-tools files python cli cross-platform xml xml-to-dict streaming-parser expat
2 sources
- readme: https://github.com/martinblech/xmltodict · fetched 2026-08-28 · 34fe6fd49fa4
- registry_pypi: https://pypi.org/pypi/xmltodict/json · fetched 2026-08-29 · 891c90f75706
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| martinblech/xmltodict | main | 89 |
For agents
markdown · JSON · MCP: product_card(name="martinblech/xmltodict")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem