$npx skillfedfor your agent

xmljson

Converts XML into JSON/Python dicts/arrays and vice-versa.

SkipPyPI Software DevelopmentReleased Apr 20201.0M downloads / moMITPure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — xmljson-0.2.1-py2.py3-none-any.whl
v0.2.1 · released 2020-04-25

No, unless you are maintaining existing code that depends on it. The package is abandoned (last release April 2020, repository archived), receives no security updates, and the author recommends xmltodict or untangle for new projects. Install friction is low and there are no known vulnerabilities, but the lack of maintenance and explicit guidance toward alternatives makes it unsuitable for new development.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Installation is frictionless (pure Python, no runtime dependencies), but the package is abandoned—last release was 2020-04-25 and the repository is archived.
  • No active maintenance or security updates should be expected.

License · maintenance · safety

MIT (permissive) — MIT license is permissive; you may use, modify, and distribute this package freely with minimal restrictions, though you should include the license notice.

last release 2020-04-25 (2302 days) · last repo commit 2025-06-09 · 125 stars · archived

0 known vulnerabilities (OSV.dev, 2026-08-14) · 1,049,180 downloads/mo, #4,445 on PyPI

Verify before relying

pip install xmljson

from xmljson import badgerfish as bf
from xml.etree.ElementTree import fromstring

xml_string = '<p id="main">Hello</p>'
data = bf.data(fromstring(xml_string))
print(data)
  • Whether the package works reliably with modern Python versions beyond 3.7 (classifiers list only up to 3.7)
  • Performance characteristics with large XML documents
  • Compatibility with lxml or other ElementTree implementations beyond the standard library
Same gist for agents: .md · .json

What it is and what it does

xmljson is a bidirectional XML-to-JSON converter that transforms XML documents into Python dictionaries and vice versa. It implements six standardized conventions (Abdera, BadgerFish, Cobra, GData, Parker, and Yahoo) for how XML attributes, text content, and nested elements map to JSON-like dictionary structures. The library is pure Python with no external runtime dependencies, making it lightweight to install.

The package is no longer actively maintained—the last release was in April 2020 and the repository is now archived. The author explicitly recommends alternatives like xmltodict and untangle for new projects. Use xmljson only if you need to parse XML using one of its specific conventions, or if you are maintaining legacy code that already depends on it.

Use it for

  • Convert XML API responses to Python dicts for processing when a specific JSON convention is required by your data pipeline
  • Transform structured XML documents to JSON format for storage or transmission using standardized conventions
  • Parse XML with attribute preservation using BadgerFish convention (prefixing attributes with @)
  • Generate XML from Python dictionaries following a chosen convention, then serialize with ElementTree
  • CLI tool to batch-convert XML files to JSON using one of the supported conventions

Worth the install?

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

Skip

No, unless you are maintaining existing code that depends on it.

The package is abandoned (last release April 2020, repository archived), receives no security updates, and the author recommends xmltodict or untangle for new projects. Install friction is low and there are no known vulnerabilities, but the lack of maintenance and explicit guidance toward alternatives makes it unsuitable for new development.

Install

xmljson on PyPI

Before you install

Installation is frictionless (pure Python, no runtime dependencies), but the package is abandoned—last release was 2020-04-25 and the repository is archived. No active maintenance or security updates should be expected.

License in practice

MIT license is permissive; you may use, modify, and distribute this package freely with minimal restrictions, though you should include the license notice.

Quickstart

pip install xmljson

from xmljson import badgerfish as bf
from xml.etree.ElementTree import fromstring

xml_string = '<p id="main">Hello</p>'
data = bf.data(fromstring(xml_string))
print(data)

Verify before relying

  • Whether the package works reliably with modern Python versions beyond 3.7 (classifiers list only up to 3.7)
  • Performance characteristics with large XML documents
  • Compatibility with lxml or other ElementTree implementations beyond the standard library

Package facts

LicenseMIT permissive
Python supportNot specified
Install frictionLow. Pure-Python wheel
Runtime dependenciesNone
MaintenanceAbandoned 2,302 days since the last release
Last repo commit repository archived
First released
Downloads1,049,180 / month, #4,445 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Development Status :: 4 - BetaIntended Audience :: DevelopersLicense :: OSI Approved :: MIT LicenseOperating System :: OS IndependentProgramming Language :: Python :: 2Programming Language :: Python :: 2.7Programming Language :: Python :: 3Programming Language :: Python :: 3.6Programming Language :: Python :: 3.7Topic :: Software DevelopmentTopic :: Software Development :: Libraries :: Python Modules

Evidence: xmljson-0.2.1-py2.py3-none-any.whl

Tags

Capabilities
xml to json conversionxml to python dictxml parsing conventionsbadgerfish xml conversionxml json bidirectionalstructured xml parsingxml data transformation
Topics
xml-parsingabandoned
PyPI keywords
xmljson

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 parsing conventions”

  • xmljsonConverts XML documents to Python dictionaries (and back) using one of…
  • cyboxParses, manipulates, and generates Cyber Observable eXpression…
  • tree-sitter-xmlProvides a tree-sitter parser grammar for XML and DTD files, enabling…

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

More Software Development packages

typing-extensions Worth it
PyPI · Software Development · released Jul 2026

Provides backported and experimental type hints for Python 3.9+, allowing use of newer typing features on older Python versions and enabling early experimentation with type system PEPs before they enter the standard library.

PSF-2.0pure Python · 3.9+
1.9Bdownloads / mo
numpy Worth it
PyPI · Software Development · released Aug 2026

NumPy provides an N-dimensional array object and a comprehensive suite of mathematical, linear algebra, Fourier transform, and random number functions for scientific computing in Python.

BSD-3-Clause AND 0BSD AND MIT AND Zlib AND CC0-1.0compiled wheel · 3.12+
1.1Bdownloads / mo
fastapi Worth it
PyPI · Software Development · released Jul 2026

FastAPI is a Python web framework for building REST APIs using type hints, with automatic request validation, serialization, and interactive API documentation.

MITpure Python · 3.10+
568.6Mdownloads / mo
annotated-doc With conditions
PyPI · Software Development · released Jul 2026

Provides a way to document function parameters, class attributes, return types, and variables inline using Python's `Annotated` type hint syntax instead of traditional docstrings.

MITpure Python · 3.9+
456.2Mdownloads / mo
typer Worth it
PyPI · Software Development · released Aug 2026

Typer builds command-line applications from Python functions using type hints, automatically generating help text, argument parsing, and shell completion.

Install it if you are building CLIs in Python.

MITpure Python · 3.10+
369.3Mdownloads / mo
distlib With conditions
PyPI · Software Development · released Jun 2026

Distlib provides low-level packaging utilities for building, distributing, and managing Python software—including metadata handling, version specifiers, wheel support, script installation, and dependency resolution.

permissive licensepure Python
323.3Mdownloads / mo

See also dict2xml · xmltodict · untangle · dicttoxml · xmltojson · jxmlease · json-tricks · xml-python · types-xmltodict · xmlformatter