Comparison
dict2xml vs untangle vs xmltodict vs xmltojson
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
Small utility to convert a python dictionary into an XML string
Archived. The repository is read-only: no more fixes or releases will come.
pip install dict2xmlConverts XML to Python objects
Maintained. Last release 2 weeks ago, commits in 7 of the last 26 weeks. Weaker on release cadence and contributor spread.
pip install untangleMakes working with XML feel like you are working with JSON
Maintained. Last release 9 months ago, commits in 2 of the last 26 weeks. Weaker on commit activity and release cadence.
pip install xmltodictA Python module and cli tool to quickly convert xml text or files into json
Slowing down. Last release over 2 years ago, little activity since. Fine for existing code; think twice for a new project.
pip install xmltojsonIn short
- dict2xml is archived: avoid it for new projects.
- xmltojson is slowing down (last release over 2 years ago): fine for existing code, risky for a new project.
- xmltodict is the most used: 115.1M downloads a month, 214× more than xmltojson.
- untangle is better maintained: Pythie’s Index 65 against 43.
- untangle is growing fastest: downloads +12% over the last month.