skip to navigation
skip to content

lxml 2.3

Powerful and Pythonic XML processing library combining libxml2/libxslt with the ElementTree API.

Downloads ↓

Latest Version: 2.3.4

lxml is a Pythonic, mature binding for the libxml2 and libxslt libraries. It provides safe and convenient access to these libraries using the ElementTree API.

It extends the ElementTree API significantly to offer support for XPath, RelaxNG, XML Schema, XSLT, C14N and much more.

To contact the project, go to the project home page or see our bug tracker at https://launchpad.net/lxml

In case you want to use the current in-development version of lxml, you can get it from the subversion repository at https://github.com/lxml/lxml . Note that this requires Cython to build the sources, see the build instructions on the project home page. To the same end, running easy_install lxml==dev will install lxml from https://github.com/lxml/lxml/tarball/master#egg=lxml-dev

Features added

  • When looking for children, lxml.objectify takes '{}tag' as meaning an empty namespace, as opposed to the parent namespace.

Bugs fixed

  • When finished reading from a file-like object, the parser immediately calls its .close() method.
  • When finished parsing, iterparse() immediately closes the input file.
  • Work-around for libxml2 bug that can leave the HTML parser in a non-functional state after parsing a severly broken document (fixed in libxml2 2.7.8).
  • marque tag in HTML cleanup code is correctly named marquee.

Other changes

  • Some public functions in the Cython-level C-API have more explicit return types.
 
File Type Py Version Uploaded on Size # downloads
lxml-2.3-py2.5-macosx-10.3-i386.egg (md5)
Built on Mac i386 10.4.11, using libxml2 2.7.8, libxslt 1.1.26, libiconv 1.13.1, zlib-1.2.5
Python Egg 2.5 2011-02-20 4MB 2094
lxml-2.3-py2.5-macosx-10.3-ppc.egg (md5)
Built on Mac PPC 10.4.11, using libxml2 2.7.8, libxslt 1.1.26, libiconv 1.13.1, zlib-1.2.5
Python Egg 2.5 2011-02-20 4MB 670
lxml-2.3-py2.6-macosx-10.3-fat.egg (md5)
Built on Mac PPC 10.4.11, using libxml2 2.7.8, libxslt 1.1.26, libiconv 1.13.1, zlib-1.2.5
Python Egg 2.6 2011-02-20 4MB 1247
lxml-2.3-py2.6-win-amd64.egg (md5) Python Egg 2.6 2011-03-01 1MB 1215
lxml-2.3-py2.6-win32.egg (md5) Python Egg 2.6 2011-02-28 2MB 5654
lxml-2.3-py2.7-macosx-10.3-fat.egg (md5)
Built on Mac PPC 10.4.11, using libxml2 2.7.8, libxslt 1.1.26, libiconv 1.13.1, zlib-1.2.5
Python Egg 2.7 2011-02-20 4MB 1353
lxml-2.3-py2.7-macosx-10.6-intel.egg (md5)
32bit/64bit built on Mac Intel (Core2Duo) 10.6.6, using libxml2 2.7.8, libxslt 1.1.26, libiconv 1.13.1, zlib-1.2.5
Python Egg 2.7 2011-02-20 3MB 3869
lxml-2.3-py2.7-win-amd64.egg (md5) Python Egg 2.7 2011-03-01 1MB 3030
lxml-2.3-py2.7-win32.egg (md5) Python Egg 2.7 2011-02-28 2MB 9178
lxml-2.3-py3.1-win-amd64.egg (md5) Python Egg 3.1 2011-03-01 1MB 854
lxml-2.3-py3.1-win32.egg (md5) Python Egg 3.1 2011-02-28 2MB 975
lxml-2.3-py3.2-win-amd64.egg (md5) Python Egg 3.2 2011-03-01 1MB 1139
lxml-2.3-py3.2-win32.egg (md5) Python Egg 3.2 2011-03-01 2MB 1617
lxml-2.3.tar.gz (md5, pgp) Source 2011-02-06 3MB 347079
lxml-2.3.win-amd64-py2.6.exe (md5) MS Windows installer 2.6 2011-03-01 1MB 1395
lxml-2.3.win-amd64-py2.7.exe (md5) MS Windows installer 2.7 2011-03-01 1MB 2997
lxml-2.3.win-amd64-py3.1.exe (md5) MS Windows installer 3.1 2011-03-01 1MB 529
lxml-2.3.win-amd64-py3.2.exe (md5) MS Windows installer 3.2 2011-03-01 1MB 1263
lxml-2.3.win32-py2.6.exe (md5) MS Windows installer 2.6 2011-02-28 2MB 4260
lxml-2.3.win32-py2.7.exe (md5) MS Windows installer 2.7 2011-02-28 2MB 9144
lxml-2.3.win32-py3.1.exe (md5) MS Windows installer 3.1 2011-02-28 2MB 808
lxml-2.3.win32-py3.2.exe (md5) MS Windows installer 3.2 2011-03-01 2MB 3314