LICENSE.txt 4.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586
  1. All contributions towards parso are MIT licensed.
  2. Some Python files have been taken from the standard library and are therefore
  3. PSF licensed. Modifications on these files are dual licensed (both MIT and
  4. PSF). These files are:
  5. - parso/pgen2/*
  6. - parso/tokenize.py
  7. - parso/token.py
  8. - test/test_pgen2.py
  9. Also some test files under test/normalizer_issue_files have been copied from
  10. https://github.com/PyCQA/pycodestyle (Expat License == MIT License).
  11. -------------------------------------------------------------------------------
  12. The MIT License (MIT)
  13. Copyright (c) <2013-2017> <David Halter and others, see AUTHORS.txt>
  14. Permission is hereby granted, free of charge, to any person obtaining a copy
  15. of this software and associated documentation files (the "Software"), to deal
  16. in the Software without restriction, including without limitation the rights
  17. to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
  18. copies of the Software, and to permit persons to whom the Software is
  19. furnished to do so, subject to the following conditions:
  20. The above copyright notice and this permission notice shall be included in
  21. all copies or substantial portions of the Software.
  22. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
  23. IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
  24. FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
  25. AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
  26. LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
  27. OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
  28. THE SOFTWARE.
  29. -------------------------------------------------------------------------------
  30. PYTHON SOFTWARE FOUNDATION LICENSE VERSION 2
  31. --------------------------------------------
  32. 1. This LICENSE AGREEMENT is between the Python Software Foundation
  33. ("PSF"), and the Individual or Organization ("Licensee") accessing and
  34. otherwise using this software ("Python") in source or binary form and
  35. its associated documentation.
  36. 2. Subject to the terms and conditions of this License Agreement, PSF hereby
  37. grants Licensee a nonexclusive, royalty-free, world-wide license to reproduce,
  38. analyze, test, perform and/or display publicly, prepare derivative works,
  39. distribute, and otherwise use Python alone or in any derivative version,
  40. provided, however, that PSF's License Agreement and PSF's notice of copyright,
  41. i.e., "Copyright (c) 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010,
  42. 2011, 2012, 2013, 2014, 2015 Python Software Foundation; All Rights Reserved"
  43. are retained in Python alone or in any derivative version prepared by Licensee.
  44. 3. In the event Licensee prepares a derivative work that is based on
  45. or incorporates Python or any part thereof, and wants to make
  46. the derivative work available to others as provided herein, then
  47. Licensee hereby agrees to include in any such work a brief summary of
  48. the changes made to Python.
  49. 4. PSF is making Python available to Licensee on an "AS IS"
  50. basis. PSF MAKES NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR
  51. IMPLIED. BY WAY OF EXAMPLE, BUT NOT LIMITATION, PSF MAKES NO AND
  52. DISCLAIMS ANY REPRESENTATION OR WARRANTY OF MERCHANTABILITY OR FITNESS
  53. FOR ANY PARTICULAR PURPOSE OR THAT THE USE OF PYTHON WILL NOT
  54. INFRINGE ANY THIRD PARTY RIGHTS.
  55. 5. PSF SHALL NOT BE LIABLE TO LICENSEE OR ANY OTHER USERS OF PYTHON
  56. FOR ANY INCIDENTAL, SPECIAL, OR CONSEQUENTIAL DAMAGES OR LOSS AS
  57. A RESULT OF MODIFYING, DISTRIBUTING, OR OTHERWISE USING PYTHON,
  58. OR ANY DERIVATIVE THEREOF, EVEN IF ADVISED OF THE POSSIBILITY THEREOF.
  59. 6. This License Agreement will automatically terminate upon a material
  60. breach of its terms and conditions.
  61. 7. Nothing in this License Agreement shall be deemed to create any
  62. relationship of agency, partnership, or joint venture between PSF and
  63. Licensee. This License Agreement does not grant permission to use PSF
  64. trademarks or trade name in a trademark sense to endorse or promote
  65. products or services of Licensee, or any third party.
  66. 8. By copying, installing or otherwise using Python, Licensee
  67. agrees to be bound by the terms and conditions of this License
  68. Agreement.