jxmlease
jxmlease converts between XML and intelligent Python data structures.
Decision gist · record as of 2026-08-14
Yes, if you need lightweight XML-to-dict conversion and can accept an abandoned package. The zero runtime dependencies and low install friction make it easy to add, and the MIT license is unencumbered. However, do not use it for new projects requiring active maintenance, security updates, or support for modern Python versions beyond 3.5. For actively maintained alternatives, consider other XML libraries.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Low install friction with no runtime dependencies.
- However, the package is abandoned—last release was 2020-05-29 and no commits since.
- Use only if you need a stable, unchanging XML-to-dict layer and can accept no future maintenance or security updates.
License · maintenance · safety
MIT (permissive) — MIT license is permissive; you can use, modify, and distribute jxmlease freely in commercial and private projects with minimal restrictions.
last release 2020-05-29 (2268 days) · last repo commit 2020-05-29 · 82 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 205,774 downloads/mo, #9,582 on PyPI
Alternatives
Verify before relying
import jxmlease
xml_string = '<a><b>hello</b></a>'
root = jxmlease.parse(xml_string)
print(root) # {u'a': {u'b': u'hello'}}
print(jxmlease.emit_xml({'a': {'b': 'hello'}}))- Whether the package handles modern XML features (namespaces, CDATA, processing instructions) adequately for your use case.
- Performance characteristics on large XML documents or deeply nested structures.
- Compatibility with Python versions beyond 3.5 (classifiers list 3.5 as the highest, but actual support is unspecified).
What it is and what it does
jxmlease bridges the gap between XML and Python by subclassing native Python types (list, dict, string) to create smart XML classes that hold both data and metadata. When you parse XML, you get a standard Python object you can iterate, compare, and manipulate like any dict or list, but you can also call methods like get_xml_attr() to access XML attributes and other metadata that would normally be lost. It also works in reverse: you can pass a plain Python dict to emit_xml() and get valid XML output.
The package supports flexible parsing modes—you can stream results as the parser encounters specific tags, iterate over the full tree, or search for nodes by tag name. This makes it useful for both small configuration files and selective extraction from larger documents. However, the project has been abandoned since 2020 with no active maintenance, so it should only be adopted if you need a stable, unchanging XML layer and can accept no future updates.
Use it for
- Parse XML configuration files and access both tag content and attributes as a single Python dict.
- Convert REST API XML responses into Python objects for easier data manipulation and comparison.
- Generate XML output from Python dictionaries without manually constructing XML strings.
- Extract specific nodes from large XML documents using generator-based parsing to avoid loading the entire tree.
- Maintain XML metadata (attributes, element order) while working with XML data as native Python types.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, if you need lightweight XML-to-dict conversion and can accept an abandoned package.
The zero runtime dependencies and low install friction make it easy to add, and the MIT license is unencumbered. However, do not use it for new projects requiring active maintenance, security updates, or support for modern Python versions beyond 3.5. For actively maintained alternatives, consider other XML libraries.
Install
jxmlease on PyPI
Before you install
Low install friction with no runtime dependencies. However, the package is abandoned—last release was 2020-05-29 and no commits since. Use only if you need a stable, unchanging XML-to-dict layer and can accept no future maintenance or security updates.
License in practice
MIT license is permissive; you can use, modify, and distribute jxmlease freely in commercial and private projects with minimal restrictions.
Quickstart
import jxmlease
xml_string = '<a><b>hello</b></a>'
root = jxmlease.parse(xml_string)
print(root) # {u'a': {u'b': u'hello'}}
print(jxmlease.emit_xml({'a': {'b': 'hello'}}))
Verify before relying
- Whether the package handles modern XML features (namespaces, CDATA, processing instructions) adequately for your use case.
- Performance characteristics on large XML documents or deeply nested structures.
- Compatibility with Python versions beyond 3.5 (classifiers list 3.5 as the highest, but actual support is unspecified).
Package facts
| License | MIT permissive |
| Python support | Not specified |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | None |
| Maintenance | Abandoned 2,268 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 205,774 / month, #9,582 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Intended Audience :: DevelopersLicense :: OSI Approved :: MIT LicenseOperating System :: OS IndependentProgramming Language :: PythonProgramming Language :: Python :: 2Programming Language :: Python :: 2.6Programming Language :: Python :: 2.7Programming Language :: Python :: 3Programming Language :: Python :: 3.2Programming Language :: Python :: 3.3Programming Language :: Python :: 3.4Programming Language :: Python :: 3.5Programming Language :: Python :: Implementation :: PyPyTopic :: Text Processing :: Markup :: XML |
Evidence: jxmlease-1.0.3-py2.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 › “parse xml python”
- jxmleaseConverts XML to Python data structures (lists, dicts, strings) that…
- xunitparserParses JUnit/XUnit XML test result files and maps them to Python…
- xmltodictConverts XML to Python dictionaries and back, treating XML parsing…
Give your agent the search over MCP, or paste the wish link into any chat.
More XML packages
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.
lxml provides Python bindings to libxml2 and libxslt, enabling parsing, validation, and transformation of XML and HTML documents through an ElementTree-compatible API with support for XPath, XSLT, and schema validation.
Install it if you need robust XML/HTML parsing, validation, or transformation; avoid it only if you must stay pure-Python and can accept slower performance.
Defusedxml hardens Python's standard XML libraries against XML bomb attacks and entity expansion exploits by providing drop-in replacements that disable dangerous parsing features by default.
Install it if your application parses any XML from untrusted sources.
Docutils converts plaintext documentation in reStructuredText format into multiple output formats including HTML, XML, and LaTeX using a modular processing system.
Converts XML to Python dictionaries and back, treating XML parsing and generation like working with JSON.
Sphinx generates professional documentation from reStructuredText source files, producing HTML, PDF, EPUB, and other formats with automatic cross-references, code highlighting, and hierarchical navigation.
See also dicttoxml · xml-python · untangle · dicttoxml2 · xmljson · py-serializable · xmltojson · dict2xml · xmldiff