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.2 . Running easy_install lxml==3.2bugfix will install the unreleased branch state from https://github.com/lxml/lxml/tarball/lxml-3.2#egg=lxml-3.2bugfix 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.2.1 (2013-05-11)

Features added

  • The methods apply_templates() and process_children() of XSLT extension elements have gained two new boolean options elements_only and remove_blank_text that discard either all strings or whitespace-only strings from the result list.

Bugs fixed

  • When moving Elements to another tree, the namespace cleanup mechanism no longer drops namespace prefixes from attributes for which it finds a default namespace declaration, to prevent them from appearing as unnamespaced attributes after serialisation.

  • Returning non-type objects from a custom class lookup method could lead to a crash.

  • Instantiating and using subtypes of Comments and ProcessingInstructions crashed.

Other changes

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.2.1.tar.gz (3.3 MB view details)

Uploaded Source

Built Distributions

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

Uploaded Source

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

Uploaded Source

lxml-3.2.1.win-amd64-py3.2.exe (3.4 MB view details)

Uploaded Source

lxml-3.2.1.win-amd64-py2.7.exe (3.4 MB view details)

Uploaded Source

lxml-3.2.1.win-amd64-py2.6.exe (3.4 MB view details)

Uploaded Source

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

Uploaded Source

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

Uploaded Source

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

Uploaded Source

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

Uploaded Source

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

Uploaded Source

File details

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

File metadata

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

File hashes

Hashes for lxml-3.2.1.tar.gz
Algorithm Hash digest
SHA256 fc4924366cd0751f9cde17c2bc52e13df8b04246d4eaf6b09a496262c9ebbf6a
MD5 d183ccd6bbd5ca139e9db9e9a675787e
BLAKE2b-256 a817942c2f167cade0f387b2077299865b6e1d26dca75e1587e12df408b67d9a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for lxml-3.2.1.win-amd64-py3.4.exe
Algorithm Hash digest
SHA256 06f2bfd3f70fa852481cdd43edbfafbb810fd9d0d8afb3bf1da8239ea9a7b0c5
MD5 80d4303d88b91808c419176e6ba312e1
BLAKE2b-256 85826b06f4f0fdb976b4d6764880236b309c79e695122761eea4447a4dc96726

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for lxml-3.2.1.win-amd64-py3.3.exe
Algorithm Hash digest
SHA256 152a79c4f694b652b18bd309102c799307506ab5651b9360366043dd5e4f44d9
MD5 2c633d87f1afe9c394ed8f45d5249e21
BLAKE2b-256 2ae90aa0fdf44228ccf21969f0c0ad9b1e4131fdd03426c68f40d9963b003824

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for lxml-3.2.1.win-amd64-py3.2.exe
Algorithm Hash digest
SHA256 3e04c48c5aee3ab5421010c6354febaec95dcbdb2c2d3984abc465d46007e8ac
MD5 fbb4b2f7d3e72e3a1b29e72fad34ce3c
BLAKE2b-256 5da8efb439731b69c68532cffd234e05ad80b90de010f3abb0ad635cde66d367

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for lxml-3.2.1.win-amd64-py2.7.exe
Algorithm Hash digest
SHA256 45a6a7516038f480b0417df14a199acfbbd8ef811f9993317a6ed54e1476dba5
MD5 f981319fb3a0d7e2aa19889081e8aa87
BLAKE2b-256 f18d251e22a8a99460abc44919434bbc9fcfe1679249959ffecf81f0818bfc04

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for lxml-3.2.1.win-amd64-py2.6.exe
Algorithm Hash digest
SHA256 6b9814f4a9f8c30b3f09a0e9d5a8db59e4360e253b81fef189f788ede3e6b778
MD5 340149b715a81793482e5b64f37c9010
BLAKE2b-256 31ef8e69f05d35044227fef17cb2c485e7fa6b4497b9a48c3db5f531a327da7f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for lxml-3.2.1.win32-py3.4.exe
Algorithm Hash digest
SHA256 eaf8ed4512d3a276c1f0b93b0b0ee9b0c139f23bde6711f58b7f832eba01849b
MD5 4030be4f4bcfd6b60ffe8ea921e48ed1
BLAKE2b-256 69e56576a04c57982218997a57ddcd6b83cd505f3a891978681710fa68416640

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for lxml-3.2.1.win32-py3.3.exe
Algorithm Hash digest
SHA256 a9c911b17f285788d23dd58fcd5c8f7faaad88b230d7880523c5866da96aca3b
MD5 937f6fbdeb2579f08992c75ded8865ae
BLAKE2b-256 0aabddc413630d247d57812c4c07bb976e067e00763783b4b133ca7c0ac4af05

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for lxml-3.2.1.win32-py3.2.exe
Algorithm Hash digest
SHA256 8d88dc8fe93ec38fa59658f3cd2e234ac5ef517302b554069edad88dd60137a2
MD5 e5998404a3bd84adbc519ed2fd4b9016
BLAKE2b-256 1fde6cc3ee9b223ab50148433858c23fff5befe40484ad763f78389ebb0c9c43

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for lxml-3.2.1.win32-py2.7.exe
Algorithm Hash digest
SHA256 c0a423840034935bb153e5430a67119a4d7be37640abd68062e1eac477114f23
MD5 1b2639d7cc22623041049e66d91c5e13
BLAKE2b-256 7c59441338d5086a768754dee3951c2835baa28f0a62c7117d995be41f24ef3e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for lxml-3.2.1.win32-py2.6.exe
Algorithm Hash digest
SHA256 4aad0f3f1e10ebd98fbd64ac86a9f2d59166ade593439c44ba7bac0f0bac4c91
MD5 3f1e2f43d46383aaad5a528f9e04d2f0
BLAKE2b-256 a4224b0d75a9da60c2156e2b3bedd9634b94cd76f9fdd71bf5a34ca0c6fb8ce1

See more details on using hashes here.

Supported by

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