1A. HISTORY OF THE SOFTWARE 2========================== 3 4Python was created in the early 1990s by Guido van Rossum at Stichting 5Mathematisch Centrum (CWI, see https://www.cwi.nl) in the Netherlands 6as a successor of a language called ABC. Guido remains Python's 7principal author, although it includes many contributions from others. 8 9In 1995, Guido continued his work on Python at the Corporation for 10National Research Initiatives (CNRI, see https://www.cnri.reston.va.us) 11in Reston, Virginia where he released several versions of the 12software. 13 14In May 2000, Guido and the Python core development team moved to 15BeOpen.com to form the BeOpen PythonLabs team. In October of the same 16year, the PythonLabs team moved to Digital Creations, which became 17Zope Corporation. In 2001, the Python Software Foundation (PSF, see 18https://www.python.org/psf/) was formed, a non-profit organization 19created specifically to own Python-related Intellectual Property. 20Zope Corporation was a sponsoring member of the PSF. 21 22All Python releases are Open Source (see https://opensource.org for 23the Open Source Definition). Historically, most, but not all, Python 24releases have also been GPL-compatible; the table below summarizes 25the various releases. 26 27 Release Derived Year Owner GPL- 28 from compatible? (1) 29 30 0.9.0 thru 1.2 1991-1995 CWI yes 31 1.3 thru 1.5.2 1.2 1995-1999 CNRI yes 32 1.6 1.5.2 2000 CNRI no 33 2.0 1.6 2000 BeOpen.com no 34 1.6.1 1.6 2001 CNRI yes (2) 35 2.1 2.0+1.6.1 2001 PSF no 36 2.0.1 2.0+1.6.1 2001 PSF yes 37 2.1.1 2.1+2.0.1 2001 PSF yes 38 2.1.2 2.1.1 2002 PSF yes 39 2.1.3 2.1.2 2002 PSF yes 40 2.2 and above 2.1.1 2001-now PSF yes 41 42Footnotes: 43 44(1) GPL-compatible doesn't mean that we're distributing Python under 45 the GPL. All Python licenses, unlike the GPL, let you distribute 46 a modified version without making your changes open source. The 47 GPL-compatible licenses make it possible to combine Python with 48 other software that is released under the GPL; the others don't. 49 50(2) According to Richard Stallman, 1.6.1 is not GPL-compatible, 51 because its license has a choice of law clause. According to 52 CNRI, however, Stallman's lawyer has told CNRI's lawyer that 1.6.1 53 is "not incompatible" with the GPL. 54 55Thanks to the many outside volunteers who have worked under Guido's 56direction to make these releases possible. 57 58 59B. TERMS AND CONDITIONS FOR ACCESSING OR OTHERWISE USING PYTHON 60=============================================================== 61 62Python software and documentation are licensed under the 63Python Software Foundation License Version 2. 64 65Starting with Python 3.8.6, examples, recipes, and other code in 66the documentation are dual licensed under the PSF License Version 2 67and the Zero-Clause BSD license. 68 69Some software incorporated into Python is under different licenses. 70The licenses are listed with code falling under that license. 71 72 73PYTHON SOFTWARE FOUNDATION LICENSE VERSION 2 74-------------------------------------------- 75 761. This LICENSE AGREEMENT is between the Python Software Foundation 77("PSF"), and the Individual or Organization ("Licensee") accessing and 78otherwise using this software ("Python") in source or binary form and 79its associated documentation. 80 812. Subject to the terms and conditions of this License Agreement, PSF hereby 82grants Licensee a nonexclusive, royalty-free, world-wide license to reproduce, 83analyze, test, perform and/or display publicly, prepare derivative works, 84distribute, and otherwise use Python alone or in any derivative version, 85provided, however, that PSF's License Agreement and PSF's notice of copyright, 86i.e., "Copyright (c) 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 872011, 2012, 2013, 2014, 2015, 2016, 2017, 2018, 2019, 2020, 2021, 2022, 2023 Python Software Foundation; 88All Rights Reserved" are retained in Python alone or in any derivative version 89prepared by Licensee. 90 913. In the event Licensee prepares a derivative work that is based on 92or incorporates Python or any part thereof, and wants to make 93the derivative work available to others as provided herein, then 94Licensee hereby agrees to include in any such work a brief summary of 95the changes made to Python. 96 974. PSF is making Python available to Licensee on an "AS IS" 98basis. PSF MAKES NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR 99IMPLIED. BY WAY OF EXAMPLE, BUT NOT LIMITATION, PSF MAKES NO AND 100DISCLAIMS ANY REPRESENTATION OR WARRANTY OF MERCHANTABILITY OR FITNESS 101FOR ANY PARTICULAR PURPOSE OR THAT THE USE OF PYTHON WILL NOT 102INFRINGE ANY THIRD PARTY RIGHTS. 103 1045. PSF SHALL NOT BE LIABLE TO LICENSEE OR ANY OTHER USERS OF PYTHON 105FOR ANY INCIDENTAL, SPECIAL, OR CONSEQUENTIAL DAMAGES OR LOSS AS 106A RESULT OF MODIFYING, DISTRIBUTING, OR OTHERWISE USING PYTHON, 107OR ANY DERIVATIVE THEREOF, EVEN IF ADVISED OF THE POSSIBILITY THEREOF. 108 1096. This License Agreement will automatically terminate upon a material 110breach of its terms and conditions. 111 1127. Nothing in this License Agreement shall be deemed to create any 113relationship of agency, partnership, or joint venture between PSF and 114Licensee. This License Agreement does not grant permission to use PSF 115trademarks or trade name in a trademark sense to endorse or promote 116products or services of Licensee, or any third party. 117 1188. By copying, installing or otherwise using Python, Licensee 119agrees to be bound by the terms and conditions of this License 120Agreement. 121 122 123BEOPEN.COM LICENSE AGREEMENT FOR PYTHON 2.0 124------------------------------------------- 125 126BEOPEN PYTHON OPEN SOURCE LICENSE AGREEMENT VERSION 1 127 1281. This LICENSE AGREEMENT is between BeOpen.com ("BeOpen"), having an 129office at 160 Saratoga Avenue, Santa Clara, CA 95051, and the 130Individual or Organization ("Licensee") accessing and otherwise using 131this software in source or binary form and its associated 132documentation ("the Software"). 133 1342. Subject to the terms and conditions of this BeOpen Python License 135Agreement, BeOpen hereby grants Licensee a non-exclusive, 136royalty-free, world-wide license to reproduce, analyze, test, perform 137and/or display publicly, prepare derivative works, distribute, and 138otherwise use the Software alone or in any derivative version, 139provided, however, that the BeOpen Python License is retained in the 140Software, alone or in any derivative version prepared by Licensee. 141 1423. BeOpen is making the Software available to Licensee on an "AS IS" 143basis. BEOPEN MAKES NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR 144IMPLIED. BY WAY OF EXAMPLE, BUT NOT LIMITATION, BEOPEN MAKES NO AND 145DISCLAIMS ANY REPRESENTATION OR WARRANTY OF MERCHANTABILITY OR FITNESS 146FOR ANY PARTICULAR PURPOSE OR THAT THE USE OF THE SOFTWARE WILL NOT 147INFRINGE ANY THIRD PARTY RIGHTS. 148 1494. BEOPEN SHALL NOT BE LIABLE TO LICENSEE OR ANY OTHER USERS OF THE 150SOFTWARE FOR ANY INCIDENTAL, SPECIAL, OR CONSEQUENTIAL DAMAGES OR LOSS 151AS A RESULT OF USING, MODIFYING OR DISTRIBUTING THE SOFTWARE, OR ANY 152DERIVATIVE THEREOF, EVEN IF ADVISED OF THE POSSIBILITY THEREOF. 153 1545. This License Agreement will automatically terminate upon a material 155breach of its terms and conditions. 156 1576. This License Agreement shall be governed by and interpreted in all 158respects by the law of the State of California, excluding conflict of 159law provisions. Nothing in this License Agreement shall be deemed to 160create any relationship of agency, partnership, or joint venture 161between BeOpen and Licensee. This License Agreement does not grant 162permission to use BeOpen trademarks or trade names in a trademark 163sense to endorse or promote products or services of Licensee, or any 164third party. As an exception, the "BeOpen Python" logos available at 165http://www.pythonlabs.com/logos.html may be used according to the 166permissions granted on that web page. 167 1687. By copying, installing or otherwise using the software, Licensee 169agrees to be bound by the terms and conditions of this License 170Agreement. 171 172 173CNRI LICENSE AGREEMENT FOR PYTHON 1.6.1 174--------------------------------------- 175 1761. This LICENSE AGREEMENT is between the Corporation for National 177Research Initiatives, having an office at 1895 Preston White Drive, 178Reston, VA 20191 ("CNRI"), and the Individual or Organization 179("Licensee") accessing and otherwise using Python 1.6.1 software in 180source or binary form and its associated documentation. 181 1822. Subject to the terms and conditions of this License Agreement, CNRI 183hereby grants Licensee a nonexclusive, royalty-free, world-wide 184license to reproduce, analyze, test, perform and/or display publicly, 185prepare derivative works, distribute, and otherwise use Python 1.6.1 186alone or in any derivative version, provided, however, that CNRI's 187License Agreement and CNRI's notice of copyright, i.e., "Copyright (c) 1881995-2001 Corporation for National Research Initiatives; All Rights 189Reserved" are retained in Python 1.6.1 alone or in any derivative 190version prepared by Licensee. Alternately, in lieu of CNRI's License 191Agreement, Licensee may substitute the following text (omitting the 192quotes): "Python 1.6.1 is made available subject to the terms and 193conditions in CNRI's License Agreement. This Agreement together with 194Python 1.6.1 may be located on the internet using the following 195unique, persistent identifier (known as a handle): 1895.22/1013. This 196Agreement may also be obtained from a proxy server on the internet 197using the following URL: http://hdl.handle.net/1895.22/1013". 198 1993. In the event Licensee prepares a derivative work that is based on 200or incorporates Python 1.6.1 or any part thereof, and wants to make 201the derivative work available to others as provided herein, then 202Licensee hereby agrees to include in any such work a brief summary of 203the changes made to Python 1.6.1. 204 2054. CNRI is making Python 1.6.1 available to Licensee on an "AS IS" 206basis. CNRI MAKES NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR 207IMPLIED. BY WAY OF EXAMPLE, BUT NOT LIMITATION, CNRI MAKES NO AND 208DISCLAIMS ANY REPRESENTATION OR WARRANTY OF MERCHANTABILITY OR FITNESS 209FOR ANY PARTICULAR PURPOSE OR THAT THE USE OF PYTHON 1.6.1 WILL NOT 210INFRINGE ANY THIRD PARTY RIGHTS. 211 2125. CNRI SHALL NOT BE LIABLE TO LICENSEE OR ANY OTHER USERS OF PYTHON 2131.6.1 FOR ANY INCIDENTAL, SPECIAL, OR CONSEQUENTIAL DAMAGES OR LOSS AS 214A RESULT OF MODIFYING, DISTRIBUTING, OR OTHERWISE USING PYTHON 1.6.1, 215OR ANY DERIVATIVE THEREOF, EVEN IF ADVISED OF THE POSSIBILITY THEREOF. 216 2176. This License Agreement will automatically terminate upon a material 218breach of its terms and conditions. 219 2207. This License Agreement shall be governed by the federal 221intellectual property law of the United States, including without 222limitation the federal copyright law, and, to the extent such 223U.S. federal law does not apply, by the law of the Commonwealth of 224Virginia, excluding Virginia's conflict of law provisions. 225Notwithstanding the foregoing, with regard to derivative works based 226on Python 1.6.1 that incorporate non-separable material that was 227previously distributed under the GNU General Public License (GPL), the 228law of the Commonwealth of Virginia shall govern this License 229Agreement only as to issues arising under or with respect to 230Paragraphs 4, 5, and 7 of this License Agreement. Nothing in this 231License Agreement shall be deemed to create any relationship of 232agency, partnership, or joint venture between CNRI and Licensee. This 233License Agreement does not grant permission to use CNRI trademarks or 234trade name in a trademark sense to endorse or promote products or 235services of Licensee, or any third party. 236 2378. By clicking on the "ACCEPT" button where indicated, or by copying, 238installing or otherwise using Python 1.6.1, Licensee agrees to be 239bound by the terms and conditions of this License Agreement. 240 241 ACCEPT 242 243 244CWI LICENSE AGREEMENT FOR PYTHON 0.9.0 THROUGH 1.2 245-------------------------------------------------- 246 247Copyright (c) 1991 - 1995, Stichting Mathematisch Centrum Amsterdam, 248The Netherlands. All rights reserved. 249 250Permission to use, copy, modify, and distribute this software and its 251documentation for any purpose and without fee is hereby granted, 252provided that the above copyright notice appear in all copies and that 253both that copyright notice and this permission notice appear in 254supporting documentation, and that the name of Stichting Mathematisch 255Centrum or CWI not be used in advertising or publicity pertaining to 256distribution of the software without specific, written prior 257permission. 258 259STICHTING MATHEMATISCH CENTRUM DISCLAIMS ALL WARRANTIES WITH REGARD TO 260THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND 261FITNESS, IN NO EVENT SHALL STICHTING MATHEMATISCH CENTRUM BE LIABLE 262FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES 263WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN 264ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT 265OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. 266 267ZERO-CLAUSE BSD LICENSE FOR CODE IN THE PYTHON DOCUMENTATION 268---------------------------------------------------------------------- 269 270Permission to use, copy, modify, and/or distribute this software for any 271purpose with or without fee is hereby granted. 272 273THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH 274REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY 275AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, 276INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM 277LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR 278OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR 279PERFORMANCE OF THIS SOFTWARE. 280 281APACHE LICENSE FOR ANDROID BLUEPRINT FILE 282----------------------------------------- 283 284 Apache License 285 Version 2.0, January 2004 286 http://www.apache.org/licenses/ 287 288 TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION 289 290 1. Definitions. 291 292 "License" shall mean the terms and conditions for use, reproduction, 293 and distribution as defined by Sections 1 through 9 of this document. 294 295 "Licensor" shall mean the copyright owner or entity authorized by 296 the copyright owner that is granting the License. 297 298 "Legal Entity" shall mean the union of the acting entity and all 299 other entities that control, are controlled by, or are under common 300 control with that entity. For the purposes of this definition, 301 "control" means (i) the power, direct or indirect, to cause the 302 direction or management of such entity, whether by contract or 303 otherwise, or (ii) ownership of fifty percent (50%) or more of the 304 outstanding shares, or (iii) beneficial ownership of such entity. 305 306 "You" (or "Your") shall mean an individual or Legal Entity 307 exercising permissions granted by this License. 308 309 "Source" form shall mean the preferred form for making modifications, 310 including but not limited to software source code, documentation 311 source, and configuration files. 312 313 "Object" form shall mean any form resulting from mechanical 314 transformation or translation of a Source form, including but 315 not limited to compiled object code, generated documentation, 316 and conversions to other media types. 317 318 "Work" shall mean the work of authorship, whether in Source or 319 Object form, made available under the License, as indicated by a 320 copyright notice that is included in or attached to the work 321 (an example is provided in the Appendix below). 322 323 "Derivative Works" shall mean any work, whether in Source or Object 324 form, that is based on (or derived from) the Work and for which the 325 editorial revisions, annotations, elaborations, or other modifications 326 represent, as a whole, an original work of authorship. For the purposes 327 of this License, Derivative Works shall not include works that remain 328 separable from, or merely link (or bind by name) to the interfaces of, 329 the Work and Derivative Works thereof. 330 331 "Contribution" shall mean any work of authorship, including 332 the original version of the Work and any modifications or additions 333 to that Work or Derivative Works thereof, that is intentionally 334 submitted to Licensor for inclusion in the Work by the copyright owner 335 or by an individual or Legal Entity authorized to submit on behalf of 336 the copyright owner. For the purposes of this definition, "submitted" 337 means any form of electronic, verbal, or written communication sent 338 to the Licensor or its representatives, including but not limited to 339 communication on electronic mailing lists, source code control systems, 340 and issue tracking systems that are managed by, or on behalf of, the 341 Licensor for the purpose of discussing and improving the Work, but 342 excluding communication that is conspicuously marked or otherwise 343 designated in writing by the copyright owner as "Not a Contribution." 344 345 "Contributor" shall mean Licensor and any individual or Legal Entity 346 on behalf of whom a Contribution has been received by Licensor and 347 subsequently incorporated within the Work. 348 349 2. Grant of Copyright License. Subject to the terms and conditions of 350 this License, each Contributor hereby grants to You a perpetual, 351 worldwide, non-exclusive, no-charge, royalty-free, irrevocable 352 copyright license to reproduce, prepare Derivative Works of, 353 publicly display, publicly perform, sublicense, and distribute the 354 Work and such Derivative Works in Source or Object form. 355 356 3. Grant of Patent License. Subject to the terms and conditions of 357 this License, each Contributor hereby grants to You a perpetual, 358 worldwide, non-exclusive, no-charge, royalty-free, irrevocable 359 (except as stated in this section) patent license to make, have made, 360 use, offer to sell, sell, import, and otherwise transfer the Work, 361 where such license applies only to those patent claims licensable 362 by such Contributor that are necessarily infringed by their 363 Contribution(s) alone or by combination of their Contribution(s) 364 with the Work to which such Contribution(s) was submitted. If You 365 institute patent litigation against any entity (including a 366 cross-claim or counterclaim in a lawsuit) alleging that the Work 367 or a Contribution incorporated within the Work constitutes direct 368 or contributory patent infringement, then any patent licenses 369 granted to You under this License for that Work shall terminate 370 as of the date such litigation is filed. 371 372 4. Redistribution. You may reproduce and distribute copies of the 373 Work or Derivative Works thereof in any medium, with or without 374 modifications, and in Source or Object form, provided that You 375 meet the following conditions: 376 377 (a) You must give any other recipients of the Work or 378 Derivative Works a copy of this License; and 379 380 (b) You must cause any modified files to carry prominent notices 381 stating that You changed the files; and 382 383 (c) You must retain, in the Source form of any Derivative Works 384 that You distribute, all copyright, patent, trademark, and 385 attribution notices from the Source form of the Work, 386 excluding those notices that do not pertain to any part of 387 the Derivative Works; and 388 389 (d) If the Work includes a "NOTICE" text file as part of its 390 distribution, then any Derivative Works that You distribute must 391 include a readable copy of the attribution notices contained 392 within such NOTICE file, excluding those notices that do not 393 pertain to any part of the Derivative Works, in at least one 394 of the following places: within a NOTICE text file distributed 395 as part of the Derivative Works; within the Source form or 396 documentation, if provided along with the Derivative Works; or, 397 within a display generated by the Derivative Works, if and 398 wherever such third-party notices normally appear. The contents 399 of the NOTICE file are for informational purposes only and 400 do not modify the License. You may add Your own attribution 401 notices within Derivative Works that You distribute, alongside 402 or as an addendum to the NOTICE text from the Work, provided 403 that such additional attribution notices cannot be construed 404 as modifying the License. 405 406 You may add Your own copyright statement to Your modifications and 407 may provide additional or different license terms and conditions 408 for use, reproduction, or distribution of Your modifications, or 409 for any such Derivative Works as a whole, provided Your use, 410 reproduction, and distribution of the Work otherwise complies with 411 the conditions stated in this License. 412 413 5. Submission of Contributions. Unless You explicitly state otherwise, 414 any Contribution intentionally submitted for inclusion in the Work 415 by You to the Licensor shall be under the terms and conditions of 416 this License, without any additional terms or conditions. 417 Notwithstanding the above, nothing herein shall supersede or modify 418 the terms of any separate license agreement you may have executed 419 with Licensor regarding such Contributions. 420 421 6. Trademarks. This License does not grant permission to use the trade 422 names, trademarks, service marks, or product names of the Licensor, 423 except as required for reasonable and customary use in describing the 424 origin of the Work and reproducing the content of the NOTICE file. 425 426 7. Disclaimer of Warranty. Unless required by applicable law or 427 agreed to in writing, Licensor provides the Work (and each 428 Contributor provides its Contributions) on an "AS IS" BASIS, 429 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or 430 implied, including, without limitation, any warranties or conditions 431 of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A 432 PARTICULAR PURPOSE. You are solely responsible for determining the 433 appropriateness of using or redistributing the Work and assume any 434 risks associated with Your exercise of permissions under this License. 435 436 8. Limitation of Liability. In no event and under no legal theory, 437 whether in tort (including negligence), contract, or otherwise, 438 unless required by applicable law (such as deliberate and grossly 439 negligent acts) or agreed to in writing, shall any Contributor be 440 liable to You for damages, including any direct, indirect, special, 441 incidental, or consequential damages of any character arising as a 442 result of this License or out of the use or inability to use the 443 Work (including but not limited to damages for loss of goodwill, 444 work stoppage, computer failure or malfunction, or any and all 445 other commercial damages or losses), even if such Contributor 446 has been advised of the possibility of such damages. 447 448 9. Accepting Warranty or Additional Liability. While redistributing 449 the Work or Derivative Works thereof, You may choose to offer, 450 and charge a fee for, acceptance of support, warranty, indemnity, 451 or other liability obligations and/or rights consistent with this 452 License. However, in accepting such obligations, You may act only 453 on Your own behalf and on Your sole responsibility, not on behalf 454 of any other Contributor, and only if You agree to indemnify, 455 defend, and hold each Contributor harmless for any liability 456 incurred by, or claims asserted against, such Contributor by reason 457 of your accepting any such warranty or additional liability. 458 459 END OF TERMS AND CONDITIONS 460 461 APPENDIX: How to apply the Apache License to your work. 462 463 To apply the Apache License to your work, attach the following 464 boilerplate notice, with the fields enclosed by brackets "[]" 465 replaced with your own identifying information. (Don't include 466 the brackets!) The text should be enclosed in the appropriate 467 comment syntax for the file format. We also recommend that a 468 file or class name and description of purpose be included on the 469 same "printed page" as the copyright notice for easier 470 identification within third-party archives. 471 472 Copyright [yyyy] [name of copyright owner] 473 474 Licensed under the Apache License, Version 2.0 (the "License"); 475 you may not use this file except in compliance with the License. 476 You may obtain a copy of the License at 477 478 http://www.apache.org/licenses/LICENSE-2.0 479 480 Unless required by applicable law or agreed to in writing, software 481 distributed under the License is distributed on an "AS IS" BASIS, 482 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 483 See the License for the specific language governing permissions and 484 limitations under the License. 485