--- id: xml-python version: "0.4.3" license: MPL license_treatment: copyleft maintenance: abandoned --- # xml-python — A library for making Python objects from XML. License: copyleft · Maintenance: abandoned · Downloads: 3.8M/mo ## 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 above — verify before relying. Converts XML documents into Python objects, allowing you to work with XML data as native Python instances rather than parsing raw XML text. 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 pip install xml-python uv add xml-python poetry add xml-python ## Installing xml-python 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 = 'value' 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: unspecified - Install friction: low - Maintenance: abandoned - Downloads: 3.8M/month (top 5,000 on PyPI) - Known vulnerabilities: none known ## Tags xml to python objects, xml parsing python, deserialize xml, xml object mapping, xml data binding, convert xml to classes, xml schema binding, abandoned, xml-serialization [View on SkillFed](https://skillfed.io/packages/xml-python) · [View on PyPI](https://pypi.org/project/xml-python/)