effbot.org proudly presents the cElementTree library, a fast and very efficient implementation of the ElementTree API, for Python 2.1 and later. On typical documents, it's 15-20 times faster than the Python version of ElementTree, and uses 2-5 times less memory. Here are some benchmark figures, using a number of popular XML tool- kits to parse a 3405k document-style XML file from disk. library memory time ------------------------------------------------------------ minidom (python 2.1) 80000k 6.5s minidom (python 2.4) 53000k 1.4s ElementTree 1.3 14500k 1.1s pyRXPU 11500k 0.22s cElementTree 0.8 5700k 0.058s ------------------------------------------------------------ readlines (read as text) 5050k 0.032s ------------------------------------------------------------ The library is available as C source code, and as Windows installers for all recent Python versions. Get your copy here: http://effbot.org/downloads#celementtree The cElementTree module uses some support functions from the standard ElementTree library, and will not work properly without it. If you haven't installed it already, you can get it from: http://effbot.org/downloads#elementtree enjoy /F