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.
In case you want to use the current in-development version of lxml, you can get it from the subversion repository at http://codespeak.net/svn/lxml/trunk . Running easy_install lxml==dev will install it from http://codespeak.net/svn/lxml/trunk#egg=lxml-dev
Current bug fixes for the stable version are at http://codespeak.net/svn/lxml/branch/lxml-1.3 . Running easy_install lxml==1.3bugfix will install this version from http://codespeak.net/svn/lxml/branch/lxml-1.3#egg=lxml-1.3bugfix
1.3.3 (2007-07-26)
Features added
ElementTree compatible parser ETCompatXMLParser strips processing instructions and comments while parsing XML
Parsers now support stripping PIs (keyword argument ‘remove_pis’)
etree.fromstring() now supports parsing both HTML and XML, depending on the parser you pass.
Support base_url keyword argument in HTML() and XML()
Bugs fixed
Parsing from Python Unicode strings failed on some platforms
Element() did not raise an exception on tag names containing ‘:’
Element.getiterator(tag) did not accept Comment and ProcessingInstruction as tags. It also accepts Element now.
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
File details
Details for the file lxml-1.3.3.tar.gz
.
File metadata
- Download URL: lxml-1.3.3.tar.gz
- Upload date:
- Size: 1.0 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 88903347bde122d50d358471788a6cc3f5dee18f2adee8c177d708f8c2773aae |
|
MD5 | 2baa9f8ad14aa6dcfb763cfa0ce3bbcb |
|
BLAKE2b-256 | 6a24eda9547b19547c4d37ec6dbca1530923e54eae39be29950366b1f674d86a |
File details
Details for the file lxml-1.3.3.win32-py2.5.exe
.
File metadata
- Download URL: lxml-1.3.3.win32-py2.5.exe
- Upload date:
- Size: 3.0 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3b5643566a6b863ace1fffad4f0924ec53a5d744dd75f29dcaa7eaf0194ffcfe |
|
MD5 | c4c9febb292d6d791ce6eaa4454383ad |
|
BLAKE2b-256 | e615e8e28838888a4b13b243df8d5ecd2790d75d986ef56f9401af3e6e25e474 |
File details
Details for the file lxml-1.3.3.win32-py2.4.exe
.
File metadata
- Download URL: lxml-1.3.3.win32-py2.4.exe
- Upload date:
- Size: 3.0 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 225325dd44851c162a17708bafc6a29e3d0f904b11c2df1aee64c2257d0f0d4e |
|
MD5 | 8ec7c45763a41b3c9b91593c31b5126b |
|
BLAKE2b-256 | eebbab4b4cb1cfa6151fa18a0eaf7c7d55cd7862cddb87ef10627f3313150308 |
File details
Details for the file lxml-1.3.3-py2.5-win32.egg
.
File metadata
- Download URL: lxml-1.3.3-py2.5-win32.egg
- Upload date:
- Size: 3.0 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5e23930e82694502c4477577e47b4dd88ace2295d490e8a9f1d1a05ee93dae22 |
|
MD5 | a36f21ceaa71695680f7700f1a27072b |
|
BLAKE2b-256 | 1736b5c85e5f4211b7145b69d1ea915970044aec47fab12eef82df77f65ef538 |
File details
Details for the file lxml-1.3.3-py2.4-win32.egg
.
File metadata
- Download URL: lxml-1.3.3-py2.4-win32.egg
- Upload date:
- Size: 3.0 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 41271f675cf85eaa081d832160c7b1acea4802c918c61f609092ae7488bf2afc |
|
MD5 | 00f7bd6b067c83d325e938aae65e683d |
|
BLAKE2b-256 | 29ddabf7851fe7911be2662e952307de8250922f192ba2cbf8eb1016797ca3e3 |