Skip to main content

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

Project description

lxml is a Pythonic 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.

1.0.2 (2006-06-27)

Features added

  • Support for setting a custom default Element class as opposed to namespace specific classes (which still override the default class)

Bugs fixed

  • Rare exceptions in Python list functions were not handled
  • Parsing accepted unicode strings with XML encoding declaration in certain cases
  • Parsing 8-bit encoded strings from StringIO objects raised an exception
  • Module function initThread() was removed - useless (and never worked)
  • XSLT and parser exception messages include the error line number

Project details


Release history Release notifications

Download files

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

Filename, size & hash SHA256 hash help File type Python version Upload date
lxml-1.0.2-py2.3-linux-i686.egg (159.4 kB) Copy SHA256 hash SHA256 Egg 2.3
lxml-1.0.2-py2.4-freebsd-6.1-RELEASE-i386.egg (174.2 kB) Copy SHA256 hash SHA256 Egg 2.4
lxml-1.0.2-py2.4-linux-i686.egg (159.3 kB) Copy SHA256 hash SHA256 Egg 2.4
lxml-1.0.2-py2.4-linux-x86_64.egg (168.9 kB) Copy SHA256 hash SHA256 Egg 2.4
lxml-1.0.2-py2.4-macosx-10.4-ppc.egg (355.7 kB) Copy SHA256 hash SHA256 Egg 2.4
lxml-1.0.2-py2.4-static-win32.egg (147.1 kB) Copy SHA256 hash SHA256 Egg 2.4
lxml-1.0.2-py2.4-win32.egg (1.2 MB) Copy SHA256 hash SHA256 Egg 2.4
lxml-1.0.2.tar.gz (378.1 kB) Copy SHA256 hash SHA256 Source None
lxml-1.0.2.win32-py2.4.exe (205.0 kB) Copy SHA256 hash SHA256 Windows Installer 2.4
lxml-1.0.2.win32-static-py2.4.exe (1.3 MB) Copy SHA256 hash SHA256 Windows Installer 2.4

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page