Added SPDX tags to remaining python code.
Austin S. Hemmelgarn committed
Jun 4, 2018 at 08:08 UTC
86f761832514406cfb7f99930b4900309c99fcc2
6 files changed
+182
-21
LICENSES/Python-2.0
new
+177
@@ -0,0 +1,177 @@
1
+PYTHON SOFTWARE FOUNDATION LICENSE VERSION 2
2
+
3
+1. This LICENSE AGREEMENT is between the Python Software Foundation
4
+("PSF"), and the Individual or Organization ("Licensee") accessing and
5
+otherwise using this software ("Python") in source or binary form and
6
+its associated documentation.
7
+
8
+2. Subject to the terms and conditions of this License Agreement, PSF
9
+hereby grants Licensee a nonexclusive, royalty-free, world-wide license
10
+to reproduce, analyze, test, perform and/or display publicly, prepare
11
+derivative works, distribute, and otherwise use Python alone or in any
12
+derivative version, provided, however, that PSF's License Agreement and
13
+PSF's notice of copyright, i.e., "Copyright (c) 2001, 2002, 2003, 2004,
14
+2005, 2006 Python Software Foundation; All Rights Reserved" are retained
15
+in Python alone or in any derivative version prepared by Licensee.
16
+
17
+3. In the event Licensee prepares a derivative work that is based on or
18
+incorporates Python or any part thereof, and wants to make the derivative
19
+work available to others as provided herein, then Licensee hereby agrees
20
+to include in any such work a brief summary of the changes made to Python.
21
+
22
+4. PSF is making Python available to Licensee on an "AS IS" basis. PSF
23
+MAKES NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR IMPLIED. BY WAY OF
24
+EXAMPLE, BUT NOT LIMITATION, PSF MAKES NO AND DISCLAIMS ANY REPRESENTATION
25
+OR WARRANTY OF MERCHANTABILITY OR FITNESS FOR ANY PARTICULAR PURPOSE OR
26
+THAT THE USE OF PYTHON WILL NOT INFRINGE ANY THIRD PARTY RIGHTS.
27
+
28
+5. PSF SHALL NOT BE LIABLE TO LICENSEE OR ANY OTHER USERS OF PYTHON FOR
29
+ANY INCIDENTAL, SPECIAL, OR CONSEQUENTIAL DAMAGES OR LOSS AS A RESULT
30
+OF MODIFYING, DISTRIBUTING, OR OTHERWISE USING PYTHON, OR ANY DERIVATIVE
31
+THEREOF, EVEN IF ADVISED OF THE POSSIBILITY THEREOF.
32
+
33
+6. This License Agreement will automatically terminate upon a material
34
+breach of its terms and conditions.
35
+
36
+7. Nothing in this License Agreement shall be deemed to create any
37
+relationship of agency, partnership, or joint venture between PSF and
38
+Licensee. This License Agreement does not grant permission to use PSF
39
+trademarks or trade name in a trademark sense to endorse or promote
40
+products or services of Licensee, or any third party.
41
+
42
+8. By copying, installing or otherwise using Python, Licensee agrees to
43
+be bound by the terms and conditions of this License Agreement.
44
+
45
+BEOPEN.COM LICENSE AGREEMENT FOR PYTHON 2.0
46
+
47
+BEOPEN PYTHON OPEN SOURCE LICENSE AGREEMENT VERSION 1
48
+
49
+1. This LICENSE AGREEMENT is between BeOpen.com ("BeOpen"), having
50
+an office at 160 Saratoga Avenue, Santa Clara, CA 95051, and the
51
+Individual or Organization ("Licensee") accessing and otherwise using
52
+this software in source or binary form and its associated documentation
53
+("the Software").
54
+
55
+2. Subject to the terms and conditions of this BeOpen Python License
56
+Agreement, BeOpen hereby grants Licensee a non-exclusive, royalty-free,
57
+world-wide license to reproduce, analyze, test, perform and/or display
58
+publicly, prepare derivative works, distribute, and otherwise use the
59
+Software alone or in any derivative version, provided, however, that
60
+the BeOpen Python License is retained in the Software, alone or in any
61
+derivative version prepared by Licensee.
62
+
63
+3. BeOpen is making the Software available to Licensee on an "AS IS"
64
+basis. BEOPEN MAKES NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR
65
+IMPLIED. BY WAY OF EXAMPLE, BUT NOT LIMITATION, BEOPEN MAKES NO AND
66
+DISCLAIMS ANY REPRESENTATION OR WARRANTY OF MERCHANTABILITY OR FITNESS
67
+FOR ANY PARTICULAR PURPOSE OR THAT THE USE OF THE SOFTWARE WILL NOT
68
+INFRINGE ANY THIRD PARTY RIGHTS.
69
+
70
+4. BEOPEN SHALL NOT BE LIABLE TO LICENSEE OR ANY OTHER USERS OF THE
71
+SOFTWARE FOR ANY INCIDENTAL, SPECIAL, OR CONSEQUENTIAL DAMAGES OR LOSS
72
+AS A RESULT OF USING, MODIFYING OR DISTRIBUTING THE SOFTWARE, OR ANY
73
+DERIVATIVE THEREOF, EVEN IF ADVISED OF THE POSSIBILITY THEREOF.
74
+
75
+5. This License Agreement will automatically terminate upon a material
76
+breach of its terms and conditions.
77
+
78
+6. This License Agreement shall be governed by and interpreted in all
79
+respects by the law of the State of California, excluding conflict
80
+of law provisions. Nothing in this License Agreement shall be deemed
81
+to create any relationship of agency, partnership, or joint venture
82
+between BeOpen and Licensee. This License Agreement does not grant
83
+permission to use BeOpen trademarks or trade names in a trademark
84
+sense to endorse or promote products or services of Licensee, or any
85
+third party. As an exception, the "BeOpen Python" logos available
86
+at http://www.pythonlabs.com/logos.html may be used according to the
87
+permissions granted on that web page.
88
+
89
+7. By copying, installing or otherwise using the software, Licensee
90
+agrees to be bound by the terms and conditions of this License Agreement.
91
+
92
+CNRI OPEN SOURCE LICENSE AGREEMENT (for Python 1.6b1)
93
+
94
+IMPORTANT: PLEASE READ THE FOLLOWING AGREEMENT CAREFULLY.
95
+
96
+BY CLICKING ON "ACCEPT" WHERE INDICATED BELOW, OR BY COPYING, INSTALLING
97
+OR OTHERWISE USING PYTHON 1.6, beta 1 SOFTWARE, YOU ARE DEEMED TO HAVE
98
+AGREED TO THE TERMS AND CONDITIONS OF THIS LICENSE AGREEMENT.
99
+
100
+1. This LICENSE AGREEMENT is between the Corporation for National Research
101
+Initiatives, having an office at 1895 Preston White Drive, Reston,
102
+VA 20191 ("CNRI"), and the Individual or Organization ("Licensee")
103
+accessing and otherwise using Python 1.6, beta 1 software in source
104
+or binary form and its associated documentation, as released at the
105
+www.python.org Internet site on August 4, 2000 ("Python 1.6b1").
106
+
107
+2. Subject to the terms and conditions of this License Agreement, CNRI
108
+hereby grants Licensee a non-exclusive, royalty-free, world-wide license
109
+to reproduce, analyze, test, perform and/or display publicly, prepare
110
+derivative works, distribute, and otherwise use Python 1.6b1 alone or in
111
+any derivative version, provided, however, that CNRIs License Agreement
112
+is retained in Python 1.6b1, alone or in any derivative version prepared
113
+by Licensee.
114
+
115
+Alternately, in lieu of CNRIs License Agreement, Licensee may
116
+substitute the following text (omitting the quotes): "Python 1.6,
117
+beta 1, is made available subject to the terms and conditions in
118
+CNRIs License Agreement. This Agreement may be located on the Internet
119
+using the following unique, persistent identifier (known as a handle):
120
+1895.22/1011. This Agreement may also be obtained from a proxy server
121
+on the Internet using the URL:http://hdl.handle.net/1895.22/1011".
122
+
123
+3. In the event Licensee prepares a derivative work that is based on
124
+or incorporates Python 1.6b1 or any part thereof, and wants to make
125
+the derivative work available to the public as provided herein, then
126
+Licensee hereby agrees to indicate in any such work the nature of the
127
+modifications made to Python 1.6b1.
128
+
129
+4. CNRI is making Python 1.6b1 available to Licensee on an "AS IS"
130
+basis. CNRI MAKES NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR IMPLIED. BY
131
+WAY OF EXAMPLE, BUT NOT LIMITATION, CNRI MAKES NO AND DISCLAIMS ANY
132
+REPRESENTATION OR WARRANTY OF MERCHANTABILITY OR FITNESS FOR ANY
133
+PARTICULAR PURPOSE OR THAT THE USE OF PYTHON 1.6b1 WILL NOT INFRINGE
134
+ANY THIRD PARTY RIGHTS.
135
+
136
+5. CNRI SHALL NOT BE LIABLE TO LICENSEE OR ANY OTHER USERS OF THE
137
+SOFTWARE FOR ANY INCIDENTAL, SPECIAL, OR CONSEQUENTIAL DAMAGES OR LOSS
138
+AS A RESULT OF USING, MODIFYING OR DISTRIBUTING PYTHON 1.6b1, OR ANY
139
+DERIVATIVE THEREOF, EVEN IF ADVISED OF THE POSSIBILITY THEREOF.
140
+
141
+6. This License Agreement will automatically terminate upon a material
142
+breach of its terms and conditions.
143
+
144
+7. This License Agreement shall be governed by and interpreted in all
145
+respects by the law of the State of Virginia, excluding conflict of law
146
+provisions. Nothing in this License Agreement shall be deemed to create
147
+any relationship of agency, partnership, or joint venture between CNRI
148
+and Licensee. This License Agreement does not grant permission to use
149
+CNRI trademarks or trade name in a trademark sense to endorse or promote
150
+products or services of Licensee, or any third party.
151
+
152
+8. By clicking on the "ACCEPT" button where indicated, or by copying,
153
+installing or otherwise using Python 1.6b1, Licensee agrees to be bound
154
+by the terms and conditions of this License Agreement.
155
+
156
+ACCEPT
157
+
158
+CWI LICENSE AGREEMENT FOR PYTHON 0.9.0 THROUGH 1.2
159
+
160
+Copyright (c) 1991 - 1995, Stichting Mathematisch Centrum Amsterdam,
161
+The Netherlands. All rights reserved.
162
+
163
+Permission to use, copy, modify, and distribute this software and
164
+its documentation for any purpose and without fee is hereby granted,
165
+provided that the above copyright notice appear in all copies and that
166
+both that copyright notice and this permission notice appear in supporting
167
+documentation, and that the name of Stichting Mathematisch Centrum or
168
+CWI not be used in advertising or publicity pertaining to distribution
169
+of the software without specific, written prior permission.
170
+
171
+STICHTING MATHEMATISCH CENTRUM DISCLAIMS ALL WARRANTIES WITH REGARD TO
172
+THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND
173
+FITNESS, IN NO EVENT SHALL STICHTING MATHEMATISCH CENTRUM BE LIABLE FOR
174
+ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER
175
+RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF
176
+CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN
177
+CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
python.d/python_modules/third_party/ordereddict.py
+1
-19
@@ -1,24 +1,6 @@
1
# Copyright (c) 2009 Raymond Hettinger
2
#
3
-# Permission is hereby granted, free of charge, to any person
4
-# obtaining a copy of this software and associated documentation files
5
-# (the "Software"), to deal in the Software without restriction,
6
-# including without limitation the rights to use, copy, modify, merge,
7
-# publish, distribute, sublicense, and/or sell copies of the Software,
8
-# and to permit persons to whom the Software is furnished to do so,
9
-# subject to the following conditions:
10
-#
11
-# The above copyright notice and this permission notice shall be
12
-# included in all copies or substantial portions of the Software.
13
-#
14
-# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
15
-# EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
16
-# OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
17
-# NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
18
-# HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
19
-# WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
20
-# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
21
-# OTHER DEALINGS IN THE SOFTWARE.
3
+# SPDX-License-Identifier: MIT
4
5
from UserDict import DictMixin
6
python.d/python_modules/urllib3/packages/backports/makefile.py
+1
@@ -1,4 +1,5 @@
1
# -*- coding: utf-8 -*-
2
+# SPDX-License-Identifier: MIT
3
"""
4
backports.makefile
5
~~~~~~~~~~~~~~~~~~
python.d/python_modules/urllib3/packages/ordered_dict.py
+1
@@ -2,6 +2,7 @@
2
# Passes Python2.7's test suite and incorporates all the latest updates.
3
# Copyright 2009 Raymond Hettinger, released under the MIT License.
4
# http://code.activestate.com/recipes/576693/
5
+# SPDX-License-Identifier: MIT
6
try:
7
from thread import get_ident as _get_ident
8
except ImportError:
python.d/python_modules/urllib3/packages/ssl_match_hostname/__init__.py
+1
@@ -1,3 +1,4 @@
1
+# SPDX-License-Identifier: MIT
2
import sys
3
4
try:
python.d/python_modules/urllib3/packages/ssl_match_hostname/_implementation.py
+1
-2
@@ -1,7 +1,6 @@
1
"""The match_hostname() function from Python 3.3.3, essential when using SSL."""
2
3
-# Note: This file is under the PSF license as the code comes from the python
4
-# stdlib. http://docs.python.org/3/license.html
3
+# SPDX-License-Identifier: Python-2.0
4
5
import re
6
import sys