Skip to main content

An implementation of lxml.xmlfile for the standard library

Project description

et_xmlfile is a low memory library for creating large XML files.

It is based upon the xmlfile module from lxml with the aim of allowing code to be developed that will work with both libraries. It was developed initially for the openpyxl project but is now a standalone module.

The code was written by Elias Rabel as part of the Python Düsseldorf openpyxl sprint in September 2014.

Note on performance

The code was not developed with performance in mind but turned out to be faster than the existing SAX-based implementation but is significantly slower than lxml’s xmlfile. There is one area where an optimisation for lxml will negatively affect the performance of et_xmfile and that is when using the .element() method on an xmlfile context manager. It is, therefore, recommended not to use this, though the method is provided for code compatibility.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

et_xmlfile-1.1.0.tar.gz (3.2 kB view details)

Uploaded Source

Built Distribution

et_xmlfile-1.1.0-py3-none-any.whl (4.7 kB view details)

Uploaded Python 3

File details

Details for the file et_xmlfile-1.1.0.tar.gz.

File metadata

  • Download URL: et_xmlfile-1.1.0.tar.gz
  • Upload date:
  • Size: 3.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.8.9

File hashes

Hashes for et_xmlfile-1.1.0.tar.gz
Algorithm Hash digest
SHA256 8eb9e2bc2f8c97e37a2dc85a09ecdcdec9d8a396530a6d5a33b30b9a92da0c5c
MD5 8fbae9b969eac28c02f5073febefc445
BLAKE2b-256 3d5d0413a31d184a20c763ad741cc7852a659bf15094c24840c5bdd1754765cd

See more details on using hashes here.

File details

Details for the file et_xmlfile-1.1.0-py3-none-any.whl.

File metadata

  • Download URL: et_xmlfile-1.1.0-py3-none-any.whl
  • Upload date:
  • Size: 4.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.8.9

File hashes

Hashes for et_xmlfile-1.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 a2ba85d1d6a74ef63837eed693bcb89c3f752169b0e3e7ae5b16ca5e1b3deada
MD5 9a29d8fafcf8ee613d29a2cd0035f088
BLAKE2b-256 96c23dd434b0108730014f1b96fd286040dc3bcb70066346f7e01ec2ac95865f

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page