| 1 |
lxml is copyright Infrae and distributed under the BSD license (see |
| 2 |
doc/licenses/BSD.txt), with the following exceptions: |
| 3 |
|
| 4 |
Some code, such a selftest.py, selftest2.py and |
| 5 |
src/lxml/_elementpath.py are derived from ElementTree and |
| 6 |
cElementTree. See doc/licenses/elementtree.txt for the license text. |
| 7 |
Newer versions reuse code from CPython's 'xml.etree' implementation, |
| 8 |
licensed under the PSF-License v2. |
| 9 |
See https://docs.python.org/3/license.html |
| 10 |
|
| 11 |
A copy of difflib is used as part of lxml.html, forked from the CPython |
| 12 |
standard library and licensed under the PSF-License v2. |
| 13 |
See https://docs.python.org/3/license.html |
| 14 |
|
| 15 |
lxml.cssselect and lxml.html are copyright Ian Bicking and distributed |
| 16 |
under the BSD license (see doc/licenses/BSD.txt). |
| 17 |
|
| 18 |
test.py, the test-runner script, is GPL and copyright Shuttleworth |
| 19 |
Foundation. See doc/licenses/GPL.txt. It is believed the unchanged |
| 20 |
inclusion of test.py to run the unit test suite falls under the |
| 21 |
"aggregation" clause of the GPL and thus does not affect the license |
| 22 |
of the rest of the package. |
| 23 |
|
| 24 |
The isoschematron implementation uses several XSL and RelaxNG resources: |
| 25 |
* The (XML syntax) RelaxNG schema for schematron, copyright International |
| 26 |
Organization for Standardization (see |
| 27 |
src/lxml/isoschematron/resources/rng/iso-schematron.rng for the license |
| 28 |
text) |
| 29 |
* The skeleton iso-schematron-xlt1 pure-xslt schematron implementation |
| 30 |
xsl stylesheets, copyright Rick Jelliffe and Academia Sinica Computing |
| 31 |
Center, Taiwan (see the xsl files here for the license text: |
| 32 |
src/lxml/isoschematron/resources/xsl/iso-schematron-xslt1/) |
| 33 |
* The xsd/rng schema schematron extraction xsl transformations are unlicensed |
| 34 |
and copyright the respective authors as noted (see |
| 35 |
src/lxml/isoschematron/resources/xsl/RNG2Schtrn.xsl and |
| 36 |
src/lxml/isoschematron/resources/xsl/XSD2Schtrn.xsl) |
| 37 |
|
| 38 |
|
| 39 |
Binary wheels |
| 40 |
------------- |
| 41 |
|
| 42 |
The officiall distributed binary wheels include bundled versions of the libraries |
| 43 |
zlib, iconv, libxml2, libxslt and libexslt. |
| 44 |
These libraries are linked, used and distributed under their following |
| 45 |
respective licenses: |
| 46 |
|
| 47 |
**zlib**: zlib-license, https://www.zlib.net/zlib_license.html |
| 48 |
|
| 49 |
**iconv**: LGPL 2.1, https://www.gnu.org/licenses/old-licenses/lgpl-2.1.en.html |
| 50 |
|
| 51 |
**libxml2**: MIT |
| 52 |
|
| 53 |
Except where otherwise noted in the source code (e.g. the files dict.c and |
| 54 |
list.c, which are covered by a similar licence but with different Copyright |
| 55 |
notices) all the files are: |
| 56 |
|
| 57 |
Copyright (C) 1998-2012 Daniel Veillard. All Rights Reserved. |
| 58 |
Copyright (C) The Libxml2 Contributors. |
| 59 |
|
| 60 |
Permission is hereby granted, free of charge, to any person obtaining a copy |
| 61 |
of this software and associated documentation files (the "Software"), to deal |
| 62 |
in the Software without restriction, including without limitation the rights |
| 63 |
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell |
| 64 |
copies of the Software, and to permit persons to whom the Software is fur- |
| 65 |
nished to do so, subject to the following conditions: |
| 66 |
|
| 67 |
The above copyright notice and this permission notice shall be included in |
| 68 |
all copies or substantial portions of the Software. |
| 69 |
|
| 70 |
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR |
| 71 |
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FIT- |
| 72 |
NESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE |
| 73 |
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER |
| 74 |
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, |
| 75 |
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN |
| 76 |
THE SOFTWARE. |
| 77 |
|
| 78 |
**libxslt**: MIT |
| 79 |
|
| 80 |
Copyright (C) 2001-2002 Daniel Veillard. All Rights Reserved. |
| 81 |
|
| 82 |
Permission is hereby granted, free of charge, to any person obtaining a copy |
| 83 |
of this software and associated documentation files (the "Software"), to deal |
| 84 |
in the Software without restriction, including without limitation the rights |
| 85 |
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell |
| 86 |
copies of the Software, and to permit persons to whom the Software is fur- |
| 87 |
nished to do so, subject to the following conditions: |
| 88 |
|
| 89 |
The above copyright notice and this permission notice shall be included in |
| 90 |
all copies or substantial portions of the Software. |
| 91 |
|
| 92 |
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR |
| 93 |
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FIT- |
| 94 |
NESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE |
| 95 |
DANIEL VEILLARD BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER |
| 96 |
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CON- |
| 97 |
NECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. |
| 98 |
|
| 99 |
Except as contained in this notice, the name of Daniel Veillard shall not |
| 100 |
be used in advertising or otherwise to promote the sale, use or other deal- |
| 101 |
ings in this Software without prior written authorization from him. |
| 102 |
|
| 103 |
**libexslt**: MIT |
| 104 |
|
| 105 |
Copyright (C) 2001-2002 Thomas Broyer, Charlie Bozeman and Daniel Veillard. |
| 106 |
All Rights Reserved. |
| 107 |
|
| 108 |
Permission is hereby granted, free of charge, to any person obtaining a copy |
| 109 |
of this software and associated documentation files (the "Software"), to deal |
| 110 |
in the Software without restriction, including without limitation the rights |
| 111 |
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell |
| 112 |
copies of the Software, and to permit persons to whom the Software is fur- |
| 113 |
nished to do so, subject to the following conditions: |
| 114 |
|
| 115 |
The above copyright notice and this permission notice shall be included in |
| 116 |
all copies or substantial portions of the Software. |
| 117 |
|
| 118 |
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR |
| 119 |
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FIT- |
| 120 |
NESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE |
| 121 |
AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER |
| 122 |
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CON- |
| 123 |
NECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. |
| 124 |
|
| 125 |
Except as contained in this notice, the name of the authors shall not |
| 126 |
be used in advertising or otherwise to promote the sale, use or other deal- |
| 127 |
ings in this Software without prior written authorization from him. |