data-to-xml
A simple dict to xml converter
Decision gist · record as of 2026-08-14
Yes. The package is lightweight, dependency-free, actively maintained, dual-licensed under permissive terms, and solves a straightforward problem. Install it if you need dict-to-XML conversion and can work with Python 3.11+. No known security issues.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Python 3.11 or later.
- Installs with no dependencies and maintains active development.
- Last release 89 days ago with recent commits.
License · maintenance · safety
(unclear) — Dual-licensed under BSD-3-Clause and Mozilla Public License 2.0. Both are permissive open-source licenses; you may choose which terms apply to your use.
last release 2026-05-17 (89 days) · last repo commit 2026-05-17
0 known vulnerabilities (OSV.dev, 2026-08-14) · 177,206 downloads/mo, #10,220 on PyPI
Alternatives
Verify before relying
pip install data-to-xml
from data_to_xml import dict_to_xml
data = {'root': {'item': 'value'}}
xml_string = dict_to_xml(data)- Whether the converter handles nested structures, attributes, and mixed content types as expected for your use case.
- Performance characteristics when converting large or deeply nested data structures.
- Availability and completeness of documentation beyond the GitHub examples directory.
What it is and what it does
data-to-xml is a lightweight Python library that transforms dictionaries and lists into XML format. It takes Python data structures as input and produces valid XML output, making it useful for scenarios where you need to serialize structured data to XML without writing manual XML construction code.
The package has no runtime dependencies, installs cleanly, and supports modern Python versions (3.11, 3.12, 3.13) on both CPython and PyPy. It is marked as Production/Stable and has been actively maintained since its initial release.
Use it for
- Export configuration dictionaries to XML format for legacy systems or XML-based APIs.
- Convert JSON-like Python data structures to XML for data interchange with XML-dependent tools.
- Serialize application state or structured data to XML files for archival or transmission.
- Transform API response data (typically dict-based) into XML for downstream XML processors.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes.
The package is lightweight, dependency-free, actively maintained, dual-licensed under permissive terms, and solves a straightforward problem. Install it if you need dict-to-XML conversion and can work with Python 3.11+. No known security issues.
Install
data-to-xml on PyPI
Before you install
Installs with no dependencies and maintains active development. Last release 89 days ago with recent commits.
Requires Python 3.11 or later.
License in practice
Dual-licensed under BSD-3-Clause and Mozilla Public License 2.0. Both are permissive open-source licenses; you may choose which terms apply to your use.
Quickstart
pip install data-to-xml
from data_to_xml import dict_to_xml
data = {'root': {'item': 'value'}}
xml_string = dict_to_xml(data)
Verify before relying
- Whether the converter handles nested structures, attributes, and mixed content types as expected for your use case.
- Performance characteristics when converting large or deeply nested data structures.
- Availability and completeness of documentation beyond the GitHub examples directory.
Package facts
| License | Not declared unclear |
| Python support | Supports the current Python release >=3.11 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | None |
| Maintenance | Actively maintained 89 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 177,206 / month, #10,220 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 5 - Production/StableIntended Audience :: DevelopersLicense :: OSI Approved :: BSD LicenseLicense :: OSI Approved :: Mozilla Public License 2.0 (MPL 2.0)Operating System :: OS IndependentProgramming Language :: PythonProgramming Language :: Python :: 3 :: OnlyProgramming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: Implementation :: CPythonProgramming Language :: Python :: Implementation :: PyPy |
Evidence: data_to_xml-1.0.14-py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “dict to xml converter”
- data-to-xmlConverts Python dictionaries and lists into XML documents with…
- dicttoxmlConverts Python dictionaries and other native data types into valid…
- dict2xmlConverts Python dictionaries into XML strings with configurable…
Give your agent the search over MCP, or paste the wish link into any chat.
More Markup packages
PyYAML parses and emits YAML 1.1 data format, enabling serialization and deserialization of configuration files and Python objects to and from human-readable YAML text.
A Python markdown parser that converts markdown to HTML following the CommonMark specification, with support for plugins and custom syntax rules.
Install it if you need reliable markdown-to-HTML conversion.
Beautiful Soup parses HTML and XML documents into a navigable tree, providing Pythonic methods to search, iterate, and modify the parsed content.
Install it if you need to parse or extract data from markup documents.
et_xmlfile writes large XML files with minimal memory overhead by serializing elements to disk as they are created, rather than holding the entire tree in memory.
Install it if incremental XML writing fits your use case; skip it if your XML documents are small or you already use lxml.
Parses and edits TOML files while preserving formatting, comments, and structure, then serializes them back with layout intact.
Install it if you're building tools that touch TOML files and user readability of the source matters.
Parses Python docstrings in ReST, Google, Numpydoc, and Epydoc formats, extracting structured information like descriptions, parameters, return types, and exceptions.
Install it if you need to programmatically read and extract structured data from Python docstrings.
See also pytest-xml · xmltojson · dict2xml · xml-python · pytest-json · soup2dict · dicttoxml2 · pytest-item-dict · dicttoxml · json2html