Skip to main content

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

Project description

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 github 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 if you have an appropriate version of Cython installed.

After an official release of a new stable series, bug fixes may become available at https://github.com/lxml/lxml/tree/lxml-3.3 . Running easy_install lxml==3.3bugfix will install the unreleased branch state from https://github.com/lxml/lxml/tarball/lxml-3.3#egg=lxml-3.3bugfix as soon as a maintenance branch has been established. Note that this requires Cython to be installed at an appropriate version for the build.

3.3.2 (2014-02-26)

Bugs fixed

  • The properties resolvers and version, as well as the methods set_element_class_lookup() and makeelement(), were lost from iterparse objects.

  • LP#1222132: instances of XMLSchema, Schematron and RelaxNG did not clear their local error_log before running a validation.

  • LP#1238500: lxml.doctestcompare mixed up “expected” and “actual” in attribute values.

  • Some file I/O tests were failing in MS-Windows due to incorrect temp file usage. Initial patch by Gabi Davar.

  • LP#910014: duplicate IDs in a document were not reported by DTD validation.

  • LP#1185332: tostring(method="html") did not use HTML serialisation semantics for trailing tail text. Initial patch by Sylvain Viollon.

  • LP#1281139: .attrib value of Comments lost its mutation methods in 3.3.0. Even though it is empty and immutable, it should still provide the same interface as that returned for Elements.

Release history Release notifications | RSS feed

Download files

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

Source Distribution

lxml-3.3.2.tar.gz (3.5 MB view details)

Uploaded Source

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

lxml-3.3.2.win-amd64-py3.4.exe (3.4 MB view details)

Uploaded Source

lxml-3.3.2.win-amd64-py3.3.exe (3.4 MB view details)

Uploaded Source

lxml-3.3.2.win-amd64-py3.2.exe (3.5 MB view details)

Uploaded Source

lxml-3.3.2.win-amd64-py2.7.exe (3.5 MB view details)

Uploaded Source

lxml-3.3.2.win-amd64-py2.6.exe (3.5 MB view details)

Uploaded Source

lxml-3.3.2.win32-py3.4.exe (3.2 MB view details)

Uploaded Source

lxml-3.3.2.win32-py3.3.exe (3.2 MB view details)

Uploaded Source

lxml-3.3.2.win32-py3.2.exe (3.2 MB view details)

Uploaded Source

lxml-3.3.2.win32-py2.7.exe (3.2 MB view details)

Uploaded Source

lxml-3.3.2.win32-py2.6.exe (3.2 MB view details)

Uploaded Source

File details

Details for the file lxml-3.3.2.tar.gz.

File metadata

  • Download URL: lxml-3.3.2.tar.gz
  • Upload date:
  • Size: 3.5 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for lxml-3.3.2.tar.gz
Algorithm Hash digest
SHA256 fd1a7fd1933a48055a6f396e087b58bf35aec11e55a10f5da22483cdc1d2195c
MD5 a3ea7bf74b718ecb46d9fd5198eec92d
BLAKE2b-256 3299cb2c4e205acc3ce8d7544cac7fe5d86bed227674655d405aa95bf76b0163

See more details on using hashes here.

File details

Details for the file lxml-3.3.2.win-amd64-py3.4.exe.

File metadata

File hashes

Hashes for lxml-3.3.2.win-amd64-py3.4.exe
Algorithm Hash digest
SHA256 55aeeded5f22dcc92e0138179aaa3776c5ad1dc857adb8c281024953e0bdeb95
MD5 d9ba5838a1dda430311e0809ab2c6f4d
BLAKE2b-256 403d17e78bf7f705bcc877fc4ae1e103d60fd43ff62e4e9d4de84227ea085d68

See more details on using hashes here.

File details

Details for the file lxml-3.3.2.win-amd64-py3.3.exe.

File metadata

File hashes

Hashes for lxml-3.3.2.win-amd64-py3.3.exe
Algorithm Hash digest
SHA256 d152adbf361f23d987a2c907ede41bee101adfeaf1a4db0f95af07a693fdd4c9
MD5 116b034014f5bc6e2c9cf1aa9ef09f3f
BLAKE2b-256 1f785050254557cd134a793554326fbc5c8baebd09f2f09eb680c9083ae31a57

See more details on using hashes here.

File details

Details for the file lxml-3.3.2.win-amd64-py3.2.exe.

File metadata

File hashes

