$npx skillfedfor your agent

dicttoxml2

Converts a Python dictionary or other native data type into a valid XML string.

With conditionsPyPI MarkupReleased Aug 2022119.2K downloads / moGPL-2.0Pure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — dicttoxml2-2.1.0-py3-none-any.whl
v2.1.0 · released 2022-08-13 · Python >=3.7, <4

Yes, if you need simple dict-to-XML conversion and are running Python 3.7–3.11 without plans to upgrade soon. The low install friction and lack of dependencies make it lightweight. However, the GPL-2.0 copyleft license restricts use in proprietary projects, and the package's abandonment since 2022-08-13 means no future maintenance or Python version support—consider this a stable but frozen tool suitable only for stable, unchanging environments.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Low install friction with no runtime dependencies.
  • Package is abandoned as of 2022-08-13 with no commits since; relies on stable Python 3.7+ support.

License · maintenance · safety

GPL-2.0 (copyleft) — Released under GPL-2.0 (copyleft). Any derivative work or distribution must also be licensed under GPL-2.0 and include source code; this may restrict use in proprietary projects.

last release 2022-08-13 (1462 days) · last repo commit 2022-08-13 · 7 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 119,152 downloads/mo, #12,085 on PyPI

Verify before relying

pip install dicttoxml2

import dicttoxml2
xml = dicttoxml2.dicttoxml({'key': 'value'})
  • Whether the package handles edge cases in dict-to-XML conversion (nested structures, special characters, type coercion) as expected
  • Whether abandonment since 2022-08-13 means compatibility issues have emerged with Python 3.10+ in real-world use
Same gist for agents: .md · .json

What it is and what it does

dicttoxml2 is a lightweight library that serializes Python dictionaries and other native data types into XML strings. It is a maintained fork of the original dicttoxml, updated to support Python 3.7 and forward while dropping support for end-of-life Python versions. The package has no external runtime dependencies, making installation straightforward.

The library is intended as a drop-in replacement for the original dicttoxml. It supports Python 3.7, 3.8, 3.9, 3.10, and 3.11 according to its classifiers and is marked as production-stable. However, the package has been abandoned since 2022-08-13 with no commits or releases since that date, meaning it will not receive updates for new Python versions or bug fixes.

Use it for

  • Serialize application configuration stored in Python dicts to XML format for interoperability with XML-based systems
  • Convert REST API response data (typically dict-like) to XML for clients that require XML output
  • Generate XML documents programmatically from nested Python data structures without writing XML by hand
  • Export structured data from Python applications to XML files for archival or data interchange

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

With conditions

Yes, if you need simple dict-to-XML conversion and are running Python 3.7–3.11 without plans to upgrade soon.

The low install friction and lack of dependencies make it lightweight. However, the GPL-2.0 copyleft license restricts use in proprietary projects, and the package's abandonment since 2022-08-13 means no future maintenance or Python version support—consider this a stable but frozen tool suitable only for stable, unchanging environments.

Install

dicttoxml2 on PyPI

Before you install

Low install friction with no runtime dependencies. Package is abandoned as of 2022-08-13 with no commits since; relies on stable Python 3.7+ support.

License in practice

Released under GPL-2.0 (copyleft). Any derivative work or distribution must also be licensed under GPL-2.0 and include source code; this may restrict use in proprietary projects.

Quickstart

pip install dicttoxml2

import dicttoxml2
xml = dicttoxml2.dicttoxml({'key': 'value'})

Verify before relying

  • Whether the package handles edge cases in dict-to-XML conversion (nested structures, special characters, type coercion) as expected
  • Whether abandonment since 2022-08-13 means compatibility issues have emerged with Python 3.10+ in real-world use

Package facts

LicenseGPL-2.0 copyleft
Python supportSupports the current Python release >=3.7, <4
Install frictionLow. Pure-Python wheel
Runtime dependenciesNone
MaintenanceAbandoned 1,462 days since the last release
Last repo commit
First released
Downloads119,152 / month, #12,085 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Development Status :: 5 - Production/StableIntended Audience :: DevelopersLicense :: OSI Approved :: GNU General Public License v2 (GPLv2)Operating System :: OS IndependentProgramming Language :: PythonProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.7Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9

Evidence: dicttoxml2-2.1.0-py3-none-any.whl

Tags

Capabilities
dict to xml conversionpython dictionary xml serializationconvert dict to xmlxml generation from python objectsdictionary xml encoder
Topics
serializationxml-generationabandoned

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 › “python dictionary xml serialization”

  • dicttoxml2Converts Python dictionaries and native data types into valid XML…
  • data-to-xmlConverts Python dictionaries and lists into XML documents with…
  • dicttoxmlConverts Python dictionaries and other native data types into valid…

Give your agent the search over MCP, or paste the wish link into any chat.

More Markup packages

PyYAML Worth it
PyPI · Python Modules · released Sep 2025

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.

MITcompiled wheel · 3.8+
1.2Bdownloads / mo
markdown-it-py Worth it
PyPI · Python Modules · released May 2026

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.

MITpure Python · 3.10+
613.8Mdownloads / mo
beautifulsoup4 Worth it
PyPI · Python Modules · released Jun 2026

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.

MITpure Python · 3.7.0+
432.1Mdownloads / mo
et-xmlfile With conditions
PyPI · Markup · released Oct 2024

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.

MITpure Python · 3.8+dormant
343.3Mdownloads / mo
tomlkit Worth it
PyPI · Markup · released Jul 2026

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.

MITpure Python · 3.9+
338.0Mdownloads / mo
docstring-parser Worth it
PyPI · Python Modules · released Apr 2026

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.

MITpure Python · 3.8+
274.9Mdownloads / mo

See also dicttoxml · xml-python · dict2xml · untangle · jxmlease · jsons · xmljson · data-to-xml · xmltojson · soup2dict