$npx skillfedfor your agent

et-xmlfile

An implementation of lxml.xmlfile for the standard library

With conditionsPyPI MarkupReleased Oct 2024343.3M downloads / moMITPure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — et_xmlfile-2.0.0-py3-none-any.whl
v2.0.0 · released 2024-10-25 · Python >=3.8

Yes, if you need to write large XML files and want to avoid memory bloat. The package is stable, has no dependencies, and installs easily. The dormant maintenance status is not a blocker—the API is simple and the problem it solves is well-defined. Install it if incremental XML writing fits your use case; skip it if your XML documents are small or you already use lxml.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Low friction: pure Python wheel with no runtime dependencies.
  • Maintenance is dormant—last release was 658 days ago—but the package is marked Production/Stable and supports current Python versions through 3.13.

License · maintenance · safety

MIT (permissive) — MIT license (permissive) places no restrictions on use, modification, or distribution in proprietary or open-source projects.

last release 2024-10-25 (658 days)

0 known vulnerabilities (OSV.dev, 2026-08-14) · 343,296,429 downloads/mo, #121 on PyPI

Verify before relying

pip install et-xmlfile

from et_xmlfile import xmlfile
from xml.etree.ElementTree import Element

with xmlfile('output.xml') as xf:
    elem = Element('root')
    xf.write(elem)
  • Whether performance characteristics relative to lxml's xmlfile or SAX-based alternatives matter for your use case
  • Whether the `.element()` method performance caveat (mentioned in the description) affects your intended usage pattern
Same gist for agents: .md · .json

What it is and what it does

et_xmlfile is a memory-efficient XML writer for the Python standard library, designed to handle large XML file generation without loading the entire document tree into memory. It writes elements incrementally to disk or stream as they are created, clearing memory after each write—solving the problem that the standard library's iterparse has no equivalent for writing. The package is an implementation of lxml's xmlfile API, allowing code to work with both libraries.

Originally developed for the openpyxl project, et_xmlfile requires Python 3.8 or later and has no external runtime dependencies. The library trades some performance for simplicity and memory efficiency; while faster than SAX-based approaches, it is generally slower than lxml's native xmlfile. It is most efficient when creating elements directly rather than using the `.element()` context manager method.

Use it for

  • Generate large Excel files (XLSX) without exhausting memory, as used by openpyxl
  • Stream XML output for data exports or reports that exceed available RAM
  • Write XML logs or event feeds incrementally without buffering the entire document
  • Build XML documents in environments with strict memory constraints
  • Port code between standard library and lxml by using a compatible API

Worth the install?

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

With conditions

Yes, if you need to write large XML files and want to avoid memory bloat.

The package is stable, has no dependencies, and installs easily. The dormant maintenance status is not a blocker—the API is simple and the problem it solves is well-defined. Install it if incremental XML writing fits your use case; skip it if your XML documents are small or you already use lxml.

Install

et-xmlfile on PyPI

Before you install

Low friction: pure Python wheel with no runtime dependencies. Maintenance is dormant—last release was 658 days ago—but the package is marked Production/Stable and supports current Python versions through 3.13.

License in practice

MIT license (permissive) places no restrictions on use, modification, or distribution in proprietary or open-source projects.

Quickstart

pip install et-xmlfile

from et_xmlfile import xmlfile
from xml.etree.ElementTree import Element

with xmlfile('output.xml') as xf:
    elem = Element('root')
    xf.write(elem)

Verify before relying

  • Whether performance characteristics relative to lxml's xmlfile or SAX-based alternatives matter for your use case
  • Whether the `.element()` method performance caveat (mentioned in the description) affects your intended usage pattern

Package facts

LicenseMIT permissive
Python supportSupports the current Python release >=3.8
Install frictionLow. Pure-Python wheel
Runtime dependenciesNone
MaintenanceDormant 658 days since the last release
First released
Downloads343,296,429 / month, #121 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Development Status :: 5 - Production/StableLicense :: OSI Approved :: MIT LicenseOperating System :: MacOS :: MacOS XOperating System :: Microsoft :: WindowsOperating System :: POSIXProgramming Language :: PythonProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9

Evidence: et_xmlfile-2.0.0-py3-none-any.whl

Tags

Capabilities
low memory xml writingincremental xml generationstreaming xml outputlarge xml file creationmemory efficient xmlxml serializationlxml xmlfile alternative
Topics
xml-generationmemory-efficientstreaming

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 › “low memory xml writing”

  • et-xmlfileet_xmlfile writes large XML files with minimal memory overhead by…
  • dataflows-tabulatorReads and writes tabular data in multiple formats (CSV, XLS, JSON,…
  • mwxmlEfficiently parse and stream-process MediaWiki XML database dumps…

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

More Markup packages

PyYAML Worth it
PyPI · Python Modules · released Sep 2025

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.

MITcompiled wheel · 3.8+
1.2Bdownloads / mo
markdown-it-py Worth it
PyPI · Python Modules · released May 2026

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.

MITpure Python · 3.10+
613.8Mdownloads / mo
beautifulsoup4 Worth it
PyPI · Python Modules · released Jun 2026

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.

MITpure Python · 3.7.0+
432.1Mdownloads / mo
tomlkit Worth it
PyPI · Markup · released Jul 2026

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.

MITpure Python · 3.9+
338.0Mdownloads / mo
docstring-parser Worth it
PyPI · Python Modules · released Apr 2026

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.

MITpure Python · 3.8+
274.9Mdownloads / mo
docutils With conditions
PyPI · Software Development · released May 2026

Docutils converts plaintext documentation in reStructuredText format into multiple output formats including HTML, XML, and LaTeX using a modular processing system.

BSD-3-Clausepure Python · 3.9+
225.6Mdownloads / mo

See also xmldiff · xmlunittest · docx · pydantic-xml · tree-sitter-xml · xmlformatter · xsdata · openpyxl · defusedxml · pygexf