Comparison
dict2xml vs dicttoxml vs untangle vs xmltodict
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 a Python dictionary or other native data type into a valid XML string.
Slowing down. Last release over 3 years ago, little activity since. Fine for existing code; think twice for a new project.
pip install dicttoxmlConverts XML to Python objects
Maintained. Last release 2 weeks ago, commits in 5 of the last 26 weeks. Weaker on commit activity and release cadence.
pip install untangleMakes working with XML feel like you are working with JSON
Maintained. Last release today, commits in 4 of the last 26 weeks. Weaker on commit activity.
pip install xmltodictIn short
- dict2xml is archived: avoid it for new projects.
- dicttoxml is slowing down (last release over 3 years ago): fine for existing code, risky for a new project.
- xmltodict is the most used: 117.4M downloads a month, 56× more than dicttoxml.
- Maintenance is comparable: untangle 61, xmltodict 60 on Pythie’s Index.
- untangle is growing fastest: downloads +18% over the last month.
- Safe default for a new project: xmltodict.