xml-python
A library for making Python objects from XML.
Decision gist · record as of 2026-08-14
No. The package is abandoned (last release 2021-01-07, no updates since) and offers no clear advantage over maintained alternatives. The lack of active maintenance means no bug fixes, security updates, or Python version compatibility improvements. Use only if you have a specific legacy dependency on this exact library.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Installation is straightforward with no compiled dependencies, but the package has been abandoned since January 2021.
- No active maintenance or bug fixes should be expected.
License · maintenance · safety
MPL (copyleft) — Licensed under MPL (Mozilla Public License), a copyleft license. You may use and modify the code, but derivative works must be distributed under the same license terms.
last release 2021-01-07 (2045 days)
0 known vulnerabilities (OSV.dev, 2026-08-14) · 3,751,707 downloads/mo, #2,504 on PyPI
Alternatives
Verify before relying
pip install xml-python
from xml_python import XmlObject
xml_data = '<root><item>value</item></root>'
obj = XmlObject.from_xml(xml_data)- Whether the package actually supports the advertised XML-to-object conversion workflow (no working examples in fact sheet)
- Current compatibility with modern Python versions (requires_python field is empty)
- Whether attrs dependency is used for class generation or just as a utility
- How this compares to maintained alternatives for XML-to-object mapping
What it is and what it does
xml-python is a library for deserializing XML documents into Python objects. Instead of working with DOM trees or ElementTree structures, you define Python classes and the library maps XML elements to object instances, letting you access XML data through normal Python attributes.
The package depends only on attrs, a lightweight library for class definition. It was last released on 2021-01-07 and has received no updates since; the project is no longer maintained. Before adopting it, verify that it works with your Python version and that its XML handling meets your use case, since there will be no ongoing support for bugs or compatibility issues.
Use it for
- Deserialize XML configuration files into Python dataclass-like objects for easier programmatic access
- Convert XML API responses into typed Python objects instead of navigating nested dictionaries
- Map XML document structures to Python classes for data validation and type safety
- Build Python object models from XML schemas without hand-coding parser logic
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
No.
The package is abandoned (last release 2021-01-07, no updates since) and offers no clear advantage over maintained alternatives. The lack of active maintenance means no bug fixes, security updates, or Python version compatibility improvements. Use only if you have a specific legacy dependency on this exact library.
Install
xml-python on PyPI
Before you install
Installation is straightforward with no compiled dependencies, but the package has been abandoned since January 2021. No active maintenance or bug fixes should be expected.
License in practice
Licensed under MPL (Mozilla Public License), a copyleft license. You may use and modify the code, but derivative works must be distributed under the same license terms.
Quickstart
pip install xml-python
from xml_python import XmlObject
xml_data = '<root><item>value</item></root>'
obj = XmlObject.from_xml(xml_data)
Verify before relying
- Whether the package actually supports the advertised XML-to-object conversion workflow (no working examples in fact sheet)
- Current compatibility with modern Python versions (requires_python field is empty)
- Whether attrs dependency is used for class generation or just as a utility
- How this compares to maintained alternatives for XML-to-object mapping
Package facts
| License | MPL copyleft |
| Python support | Not specified |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 1 packageattrs |
| Maintenance | Abandoned 2,045 days since the last release |
| First released | |
| Downloads | 3,751,707 / month, #2,504 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
Evidence: xml_python-0.4.3-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 › “xml to python objects”
- xml-pythonConverts XML documents into Python objects, allowing you to work with…
- py-serializableSerializes and deserializes Python classes to and from JSON and XML…
- 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 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 jxmlease · py-serializable · xsdata · untangle · dicttoxml2 · pydantic-xml · PyXB-X · xsdata-pydantic · pyangbind · serpent