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.1 . Running easy_install lxml==3.1bugfix will install the unreleased branch state from https://github.com/lxml/lxml/tarball/lxml-3.1#egg=lxml-3.1bugfix 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.1.0 (2013-02-10)

Features added

  • GH#89: lxml.html.clean allows overriding the set of attributes that it considers ‘safe’. Patch by Francis Devereux.

Bugs fixed

  • LP#1104370: copy.copy(el.attrib) raised an exception. It now returns a copy of the attributes as a plain Python dict.

  • GH#95: When used with namespace prefixes, the el.find*() methods always used the first namespace mapping that was provided for each path expression instead of using the one that was actually passed in for the current run.

  • LP#1092521, GH#91: Fix undefined C symbol in Python runtimes compiled without threading support. Patch by Ulrich Seidl.

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.1.0.tar.gz (3.3 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.1.0.win-amd64-py3.4.exe (3.4 MB view details)

Uploaded Source

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

Uploaded Source

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

Uploaded Source

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

Uploaded Source

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

Uploaded Source

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

Uploaded Source

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

Uploaded Source

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

Uploaded Source

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

Uploaded Source

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

Uploaded Source

File details

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

File metadata

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

File hashes

Hashes for lxml-3.1.0.tar.gz
Algorithm Hash digest
SHA256 8ce453b10e47b5d7a623b75ca0eb6c39fee80d9d72b7992c597eb44c31c9445e
MD5 df70163fb581bbe45fdcd6069a503273
BLAKE2b-256 32eb1b6209118441e2a53f55b26cad5b100c87556ab134fc1af8a6e2d0bdf628

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for lxml-3.1.0.win-amd64-py3.4.exe
Algorithm Hash digest
SHA256 eef10e740eb1789e85839bc006ae6449d3264a0ef3280cc3f004187d3f735710
MD5 40bcb3c59a8c92811e2e5f8872d4be10
BLAKE2b-256 8e3cf648938ec7b0865142ddf0e2d2eaa36d93213f21fa39fa75d6b196cc2771

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for lxml-3.1.0.win-amd64-py3.3.exe
Algorithm Hash digest
SHA256 e025ffb219d8ff4a01a5fa1427d951423fdb3874d65e997e682e230df395a10d
MD5 603f2d2d7a7a9079b392cce0760b36cc
BLAKE2b-256 54f08f4f062ae1669aaa0e5416b26cbc4d00a84b71845eaef3078bac8fbd64b0

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for lxml-3.1.0.win-amd64-py3.2.exe
Algorithm Hash digest
SHA256 947a7d2e2a270b4254b127a6fa8e6acc1c8d2bfa31c1c03a06b584a25bc0cdeb
MD5 c38ae90a332a3a2e0d450915869abf0a
BLAKE2b-256 a2fca5eb5d4f757d00479598c77ee64a656e451035aeff6e6831dab2d1c3f5d3

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for lxml-3.1.0.win-amd64-py2.7.exe
Algorithm Hash digest
SHA256 29f8cef672df2ca847cf9d749914a3a6d268c6463bfb0b4164b0765dae916254
MD5 8945d3f561db257e900e0603dcb54299
BLAKE2b-256 944032867dbcb52f50f1dcbb32385c8f9f8c66c4d940151a3cbd9ae10933a410

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for lxml-3.1.0.win-amd64-py2.6.exe
Algorithm Hash digest
SHA256 d7c6e40846281a01b72ba4ab71ce6ed417f2da32a7c6c7226641061380c8544b
MD5 724e37f959e5b2ebbf6646c56ba649e9
BLAKE2b-256 865ace916046c5c5ed03fd7335a7205c22ebe2612a413c0de83184307f339fdb

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for lxml-3.1.0.win32-py3.4.exe
Algorithm Hash digest
SHA256 1e4608aa5173dbc67bbdacff0fa105eaab883e3cb97e5656c9ccaeae129e2752
MD5 653d187bc04d54b1bd6f54d3be85911b
BLAKE2b-256 428b2f330e04692e026bb235f56acf6a35b6d02e4a2c470f0423ac50b8a72e39

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for lxml-3.1.0.win32-py3.3.exe
Algorithm Hash digest
SHA256 dc53f1c053625aa38e99c5f6f0a8d6265ee5cd6484a51bf5e7104bdf7eae54c7
MD5 3af3acca435503d3eeb195208136dab8
BLAKE2b-256 25ef46c5da08a9177c41acce83897e57b99e3300d67be1ac2282f13de04869db

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for lxml-3.1.0.win32-py3.2.exe
Algorithm Hash digest
SHA256 8874aa149688cbea86120ed7f486c1ec9ef24d19c07d882600b06dd70ba57fd2
MD5 b95fa69b8a69cab5f7a2c2c8de654110
BLAKE2b-256 df54266a9193b0f4e84ac17754f2cacd8da78acdd19664251e5ed850a440d680

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for lxml-3.1.0.win32-py2.7.exe
Algorithm Hash digest
SHA256 a7ee7aa7f68c21cb890a802369e1d133e888adf48c190bb7f6a31dff1f9fd973
MD5 b686b6b0ebc082a0248973c282799440
BLAKE2b-256 0aabb13d8e0b81a2eaa55db204b1f32426082686ff9f845a4c23119c483c32fe

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for lxml-3.1.0.win32-py2.6.exe
Algorithm Hash digest
SHA256 bf5bc020eef169be5de4bba98c2243d7ba55ef92df82e8ee4e4ac61a85b85e0d
MD5 d729310debab9cbbba15070dde1c3e41
BLAKE2b-256 33436b48adc6286ce8fdc17f51d857cee0062d5540333490a587c192d8e2b1f2

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