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-4.5 . Running easy_install lxml==4.5bugfix will install the unreleased branch state from https://github.com/lxml/lxml/tarball/lxml-4.5#egg=lxml-4.5bugfix as soon as a maintenance branch has been established. Note that this requires Cython to be installed at an appropriate version for the build.
4.5.0 (2020-01-29)
Features added
A new function indent() was added to insert tail whitespace for pretty-printing an XML tree.
Bugs fixed
LP#1857794: Tail text of nodes that get removed from a document using item deletion disappeared silently instead of sticking with the node that was removed.
Other changes
MacOS builds are 64-bit-only by default. Set CFLAGS and LDFLAGS explicitly to override it.
Linux/MacOS Binary wheels now use libxml2 2.9.10 and libxslt 1.1.34.
LP#1840234: The package version number is now available as lxml.__version__.
Project details
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
Built Distributions
Hashes for lxml-4.5.0-cp38-cp38-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d5b3c4b7edd2e770375a01139be11307f04341ec709cf724e0f26ebb1eef12c3 |
|
MD5 | dc6edf13d20baf999fbbf69ed1f782dd |
|
BLAKE2b-256 | 82996f9263fda49f7c5c768386826aa0a829cbebc2719a911e50f9e582b96cfb |
Hashes for lxml-4.5.0-cp38-cp38-manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 63dbc21efd7e822c11d5ddbedbbb08cd11a41e0032e382a0fd59b0b08e405a3a |
|
MD5 | ce8b780c0123cfbb83281da3640e79fa |
|
BLAKE2b-256 | c0a91fdadc1332a17a66f9074eccd364d548a5d5b6d7b624d683aadb45ed8b1b |
Hashes for lxml-4.5.0-cp38-cp38-manylinux1_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e5d842c73e4ef6ed8c1bd77806bf84a7cb535f9c0cf9b2c74d02ebda310070e1 |
|
MD5 | 98ebb8d8234d091bfa0d76b3d832a6be |
|
BLAKE2b-256 | 4e393c3d65fc627b924ab6a733debcdf5a5d0e7ac19196dafc7afbd049fb1b6b |
Hashes for lxml-4.5.0-cp38-cp38-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b4b2c63cc7963aedd08a5f5a454c9f67251b1ac9e22fd9d72836206c42dc2a72 |
|
MD5 | 2e8f43be71d07a9547a0ee82d8f4be49 |
|
BLAKE2b-256 | 86e53412ef8d7870c4075dcd832298e07f2bfa2c18879aeea5d931f7096f27ba |
Hashes for lxml-4.5.0-cp37-cp37m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | df533af6f88080419c5a604d0d63b2c33b1c0c4409aba7d0cb6de305147ea8c8 |
|
MD5 | a2bd8584948203046742ecb5709b249a |
|
BLAKE2b-256 | d936e79b8e112fb63b04b72724954ae5519e740982bec84f66e5eb4a353906ef |
Hashes for lxml-4.5.0-cp37-cp37m-manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | fd52e796fee7171c4361d441796b64df1acfceb51f29e545e812f16d023c4bbc |
|
MD5 | 982b2093b4dfc88b6e63f2d8559d46a7 |
|
BLAKE2b-256 | 859e93e2c3af278c7c8b6826666bbcb145af2829bd761c3b329e51cd6343836c |
Hashes for lxml-4.5.0-cp37-cp37m-manylinux1_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | edc15fcfd77395e24543be48871c251f38132bb834d9fdfdad756adb6ea37679 |
|
MD5 | 1489b69604a8cc136eec13a83f76acc6 |
|
BLAKE2b-256 | e32e5e5050bac5ad48b2b43bec0b04b9664856f177def40979340adb7385084a |
Hashes for lxml-4.5.0-cp37-cp37m-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | fa071559f14bd1e92077b1b5f6c22cf09756c6de7139370249eb372854ce51e6 |
|
MD5 | 2355146d2deaff40e0bf42cb718fdba5 |
|
BLAKE2b-256 | a7858b1a9a33b451114e352c29a200320f086ea30ff163599dd39cb627e7c86a |
Hashes for lxml-4.5.0-cp36-cp36m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f2b74784ed7e0bc2d02bd53e48ad6ba523c9b36c194260b7a5045071abbb1012 |
|
MD5 | a742056c7fb4a5cc2783ede460fac45a |
|
BLAKE2b-256 | ab4efd747f8948b107147a0e618a75bdad3a0d1de6227d856261008fd8f850af |
Hashes for lxml-4.5.0-cp36-cp36m-manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ebec08091a22c2be870890913bdadd86fcd8e9f0f22bcb398abd3af914690c15 |
|
MD5 | 8f374862f2221fa123eb5c51c8e5168c |
|
BLAKE2b-256 | ddbaa0e6866057fc0bbd17192925c1d63a3b85cf522965de9bc02364d08e5b84 |
Hashes for lxml-4.5.0-cp36-cp36m-manylinux1_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 95e67224815ef86924fbc2b71a9dbd1f7262384bca4bc4793645794ac4200717 |
|
MD5 | d8d9335d78cae30160e52e6b29597ec5 |
|
BLAKE2b-256 | 219221306b39321290dc3b4c12834f8ca587f975f69285ecd20857c8d8449afd |
Hashes for lxml-4.5.0-cp36-cp36m-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5d467ce9c5d35b3bcc7172c06320dddb275fea6ac2037f72f0a4d7472035cea9 |
|
MD5 | f2b4bc219efde46c300824330ca4b630 |
|
BLAKE2b-256 | a9f592964ed278c48360a4fa628e16bcc351d1f3b77e9c31ba06571862d97a38 |
Hashes for lxml-4.5.0-cp35-cp35m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1f2c4ec372bf1c4a2c7e4bb20845e8bcf8050365189d86806bad1e3ae473d081 |
|
MD5 | a4e674f7501cf90eedcdec3b83e73592 |
|
BLAKE2b-256 | ea8c4362d89ae4c3282b8a3db0ec710c3af07407e168312e9726781b8a944290 |
Hashes for lxml-4.5.0-cp35-cp35m-manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d068f55bda3c2c3fcaec24bd083d9e2eede32c583faf084d6e4b9daaea77dde8 |
|
MD5 | a6c6e6bcbbd49571331b2e81aa4e485a |
|
BLAKE2b-256 | f2e5304cfec4e0abebb4a4e16f56129df792c81f1bcdbb1432d1a63f749f8b74 |
Hashes for lxml-4.5.0-cp35-cp35m-manylinux1_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7bc1b221e7867f2e7ff1933165c0cec7153dce93d0cdba6554b42a8beb687bdb |
|
MD5 | 1c9fe66c9fbd94a3755b6e54b05b085a |
|
BLAKE2b-256 | 301e7b40ad6ecd2becf75e013bb645c5597e76f39190507d981206ab0ddafe65 |
Hashes for lxml-4.5.0-cp27-cp27mu-manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | fe976a0f1ef09b3638778024ab9fb8cde3118f203364212c198f71341c0715ca |
|
MD5 | 9ceae3c48132170dbcd73613fdbabed0 |
|
BLAKE2b-256 | 0306eb9f000882f671a2d494342c1fe93b1c8b18fb04420bb611aeaa3298ef17 |
Hashes for lxml-4.5.0-cp27-cp27mu-manylinux1_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8a0ebda56ebca1a83eb2d1ac266649b80af8dd4b4a3502b2c1e09ac2f88fe128 |
|
MD5 | 627967909a1a619d6cefdc6d6c2ae532 |
|
BLAKE2b-256 | 0957b4e7b92111f7203cf5b1d8c0fb59a06d5253871b002b67ecb678594067a4 |
Hashes for lxml-4.5.0-cp27-cp27m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 585c0869f75577ac7a8ff38d08f7aac9033da2c41c11352ebf86a04652758b7a |
|
MD5 | 8fdbfc382ac0ec484ab94e2e820f008a |
|
BLAKE2b-256 | ddc954fe109d75f8940612a5e4a1cfba736ba22fbb4e7a8f9cc494ea399899ad |
Hashes for lxml-4.5.0-cp27-cp27m-manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5828c7f3e615f3975d48f40d4fe66e8a7b25f16b5e5705ffe1d22e43fb1f6261 |
|
MD5 | 97f98fedf61ae01bf85564f0e9277fc2 |
|
BLAKE2b-256 | 8ce4ca1589a95c00480f347372c10fbab7ff1f841fc626a4c4a92606fef35d69 |
Hashes for lxml-4.5.0-cp27-cp27m-manylinux1_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 06d4e0bbb1d62e38ae6118406d7cdb4693a3fa34ee3762238bcb96c9e36a93cd |
|
MD5 | 8e28406ff6b5841cb9d34886f2461b27 |
|
BLAKE2b-256 | 5e695ff29ea13810d1c2da000d7124c529e9fc10c1d29d92ba49b2cf5eeec243 |
Hashes for lxml-4.5.0-cp27-cp27m-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0701f7965903a1c3f6f09328c1278ac0eee8f56f244e66af79cb224b7ef3801c |
|
MD5 | 7e049c5fbc581e0d56e21c4697d6ab3c |
|
BLAKE2b-256 | 78dcdc807319808f7e11b8a60963381feb63130bb31d682fc909e7d1043142af |