pandas-read-xml
A tool to read XML files as pandas dataframes.
Decision gist · record as of 2026-08-14
Yes, if you have a specific XML-to-DataFrame conversion task and the current API matches your needs. The low install friction and permissive license make it a reasonable choice for one-off scripts or prototypes. No, if you need ongoing maintenance, bug fixes, or compatibility with future pandas versions—the package is archived and unmaintained since 2021. Consider alternatives or implement custom parsing if your XML handling is mission-critical.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Python 3.6 or later; XML file path and correct tag hierarchy must be known in advance.
- Low friction installation as a pure-Python wheel.
- However, the package is abandoned as of 2021 and has not been maintained for over three years; the repository is archived.
License · maintenance · safety
permissive license (permissive) — MIT license permits commercial and private use with minimal restrictions, making it safe from a licensing standpoint for most projects.
last release 2021-04-08 (1954 days) · last repo commit 2022-12-26 · 30 stars · archived
0 known vulnerabilities (OSV.dev, 2026-08-14) · 495,268 downloads/mo, #6,342 on PyPI
Alternatives
Verify before relying
pip install pandas_read_xml
import pandas_read_xml as pdx
df = pdx.read_xml('file.xml', ['root', 'child', 'target_tag'])- Whether the package handles modern XML schemas or edge cases introduced in recent pandas versions
- Compatibility with current versions of runtime dependencies (pyarrow, pandas, xmltodict, requests, urllib3)
- Performance characteristics on large or deeply nested XML files
What it is and what it does
pandas_read_xml bridges the gap between XML's hierarchical structure and pandas' tabular format. It reads XML files and converts them into DataFrames by letting you specify the path to the root tag containing your data, similar to how pd.read_csv() works. The package also provides utilities to flatten nested structures and automatically separate what appear to be distinct relational tables from a single XML source.
The core use case is extracting structured data from XML without manual parsing. It handles common XML quirks—like inconsistent nesting across files from the same schema—through methods like auto_flatten() and auto_separate_tables(). However, the package has been archived since 2021 and receives no maintenance, so it is best suited for projects with stable XML schemas and no need for ongoing support.
Use it for
- Extract tabular data from XML exports of relational databases where the schema is known but nesting is inconsistent.
- Convert XML API responses into pandas DataFrames for analysis without writing custom parsing code.
- Flatten deeply nested XML structures into separate normalized tables for data warehousing or ETL pipelines.
- Quickly prototype data pipelines that ingest XML files when pandas' native XML support is insufficient.
- Separate mixed-type nested elements in XML (lists vs. scalars) into distinct DataFrames automatically.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, if you have a specific XML-to-DataFrame conversion task and the current API matches your needs.
The low install friction and permissive license make it a reasonable choice for one-off scripts or prototypes. No, if you need ongoing maintenance, bug fixes, or compatibility with future pandas versions—the package is archived and unmaintained since 2021. Consider alternatives or implement custom parsing if your XML handling is mission-critical.
Install
pandas-read-xml on PyPI
Before you install
Low friction installation as a pure-Python wheel. However, the package is abandoned as of 2021 and has not been maintained for over three years; the repository is archived. Use only if the current API meets your needs without expectation of bug fixes or updates.
Requires Python 3.6 or later; XML file path and correct tag hierarchy must be known in advance.
License in practice
MIT license permits commercial and private use with minimal restrictions, making it safe from a licensing standpoint for most projects.
Quickstart
pip install pandas_read_xml
import pandas_read_xml as pdx
df = pdx.read_xml('file.xml', ['root', 'child', 'target_tag'])
Verify before relying
- Whether the package handles modern XML schemas or edge cases introduced in recent pandas versions
- Compatibility with current versions of runtime dependencies (pyarrow, pandas, xmltodict, requests, urllib3)
- Performance characteristics on large or deeply nested XML files
Package facts
| License | permissive license permissive |
| Python support | Supports the current Python release >=3.6 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 7 packagespyarrowpandasxmltodictrequestszipfile36distliburllib3 |
| Maintenance | Abandoned 1,954 days since the last release |
| Last repo commit | repository archived |
| First released | |
| Downloads | 495,268 / month, #6,342 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | License :: OSI Approved :: MIT LicenseOperating System :: OS IndependentProgramming Language :: Python :: 3 |
Evidence: pandas_read_xml-0.3.1-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 › “read XML as dataframe”
- pandas-read-xmlConverts XML files into pandas DataFrames, with tools to flatten…
- pandas_accessReads MS Access database files (.mdb) into Pandas DataFrames by…
- pandavroReads and writes Apache Avro files to and from pandas DataFrames,…
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 gspread-dataframe · gspread-pandas · json-flattener · flatten-json · pandas_access · pandas-td · sas7bdat · npTDMS · gtfparse · pandavro