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.0 (2013-04-28)

Features added

Bugs fixed

  • LP#690319: Leading whitespace could change the behaviour of the string parsing functions in lxml.html.

  • LP#599318: The string parsing functions in lxml.html are more robust in the face of uncommon HTML content like framesets or missing body tags. Patch by Stefan Seelmann.

  • LP#712941: I/O errors while trying to access files with paths that contain non-ASCII characters could raise UnicodeDecodeError instead of properly reporting the IOError.

  • LP#673205: Parsing from in-memory strings disabled network access in the default parser and made subsequent attempts to parse from a URL fail.

  • LP#971754: lxml.html.clean appends ‘nofollow’ to ‘rel’ attributes instead of overwriting the current value.

  • LP#715687: lxml.html.clean no longer discards scripts that are explicitly allowed by the user provided whitelist. Patch by Christine Koppelt.

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

Uploaded Source

Built Distributions

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

Uploaded Source

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

Uploaded Source

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

Uploaded Source

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

Uploaded Source

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

Uploaded Source

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

Uploaded Source

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

Uploaded Source

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

Uploaded Source

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

Uploaded Source

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

Uploaded Source

File details

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

File metadata

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

File hashes

Hashes for lxml-3.2.0.tar.gz
Algorithm Hash digest
SHA256 eaac31ac45c3665aad9310352967184600e820bc366ceff64d01e93f15d3882c
MD5 0faadce886cf868975358de53aff2bbb
BLAKE2b-256 3ca71ad34ce59fbcc62eb72daf11309420fef690321a77c2f4dedaa41126c46f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for lxml-3.2.0.win-amd64-py3.4.exe
Algorithm Hash digest
SHA256 2433d78df0942fa41ed05d25a403b80a265728701f7cceda0f81fb617b29ba1e
MD5 a7acf5ef3d0e61e4b35fd07456f54acf
BLAKE2b-256 f9de3c538fef13653b7109957c16a10bbfcddc6a408649f303d1994ae55aeff1

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for lxml-3.2.0.win-amd64-py3.3.exe
Algorithm Hash digest
SHA256 c7a4d1d269dffe2be13b38b18a35170be494788e9e8d12f018668220660d55dc
MD5 c557a2eb72684a66509524cabb6229fb
BLAKE2b-256 e79ea3ab05c0ed3a469a577cf6b163234404923c425ba83cb7e1b65a05510d57

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for lxml-3.2.0.win-amd64-py3.2.exe
Algorithm Hash digest
SHA256 436f20e38ed660f8ecbda6324cb082d34406979609d8e9de100966f15f4b7a3f
MD5 e78ab61fc64d55b52e8d83e42b2e40ab
BLAKE2b-256 bdedd7cc8a4d7263f5a536663879a88f1501c6d9a9a7eda73e340f368250cb70

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for lxml-3.2.0.win-amd64-py2.7.exe
Algorithm Hash digest
SHA256 210d40f66a1c194144d416105bee818718a0fb13e6d14cc6ae9463a6923ab959
MD5 e00da275a5118a0a22ec3460da112564
BLAKE2b-256 914c253379c60d7fe5fb160d774dd2d6959c29c5aa2ddef36ed315c7e12a2ee3

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for lxml-3.2.0.win-amd64-py2.6.exe
Algorithm Hash digest
SHA256 b79f4b80036734a599be32193d4fd0e5aa2bac1e27cfef03002596aea1fa9838
MD5 20b3b6df65df81a517649a9bd558a1c6
BLAKE2b-256 8092bbed32fe55c8990ef1a06ac760466ac2216bcd0a0466d972961bb7650375

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for lxml-3.2.0.win32-py3.4.exe
Algorithm Hash digest
SHA256 1c5e9138aab4f9f4ddf11c905f8eaaa81015f4397e62a7906b425b9a24fb3835
MD5 57a1b998cbefc4584cd6d401db7a0331
BLAKE2b-256 28fc979be327f3f5918644305e3bf3d7ac55e1a7c3cfd19a0044ff2e6b1e0dcc

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for lxml-3.2.0.win32-py3.3.exe
Algorithm Hash digest
SHA256 38e43fa9453af9a3a0e3bfcd44e0964866830af13ab268468f93710d70a71baa
MD5 a734c2826fa55346de76d2ff3b1fe302
BLAKE2b-256 932cf76cc250317fa8d557ad63dbd28a5796f7ff3c0659088769e76be047efe7

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for lxml-3.2.0.win32-py3.2.exe
Algorithm Hash digest
SHA256 58e8b008570b06113992e3b0a51193c7da07212c0725742f1e0c03094922cda6
MD5 3972b9a98770b2a3e0ae2122258615f0
BLAKE2b-256 7987b4d382e3e3c7450d09f9fdd677e528505452f152a285879c9e49fcff76ab

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for lxml-3.2.0.win32-py2.7.exe
Algorithm Hash digest
SHA256 19e4cc16e5e75d0f990256f9429ac6c05b9e5d407bf124fe53c06a3d34be8337
MD5 735a9c84afae3191d755e231123a1add
BLAKE2b-256 fe1307104b7010d521c8119d90ed5de75eb35d3bf179571ef6bbb4349be95585

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for lxml-3.2.0.win32-py2.6.exe
Algorithm Hash digest
SHA256 bdcb06eae87ad4f095755eefec1708b1a6bff87500f0794c2456149ad4a6ee73
MD5 356c47752a9f825dca06cfbf570b5dc0
BLAKE2b-256 bb56c171d173858e6eb0727a1ffc1e69e359762aa999d5085ec41e629957b78a

See more details on using hashes here.

Supported by

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