Hashes for lxml-3.3.2.win-amd64-py3.2.exe
Algorithm Hash digest
SHA256 a261b4b190fb53b87c21ffb016d642810c641e83f7116bc27916aefa4ac05997
MD5 3928caa65df27b5c05d579707fc2808c
BLAKE2b-256 0667c59d7e533b5a9d92cebf9bebdd654c24415c161c245595a94bddfc7172ed

See more details on using hashes here.

File details

Details for the file lxml-3.3.2.win-amd64-py2.7.exe.

File metadata

File hashes

Hashes for lxml-3.3.2.win-amd64-py2.7.exe
Algorithm Hash digest
SHA256 d94e10699ccf03bde27f6b52efb94be59eab1eb2975edd0a295949bd8f47cc1d
MD5 a14d7df320a9125d975e6b3e6ab35a7b
BLAKE2b-256 736e88e8d38361dc0c52d2e21792d43e9366638d4890de5b284b5b78ed5434aa

See more details on using hashes here.

File details

Details for the file lxml-3.3.2.win-amd64-py2.6.exe.

File metadata

File hashes

Hashes for lxml-3.3.2.win-amd64-py2.6.exe
Algorithm Hash digest
SHA256 7bb3fdcbd3730c2a5c9a216bda80b7f16987fb28ef5ebdf3c20e15791e07f339
MD5 2f69e437bd621a26320d8b6f39514492
BLAKE2b-256 b4794d19a4407b7ad90208404c372691ccb0af4e2bf806e1515cef93d447e9b3

See more details on using hashes here.

File details

Details for the file lxml-3.3.2.win32-py3.4.exe.

File metadata

  • Download URL: lxml-3.3.2.win32-py3.4.exe
  • Upload date:
  • Size: 3.2 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for lxml-3.3.2.win32-py3.4.exe
Algorithm Hash digest
SHA256 800243de27ae093c84e7833b6cd5534b27418a21f088da961e6cdc1328351c17
MD5 a7659dbe7a3ecafa307c8bf0867dcf1c
BLAKE2b-256 dcb4202cba8432a48093e529e8f6ae6e1880a8177dc16ce11cee2d9813fe7f0d

See more details on using hashes here.

File details

Details for the file lxml-3.3.2.win32-py3.3.exe.

File metadata

  • Download URL: lxml-3.3.2.win32-py3.3.exe
  • Upload date:
  • Size: 3.2 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for lxml-3.3.2.win32-py3.3.exe
Algorithm Hash digest
SHA256 dca11c1bcc16801e5eff6d02bb0669e821c0ee3eecf72f4527377edcc5ef8500
MD5 836c85f70192b08d1a71e2d17427dbf6
BLAKE2b-256 7b1f5da3f6804f6250aacfaf1cc5c1066214b6be856de928af7e482c6c77ee9a

See more details on using hashes here.

File details

Details for the file lxml-3.3.2.win32-py3.2.exe.

File metadata

  • Download URL: lxml-3.3.2.win32-py3.2.exe
  • Upload date:
  • Size: 3.2 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for lxml-3.3.2.win32-py3.2.exe
Algorithm Hash digest
SHA256 79703312720160ed3106195dcd03455b20c04f8577fdd7cf200450b6cea9af55
MD5 b11eb8831e270ee0585700c171ca4160
BLAKE2b-256 0198c9cb260a1cf3b8e8accb21113c0229d35845d6c27c20e0802f48b121d6b2

See more details on using hashes here.

File details

Details for the file lxml-3.3.2.win32-py2.7.exe.

File metadata

  • Download URL: lxml-3.3.2.win32-py2.7.exe
  • Upload date:
  • Size: 3.2 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for lxml-3.3.2.win32-py2.7.exe
Algorithm Hash digest
SHA256 25c35fa31a413851b35066aa09504697cba2c20eaa136937fa3ff2b1acdd3dc0
MD5 58cc1ace411f964523b3d7cb906fc9d7
BLAKE2b-256 391af1ca9fa4ddd0dcff0f14d18255c7a5db5198082757697fa70a25d13dfa18

See more details on using hashes here.

File details

Details for the file lxml-3.3.2.win32-py2.6.exe.

File metadata

  • Download URL: lxml-3.3.2.win32-py2.6.exe
  • Upload date:
  • Size: 3.2 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for lxml-3.3.2.win32-py2.6.exe
Algorithm Hash digest
SHA256 e60aac22bc8f2aaef16eaaee62b2708f4df5ae0bd26524b67968bd898fc42f86
MD5 dc3520c808be5e6684deffad1033ce23
BLAKE2b-256 6f64839db4ac70b559677c647794b9c251487b5ba67c19c2c165d4c1ff4f7e90

See more details on using hashes here.

Supported by

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