Comparison
pydantic-xml vs PyXB vs PyXB-X vs xsdata
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
pydantic xml extension
Maintained. Last release 6 weeks ago, commits in 2 of the last 26 weeks. Weaker on commit activity and contributor spread.
pip install pydantic-xmlPython XML Schema Bindings
Likely abandoned. No release or commit for years (last release over 9 years ago).
pip install pyxbPyXB-X ("pixbix") is a pure Python package that generates Python source code for classes that correspond to data structures defined by XMLSchema.
Maintained. Last release 4 months ago. Weaker on release cadence.
pip install pyxb-xPython XML Binding
Maintained. Last release 5 days ago, commits in 7 of the last 26 weeks. Weaker on contributor spread.
pip install xsdataIn short
- PyXB looks abandoned: avoid it for new projects.
- xsdata is the most used: 3.3M downloads a month.
- Maintenance is comparable: xsdata 69, PyXB-X 64, pydantic-xml 59 on Pythie’s Index.
- pydantic-xml is growing fastest: downloads +23% over the last month.
- Safe default for a new project: xsdata.
Side by side
| Metric | pydantic-xml | PyXB | PyXB-X | xsdata |
|---|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 59 | 19 |