ndlocr-lite 1.4.0.dev0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- cli.py +15 -0
- config/NDLmoji.yaml +4 -0
- config/__init__.py +0 -0
- config/ndl.yaml +21 -0
- deim.py +169 -0
- model/__init__.py +0 -0
- model_download.py +87 -0
- ndl_parser.py +1083 -0
- ndlocr_lite-1.4.0.dev0.dist-info/METADATA +182 -0
- ndlocr_lite-1.4.0.dev0.dist-info/RECORD +43 -0
- ndlocr_lite-1.4.0.dev0.dist-info/WHEEL +5 -0
- ndlocr_lite-1.4.0.dev0.dist-info/entry_points.txt +2 -0
- ndlocr_lite-1.4.0.dev0.dist-info/licenses/LICENCE +395 -0
- ndlocr_lite-1.4.0.dev0.dist-info/licenses/LICENCE_DEPENDENCEIES +1891 -0
- ndlocr_lite-1.4.0.dev0.dist-info/top_level.txt +16 -0
- ndlocr_lite_gui/__init__.py +12 -0
- ndlocr_lite_gui/assets/icon.png +0 -0
- ndlocr_lite_gui/gui_config.py +21 -0
- ndlocr_lite_gui/main.py +2105 -0
- ocr.py +1425 -0
- optional_features/__init__.py +52 -0
- parseq.py +74 -0
- pdf_output_utils.py +71 -0
- reading_order/__init__.py +0 -0
- reading_order/order/__init__.py +0 -0
- reading_order/order/parse_xml.py +143 -0
- reading_order/order/reorder.py +211 -0
- reading_order/order/smooth_order.py +110 -0
- reading_order/order/warichu_block.py +178 -0
- reading_order/order/wrap_dataset.py +13 -0
- reading_order/utils/__init__.py +0 -0
- reading_order/utils/file.py +21 -0
- reading_order/utils/logger.py +29 -0
- reading_order/utils/time.py +63 -0
- reading_order/utils/xml.py +97 -0
- reading_order/xy_cut/__init__.py +0 -0
- reading_order/xy_cut/block_xy_cut.py +366 -0
- reading_order/xy_cut/eval.py +55 -0
- tcy_wrapper.py +202 -0
- tools/ndlkoten2tei.py +115 -0
- uicomponent/localelabel.py +118 -0
- uicomponent/textdaisy.py +1093 -0
- version.py +3 -0
|
@@ -0,0 +1,1891 @@
|
|
|
1
|
+
# dill
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2004-2016 California Institute of Technology.
|
|
4
|
+
Copyright (c) 2016-2024 The Uncertainty Quantification Foundation.
|
|
5
|
+
All rights reserved.
|
|
6
|
+
|
|
7
|
+
This software is available subject to the conditions and terms laid
|
|
8
|
+
out below. By downloading and using this software you are agreeing
|
|
9
|
+
to the following conditions.
|
|
10
|
+
|
|
11
|
+
Redistribution and use in source and binary forms, with or without
|
|
12
|
+
modification, are permitted provided that the following conditions
|
|
13
|
+
are met:
|
|
14
|
+
|
|
15
|
+
- Redistributions of source code must retain the above copyright
|
|
16
|
+
notice, this list of conditions and the following disclaimer.
|
|
17
|
+
|
|
18
|
+
- Redistributions in binary form must reproduce the above copyright
|
|
19
|
+
notice, this list of conditions and the following disclaimer in the
|
|
20
|
+
documentation and/or other materials provided with the distribution.
|
|
21
|
+
|
|
22
|
+
- Neither the names of the copyright holders nor the names of any of
|
|
23
|
+
the contributors may be used to endorse or promote products derived
|
|
24
|
+
from this software without specific prior written permission.
|
|
25
|
+
|
|
26
|
+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
|
27
|
+
"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
|
|
28
|
+
TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
|
|
29
|
+
PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
|
|
30
|
+
CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
|
|
31
|
+
EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
|
|
32
|
+
PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
|
|
33
|
+
OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
|
|
34
|
+
WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
|
|
35
|
+
OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
|
|
36
|
+
ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
37
|
+
|
|
38
|
+
# flet
|
|
39
|
+
|
|
40
|
+
Apache License
|
|
41
|
+
Version 2.0, January 2004
|
|
42
|
+
http://www.apache.org/licenses/
|
|
43
|
+
|
|
44
|
+
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
|
45
|
+
|
|
46
|
+
1. Definitions.
|
|
47
|
+
|
|
48
|
+
"License" shall mean the terms and conditions for use, reproduction,
|
|
49
|
+
and distribution as defined by Sections 1 through 9 of this document.
|
|
50
|
+
|
|
51
|
+
"Licensor" shall mean the copyright owner or entity authorized by
|
|
52
|
+
the copyright owner that is granting the License.
|
|
53
|
+
|
|
54
|
+
"Legal Entity" shall mean the union of the acting entity and all
|
|
55
|
+
other entities that control, are controlled by, or are under common
|
|
56
|
+
control with that entity. For the purposes of this definition,
|
|
57
|
+
"control" means (i) the power, direct or indirect, to cause the
|
|
58
|
+
direction or management of such entity, whether by contract or
|
|
59
|
+
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
|
60
|
+
outstanding shares, or (iii) beneficial ownership of such entity.
|
|
61
|
+
|
|
62
|
+
"You" (or "Your") shall mean an individual or Legal Entity
|
|
63
|
+
exercising permissions granted by this License.
|
|
64
|
+
|
|
65
|
+
"Source" form shall mean the preferred form for making modifications,
|
|
66
|
+
including but not limited to software source code, documentation
|
|
67
|
+
source, and configuration files.
|
|
68
|
+
|
|
69
|
+
"Object" form shall mean any form resulting from mechanical
|
|
70
|
+
transformation or translation of a Source form, including but
|
|
71
|
+
not limited to compiled object code, generated documentation,
|
|
72
|
+
and conversions to other media types.
|
|
73
|
+
|
|
74
|
+
"Work" shall mean the work of authorship, whether in Source or
|
|
75
|
+
Object form, made available under the License, as indicated by a
|
|
76
|
+
copyright notice that is included in or attached to the work
|
|
77
|
+
(an example is provided in the Appendix below).
|
|
78
|
+
|
|
79
|
+
"Derivative Works" shall mean any work, whether in Source or Object
|
|
80
|
+
form, that is based on (or derived from) the Work and for which the
|
|
81
|
+
editorial revisions, annotations, elaborations, or other modifications
|
|
82
|
+
represent, as a whole, an original work of authorship. For the purposes
|
|
83
|
+
of this License, Derivative Works shall not include works that remain
|
|
84
|
+
separable from, or merely link (or bind by name) to the interfaces of,
|
|
85
|
+
the Work and Derivative Works thereof.
|
|
86
|
+
|
|
87
|
+
"Contribution" shall mean any work of authorship, including
|
|
88
|
+
the original version of the Work and any modifications or additions
|
|
89
|
+
to that Work or Derivative Works thereof, that is intentionally
|
|
90
|
+
submitted to Licensor for inclusion in the Work by the copyright owner
|
|
91
|
+
or by an individual or Legal Entity authorized to submit on behalf of
|
|
92
|
+
the copyright owner. For the purposes of this definition, "submitted"
|
|
93
|
+
means any form of electronic, verbal, or written communication sent
|
|
94
|
+
to the Licensor or its representatives, including but not limited to
|
|
95
|
+
communication on electronic mailing lists, source code control systems,
|
|
96
|
+
and issue tracking systems that are managed by, or on behalf of, the
|
|
97
|
+
Licensor for the purpose of discussing and improving the Work, but
|
|
98
|
+
excluding communication that is conspicuously marked or otherwise
|
|
99
|
+
designated in writing by the copyright owner as "Not a Contribution."
|
|
100
|
+
|
|
101
|
+
"Contributor" shall mean Licensor and any individual or Legal Entity
|
|
102
|
+
on behalf of whom a Contribution has been received by Licensor and
|
|
103
|
+
subsequently incorporated within the Work.
|
|
104
|
+
|
|
105
|
+
2. Grant of Copyright License. Subject to the terms and conditions of
|
|
106
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
107
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
108
|
+
copyright license to reproduce, prepare Derivative Works of,
|
|
109
|
+
publicly display, publicly perform, sublicense, and distribute the
|
|
110
|
+
Work and such Derivative Works in Source or Object form.
|
|
111
|
+
|
|
112
|
+
3. Grant of Patent License. Subject to the terms and conditions of
|
|
113
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
114
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
115
|
+
(except as stated in this section) patent license to make, have made,
|
|
116
|
+
use, offer to sell, sell, import, and otherwise transfer the Work,
|
|
117
|
+
where such license applies only to those patent claims licensable
|
|
118
|
+
by such Contributor that are necessarily infringed by their
|
|
119
|
+
Contribution(s) alone or by combination of their Contribution(s)
|
|
120
|
+
with the Work to which such Contribution(s) was submitted. If You
|
|
121
|
+
institute patent litigation against any entity (including a
|
|
122
|
+
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
|
123
|
+
or a Contribution incorporated within the Work constitutes direct
|
|
124
|
+
or contributory patent infringement, then any patent licenses
|
|
125
|
+
granted to You under this License for that Work shall terminate
|
|
126
|
+
as of the date such litigation is filed.
|
|
127
|
+
|
|
128
|
+
4. Redistribution. You may reproduce and distribute copies of the
|
|
129
|
+
Work or Derivative Works thereof in any medium, with or without
|
|
130
|
+
modifications, and in Source or Object form, provided that You
|
|
131
|
+
meet the following conditions:
|
|
132
|
+
|
|
133
|
+
(a) You must give any other recipients of the Work or
|
|
134
|
+
Derivative Works a copy of this License; and
|
|
135
|
+
|
|
136
|
+
(b) You must cause any modified files to carry prominent notices
|
|
137
|
+
stating that You changed the files; and
|
|
138
|
+
|
|
139
|
+
(c) You must retain, in the Source form of any Derivative Works
|
|
140
|
+
that You distribute, all copyright, patent, trademark, and
|
|
141
|
+
attribution notices from the Source form of the Work,
|
|
142
|
+
excluding those notices that do not pertain to any part of
|
|
143
|
+
the Derivative Works; and
|
|
144
|
+
|
|
145
|
+
(d) If the Work includes a "NOTICE" text file as part of its
|
|
146
|
+
distribution, then any Derivative Works that You distribute must
|
|
147
|
+
include a readable copy of the attribution notices contained
|
|
148
|
+
within such NOTICE file, excluding those notices that do not
|
|
149
|
+
pertain to any part of the Derivative Works, in at least one
|
|
150
|
+
of the following places: within a NOTICE text file distributed
|
|
151
|
+
as part of the Derivative Works; within the Source form or
|
|
152
|
+
documentation, if provided along with the Derivative Works; or,
|
|
153
|
+
within a display generated by the Derivative Works, if and
|
|
154
|
+
wherever such third-party notices normally appear. The contents
|
|
155
|
+
of the NOTICE file are for informational purposes only and
|
|
156
|
+
do not modify the License. You may add Your own attribution
|
|
157
|
+
notices within Derivative Works that You distribute, alongside
|
|
158
|
+
or as an addendum to the NOTICE text from the Work, provided
|
|
159
|
+
that such additional attribution notices cannot be construed
|
|
160
|
+
as modifying the License.
|
|
161
|
+
|
|
162
|
+
You may add Your own copyright statement to Your modifications and
|
|
163
|
+
may provide additional or different license terms and conditions
|
|
164
|
+
for use, reproduction, or distribution of Your modifications, or
|
|
165
|
+
for any such Derivative Works as a whole, provided Your use,
|
|
166
|
+
reproduction, and distribution of the Work otherwise complies with
|
|
167
|
+
the conditions stated in this License.
|
|
168
|
+
|
|
169
|
+
5. Submission of Contributions. Unless You explicitly state otherwise,
|
|
170
|
+
any Contribution intentionally submitted for inclusion in the Work
|
|
171
|
+
by You to the Licensor shall be under the terms and conditions of
|
|
172
|
+
this License, without any additional terms or conditions.
|
|
173
|
+
Notwithstanding the above, nothing herein shall supersede or modify
|
|
174
|
+
the terms of any separate license agreement you may have executed
|
|
175
|
+
with Licensor regarding such Contributions.
|
|
176
|
+
|
|
177
|
+
6. Trademarks. This License does not grant permission to use the trade
|
|
178
|
+
names, trademarks, service marks, or product names of the Licensor,
|
|
179
|
+
except as required for reasonable and customary use in describing the
|
|
180
|
+
origin of the Work and reproducing the content of the NOTICE file.
|
|
181
|
+
|
|
182
|
+
7. Disclaimer of Warranty. Unless required by applicable law or
|
|
183
|
+
agreed to in writing, Licensor provides the Work (and each
|
|
184
|
+
Contributor provides its Contributions) on an "AS IS" BASIS,
|
|
185
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
|
186
|
+
implied, including, without limitation, any warranties or conditions
|
|
187
|
+
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
|
188
|
+
PARTICULAR PURPOSE. You are solely responsible for determining the
|
|
189
|
+
appropriateness of using or redistributing the Work and assume any
|
|
190
|
+
risks associated with Your exercise of permissions under this License.
|
|
191
|
+
|
|
192
|
+
8. Limitation of Liability. In no event and under no legal theory,
|
|
193
|
+
whether in tort (including negligence), contract, or otherwise,
|
|
194
|
+
unless required by applicable law (such as deliberate and grossly
|
|
195
|
+
negligent acts) or agreed to in writing, shall any Contributor be
|
|
196
|
+
liable to You for damages, including any direct, indirect, special,
|
|
197
|
+
incidental, or consequential damages of any character arising as a
|
|
198
|
+
result of this License or out of the use or inability to use the
|
|
199
|
+
Work (including but not limited to damages for loss of goodwill,
|
|
200
|
+
work stoppage, computer failure or malfunction, or any and all
|
|
201
|
+
other commercial damages or losses), even if such Contributor
|
|
202
|
+
has been advised of the possibility of such damages.
|
|
203
|
+
|
|
204
|
+
9. Accepting Warranty or Additional Liability. While redistributing
|
|
205
|
+
the Work or Derivative Works thereof, You may choose to offer,
|
|
206
|
+
and charge a fee for, acceptance of support, warranty, indemnity,
|
|
207
|
+
or other liability obligations and/or rights consistent with this
|
|
208
|
+
License. However, in accepting such obligations, You may act only
|
|
209
|
+
on Your own behalf and on Your sole responsibility, not on behalf
|
|
210
|
+
of any other Contributor, and only if You agree to indemnify,
|
|
211
|
+
defend, and hold each Contributor harmless for any liability
|
|
212
|
+
incurred by, or claims asserted against, such Contributor by reason
|
|
213
|
+
of your accepting any such warranty or additional liability.
|
|
214
|
+
|
|
215
|
+
END OF TERMS AND CONDITIONS
|
|
216
|
+
|
|
217
|
+
APPENDIX: How to apply the Apache License to your work.
|
|
218
|
+
|
|
219
|
+
To apply the Apache License to your work, attach the following
|
|
220
|
+
boilerplate notice, with the fields enclosed by brackets "[]"
|
|
221
|
+
replaced with your own identifying information. (Don't include
|
|
222
|
+
the brackets!) The text should be enclosed in the appropriate
|
|
223
|
+
comment syntax for the file format. We also recommend that a
|
|
224
|
+
file or class name and description of purpose be included on the
|
|
225
|
+
same "printed page" as the copyright notice for easier
|
|
226
|
+
identification within third-party archives.
|
|
227
|
+
|
|
228
|
+
Copyright [yyyy] [name of copyright owner]
|
|
229
|
+
|
|
230
|
+
Licensed under the Apache License, Version 2.0 (the "License");
|
|
231
|
+
you may not use this file except in compliance with the License.
|
|
232
|
+
You may obtain a copy of the License at
|
|
233
|
+
|
|
234
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
|
235
|
+
|
|
236
|
+
Unless required by applicable law or agreed to in writing, software
|
|
237
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
|
238
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
239
|
+
See the License for the specific language governing permissions and
|
|
240
|
+
limitations under the License.
|
|
241
|
+
|
|
242
|
+
# lxml
|
|
243
|
+
|
|
244
|
+
Copyright (c) 2004 Infrae. All rights reserved.
|
|
245
|
+
|
|
246
|
+
Redistribution and use in source and binary forms, with or without
|
|
247
|
+
modification, are permitted provided that the following conditions are
|
|
248
|
+
met:
|
|
249
|
+
|
|
250
|
+
1. Redistributions of source code must retain the above copyright
|
|
251
|
+
notice, this list of conditions and the following disclaimer.
|
|
252
|
+
|
|
253
|
+
2. Redistributions in binary form must reproduce the above copyright
|
|
254
|
+
notice, this list of conditions and the following disclaimer in
|
|
255
|
+
the documentation and/or other materials provided with the
|
|
256
|
+
distribution.
|
|
257
|
+
|
|
258
|
+
3. Neither the name of Infrae nor the names of its contributors may
|
|
259
|
+
be used to endorse or promote products derived from this software
|
|
260
|
+
without specific prior written permission.
|
|
261
|
+
|
|
262
|
+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
|
263
|
+
"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
|
264
|
+
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
|
|
265
|
+
A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL INFRAE OR
|
|
266
|
+
CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
|
|
267
|
+
EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
|
|
268
|
+
PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
|
|
269
|
+
PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
|
|
270
|
+
LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
|
|
271
|
+
NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
|
|
272
|
+
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
273
|
+
|
|
274
|
+
# networkx
|
|
275
|
+
|
|
276
|
+
NetworkX is distributed with the 3-clause BSD license.
|
|
277
|
+
|
|
278
|
+
::
|
|
279
|
+
|
|
280
|
+
Copyright (C) 2004-2024, NetworkX Developers
|
|
281
|
+
Aric Hagberg <hagberg@lanl.gov>
|
|
282
|
+
Dan Schult <dschult@colgate.edu>
|
|
283
|
+
Pieter Swart <swart@lanl.gov>
|
|
284
|
+
All rights reserved.
|
|
285
|
+
|
|
286
|
+
Redistribution and use in source and binary forms, with or without
|
|
287
|
+
modification, are permitted provided that the following conditions are
|
|
288
|
+
met:
|
|
289
|
+
|
|
290
|
+
* Redistributions of source code must retain the above copyright
|
|
291
|
+
notice, this list of conditions and the following disclaimer.
|
|
292
|
+
|
|
293
|
+
* Redistributions in binary form must reproduce the above
|
|
294
|
+
copyright notice, this list of conditions and the following
|
|
295
|
+
disclaimer in the documentation and/or other materials provided
|
|
296
|
+
with the distribution.
|
|
297
|
+
|
|
298
|
+
* Neither the name of the NetworkX Developers nor the names of its
|
|
299
|
+
contributors may be used to endorse or promote products derived
|
|
300
|
+
from this software without specific prior written permission.
|
|
301
|
+
|
|
302
|
+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
|
303
|
+
"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
|
304
|
+
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
|
|
305
|
+
A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
|
|
306
|
+
OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
|
307
|
+
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
|
|
308
|
+
LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
|
309
|
+
DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
|
310
|
+
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
|
311
|
+
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
|
312
|
+
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
313
|
+
|
|
314
|
+
# numpy
|
|
315
|
+
|
|
316
|
+
Copyright (c) 2005-2023, NumPy Developers.
|
|
317
|
+
All rights reserved.
|
|
318
|
+
|
|
319
|
+
Redistribution and use in source and binary forms, with or without
|
|
320
|
+
modification, are permitted provided that the following conditions are
|
|
321
|
+
met:
|
|
322
|
+
|
|
323
|
+
* Redistributions of source code must retain the above copyright
|
|
324
|
+
notice, this list of conditions and the following disclaimer.
|
|
325
|
+
|
|
326
|
+
* Redistributions in binary form must reproduce the above
|
|
327
|
+
copyright notice, this list of conditions and the following
|
|
328
|
+
disclaimer in the documentation and/or other materials provided
|
|
329
|
+
with the distribution.
|
|
330
|
+
|
|
331
|
+
* Neither the name of the NumPy Developers nor the names of any
|
|
332
|
+
contributors may be used to endorse or promote products derived
|
|
333
|
+
from this software without specific prior written permission.
|
|
334
|
+
|
|
335
|
+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
|
336
|
+
"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
|
337
|
+
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
|
|
338
|
+
A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
|
|
339
|
+
OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
|
340
|
+
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
|
|
341
|
+
LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
|
342
|
+
DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
|
343
|
+
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
|
344
|
+
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
|
345
|
+
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
346
|
+
|
|
347
|
+
# onnxruntime
|
|
348
|
+
|
|
349
|
+
MIT License
|
|
350
|
+
|
|
351
|
+
Copyright (c) Microsoft Corporation
|
|
352
|
+
|
|
353
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
354
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
355
|
+
in the Software without restriction, including without limitation the rights
|
|
356
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
357
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
358
|
+
furnished to do so, subject to the following conditions:
|
|
359
|
+
|
|
360
|
+
The above copyright notice and this permission notice shall be included in all
|
|
361
|
+
copies or substantial portions of the Software.
|
|
362
|
+
|
|
363
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
364
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
365
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
366
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
367
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
368
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
369
|
+
SOFTWARE.
|
|
370
|
+
|
|
371
|
+
# Pillow
|
|
372
|
+
|
|
373
|
+
The Python Imaging Library (PIL) is
|
|
374
|
+
|
|
375
|
+
Copyright © 1997-2011 by Secret Labs AB
|
|
376
|
+
Copyright © 1995-2011 by Fredrik Lundh
|
|
377
|
+
|
|
378
|
+
Pillow is the friendly PIL fork. It is
|
|
379
|
+
|
|
380
|
+
Copyright © 2010-2022 by Alex Clark and contributors
|
|
381
|
+
|
|
382
|
+
Like PIL, Pillow is licensed under the open source HPND License:
|
|
383
|
+
|
|
384
|
+
By obtaining, using, and/or copying this software and/or its associated
|
|
385
|
+
documentation, you agree that you have read, understood, and will comply
|
|
386
|
+
with the following terms and conditions:
|
|
387
|
+
|
|
388
|
+
Permission to use, copy, modify, and distribute this software and its
|
|
389
|
+
associated documentation for any purpose and without fee is hereby granted,
|
|
390
|
+
provided that the above copyright notice appears in all copies, and that
|
|
391
|
+
both that copyright notice and this permission notice appear in supporting
|
|
392
|
+
documentation, and that the name of Secret Labs AB or the author not be
|
|
393
|
+
used in advertising or publicity pertaining to distribution of the software
|
|
394
|
+
without specific, written prior permission.
|
|
395
|
+
|
|
396
|
+
SECRET LABS AB AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS
|
|
397
|
+
SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS.
|
|
398
|
+
IN NO EVENT SHALL SECRET LABS AB OR THE AUTHOR BE LIABLE FOR ANY SPECIAL,
|
|
399
|
+
INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
|
400
|
+
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
|
|
401
|
+
OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
402
|
+
PERFORMANCE OF THIS SOFTWARE.
|
|
403
|
+
|
|
404
|
+
# ordered-set
|
|
405
|
+
|
|
406
|
+
Copyright (c) 2012-2022 Elia Robyn Lake
|
|
407
|
+
|
|
408
|
+
Permission is hereby granted, free of charge, to any person obtaining a
|
|
409
|
+
copy of this software and associated documentation files (the "Software"),
|
|
410
|
+
to deal in the Software without restriction, including without limitation
|
|
411
|
+
the rights to use, copy, modify, merge, publish, distribute, sublicense,
|
|
412
|
+
and/or sell copies of the Software, and to permit persons to whom the
|
|
413
|
+
Software is furnished to do so, subject to the following conditions:
|
|
414
|
+
|
|
415
|
+
The above copyright notice and this permission notice shall be included in
|
|
416
|
+
all copies or substantial portions of the Software.
|
|
417
|
+
|
|
418
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
419
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
420
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
421
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
422
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
|
423
|
+
FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
|
424
|
+
DEALINGS IN THE SOFTWARE.
|
|
425
|
+
|
|
426
|
+
# protobuf
|
|
427
|
+
|
|
428
|
+
Copyright 2008 Google Inc. All rights reserved.
|
|
429
|
+
|
|
430
|
+
Redistribution and use in source and binary forms, with or without
|
|
431
|
+
modification, are permitted provided that the following conditions are
|
|
432
|
+
met:
|
|
433
|
+
|
|
434
|
+
* Redistributions of source code must retain the above copyright
|
|
435
|
+
notice, this list of conditions and the following disclaimer.
|
|
436
|
+
* Redistributions in binary form must reproduce the above
|
|
437
|
+
copyright notice, this list of conditions and the following disclaimer
|
|
438
|
+
in the documentation and/or other materials provided with the
|
|
439
|
+
distribution.
|
|
440
|
+
* Neither the name of Google Inc. nor the names of its
|
|
441
|
+
contributors may be used to endorse or promote products derived from
|
|
442
|
+
this software without specific prior written permission.
|
|
443
|
+
|
|
444
|
+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
|
445
|
+
"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
|
446
|
+
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
|
|
447
|
+
A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
|
|
448
|
+
OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
|
449
|
+
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
|
|
450
|
+
LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
|
451
|
+
DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
|
452
|
+
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
|
453
|
+
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
|
454
|
+
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
455
|
+
|
|
456
|
+
Code generated by the Protocol Buffer compiler is owned by the owner
|
|
457
|
+
of the input file used when generating it. This code is not
|
|
458
|
+
standalone and requires a support library to be linked with it. This
|
|
459
|
+
support library is itself covered by the above license.
|
|
460
|
+
|
|
461
|
+
# pyparsing
|
|
462
|
+
|
|
463
|
+
Permission is hereby granted, free of charge, to any person obtaining
|
|
464
|
+
a copy of this software and associated documentation files (the
|
|
465
|
+
"Software"), to deal in the Software without restriction, including
|
|
466
|
+
without limitation the rights to use, copy, modify, merge, publish,
|
|
467
|
+
distribute, sublicense, and/or sell copies of the Software, and to
|
|
468
|
+
permit persons to whom the Software is furnished to do so, subject to
|
|
469
|
+
the following conditions:
|
|
470
|
+
|
|
471
|
+
The above copyright notice and this permission notice shall be
|
|
472
|
+
included in all copies or substantial portions of the Software.
|
|
473
|
+
|
|
474
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
|
475
|
+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
|
476
|
+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
|
|
477
|
+
IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
|
|
478
|
+
CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
|
|
479
|
+
TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
|
|
480
|
+
SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
481
|
+
|
|
482
|
+
# PyYAML
|
|
483
|
+
|
|
484
|
+
Copyright (c) 2017-2021 Ingy döt Net
|
|
485
|
+
Copyright (c) 2006-2016 Kirill Simonov
|
|
486
|
+
|
|
487
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy of
|
|
488
|
+
this software and associated documentation files (the "Software"), to deal in
|
|
489
|
+
the Software without restriction, including without limitation the rights to
|
|
490
|
+
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
|
|
491
|
+
of the Software, and to permit persons to whom the Software is furnished to do
|
|
492
|
+
so, subject to the following conditions:
|
|
493
|
+
|
|
494
|
+
The above copyright notice and this permission notice shall be included in all
|
|
495
|
+
copies or substantial portions of the Software.
|
|
496
|
+
|
|
497
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
498
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
499
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
500
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
501
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
502
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
503
|
+
SOFTWARE.
|
|
504
|
+
|
|
505
|
+
|
|
506
|
+
# reportlab
|
|
507
|
+
|
|
508
|
+
#####################################################################################
|
|
509
|
+
#
|
|
510
|
+
# Copyright (c) 2000-2024, ReportLab Inc.
|
|
511
|
+
# All rights reserved.
|
|
512
|
+
#
|
|
513
|
+
# Redistribution and use in source and binary forms, with or without modification,
|
|
514
|
+
# are permitted provided that the following conditions are met:
|
|
515
|
+
#
|
|
516
|
+
# * Redistributions of source code must retain the above copyright notice,
|
|
517
|
+
# this list of conditions and the following disclaimer.
|
|
518
|
+
# * Redistributions in binary form must reproduce the above copyright notice,
|
|
519
|
+
# this list of conditions and the following disclaimer in the documentation
|
|
520
|
+
# and/or other materials provided with the distribution.
|
|
521
|
+
# * Neither the name of the company nor the names of its contributors may be
|
|
522
|
+
# used to endorse or promote products derived from this software without
|
|
523
|
+
# specific prior written permission.
|
|
524
|
+
#
|
|
525
|
+
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
|
|
526
|
+
# ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
|
|
527
|
+
# WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
|
|
528
|
+
# IN NO EVENT SHALL THE OFFICERS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
|
|
529
|
+
# INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED
|
|
530
|
+
# TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
|
|
531
|
+
# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER
|
|
532
|
+
# IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING
|
|
533
|
+
# IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
|
534
|
+
# SUCH DAMAGE.
|
|
535
|
+
#
|
|
536
|
+
#####################################################################################
|
|
537
|
+
|
|
538
|
+
# pypdfium2
|
|
539
|
+
|
|
540
|
+
Apache License
|
|
541
|
+
Version 2.0, January 2004
|
|
542
|
+
http://www.apache.org/licenses/
|
|
543
|
+
|
|
544
|
+
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
|
545
|
+
|
|
546
|
+
1. Definitions.
|
|
547
|
+
|
|
548
|
+
"License" shall mean the terms and conditions for use, reproduction,
|
|
549
|
+
and distribution as defined by Sections 1 through 9 of this document.
|
|
550
|
+
|
|
551
|
+
"Licensor" shall mean the copyright owner or entity authorized by
|
|
552
|
+
the copyright owner that is granting the License.
|
|
553
|
+
|
|
554
|
+
"Legal Entity" shall mean the union of the acting entity and all
|
|
555
|
+
other entities that control, are controlled by, or are under common
|
|
556
|
+
control with that entity. For the purposes of this definition,
|
|
557
|
+
"control" means (i) the power, direct or indirect, to cause the
|
|
558
|
+
direction or management of such entity, whether by contract or
|
|
559
|
+
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
|
560
|
+
outstanding shares, or (iii) beneficial ownership of such entity.
|
|
561
|
+
|
|
562
|
+
"You" (or "Your") shall mean an individual or Legal Entity
|
|
563
|
+
exercising permissions granted by this License.
|
|
564
|
+
|
|
565
|
+
"Source" form shall mean the preferred form for making modifications,
|
|
566
|
+
including but not limited to software source code, documentation
|
|
567
|
+
source, and configuration files.
|
|
568
|
+
|
|
569
|
+
"Object" form shall mean any form resulting from mechanical
|
|
570
|
+
transformation or translation of a Source form, including but
|
|
571
|
+
not limited to compiled object code, generated documentation,
|
|
572
|
+
and conversions to other media types.
|
|
573
|
+
|
|
574
|
+
"Work" shall mean the work of authorship, whether in Source or
|
|
575
|
+
Object form, made available under the License, as indicated by a
|
|
576
|
+
copyright notice that is included in or attached to the work
|
|
577
|
+
(an example is provided in the Appendix below).
|
|
578
|
+
|
|
579
|
+
"Derivative Works" shall mean any work, whether in Source or Object
|
|
580
|
+
form, that is based on (or derived from) the Work and for which the
|
|
581
|
+
editorial revisions, annotations, elaborations, or other modifications
|
|
582
|
+
represent, as a whole, an original work of authorship. For the purposes
|
|
583
|
+
of this License, Derivative Works shall not include works that remain
|
|
584
|
+
separable from, or merely link (or bind by name) to the interfaces of,
|
|
585
|
+
the Work and Derivative Works thereof.
|
|
586
|
+
|
|
587
|
+
"Contribution" shall mean any work of authorship, including
|
|
588
|
+
the original version of the Work and any modifications or additions
|
|
589
|
+
to that Work or Derivative Works thereof, that is intentionally
|
|
590
|
+
submitted to Licensor for inclusion in the Work by the copyright owner
|
|
591
|
+
or by an individual or Legal Entity authorized to submit on behalf of
|
|
592
|
+
the copyright owner. For the purposes of this definition, "submitted"
|
|
593
|
+
means any form of electronic, verbal, or written communication sent
|
|
594
|
+
to the Licensor or its representatives, including but not limited to
|
|
595
|
+
communication on electronic mailing lists, source code control systems,
|
|
596
|
+
and issue tracking systems that are managed by, or on behalf of, the
|
|
597
|
+
Licensor for the purpose of discussing and improving the Work, but
|
|
598
|
+
excluding communication that is conspicuously marked or otherwise
|
|
599
|
+
designated in writing by the copyright owner as "Not a Contribution."
|
|
600
|
+
|
|
601
|
+
"Contributor" shall mean Licensor and any individual or Legal Entity
|
|
602
|
+
on behalf of whom a Contribution has been received by Licensor and
|
|
603
|
+
subsequently incorporated within the Work.
|
|
604
|
+
|
|
605
|
+
2. Grant of Copyright License. Subject to the terms and conditions of
|
|
606
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
607
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
608
|
+
copyright license to reproduce, prepare Derivative Works of,
|
|
609
|
+
publicly display, publicly perform, sublicense, and distribute the
|
|
610
|
+
Work and such Derivative Works in Source or Object form.
|
|
611
|
+
|
|
612
|
+
3. Grant of Patent License. Subject to the terms and conditions of
|
|
613
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
614
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
615
|
+
(except as stated in this section) patent license to make, have made,
|
|
616
|
+
use, offer to sell, sell, import, and otherwise transfer the Work,
|
|
617
|
+
where such license applies only to those patent claims licensable
|
|
618
|
+
by such Contributor that are necessarily infringed by their
|
|
619
|
+
Contribution(s) alone or by combination of their Contribution(s)
|
|
620
|
+
with the Work to which such Contribution(s) was submitted. If You
|
|
621
|
+
institute patent litigation against any entity (including a
|
|
622
|
+
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
|
623
|
+
or a Contribution incorporated within the Work constitutes direct
|
|
624
|
+
or contributory patent infringement, then any patent licenses
|
|
625
|
+
granted to You under this License for that Work shall terminate
|
|
626
|
+
as of the date such litigation is filed.
|
|
627
|
+
|
|
628
|
+
4. Redistribution. You may reproduce and distribute copies of the
|
|
629
|
+
Work or Derivative Works thereof in any medium, with or without
|
|
630
|
+
modifications, and in Source or Object form, provided that You
|
|
631
|
+
meet the following conditions:
|
|
632
|
+
|
|
633
|
+
(a) You must give any other recipients of the Work or
|
|
634
|
+
Derivative Works a copy of this License; and
|
|
635
|
+
|
|
636
|
+
(b) You must cause any modified files to carry prominent notices
|
|
637
|
+
stating that You changed the files; and
|
|
638
|
+
|
|
639
|
+
(c) You must retain, in the Source form of any Derivative Works
|
|
640
|
+
that You distribute, all copyright, patent, trademark, and
|
|
641
|
+
attribution notices from the Source form of the Work,
|
|
642
|
+
excluding those notices that do not pertain to any part of
|
|
643
|
+
the Derivative Works; and
|
|
644
|
+
|
|
645
|
+
(d) If the Work includes a "NOTICE" text file as part of its
|
|
646
|
+
distribution, then any Derivative Works that You distribute must
|
|
647
|
+
include a readable copy of the attribution notices contained
|
|
648
|
+
within such NOTICE file, excluding those notices that do not
|
|
649
|
+
pertain to any part of the Derivative Works, in at least one
|
|
650
|
+
of the following places: within a NOTICE text file distributed
|
|
651
|
+
as part of the Derivative Works; within the Source form or
|
|
652
|
+
documentation, if provided along with the Derivative Works; or,
|
|
653
|
+
within a display generated by the Derivative Works, if and
|
|
654
|
+
wherever such third-party notices normally appear. The contents
|
|
655
|
+
of the NOTICE file are for informational purposes only and
|
|
656
|
+
do not modify the License. You may add Your own attribution
|
|
657
|
+
notices within Derivative Works that You distribute, alongside
|
|
658
|
+
or as an addendum to the NOTICE text from the Work, provided
|
|
659
|
+
that such additional attribution notices cannot be construed
|
|
660
|
+
as modifying the License.
|
|
661
|
+
|
|
662
|
+
You may add Your own copyright statement to Your modifications and
|
|
663
|
+
may provide additional or different license terms and conditions
|
|
664
|
+
for use, reproduction, or distribution of Your modifications, or
|
|
665
|
+
for any such Derivative Works as a whole, provided Your use,
|
|
666
|
+
reproduction, and distribution of the Work otherwise complies with
|
|
667
|
+
the conditions stated in this License.
|
|
668
|
+
|
|
669
|
+
5. Submission of Contributions. Unless You explicitly state otherwise,
|
|
670
|
+
any Contribution intentionally submitted for inclusion in the Work
|
|
671
|
+
by You to the Licensor shall be under the terms and conditions of
|
|
672
|
+
this License, without any additional terms or conditions.
|
|
673
|
+
Notwithstanding the above, nothing herein shall supersede or modify
|
|
674
|
+
the terms of any separate license agreement you may have executed
|
|
675
|
+
with Licensor regarding such Contributions.
|
|
676
|
+
|
|
677
|
+
6. Trademarks. This License does not grant permission to use the trade
|
|
678
|
+
names, trademarks, service marks, or product names of the Licensor,
|
|
679
|
+
except as required for reasonable and customary use in describing the
|
|
680
|
+
origin of the Work and reproducing the content of the NOTICE file.
|
|
681
|
+
|
|
682
|
+
7. Disclaimer of Warranty. Unless required by applicable law or
|
|
683
|
+
agreed to in writing, Licensor provides the Work (and each
|
|
684
|
+
Contributor provides its Contributions) on an "AS IS" BASIS,
|
|
685
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
|
686
|
+
implied, including, without limitation, any warranties or conditions
|
|
687
|
+
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
|
688
|
+
PARTICULAR PURPOSE. You are solely responsible for determining the
|
|
689
|
+
appropriateness of using or redistributing the Work and assume any
|
|
690
|
+
risks associated with Your exercise of permissions under this License.
|
|
691
|
+
|
|
692
|
+
8. Limitation of Liability. In no event and under no legal theory,
|
|
693
|
+
whether in tort (including negligence), contract, or otherwise,
|
|
694
|
+
unless required by applicable law (such as deliberate and grossly
|
|
695
|
+
negligent acts) or agreed to in writing, shall any Contributor be
|
|
696
|
+
liable to You for damages, including any direct, indirect, special,
|
|
697
|
+
incidental, or consequential damages of any character arising as a
|
|
698
|
+
result of this License or out of the use or inability to use the
|
|
699
|
+
Work (including but not limited to damages for loss of goodwill,
|
|
700
|
+
work stoppage, computer failure or malfunction, or any and all
|
|
701
|
+
other commercial damages or losses), even if such Contributor
|
|
702
|
+
has been advised of the possibility of such damages.
|
|
703
|
+
|
|
704
|
+
9. Accepting Warranty or Additional Liability. While redistributing
|
|
705
|
+
the Work or Derivative Works thereof, You may choose to offer,
|
|
706
|
+
and charge a fee for, acceptance of support, warranty, indemnity,
|
|
707
|
+
or other liability obligations and/or rights consistent with this
|
|
708
|
+
License. However, in accepting such obligations, You may act only
|
|
709
|
+
on Your own behalf and on Your sole responsibility, not on behalf
|
|
710
|
+
of any other Contributor, and only if You agree to indemnify,
|
|
711
|
+
defend, and hold each Contributor harmless for any liability
|
|
712
|
+
incurred by, or claims asserted against, such Contributor by reason
|
|
713
|
+
of your accepting any such warranty or additional liability.
|
|
714
|
+
|
|
715
|
+
END OF TERMS AND CONDITIONS
|
|
716
|
+
|
|
717
|
+
APPENDIX: How to apply the Apache License to your work.
|
|
718
|
+
|
|
719
|
+
To apply the Apache License to your work, attach the following
|
|
720
|
+
boilerplate notice, with the fields enclosed by brackets "[]"
|
|
721
|
+
replaced with your own identifying information. (Don't include
|
|
722
|
+
the brackets!) The text should be enclosed in the appropriate
|
|
723
|
+
comment syntax for the file format. We also recommend that a
|
|
724
|
+
file or class name and description of purpose be included on the
|
|
725
|
+
same "printed page" as the copyright notice for easier
|
|
726
|
+
identification within third-party archives.
|
|
727
|
+
|
|
728
|
+
Copyright [yyyy] [name of copyright owner]
|
|
729
|
+
|
|
730
|
+
Licensed under the Apache License, Version 2.0 (the "License");
|
|
731
|
+
you may not use this file except in compliance with the License.
|
|
732
|
+
You may obtain a copy of the License at
|
|
733
|
+
|
|
734
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
|
735
|
+
|
|
736
|
+
Unless required by applicable law or agreed to in writing, software
|
|
737
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
|
738
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
739
|
+
See the License for the specific language governing permissions and
|
|
740
|
+
limitations under the License.
|
|
741
|
+
|
|
742
|
+
# tqdm
|
|
743
|
+
|
|
744
|
+
`tqdm` is a product of collaborative work.
|
|
745
|
+
Unless otherwise stated, all authors (see commit logs) retain copyright
|
|
746
|
+
for their respective work, and release the work under the MIT licence
|
|
747
|
+
(text below).
|
|
748
|
+
|
|
749
|
+
Exceptions or notable authors are listed below
|
|
750
|
+
in reverse chronological order:
|
|
751
|
+
|
|
752
|
+
* files: *
|
|
753
|
+
MPLv2.0 2015-2021 (c) Casper da Costa-Luis
|
|
754
|
+
[casperdcl](https://github.com/casperdcl).
|
|
755
|
+
* files: tqdm/_tqdm.py
|
|
756
|
+
MIT 2016 (c) [PR #96] on behalf of Google Inc.
|
|
757
|
+
* files: tqdm/_tqdm.py setup.py README.rst MANIFEST.in .gitignore
|
|
758
|
+
MIT 2013 (c) Noam Yorav-Raphael, original author.
|
|
759
|
+
|
|
760
|
+
[PR #96]: https://github.com/tqdm/tqdm/pull/96
|
|
761
|
+
|
|
762
|
+
|
|
763
|
+
Mozilla Public Licence (MPL) v. 2.0 - Exhibit A
|
|
764
|
+
-----------------------------------------------
|
|
765
|
+
|
|
766
|
+
This Source Code Form is subject to the terms of the
|
|
767
|
+
Mozilla Public License, v. 2.0.
|
|
768
|
+
If a copy of the MPL was not distributed with this project,
|
|
769
|
+
You can obtain one at https://mozilla.org/MPL/2.0/.
|
|
770
|
+
|
|
771
|
+
|
|
772
|
+
MIT License (MIT)
|
|
773
|
+
-----------------
|
|
774
|
+
|
|
775
|
+
Copyright (c) 2013 noamraph
|
|
776
|
+
|
|
777
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy of
|
|
778
|
+
this software and associated documentation files (the "Software"), to deal in
|
|
779
|
+
the Software without restriction, including without limitation the rights to
|
|
780
|
+
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
|
|
781
|
+
the Software, and to permit persons to whom the Software is furnished to do so,
|
|
782
|
+
subject to the following conditions:
|
|
783
|
+
|
|
784
|
+
The above copyright notice and this permission notice shall be included in all
|
|
785
|
+
copies or substantial portions of the Software.
|
|
786
|
+
|
|
787
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
788
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
|
|
789
|
+
FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
|
|
790
|
+
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
|
|
791
|
+
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
|
|
792
|
+
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
793
|
+
|
|
794
|
+
# parseq
|
|
795
|
+
|
|
796
|
+
Apache License
|
|
797
|
+
Version 2.0, January 2004
|
|
798
|
+
http://www.apache.org/licenses/
|
|
799
|
+
|
|
800
|
+
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
|
801
|
+
|
|
802
|
+
1. Definitions.
|
|
803
|
+
|
|
804
|
+
"License" shall mean the terms and conditions for use, reproduction,
|
|
805
|
+
and distribution as defined by Sections 1 through 9 of this document.
|
|
806
|
+
|
|
807
|
+
"Licensor" shall mean the copyright owner or entity authorized by
|
|
808
|
+
the copyright owner that is granting the License.
|
|
809
|
+
|
|
810
|
+
"Legal Entity" shall mean the union of the acting entity and all
|
|
811
|
+
other entities that control, are controlled by, or are under common
|
|
812
|
+
control with that entity. For the purposes of this definition,
|
|
813
|
+
"control" means (i) the power, direct or indirect, to cause the
|
|
814
|
+
direction or management of such entity, whether by contract or
|
|
815
|
+
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
|
816
|
+
outstanding shares, or (iii) beneficial ownership of such entity.
|
|
817
|
+
|
|
818
|
+
"You" (or "Your") shall mean an individual or Legal Entity
|
|
819
|
+
exercising permissions granted by this License.
|
|
820
|
+
|
|
821
|
+
"Source" form shall mean the preferred form for making modifications,
|
|
822
|
+
including but not limited to software source code, documentation
|
|
823
|
+
source, and configuration files.
|
|
824
|
+
|
|
825
|
+
"Object" form shall mean any form resulting from mechanical
|
|
826
|
+
transformation or translation of a Source form, including but
|
|
827
|
+
not limited to compiled object code, generated documentation,
|
|
828
|
+
and conversions to other media types.
|
|
829
|
+
|
|
830
|
+
"Work" shall mean the work of authorship, whether in Source or
|
|
831
|
+
Object form, made available under the License, as indicated by a
|
|
832
|
+
copyright notice that is included in or attached to the work
|
|
833
|
+
(an example is provided in the Appendix below).
|
|
834
|
+
|
|
835
|
+
"Derivative Works" shall mean any work, whether in Source or Object
|
|
836
|
+
form, that is based on (or derived from) the Work and for which the
|
|
837
|
+
editorial revisions, annotations, elaborations, or other modifications
|
|
838
|
+
represent, as a whole, an original work of authorship. For the purposes
|
|
839
|
+
of this License, Derivative Works shall not include works that remain
|
|
840
|
+
separable from, or merely link (or bind by name) to the interfaces of,
|
|
841
|
+
the Work and Derivative Works thereof.
|
|
842
|
+
|
|
843
|
+
"Contribution" shall mean any work of authorship, including
|
|
844
|
+
the original version of the Work and any modifications or additions
|
|
845
|
+
to that Work or Derivative Works thereof, that is intentionally
|
|
846
|
+
submitted to Licensor for inclusion in the Work by the copyright owner
|
|
847
|
+
or by an individual or Legal Entity authorized to submit on behalf of
|
|
848
|
+
the copyright owner. For the purposes of this definition, "submitted"
|
|
849
|
+
means any form of electronic, verbal, or written communication sent
|
|
850
|
+
to the Licensor or its representatives, including but not limited to
|
|
851
|
+
communication on electronic mailing lists, source code control systems,
|
|
852
|
+
and issue tracking systems that are managed by, or on behalf of, the
|
|
853
|
+
Licensor for the purpose of discussing and improving the Work, but
|
|
854
|
+
excluding communication that is conspicuously marked or otherwise
|
|
855
|
+
designated in writing by the copyright owner as "Not a Contribution."
|
|
856
|
+
|
|
857
|
+
"Contributor" shall mean Licensor and any individual or Legal Entity
|
|
858
|
+
on behalf of whom a Contribution has been received by Licensor and
|
|
859
|
+
subsequently incorporated within the Work.
|
|
860
|
+
|
|
861
|
+
2. Grant of Copyright License. Subject to the terms and conditions of
|
|
862
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
863
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
864
|
+
copyright license to reproduce, prepare Derivative Works of,
|
|
865
|
+
publicly display, publicly perform, sublicense, and distribute the
|
|
866
|
+
Work and such Derivative Works in Source or Object form.
|
|
867
|
+
|
|
868
|
+
3. Grant of Patent License. Subject to the terms and conditions of
|
|
869
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
870
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
871
|
+
(except as stated in this section) patent license to make, have made,
|
|
872
|
+
use, offer to sell, sell, import, and otherwise transfer the Work,
|
|
873
|
+
where such license applies only to those patent claims licensable
|
|
874
|
+
by such Contributor that are necessarily infringed by their
|
|
875
|
+
Contribution(s) alone or by combination of their Contribution(s)
|
|
876
|
+
with the Work to which such Contribution(s) was submitted. If You
|
|
877
|
+
institute patent litigation against any entity (including a
|
|
878
|
+
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
|
879
|
+
or a Contribution incorporated within the Work constitutes direct
|
|
880
|
+
or contributory patent infringement, then any patent licenses
|
|
881
|
+
granted to You under this License for that Work shall terminate
|
|
882
|
+
as of the date such litigation is filed.
|
|
883
|
+
|
|
884
|
+
4. Redistribution. You may reproduce and distribute copies of the
|
|
885
|
+
Work or Derivative Works thereof in any medium, with or without
|
|
886
|
+
modifications, and in Source or Object form, provided that You
|
|
887
|
+
meet the following conditions:
|
|
888
|
+
|
|
889
|
+
(a) You must give any other recipients of the Work or
|
|
890
|
+
Derivative Works a copy of this License; and
|
|
891
|
+
|
|
892
|
+
(b) You must cause any modified files to carry prominent notices
|
|
893
|
+
stating that You changed the files; and
|
|
894
|
+
|
|
895
|
+
(c) You must retain, in the Source form of any Derivative Works
|
|
896
|
+
that You distribute, all copyright, patent, trademark, and
|
|
897
|
+
attribution notices from the Source form of the Work,
|
|
898
|
+
excluding those notices that do not pertain to any part of
|
|
899
|
+
the Derivative Works; and
|
|
900
|
+
|
|
901
|
+
(d) If the Work includes a "NOTICE" text file as part of its
|
|
902
|
+
distribution, then any Derivative Works that You distribute must
|
|
903
|
+
include a readable copy of the attribution notices contained
|
|
904
|
+
within such NOTICE file, excluding those notices that do not
|
|
905
|
+
pertain to any part of the Derivative Works, in at least one
|
|
906
|
+
of the following places: within a NOTICE text file distributed
|
|
907
|
+
as part of the Derivative Works; within the Source form or
|
|
908
|
+
documentation, if provided along with the Derivative Works; or,
|
|
909
|
+
within a display generated by the Derivative Works, if and
|
|
910
|
+
wherever such third-party notices normally appear. The contents
|
|
911
|
+
of the NOTICE file are for informational purposes only and
|
|
912
|
+
do not modify the License. You may add Your own attribution
|
|
913
|
+
notices within Derivative Works that You distribute, alongside
|
|
914
|
+
or as an addendum to the NOTICE text from the Work, provided
|
|
915
|
+
that such additional attribution notices cannot be construed
|
|
916
|
+
as modifying the License.
|
|
917
|
+
|
|
918
|
+
You may add Your own copyright statement to Your modifications and
|
|
919
|
+
may provide additional or different license terms and conditions
|
|
920
|
+
for use, reproduction, or distribution of Your modifications, or
|
|
921
|
+
for any such Derivative Works as a whole, provided Your use,
|
|
922
|
+
reproduction, and distribution of the Work otherwise complies with
|
|
923
|
+
the conditions stated in this License.
|
|
924
|
+
|
|
925
|
+
5. Submission of Contributions. Unless You explicitly state otherwise,
|
|
926
|
+
any Contribution intentionally submitted for inclusion in the Work
|
|
927
|
+
by You to the Licensor shall be under the terms and conditions of
|
|
928
|
+
this License, without any additional terms or conditions.
|
|
929
|
+
Notwithstanding the above, nothing herein shall supersede or modify
|
|
930
|
+
the terms of any separate license agreement you may have executed
|
|
931
|
+
with Licensor regarding such Contributions.
|
|
932
|
+
|
|
933
|
+
6. Trademarks. This License does not grant permission to use the trade
|
|
934
|
+
names, trademarks, service marks, or product names of the Licensor,
|
|
935
|
+
except as required for reasonable and customary use in describing the
|
|
936
|
+
origin of the Work and reproducing the content of the NOTICE file.
|
|
937
|
+
|
|
938
|
+
7. Disclaimer of Warranty. Unless required by applicable law or
|
|
939
|
+
agreed to in writing, Licensor provides the Work (and each
|
|
940
|
+
Contributor provides its Contributions) on an "AS IS" BASIS,
|
|
941
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
|
942
|
+
implied, including, without limitation, any warranties or conditions
|
|
943
|
+
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
|
944
|
+
PARTICULAR PURPOSE. You are solely responsible for determining the
|
|
945
|
+
appropriateness of using or redistributing the Work and assume any
|
|
946
|
+
risks associated with Your exercise of permissions under this License.
|
|
947
|
+
|
|
948
|
+
8. Limitation of Liability. In no event and under no legal theory,
|
|
949
|
+
whether in tort (including negligence), contract, or otherwise,
|
|
950
|
+
unless required by applicable law (such as deliberate and grossly
|
|
951
|
+
negligent acts) or agreed to in writing, shall any Contributor be
|
|
952
|
+
liable to You for damages, including any direct, indirect, special,
|
|
953
|
+
incidental, or consequential damages of any character arising as a
|
|
954
|
+
result of this License or out of the use or inability to use the
|
|
955
|
+
Work (including but not limited to damages for loss of goodwill,
|
|
956
|
+
work stoppage, computer failure or malfunction, or any and all
|
|
957
|
+
other commercial damages or losses), even if such Contributor
|
|
958
|
+
has been advised of the possibility of such damages.
|
|
959
|
+
|
|
960
|
+
9. Accepting Warranty or Additional Liability. While redistributing
|
|
961
|
+
the Work or Derivative Works thereof, You may choose to offer,
|
|
962
|
+
and charge a fee for, acceptance of support, warranty, indemnity,
|
|
963
|
+
or other liability obligations and/or rights consistent with this
|
|
964
|
+
License. However, in accepting such obligations, You may act only
|
|
965
|
+
on Your own behalf and on Your sole responsibility, not on behalf
|
|
966
|
+
of any other Contributor, and only if You agree to indemnify,
|
|
967
|
+
defend, and hold each Contributor harmless for any liability
|
|
968
|
+
incurred by, or claims asserted against, such Contributor by reason
|
|
969
|
+
of your accepting any such warranty or additional liability.
|
|
970
|
+
|
|
971
|
+
END OF TERMS AND CONDITIONS
|
|
972
|
+
|
|
973
|
+
APPENDIX: How to apply the Apache License to your work.
|
|
974
|
+
|
|
975
|
+
To apply the Apache License to your work, attach the following
|
|
976
|
+
boilerplate notice, with the fields enclosed by brackets "[]"
|
|
977
|
+
replaced with your own identifying information. (Don't include
|
|
978
|
+
the brackets!) The text should be enclosed in the appropriate
|
|
979
|
+
comment syntax for the file format. We also recommend that a
|
|
980
|
+
file or class name and description of purpose be included on the
|
|
981
|
+
same "printed page" as the copyright notice for easier
|
|
982
|
+
identification within third-party archives.
|
|
983
|
+
|
|
984
|
+
Copyright [yyyy] [name of copyright owner]
|
|
985
|
+
|
|
986
|
+
Licensed under the Apache License, Version 2.0 (the "License");
|
|
987
|
+
you may not use this file except in compliance with the License.
|
|
988
|
+
You may obtain a copy of the License at
|
|
989
|
+
|
|
990
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
|
991
|
+
|
|
992
|
+
Unless required by applicable law or agreed to in writing, software
|
|
993
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
|
994
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
995
|
+
See the License for the specific language governing permissions and
|
|
996
|
+
limitations under the License.
|
|
997
|
+
|
|
998
|
+
# deimv2
|
|
999
|
+
|
|
1000
|
+
Copyright (C) INTELLINDUST INFORMATION TECHNOLOGY (SHENZHEN) CO., LTD. and all its affiliates.
|
|
1001
|
+
|
|
1002
|
+
DEIM is licensed under the Apache License.
|
|
1003
|
+
|
|
1004
|
+
A copy of the Apache License License is included in this file.
|
|
1005
|
+
|
|
1006
|
+
|
|
1007
|
+
Apache License
|
|
1008
|
+
Version 2.0, January 2004
|
|
1009
|
+
http://www.apache.org/licenses/
|
|
1010
|
+
|
|
1011
|
+
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
|
1012
|
+
|
|
1013
|
+
1. Definitions.
|
|
1014
|
+
|
|
1015
|
+
"License" shall mean the terms and conditions for use, reproduction,
|
|
1016
|
+
and distribution as defined by Sections 1 through 9 of this document.
|
|
1017
|
+
|
|
1018
|
+
"Licensor" shall mean the copyright owner or entity authorized by
|
|
1019
|
+
the copyright owner that is granting the License.
|
|
1020
|
+
|
|
1021
|
+
"Legal Entity" shall mean the union of the acting entity and all
|
|
1022
|
+
other entities that control, are controlled by, or are under common
|
|
1023
|
+
control with that entity. For the purposes of this definition,
|
|
1024
|
+
"control" means (i) the power, direct or indirect, to cause the
|
|
1025
|
+
direction or management of such entity, whether by contract or
|
|
1026
|
+
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
|
1027
|
+
outstanding shares, or (iii) beneficial ownership of such entity.
|
|
1028
|
+
|
|
1029
|
+
"You" (or "Your") shall mean an individual or Legal Entity
|
|
1030
|
+
exercising permissions granted by this License.
|
|
1031
|
+
|
|
1032
|
+
"Source" form shall mean the preferred form for making modifications,
|
|
1033
|
+
including but not limited to software source code, documentation
|
|
1034
|
+
source, and configuration files.
|
|
1035
|
+
|
|
1036
|
+
"Object" form shall mean any form resulting from mechanical
|
|
1037
|
+
transformation or translation of a Source form, including but
|
|
1038
|
+
not limited to compiled object code, generated documentation,
|
|
1039
|
+
and conversions to other media types.
|
|
1040
|
+
|
|
1041
|
+
"Work" shall mean the work of authorship, whether in Source or
|
|
1042
|
+
Object form, made available under the License, as indicated by a
|
|
1043
|
+
copyright notice that is included in or attached to the work
|
|
1044
|
+
(an example is provided in the Appendix below).
|
|
1045
|
+
|
|
1046
|
+
"Derivative Works" shall mean any work, whether in Source or Object
|
|
1047
|
+
form, that is based on (or derived from) the Work and for which the
|
|
1048
|
+
editorial revisions, annotations, elaborations, or other modifications
|
|
1049
|
+
represent, as a whole, an original work of authorship. For the purposes
|
|
1050
|
+
of this License, Derivative Works shall not include works that remain
|
|
1051
|
+
separable from, or merely link (or bind by name) to the interfaces of,
|
|
1052
|
+
the Work and Derivative Works thereof.
|
|
1053
|
+
|
|
1054
|
+
"Contribution" shall mean any work of authorship, including
|
|
1055
|
+
the original version of the Work and any modifications or additions
|
|
1056
|
+
to that Work or Derivative Works thereof, that is intentionally
|
|
1057
|
+
submitted to Licensor for inclusion in the Work by the copyright owner
|
|
1058
|
+
or by an individual or Legal Entity authorized to submit on behalf of
|
|
1059
|
+
the copyright owner. For the purposes of this definition, "submitted"
|
|
1060
|
+
means any form of electronic, verbal, or written communication sent
|
|
1061
|
+
to the Licensor or its representatives, including but not limited to
|
|
1062
|
+
communication on electronic mailing lists, source code control systems,
|
|
1063
|
+
and issue tracking systems that are managed by, or on behalf of, the
|
|
1064
|
+
Licensor for the purpose of discussing and improving the Work, but
|
|
1065
|
+
excluding communication that is conspicuously marked or otherwise
|
|
1066
|
+
designated in writing by the copyright owner as "Not a Contribution."
|
|
1067
|
+
|
|
1068
|
+
"Contributor" shall mean Licensor and any individual or Legal Entity
|
|
1069
|
+
on behalf of whom a Contribution has been received by Licensor and
|
|
1070
|
+
subsequently incorporated within the Work.
|
|
1071
|
+
|
|
1072
|
+
2. Grant of Copyright License. Subject to the terms and conditions of
|
|
1073
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
1074
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
1075
|
+
copyright license to reproduce, prepare Derivative Works of,
|
|
1076
|
+
publicly display, publicly perform, sublicense, and distribute the
|
|
1077
|
+
Work and such Derivative Works in Source or Object form.
|
|
1078
|
+
|
|
1079
|
+
3. Grant of Patent License. Subject to the terms and conditions of
|
|
1080
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
1081
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
1082
|
+
(except as stated in this section) patent license to make, have made,
|
|
1083
|
+
use, offer to sell, sell, import, and otherwise transfer the Work,
|
|
1084
|
+
where such license applies only to those patent claims licensable
|
|
1085
|
+
by such Contributor that are necessarily infringed by their
|
|
1086
|
+
Contribution(s) alone or by combination of their Contribution(s)
|
|
1087
|
+
with the Work to which such Contribution(s) was submitted. If You
|
|
1088
|
+
institute patent litigation against any entity (including a
|
|
1089
|
+
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
|
1090
|
+
or a Contribution incorporated within the Work constitutes direct
|
|
1091
|
+
or contributory patent infringement, then any patent licenses
|
|
1092
|
+
granted to You under this License for that Work shall terminate
|
|
1093
|
+
as of the date such litigation is filed.
|
|
1094
|
+
|
|
1095
|
+
4. Redistribution. You may reproduce and distribute copies of the
|
|
1096
|
+
Work or Derivative Works thereof in any medium, with or without
|
|
1097
|
+
modifications, and in Source or Object form, provided that You
|
|
1098
|
+
meet the following conditions:
|
|
1099
|
+
|
|
1100
|
+
(a) You must give any other recipients of the Work or
|
|
1101
|
+
Derivative Works a copy of this License; and
|
|
1102
|
+
|
|
1103
|
+
(b) You must cause any modified files to carry prominent notices
|
|
1104
|
+
stating that You changed the files; and
|
|
1105
|
+
|
|
1106
|
+
(c) You must retain, in the Source form of any Derivative Works
|
|
1107
|
+
that You distribute, all copyright, patent, trademark, and
|
|
1108
|
+
attribution notices from the Source form of the Work,
|
|
1109
|
+
excluding those notices that do not pertain to any part of
|
|
1110
|
+
the Derivative Works; and
|
|
1111
|
+
|
|
1112
|
+
(d) If the Work includes a "NOTICE" text file as part of its
|
|
1113
|
+
distribution, then any Derivative Works that You distribute must
|
|
1114
|
+
include a readable copy of the attribution notices contained
|
|
1115
|
+
within such NOTICE file, excluding those notices that do not
|
|
1116
|
+
pertain to any part of the Derivative Works, in at least one
|
|
1117
|
+
of the following places: within a NOTICE text file distributed
|
|
1118
|
+
as part of the Derivative Works; within the Source form or
|
|
1119
|
+
documentation, if provided along with the Derivative Works; or,
|
|
1120
|
+
within a display generated by the Derivative Works, if and
|
|
1121
|
+
wherever such third-party notices normally appear. The contents
|
|
1122
|
+
of the NOTICE file are for informational purposes only and
|
|
1123
|
+
do not modify the License. You may add Your own attribution
|
|
1124
|
+
notices within Derivative Works that You distribute, alongside
|
|
1125
|
+
or as an addendum to the NOTICE text from the Work, provided
|
|
1126
|
+
that such additional attribution notices cannot be construed
|
|
1127
|
+
as modifying the License.
|
|
1128
|
+
|
|
1129
|
+
You may add Your own copyright statement to Your modifications and
|
|
1130
|
+
may provide additional or different license terms and conditions
|
|
1131
|
+
for use, reproduction, or distribution of Your modifications, or
|
|
1132
|
+
for any such Derivative Works as a whole, provided Your use,
|
|
1133
|
+
reproduction, and distribution of the Work otherwise complies with
|
|
1134
|
+
the conditions stated in this License.
|
|
1135
|
+
|
|
1136
|
+
5. Submission of Contributions. Unless You explicitly state otherwise,
|
|
1137
|
+
any Contribution intentionally submitted for inclusion in the Work
|
|
1138
|
+
by You to the Licensor shall be under the terms and conditions of
|
|
1139
|
+
this License, without any additional terms or conditions.
|
|
1140
|
+
Notwithstanding the above, nothing herein shall supersede or modify
|
|
1141
|
+
the terms of any separate license agreement you may have executed
|
|
1142
|
+
with Licensor regarding such Contributions.
|
|
1143
|
+
|
|
1144
|
+
6. Trademarks. This License does not grant permission to use the trade
|
|
1145
|
+
names, trademarks, service marks, or product names of the Licensor,
|
|
1146
|
+
except as required for reasonable and customary use in describing the
|
|
1147
|
+
origin of the Work and reproducing the content of the NOTICE file.
|
|
1148
|
+
|
|
1149
|
+
7. Disclaimer of Warranty. Unless required by applicable law or
|
|
1150
|
+
agreed to in writing, Licensor provides the Work (and each
|
|
1151
|
+
Contributor provides its Contributions) on an "AS IS" BASIS,
|
|
1152
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
|
1153
|
+
implied, including, without limitation, any warranties or conditions
|
|
1154
|
+
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
|
1155
|
+
PARTICULAR PURPOSE. You are solely responsible for determining the
|
|
1156
|
+
appropriateness of using or redistributing the Work and assume any
|
|
1157
|
+
risks associated with Your exercise of permissions under this License.
|
|
1158
|
+
|
|
1159
|
+
8. Limitation of Liability. In no event and under no legal theory,
|
|
1160
|
+
whether in tort (including negligence), contract, or otherwise,
|
|
1161
|
+
unless required by applicable law (such as deliberate and grossly
|
|
1162
|
+
negligent acts) or agreed to in writing, shall any Contributor be
|
|
1163
|
+
liable to You for damages, including any direct, indirect, special,
|
|
1164
|
+
incidental, or consequential damages of any character arising as a
|
|
1165
|
+
result of this License or out of the use or inability to use the
|
|
1166
|
+
Work (including but not limited to damages for loss of goodwill,
|
|
1167
|
+
work stoppage, computer failure or malfunction, or any and all
|
|
1168
|
+
other commercial damages or losses), even if such Contributor
|
|
1169
|
+
has been advised of the possibility of such damages.
|
|
1170
|
+
|
|
1171
|
+
9. Accepting Warranty or Additional Liability. While redistributing
|
|
1172
|
+
the Work or Derivative Works thereof, You may choose to offer,
|
|
1173
|
+
and charge a fee for, acceptance of support, warranty, indemnity,
|
|
1174
|
+
or other liability obligations and/or rights consistent with this
|
|
1175
|
+
License. However, in accepting such obligations, You may act only
|
|
1176
|
+
on Your own behalf and on Your sole responsibility, not on behalf
|
|
1177
|
+
of any other Contributor, and only if You agree to indemnify,
|
|
1178
|
+
defend, and hold each Contributor harmless for any liability
|
|
1179
|
+
incurred by, or claims asserted against, such Contributor by reason
|
|
1180
|
+
of your accepting any such warranty or additional liability.
|
|
1181
|
+
|
|
1182
|
+
END OF TERMS AND CONDITIONS
|
|
1183
|
+
|
|
1184
|
+
APPENDIX: How to apply the Apache License to your work.
|
|
1185
|
+
|
|
1186
|
+
To apply the Apache License to your work, attach the following
|
|
1187
|
+
boilerplate notice, with the fields enclosed by brackets "[]"
|
|
1188
|
+
replaced with your own identifying information. (Don't include
|
|
1189
|
+
the brackets!) The text should be enclosed in the appropriate
|
|
1190
|
+
comment syntax for the file format. We also recommend that a
|
|
1191
|
+
file or class name and description of purpose be included on the
|
|
1192
|
+
same "printed page" as the copyright notice for easier
|
|
1193
|
+
identification within third-party archives.
|
|
1194
|
+
|
|
1195
|
+
Copyright [yyyy] [name of copyright owner]
|
|
1196
|
+
|
|
1197
|
+
Licensed under the Apache License, Version 2.0 (the "License");
|
|
1198
|
+
you may not use this file except in compliance with the License.
|
|
1199
|
+
You may obtain a copy of the License at
|
|
1200
|
+
|
|
1201
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
|
1202
|
+
|
|
1203
|
+
Unless required by applicable law or agreed to in writing, software
|
|
1204
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
|
1205
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
1206
|
+
See the License for the specific language governing permissions and
|
|
1207
|
+
limitations under the License.
|
|
1208
|
+
|
|
1209
|
+
# TEI converter
|
|
1210
|
+
# Copyright 2025 Kiyonori Nagasaki
|
|
1211
|
+
Apache License
|
|
1212
|
+
Version 2.0, January 2004
|
|
1213
|
+
http://www.apache.org/licenses/
|
|
1214
|
+
|
|
1215
|
+
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
|
1216
|
+
|
|
1217
|
+
1. Definitions.
|
|
1218
|
+
|
|
1219
|
+
"License" shall mean the terms and conditions for use, reproduction,
|
|
1220
|
+
and distribution as defined by Sections 1 through 9 of this document.
|
|
1221
|
+
|
|
1222
|
+
"Licensor" shall mean the copyright owner or entity authorized by
|
|
1223
|
+
the copyright owner that is granting the License.
|
|
1224
|
+
|
|
1225
|
+
"Legal Entity" shall mean the union of the acting entity and all
|
|
1226
|
+
other entities that control, are controlled by, or are under common
|
|
1227
|
+
control with that entity. For the purposes of this definition,
|
|
1228
|
+
"control" means (i) the power, direct or indirect, to cause the
|
|
1229
|
+
direction or management of such entity, whether by contract or
|
|
1230
|
+
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
|
1231
|
+
outstanding shares, or (iii) beneficial ownership of such entity.
|
|
1232
|
+
|
|
1233
|
+
"You" (or "Your") shall mean an individual or Legal Entity
|
|
1234
|
+
exercising permissions granted by this License.
|
|
1235
|
+
|
|
1236
|
+
"Source" form shall mean the preferred form for making modifications,
|
|
1237
|
+
including but not limited to software source code, documentation
|
|
1238
|
+
source, and configuration files.
|
|
1239
|
+
|
|
1240
|
+
"Object" form shall mean any form resulting from mechanical
|
|
1241
|
+
transformation or translation of a Source form, including but
|
|
1242
|
+
not limited to compiled object code, generated documentation,
|
|
1243
|
+
and conversions to other media types.
|
|
1244
|
+
|
|
1245
|
+
"Work" shall mean the work of authorship, whether in Source or
|
|
1246
|
+
Object form, made available under the License, as indicated by a
|
|
1247
|
+
copyright notice that is included in or attached to the work
|
|
1248
|
+
(an example is provided in the Appendix below).
|
|
1249
|
+
|
|
1250
|
+
"Derivative Works" shall mean any work, whether in Source or Object
|
|
1251
|
+
form, that is based on (or derived from) the Work and for which the
|
|
1252
|
+
editorial revisions, annotations, elaborations, or other modifications
|
|
1253
|
+
represent, as a whole, an original work of authorship. For the purposes
|
|
1254
|
+
of this License, Derivative Works shall not include works that remain
|
|
1255
|
+
separable from, or merely link (or bind by name) to the interfaces of,
|
|
1256
|
+
the Work and Derivative Works thereof.
|
|
1257
|
+
|
|
1258
|
+
"Contribution" shall mean any work of authorship, including
|
|
1259
|
+
the original version of the Work and any modifications or additions
|
|
1260
|
+
to that Work or Derivative Works thereof, that is intentionally
|
|
1261
|
+
submitted to Licensor for inclusion in the Work by the copyright owner
|
|
1262
|
+
or by an individual or Legal Entity authorized to submit on behalf of
|
|
1263
|
+
the copyright owner. For the purposes of this definition, "submitted"
|
|
1264
|
+
means any form of electronic, verbal, or written communication sent
|
|
1265
|
+
to the Licensor or its representatives, including but not limited to
|
|
1266
|
+
communication on electronic mailing lists, source code control systems,
|
|
1267
|
+
and issue tracking systems that are managed by, or on behalf of, the
|
|
1268
|
+
Licensor for the purpose of discussing and improving the Work, but
|
|
1269
|
+
excluding communication that is conspicuously marked or otherwise
|
|
1270
|
+
designated in writing by the copyright owner as "Not a Contribution."
|
|
1271
|
+
|
|
1272
|
+
"Contributor" shall mean Licensor and any individual or Legal Entity
|
|
1273
|
+
on behalf of whom a Contribution has been received by Licensor and
|
|
1274
|
+
subsequently incorporated within the Work.
|
|
1275
|
+
|
|
1276
|
+
2. Grant of Copyright License. Subject to the terms and conditions of
|
|
1277
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
1278
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
1279
|
+
copyright license to reproduce, prepare Derivative Works of,
|
|
1280
|
+
publicly display, publicly perform, sublicense, and distribute the
|
|
1281
|
+
Work and such Derivative Works in Source or Object form.
|
|
1282
|
+
|
|
1283
|
+
3. Grant of Patent License. Subject to the terms and conditions of
|
|
1284
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
1285
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
1286
|
+
(except as stated in this section) patent license to make, have made,
|
|
1287
|
+
use, offer to sell, sell, import, and otherwise transfer the Work,
|
|
1288
|
+
where such license applies only to those patent claims licensable
|
|
1289
|
+
by such Contributor that are necessarily infringed by their
|
|
1290
|
+
Contribution(s) alone or by combination of their Contribution(s)
|
|
1291
|
+
with the Work to which such Contribution(s) was submitted. If You
|
|
1292
|
+
institute patent litigation against any entity (including a
|
|
1293
|
+
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
|
1294
|
+
or a Contribution incorporated within the Work constitutes direct
|
|
1295
|
+
or contributory patent infringement, then any patent licenses
|
|
1296
|
+
granted to You under this License for that Work shall terminate
|
|
1297
|
+
as of the date such litigation is filed.
|
|
1298
|
+
|
|
1299
|
+
4. Redistribution. You may reproduce and distribute copies of the
|
|
1300
|
+
Work or Derivative Works thereof in any medium, with or without
|
|
1301
|
+
modifications, and in Source or Object form, provided that You
|
|
1302
|
+
meet the following conditions:
|
|
1303
|
+
|
|
1304
|
+
(a) You must give any other recipients of the Work or
|
|
1305
|
+
Derivative Works a copy of this License; and
|
|
1306
|
+
|
|
1307
|
+
(b) You must cause any modified files to carry prominent notices
|
|
1308
|
+
stating that You changed the files; and
|
|
1309
|
+
|
|
1310
|
+
(c) You must retain, in the Source form of any Derivative Works
|
|
1311
|
+
that You distribute, all copyright, patent, trademark, and
|
|
1312
|
+
attribution notices from the Source form of the Work,
|
|
1313
|
+
excluding those notices that do not pertain to any part of
|
|
1314
|
+
the Derivative Works; and
|
|
1315
|
+
|
|
1316
|
+
(d) If the Work includes a "NOTICE" text file as part of its
|
|
1317
|
+
distribution, then any Derivative Works that You distribute must
|
|
1318
|
+
include a readable copy of the attribution notices contained
|
|
1319
|
+
within such NOTICE file, excluding those notices that do not
|
|
1320
|
+
pertain to any part of the Derivative Works, in at least one
|
|
1321
|
+
of the following places: within a NOTICE text file distributed
|
|
1322
|
+
as part of the Derivative Works; within the Source form or
|
|
1323
|
+
documentation, if provided along with the Derivative Works; or,
|
|
1324
|
+
within a display generated by the Derivative Works, if and
|
|
1325
|
+
wherever such third-party notices normally appear. The contents
|
|
1326
|
+
of the NOTICE file are for informational purposes only and
|
|
1327
|
+
do not modify the License. You may add Your own attribution
|
|
1328
|
+
notices within Derivative Works that You distribute, alongside
|
|
1329
|
+
or as an addendum to the NOTICE text from the Work, provided
|
|
1330
|
+
that such additional attribution notices cannot be construed
|
|
1331
|
+
as modifying the License.
|
|
1332
|
+
|
|
1333
|
+
You may add Your own copyright statement to Your modifications and
|
|
1334
|
+
may provide additional or different license terms and conditions
|
|
1335
|
+
for use, reproduction, or distribution of Your modifications, or
|
|
1336
|
+
for any such Derivative Works as a whole, provided Your use,
|
|
1337
|
+
reproduction, and distribution of the Work otherwise complies with
|
|
1338
|
+
the conditions stated in this License.
|
|
1339
|
+
|
|
1340
|
+
5. Submission of Contributions. Unless You explicitly state otherwise,
|
|
1341
|
+
any Contribution intentionally submitted for inclusion in the Work
|
|
1342
|
+
by You to the Licensor shall be under the terms and conditions of
|
|
1343
|
+
this License, without any additional terms or conditions.
|
|
1344
|
+
Notwithstanding the above, nothing herein shall supersede or modify
|
|
1345
|
+
the terms of any separate license agreement you may have executed
|
|
1346
|
+
with Licensor regarding such Contributions.
|
|
1347
|
+
|
|
1348
|
+
6. Trademarks. This License does not grant permission to use the trade
|
|
1349
|
+
names, trademarks, service marks, or product names of the Licensor,
|
|
1350
|
+
except as required for reasonable and customary use in describing the
|
|
1351
|
+
origin of the Work and reproducing the content of the NOTICE file.
|
|
1352
|
+
|
|
1353
|
+
7. Disclaimer of Warranty. Unless required by applicable law or
|
|
1354
|
+
agreed to in writing, Licensor provides the Work (and each
|
|
1355
|
+
Contributor provides its Contributions) on an "AS IS" BASIS,
|
|
1356
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
|
1357
|
+
implied, including, without limitation, any warranties or conditions
|
|
1358
|
+
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
|
1359
|
+
PARTICULAR PURPOSE. You are solely responsible for determining the
|
|
1360
|
+
appropriateness of using or redistributing the Work and assume any
|
|
1361
|
+
risks associated with Your exercise of permissions under this License.
|
|
1362
|
+
|
|
1363
|
+
8. Limitation of Liability. In no event and under no legal theory,
|
|
1364
|
+
whether in tort (including negligence), contract, or otherwise,
|
|
1365
|
+
unless required by applicable law (such as deliberate and grossly
|
|
1366
|
+
negligent acts) or agreed to in writing, shall any Contributor be
|
|
1367
|
+
liable to You for damages, including any direct, indirect, special,
|
|
1368
|
+
incidental, or consequential damages of any character arising as a
|
|
1369
|
+
result of this License or out of the use or inability to use the
|
|
1370
|
+
Work (including but not limited to damages for loss of goodwill,
|
|
1371
|
+
work stoppage, computer failure or malfunction, or any and all
|
|
1372
|
+
other commercial damages or losses), even if such Contributor
|
|
1373
|
+
has been advised of the possibility of such damages.
|
|
1374
|
+
|
|
1375
|
+
9. Accepting Warranty or Additional Liability. While redistributing
|
|
1376
|
+
the Work or Derivative Works thereof, You may choose to offer,
|
|
1377
|
+
and charge a fee for, acceptance of support, warranty, indemnity,
|
|
1378
|
+
or other liability obligations and/or rights consistent with this
|
|
1379
|
+
License. However, in accepting such obligations, You may act only
|
|
1380
|
+
on Your own behalf and on Your sole responsibility, not on behalf
|
|
1381
|
+
of any other Contributor, and only if You agree to indemnify,
|
|
1382
|
+
defend, and hold each Contributor harmless for any liability
|
|
1383
|
+
incurred by, or claims asserted against, such Contributor by reason
|
|
1384
|
+
of your accepting any such warranty or additional liability.
|
|
1385
|
+
|
|
1386
|
+
END OF TERMS AND CONDITIONS
|
|
1387
|
+
|
|
1388
|
+
APPENDIX: How to apply the Apache License to your work.
|
|
1389
|
+
|
|
1390
|
+
To apply the Apache License to your work, attach the following
|
|
1391
|
+
boilerplate notice, with the fields enclosed by brackets "[]"
|
|
1392
|
+
replaced with your own identifying information. (Don't include
|
|
1393
|
+
the brackets!) The text should be enclosed in the appropriate
|
|
1394
|
+
comment syntax for the file format. We also recommend that a
|
|
1395
|
+
file or class name and description of purpose be included on the
|
|
1396
|
+
same "printed page" as the copyright notice for easier
|
|
1397
|
+
identification within third-party archives.
|
|
1398
|
+
|
|
1399
|
+
Copyright 2025 Kiyonori Nagasaki
|
|
1400
|
+
|
|
1401
|
+
Licensed under the Apache License, Version 2.0 (the "License");
|
|
1402
|
+
you may not use this file except in compliance with the License.
|
|
1403
|
+
You may obtain a copy of the License at
|
|
1404
|
+
|
|
1405
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
|
1406
|
+
|
|
1407
|
+
Unless required by applicable law or agreed to in writing, software
|
|
1408
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
|
1409
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
1410
|
+
See the License for the specific language governing permissions and
|
|
1411
|
+
limitations under the License.
|
|
1412
|
+
|
|
1413
|
+
# opencv-python-headless
|
|
1414
|
+
|
|
1415
|
+
Apache License
|
|
1416
|
+
Version 2.0, January 2004
|
|
1417
|
+
http://www.apache.org/licenses/
|
|
1418
|
+
|
|
1419
|
+
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
|
1420
|
+
|
|
1421
|
+
1. Definitions.
|
|
1422
|
+
|
|
1423
|
+
"License" shall mean the terms and conditions for use, reproduction,
|
|
1424
|
+
and distribution as defined by Sections 1 through 9 of this document.
|
|
1425
|
+
|
|
1426
|
+
"Licensor" shall mean the copyright owner or entity authorized by
|
|
1427
|
+
the copyright owner that is granting the License.
|
|
1428
|
+
|
|
1429
|
+
"Legal Entity" shall mean the union of the acting entity and all
|
|
1430
|
+
other entities that control, are controlled by, or are under common
|
|
1431
|
+
control with that entity. For the purposes of this definition,
|
|
1432
|
+
"control" means (i) the power, direct or indirect, to cause the
|
|
1433
|
+
direction or management of such entity, whether by contract or
|
|
1434
|
+
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
|
1435
|
+
outstanding shares, or (iii) beneficial ownership of such entity.
|
|
1436
|
+
|
|
1437
|
+
"You" (or "Your") shall mean an individual or Legal Entity
|
|
1438
|
+
exercising permissions granted by this License.
|
|
1439
|
+
|
|
1440
|
+
"Source" form shall mean the preferred form for making modifications,
|
|
1441
|
+
including but not limited to software source code, documentation
|
|
1442
|
+
source, and configuration files.
|
|
1443
|
+
|
|
1444
|
+
"Object" form shall mean any form resulting from mechanical
|
|
1445
|
+
transformation or translation of a Source form, including but
|
|
1446
|
+
not limited to compiled object code, generated documentation,
|
|
1447
|
+
and conversions to other media types.
|
|
1448
|
+
|
|
1449
|
+
"Work" shall mean the work of authorship, whether in Source or
|
|
1450
|
+
Object form, made available under the License, as indicated by a
|
|
1451
|
+
copyright notice that is included in or attached to the work
|
|
1452
|
+
(an example is provided in the Appendix below).
|
|
1453
|
+
|
|
1454
|
+
"Derivative Works" shall mean any work, whether in Source or Object
|
|
1455
|
+
form, that is based on (or derived from) the Work and for which the
|
|
1456
|
+
editorial revisions, annotations, elaborations, or other modifications
|
|
1457
|
+
represent, as a whole, an original work of authorship. For the purposes
|
|
1458
|
+
of this License, Derivative Works shall not include works that remain
|
|
1459
|
+
separable from, or merely link (or bind by name) to the interfaces of,
|
|
1460
|
+
the Work and Derivative Works thereof.
|
|
1461
|
+
|
|
1462
|
+
"Contribution" shall mean any work of authorship, including
|
|
1463
|
+
the original version of the Work and any modifications or additions
|
|
1464
|
+
to that Work or Derivative Works thereof, that is intentionally
|
|
1465
|
+
submitted to Licensor for inclusion in the Work by the copyright owner
|
|
1466
|
+
or by an individual or Legal Entity authorized to submit on behalf of
|
|
1467
|
+
the copyright owner. For the purposes of this definition, "submitted"
|
|
1468
|
+
means any form of electronic, verbal, or written communication sent
|
|
1469
|
+
to the Licensor or its representatives, including but not limited to
|
|
1470
|
+
communication on electronic mailing lists, source code control systems,
|
|
1471
|
+
and issue tracking systems that are managed by, or on behalf of, the
|
|
1472
|
+
Licensor for the purpose of discussing and improving the Work, but
|
|
1473
|
+
excluding communication that is conspicuously marked or otherwise
|
|
1474
|
+
designated in writing by the copyright owner as "Not a Contribution."
|
|
1475
|
+
|
|
1476
|
+
"Contributor" shall mean Licensor and any individual or Legal Entity
|
|
1477
|
+
on behalf of whom a Contribution has been received by Licensor and
|
|
1478
|
+
subsequently incorporated within the Work.
|
|
1479
|
+
|
|
1480
|
+
2. Grant of Copyright License. Subject to the terms and conditions of
|
|
1481
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
1482
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
1483
|
+
copyright license to reproduce, prepare Derivative Works of,
|
|
1484
|
+
publicly display, publicly perform, sublicense, and distribute the
|
|
1485
|
+
Work and such Derivative Works in Source or Object form.
|
|
1486
|
+
|
|
1487
|
+
3. Grant of Patent License. Subject to the terms and conditions of
|
|
1488
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
1489
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
1490
|
+
(except as stated in this section) patent license to make, have made,
|
|
1491
|
+
use, offer to sell, sell, import, and otherwise transfer the Work,
|
|
1492
|
+
where such license applies only to those patent claims licensable
|
|
1493
|
+
by such Contributor that are necessarily infringed by their
|
|
1494
|
+
Contribution(s) alone or by combination of their Contribution(s)
|
|
1495
|
+
with the Work to which such Contribution(s) was submitted. If You
|
|
1496
|
+
institute patent litigation against any entity (including a
|
|
1497
|
+
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
|
1498
|
+
or a Contribution incorporated within the Work constitutes direct
|
|
1499
|
+
or contributory patent infringement, then any patent licenses
|
|
1500
|
+
granted to You under this License for that Work shall terminate
|
|
1501
|
+
as of the date such litigation is filed.
|
|
1502
|
+
|
|
1503
|
+
4. Redistribution. You may reproduce and distribute copies of the
|
|
1504
|
+
Work or Derivative Works thereof in any medium, with or without
|
|
1505
|
+
modifications, and in Source or Object form, provided that You
|
|
1506
|
+
meet the following conditions:
|
|
1507
|
+
|
|
1508
|
+
(a) You must give any other recipients of the Work or
|
|
1509
|
+
Derivative Works a copy of this License; and
|
|
1510
|
+
|
|
1511
|
+
(b) You must cause any modified files to carry prominent notices
|
|
1512
|
+
stating that You changed the files; and
|
|
1513
|
+
|
|
1514
|
+
(c) You must retain, in the Source form of any Derivative Works
|
|
1515
|
+
that You distribute, all copyright, patent, trademark, and
|
|
1516
|
+
attribution notices from the Source form of the Work,
|
|
1517
|
+
excluding those notices that do not pertain to any part of
|
|
1518
|
+
the Derivative Works; and
|
|
1519
|
+
|
|
1520
|
+
(d) If the Work includes a "NOTICE" text file as part of its
|
|
1521
|
+
distribution, then any Derivative Works that You distribute must
|
|
1522
|
+
include a readable copy of the attribution notices contained
|
|
1523
|
+
within such NOTICE file, excluding those notices that do not
|
|
1524
|
+
pertain to any part of the Derivative Works, in at least one
|
|
1525
|
+
of the following places: within a NOTICE text file distributed
|
|
1526
|
+
as part of the Derivative Works; within the Source form or
|
|
1527
|
+
documentation, if provided along with the Derivative Works; or,
|
|
1528
|
+
within a display generated by the Derivative Works, if and
|
|
1529
|
+
wherever such third-party notices normally appear. The contents
|
|
1530
|
+
of the NOTICE file are for informational purposes only and
|
|
1531
|
+
do not modify the License. You may add Your own attribution
|
|
1532
|
+
notices within Derivative Works that You distribute, alongside
|
|
1533
|
+
or as an addendum to the NOTICE text from the Work, provided
|
|
1534
|
+
that such additional attribution notices cannot be construed
|
|
1535
|
+
as modifying the License.
|
|
1536
|
+
|
|
1537
|
+
You may add Your own copyright statement to Your modifications and
|
|
1538
|
+
may provide additional or different license terms and conditions
|
|
1539
|
+
for use, reproduction, or distribution of Your modifications, or
|
|
1540
|
+
for any such Derivative Works as a whole, provided Your use,
|
|
1541
|
+
reproduction, and distribution of the Work otherwise complies with
|
|
1542
|
+
the conditions stated in this License.
|
|
1543
|
+
|
|
1544
|
+
5. Submission of Contributions. Unless You explicitly state otherwise,
|
|
1545
|
+
any Contribution intentionally submitted for inclusion in the Work
|
|
1546
|
+
by You to the Licensor shall be under the terms and conditions of
|
|
1547
|
+
this License, without any additional terms or conditions.
|
|
1548
|
+
Notwithstanding the above, nothing herein shall supersede or modify
|
|
1549
|
+
the terms of any separate license agreement you may have executed
|
|
1550
|
+
with Licensor regarding such Contributions.
|
|
1551
|
+
|
|
1552
|
+
6. Trademarks. This License does not grant permission to use the trade
|
|
1553
|
+
names, trademarks, service marks, or product names of the Licensor,
|
|
1554
|
+
except as required for reasonable and customary use in describing the
|
|
1555
|
+
origin of the Work and reproducing the content of the NOTICE file.
|
|
1556
|
+
|
|
1557
|
+
7. Disclaimer of Warranty. Unless required by applicable law or
|
|
1558
|
+
agreed to in writing, Licensor provides the Work (and each
|
|
1559
|
+
Contributor provides its Contributions) on an "AS IS" BASIS,
|
|
1560
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
|
1561
|
+
implied, including, without limitation, any warranties or conditions
|
|
1562
|
+
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
|
1563
|
+
PARTICULAR PURPOSE. You are solely responsible for determining the
|
|
1564
|
+
appropriateness of using or redistributing the Work and assume any
|
|
1565
|
+
risks associated with Your exercise of permissions under this License.
|
|
1566
|
+
|
|
1567
|
+
8. Limitation of Liability. In no event and under no legal theory,
|
|
1568
|
+
whether in tort (including negligence), contract, or otherwise,
|
|
1569
|
+
unless required by applicable law (such as deliberate and grossly
|
|
1570
|
+
negligent acts) or agreed to in writing, shall any Contributor be
|
|
1571
|
+
liable to You for damages, including any direct, indirect, special,
|
|
1572
|
+
incidental, or consequential damages of any character arising as a
|
|
1573
|
+
result of this License or out of the use or inability to use the
|
|
1574
|
+
Work (including but not limited to damages for loss of goodwill,
|
|
1575
|
+
work stoppage, computer failure or malfunction, or any and all
|
|
1576
|
+
other commercial damages or losses), even if such Contributor
|
|
1577
|
+
has been advised of the possibility of such damages.
|
|
1578
|
+
|
|
1579
|
+
9. Accepting Warranty or Additional Liability. While redistributing
|
|
1580
|
+
the Work or Derivative Works thereof, You may choose to offer,
|
|
1581
|
+
and charge a fee for, acceptance of support, warranty, indemnity,
|
|
1582
|
+
or other liability obligations and/or rights consistent with this
|
|
1583
|
+
License. However, in accepting such obligations, You may act only
|
|
1584
|
+
on Your own behalf and on Your sole responsibility, not on behalf
|
|
1585
|
+
of any other Contributor, and only if You agree to indemnify,
|
|
1586
|
+
defend, and hold each Contributor harmless for any liability
|
|
1587
|
+
incurred by, or claims asserted against, such Contributor by reason
|
|
1588
|
+
of your accepting any such warranty or additional liability.
|
|
1589
|
+
|
|
1590
|
+
END OF TERMS AND CONDITIONS
|
|
1591
|
+
|
|
1592
|
+
APPENDIX: How to apply the Apache License to your work.
|
|
1593
|
+
|
|
1594
|
+
To apply the Apache License to your work, attach the following
|
|
1595
|
+
boilerplate notice, with the fields enclosed by brackets "[]"
|
|
1596
|
+
replaced with your own identifying information. (Don't include
|
|
1597
|
+
the brackets!) The text should be enclosed in the appropriate
|
|
1598
|
+
comment syntax for the file format. We also recommend that a
|
|
1599
|
+
file or class name and description of purpose be included on the
|
|
1600
|
+
same "printed page" as the copyright notice for easier
|
|
1601
|
+
identification within third-party archives.
|
|
1602
|
+
|
|
1603
|
+
Copyright [yyyy] [name of copyright owner]
|
|
1604
|
+
|
|
1605
|
+
Licensed under the Apache License, Version 2.0 (the "License");
|
|
1606
|
+
you may not use this file except in compliance with the License.
|
|
1607
|
+
You may obtain a copy of the License at
|
|
1608
|
+
|
|
1609
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
|
1610
|
+
|
|
1611
|
+
Unless required by applicable law or agreed to in writing, software
|
|
1612
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
|
1613
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
1614
|
+
See the License for the specific language governing permissions and
|
|
1615
|
+
limitations under the License.
|
|
1616
|
+
|
|
1617
|
+
|
|
1618
|
+
|
|
1619
|
+
# cryptography
|
|
1620
|
+
|
|
1621
|
+
Apache License
|
|
1622
|
+
Version 2.0, January 2004
|
|
1623
|
+
https://www.apache.org/licenses/
|
|
1624
|
+
|
|
1625
|
+
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
|
1626
|
+
|
|
1627
|
+
1. Definitions.
|
|
1628
|
+
|
|
1629
|
+
"License" shall mean the terms and conditions for use, reproduction,
|
|
1630
|
+
and distribution as defined by Sections 1 through 9 of this document.
|
|
1631
|
+
|
|
1632
|
+
"Licensor" shall mean the copyright owner or entity authorized by
|
|
1633
|
+
the copyright owner that is granting the License.
|
|
1634
|
+
|
|
1635
|
+
"Legal Entity" shall mean the union of the acting entity and all
|
|
1636
|
+
other entities that control, are controlled by, or are under common
|
|
1637
|
+
control with that entity. For the purposes of this definition,
|
|
1638
|
+
"control" means (i) the power, direct or indirect, to cause the
|
|
1639
|
+
direction or management of such entity, whether by contract or
|
|
1640
|
+
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
|
1641
|
+
outstanding shares, or (iii) beneficial ownership of such entity.
|
|
1642
|
+
|
|
1643
|
+
"You" (or "Your") shall mean an individual or Legal Entity
|
|
1644
|
+
exercising permissions granted by this License.
|
|
1645
|
+
|
|
1646
|
+
"Source" form shall mean the preferred form for making modifications,
|
|
1647
|
+
including but not limited to software source code, documentation
|
|
1648
|
+
source, and configuration files.
|
|
1649
|
+
|
|
1650
|
+
"Object" form shall mean any form resulting from mechanical
|
|
1651
|
+
transformation or translation of a Source form, including but
|
|
1652
|
+
not limited to compiled object code, generated documentation,
|
|
1653
|
+
and conversions to other media types.
|
|
1654
|
+
|
|
1655
|
+
"Work" shall mean the work of authorship, whether in Source or
|
|
1656
|
+
Object form, made available under the License, as indicated by a
|
|
1657
|
+
copyright notice that is included in or attached to the work
|
|
1658
|
+
(an example is provided in the Appendix below).
|
|
1659
|
+
|
|
1660
|
+
"Derivative Works" shall mean any work, whether in Source or Object
|
|
1661
|
+
form, that is based on (or derived from) the Work and for which the
|
|
1662
|
+
editorial revisions, annotations, elaborations, or other modifications
|
|
1663
|
+
represent, as a whole, an original work of authorship. For the purposes
|
|
1664
|
+
of this License, Derivative Works shall not include works that remain
|
|
1665
|
+
separable from, or merely link (or bind by name) to the interfaces of,
|
|
1666
|
+
the Work and Derivative Works thereof.
|
|
1667
|
+
|
|
1668
|
+
"Contribution" shall mean any work of authorship, including
|
|
1669
|
+
the original version of the Work and any modifications or additions
|
|
1670
|
+
to that Work or Derivative Works thereof, that is intentionally
|
|
1671
|
+
submitted to Licensor for inclusion in the Work by the copyright owner
|
|
1672
|
+
or by an individual or Legal Entity authorized to submit on behalf of
|
|
1673
|
+
the copyright owner. For the purposes of this definition, "submitted"
|
|
1674
|
+
means any form of electronic, verbal, or written communication sent
|
|
1675
|
+
to the Licensor or its representatives, including but not limited to
|
|
1676
|
+
communication on electronic mailing lists, source code control systems,
|
|
1677
|
+
and issue tracking systems that are managed by, or on behalf of, the
|
|
1678
|
+
Licensor for the purpose of discussing and improving the Work, but
|
|
1679
|
+
excluding communication that is conspicuously marked or otherwise
|
|
1680
|
+
designated in writing by the copyright owner as "Not a Contribution."
|
|
1681
|
+
|
|
1682
|
+
"Contributor" shall mean Licensor and any individual or Legal Entity
|
|
1683
|
+
on behalf of whom a Contribution has been received by Licensor and
|
|
1684
|
+
subsequently incorporated within the Work.
|
|
1685
|
+
|
|
1686
|
+
2. Grant of Copyright License. Subject to the terms and conditions of
|
|
1687
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
1688
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
1689
|
+
copyright license to reproduce, prepare Derivative Works of,
|
|
1690
|
+
publicly display, publicly perform, sublicense, and distribute the
|
|
1691
|
+
Work and such Derivative Works in Source or Object form.
|
|
1692
|
+
|
|
1693
|
+
3. Grant of Patent License. Subject to the terms and conditions of
|
|
1694
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
1695
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
1696
|
+
(except as stated in this section) patent license to make, have made,
|
|
1697
|
+
use, offer to sell, sell, import, and otherwise transfer the Work,
|
|
1698
|
+
where such license applies only to those patent claims licensable
|
|
1699
|
+
by such Contributor that are necessarily infringed by their
|
|
1700
|
+
Contribution(s) alone or by combination of their Contribution(s)
|
|
1701
|
+
with the Work to which such Contribution(s) was submitted. If You
|
|
1702
|
+
institute patent litigation against any entity (including a
|
|
1703
|
+
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
|
1704
|
+
or a Contribution incorporated within the Work constitutes direct
|
|
1705
|
+
or contributory patent infringement, then any patent licenses
|
|
1706
|
+
granted to You under this License for that Work shall terminate
|
|
1707
|
+
as of the date such litigation is filed.
|
|
1708
|
+
|
|
1709
|
+
4. Redistribution. You may reproduce and distribute copies of the
|
|
1710
|
+
Work or Derivative Works thereof in any medium, with or without
|
|
1711
|
+
modifications, and in Source or Object form, provided that You
|
|
1712
|
+
meet the following conditions:
|
|
1713
|
+
|
|
1714
|
+
(a) You must give any other recipients of the Work or
|
|
1715
|
+
Derivative Works a copy of this License; and
|
|
1716
|
+
|
|
1717
|
+
(b) You must cause any modified files to carry prominent notices
|
|
1718
|
+
stating that You changed the files; and
|
|
1719
|
+
|
|
1720
|
+
(c) You must retain, in the Source form of any Derivative Works
|
|
1721
|
+
that You distribute, all copyright, patent, trademark, and
|
|
1722
|
+
attribution notices from the Source form of the Work,
|
|
1723
|
+
excluding those notices that do not pertain to any part of
|
|
1724
|
+
the Derivative Works; and
|
|
1725
|
+
|
|
1726
|
+
(d) If the Work includes a "NOTICE" text file as part of its
|
|
1727
|
+
distribution, then any Derivative Works that You distribute must
|
|
1728
|
+
include a readable copy of the attribution notices contained
|
|
1729
|
+
within such NOTICE file, excluding those notices that do not
|
|
1730
|
+
pertain to any part of the Derivative Works, in at least one
|
|
1731
|
+
of the following places: within a NOTICE text file distributed
|
|
1732
|
+
as part of the Derivative Works; within the Source form or
|
|
1733
|
+
documentation, if provided along with the Derivative Works; or,
|
|
1734
|
+
within a display generated by the Derivative Works, if and
|
|
1735
|
+
wherever such third-party notices normally appear. The contents
|
|
1736
|
+
of the NOTICE file are for informational purposes only and
|
|
1737
|
+
do not modify the License. You may add Your own attribution
|
|
1738
|
+
notices within Derivative Works that You distribute, alongside
|
|
1739
|
+
or as an addendum to the NOTICE text from the Work, provided
|
|
1740
|
+
that such additional attribution notices cannot be construed
|
|
1741
|
+
as modifying the License.
|
|
1742
|
+
|
|
1743
|
+
You may add Your own copyright statement to Your modifications and
|
|
1744
|
+
may provide additional or different license terms and conditions
|
|
1745
|
+
for use, reproduction, or distribution of Your modifications, or
|
|
1746
|
+
for any such Derivative Works as a whole, provided Your use,
|
|
1747
|
+
reproduction, and distribution of the Work otherwise complies with
|
|
1748
|
+
the conditions stated in this License.
|
|
1749
|
+
|
|
1750
|
+
5. Submission of Contributions. Unless You explicitly state otherwise,
|
|
1751
|
+
any Contribution intentionally submitted for inclusion in the Work
|
|
1752
|
+
by You to the Licensor shall be under the terms and conditions of
|
|
1753
|
+
this License, without any additional terms or conditions.
|
|
1754
|
+
Notwithstanding the above, nothing herein shall supersede or modify
|
|
1755
|
+
the terms of any separate license agreement you may have executed
|
|
1756
|
+
with Licensor regarding such Contributions.
|
|
1757
|
+
|
|
1758
|
+
6. Trademarks. This License does not grant permission to use the trade
|
|
1759
|
+
names, trademarks, service marks, or product names of the Licensor,
|
|
1760
|
+
except as required for reasonable and customary use in describing the
|
|
1761
|
+
origin of the Work and reproducing the content of the NOTICE file.
|
|
1762
|
+
|
|
1763
|
+
7. Disclaimer of Warranty. Unless required by applicable law or
|
|
1764
|
+
agreed to in writing, Licensor provides the Work (and each
|
|
1765
|
+
Contributor provides its Contributions) on an "AS IS" BASIS,
|
|
1766
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
|
1767
|
+
implied, including, without limitation, any warranties or conditions
|
|
1768
|
+
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
|
1769
|
+
PARTICULAR PURPOSE. You are solely responsible for determining the
|
|
1770
|
+
appropriateness of using or redistributing the Work and assume any
|
|
1771
|
+
risks associated with Your exercise of permissions under this License.
|
|
1772
|
+
|
|
1773
|
+
8. Limitation of Liability. In no event and under no legal theory,
|
|
1774
|
+
whether in tort (including negligence), contract, or otherwise,
|
|
1775
|
+
unless required by applicable law (such as deliberate and grossly
|
|
1776
|
+
negligent acts) or agreed to in writing, shall any Contributor be
|
|
1777
|
+
liable to You for damages, including any direct, indirect, special,
|
|
1778
|
+
incidental, or consequential damages of any character arising as a
|
|
1779
|
+
result of this License or out of the use or inability to use the
|
|
1780
|
+
Work (including but not limited to damages for loss of goodwill,
|
|
1781
|
+
work stoppage, computer failure or malfunction, or any and all
|
|
1782
|
+
other commercial damages or losses), even if such Contributor
|
|
1783
|
+
has been advised of the possibility of such damages.
|
|
1784
|
+
|
|
1785
|
+
9. Accepting Warranty or Additional Liability. While redistributing
|
|
1786
|
+
the Work or Derivative Works thereof, You may choose to offer,
|
|
1787
|
+
and charge a fee for, acceptance of support, warranty, indemnity,
|
|
1788
|
+
or other liability obligations and/or rights consistent with this
|
|
1789
|
+
License. However, in accepting such obligations, You may act only
|
|
1790
|
+
on Your own behalf and on Your sole responsibility, not on behalf
|
|
1791
|
+
of any other Contributor, and only if You agree to indemnify,
|
|
1792
|
+
defend, and hold each Contributor harmless for any liability
|
|
1793
|
+
incurred by, or claims asserted against, such Contributor by reason
|
|
1794
|
+
of your accepting any such warranty or additional liability.
|
|
1795
|
+
|
|
1796
|
+
END OF TERMS AND CONDITIONS
|
|
1797
|
+
|
|
1798
|
+
APPENDIX: How to apply the Apache License to your work.
|
|
1799
|
+
|
|
1800
|
+
To apply the Apache License to your work, attach the following
|
|
1801
|
+
boilerplate notice, with the fields enclosed by brackets "[]"
|
|
1802
|
+
replaced with your own identifying information. (Don't include
|
|
1803
|
+
the brackets!) The text should be enclosed in the appropriate
|
|
1804
|
+
comment syntax for the file format. We also recommend that a
|
|
1805
|
+
file or class name and description of purpose be included on the
|
|
1806
|
+
same "printed page" as the copyright notice for easier
|
|
1807
|
+
identification within third-party archives.
|
|
1808
|
+
|
|
1809
|
+
Copyright [yyyy] [name of copyright owner]
|
|
1810
|
+
|
|
1811
|
+
Licensed under the Apache License, Version 2.0 (the "License");
|
|
1812
|
+
you may not use this file except in compliance with the License.
|
|
1813
|
+
You may obtain a copy of the License at
|
|
1814
|
+
|
|
1815
|
+
https://www.apache.org/licenses/LICENSE-2.0
|
|
1816
|
+
|
|
1817
|
+
Unless required by applicable law or agreed to in writing, software
|
|
1818
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
|
1819
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
1820
|
+
See the License for the specific language governing permissions and
|
|
1821
|
+
limitations under the License.
|
|
1822
|
+
|
|
1823
|
+
|
|
1824
|
+
|
|
1825
|
+
# Weights of DEIMv2
|
|
1826
|
+
# DINOv3 License
|
|
1827
|
+
|
|
1828
|
+
*Last Updated: August 19, 2025*
|
|
1829
|
+
|
|
1830
|
+
**“Agreement”** means the terms and conditions for use, reproduction, distribution and modification of the DINO Materials set forth herein.
|
|
1831
|
+
|
|
1832
|
+
**“DINO Materials”** means, collectively, Documentation and the models, software and algorithms, including machine-learning model code, trained model weights, inference-enabling code, training-enabling code, fine-tuning enabling code, and other elements of the foregoing distributed by Meta and made available under this Agreement.
|
|
1833
|
+
|
|
1834
|
+
**“Documentation”** means the specifications, manuals and documentation accompanying
|
|
1835
|
+
DINO Materials distributed by Meta.
|
|
1836
|
+
|
|
1837
|
+
**“Licensee”** or **“you”** means you, or your employer or any other person or entity (if you are entering into this Agreement on such person or entity’s behalf), of the age required under applicable laws, rules or regulations to provide legal consent and that has legal authority to bind your employer or such other person or entity if you are entering in this Agreement on their behalf.
|
|
1838
|
+
|
|
1839
|
+
**“Meta”** or **“we”** means Meta Platforms Ireland Limited (if you are located in or, if you are an entity, your principal place of business is in the EEA or Switzerland) or Meta Platforms, Inc. (if you are located outside of the EEA or Switzerland).
|
|
1840
|
+
|
|
1841
|
+
**“Sanctions”** means any economic or trade sanctions or restrictions administered or enforced by the United States (including the Office of Foreign Assets Control of the U.S. Department of the Treasury (“OFAC”), the U.S. Department of State and the U.S. Department of Commerce), the United Nations, the European Union, or the United Kingdom.
|
|
1842
|
+
|
|
1843
|
+
**“Trade Controls”** means any of the following: Sanctions and applicable export and import controls.
|
|
1844
|
+
|
|
1845
|
+
By clicking “I Accept” below or by using or distributing any portion or element of the DINO Materials, you agree to be bound by this Agreement.
|
|
1846
|
+
|
|
1847
|
+
## 1. License Rights and Redistribution.
|
|
1848
|
+
|
|
1849
|
+
a. <ins>Grant of Rights</ins>. You are granted a non-exclusive, worldwide, non-transferable and royalty-free limited license under Meta’s intellectual property or other rights owned by Meta embodied in the DINO Materials to use, reproduce, distribute, copy, create derivative works of, and make modifications to the DINO Materials.
|
|
1850
|
+
|
|
1851
|
+
b. <ins>Redistribution and Use</ins>.
|
|
1852
|
+
|
|
1853
|
+
i. Distribution of DINO Materials, and any derivative works thereof, are subject to the terms of this Agreement. If you distribute or make the DINO Materials, or any derivative works thereof, available to a third party, you may only do so under the terms of this Agreement and you shall provide a copy of this Agreement with any such DINO Materials.
|
|
1854
|
+
|
|
1855
|
+
ii. If you submit for publication the results of research you perform on, using, or otherwise in connection with DINO Materials, you must acknowledge the use of DINO Materials in your publication.
|
|
1856
|
+
|
|
1857
|
+
iii. Your use of the DINO Materials must comply with applicable laws and regulations, including Trade Control Laws and applicable privacy and data protection laws.
|
|
1858
|
+
|
|
1859
|
+
iv. Your use of the DINO Materials will not involve or encourage others to reverse engineer, decompile or discover the underlying components of the DINO Materials.
|
|
1860
|
+
|
|
1861
|
+
v. You are not the target of Trade Controls and your use of DINO Materials must comply with Trade Controls. You agree not to use, or permit others to use, DINO Materials for any activities subject to the International Traffic in Arms Regulations (ITAR) or end uses prohibited by Trade Controls, including those related to military or warfare purposes, nuclear industries or applications, espionage, or the development or use of guns or illegal weapons.
|
|
1862
|
+
|
|
1863
|
+
## 2. User Support.
|
|
1864
|
+
|
|
1865
|
+
Your use of the DINO Materials is done at your own discretion; Meta does not process any information nor provide any service in relation to such use. Meta is under no obligation to provide any support services for the DINO Materials. Any support provided is “as is”, “with all faults”, and without warranty of any kind.
|
|
1866
|
+
|
|
1867
|
+
## 3. Disclaimer of Warranty.
|
|
1868
|
+
|
|
1869
|
+
UNLESS REQUIRED BY APPLICABLE LAW, THE DINO MATERIALS AND ANY OUTPUT AND RESULTS THEREFROM ARE PROVIDED ON AN “AS IS” BASIS, WITHOUT WARRANTIES OF ANY KIND, AND META DISCLAIMS ALL WARRANTIES OF ANY KIND, BOTH EXPRESS AND IMPLIED, INCLUDING, WITHOUT LIMITATION, ANY WARRANTIES OF TITLE, NON-INFRINGEMENT, MERCHANTABILITY, OR FITNESS FOR A PARTICULAR PURPOSE. YOU ARE SOLELY RESPONSIBLE FOR DETERMINING THE APPROPRIATENESS OF USING OR REDISTRIBUTING THE DINO MATERIALS AND ASSUME ANY RISKS ASSOCIATED WITH YOUR USE OF THE DINO MATERIALS AND ANY OUTPUT AND RESULTS.
|
|
1870
|
+
|
|
1871
|
+
## 4. Limitation of Liability.
|
|
1872
|
+
|
|
1873
|
+
IN NO EVENT WILL META OR ITS AFFILIATES BE LIABLE UNDER ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, TORT, NEGLIGENCE, PRODUCTS LIABILITY, OR OTHERWISE, ARISING OUT OF THIS AGREEMENT, FOR ANY LOST PROFITS OR ANY DIRECT OR INDIRECT, SPECIAL, CONSEQUENTIAL, INCIDENTAL, EXEMPLARY OR PUNITIVE DAMAGES, EVEN IF META OR ITS AFFILIATES HAVE BEEN ADVISED OF THE POSSIBILITY OF ANY OF THE FOREGOING.
|
|
1874
|
+
|
|
1875
|
+
## 5. Intellectual Property.
|
|
1876
|
+
|
|
1877
|
+
a. Subject to Meta’s ownership of DINO Materials and derivatives made by or for Meta, with respect to any derivative works and modifications of the DINO Materials that are made by you, as between you and Meta, you are and will be the owner of such derivative works and modifications.
|
|
1878
|
+
|
|
1879
|
+
b. If you institute litigation or other proceedings against Meta or any entity (including a cross-claim or counterclaim in a lawsuit) alleging that the DINO Materials, outputs or results, or any portion of any of the foregoing, constitutes infringement of intellectual property or other rights owned or licensable by you, then any licenses granted to you under this Agreement shall terminate as of the date such litigation or claim is filed or instituted. You will indemnify and hold harmless Meta from and against any claim by any third party arising out of or related to your use or distribution of the DINO Materials.
|
|
1880
|
+
|
|
1881
|
+
## 6. Term and Termination.
|
|
1882
|
+
|
|
1883
|
+
The term of this Agreement will commence upon your acceptance of this Agreement or access to the DINO Materials and will continue in full force and effect until terminated in accordance with the terms and conditions herein. Meta may terminate this Agreement if you are in breach of any term or condition of this Agreement. Upon termination of this Agreement, you shall delete and cease use of the DINO Materials. Sections 3, 4 and 7 shall survive the termination of this Agreement.
|
|
1884
|
+
|
|
1885
|
+
## 7. Governing Law and Jurisdiction.
|
|
1886
|
+
|
|
1887
|
+
This Agreement will be governed and construed under the laws of the State of California without regard to choice of law principles, and the UN Convention on Contracts for the International Sale of Goods does not apply to this Agreement. The courts of California shall have exclusive jurisdiction of any dispute arising out of this Agreement.
|
|
1888
|
+
|
|
1889
|
+
## 8. Modifications and Amendments.
|
|
1890
|
+
|
|
1891
|
+
Meta may modify this Agreement from time to time; provided that they are similar in spirit to the current version of the Agreement, but may differ in detail to address new problems or concerns. All such changes will be effective immediately. Your continued use of the DINO Materials after any modification to this Agreement constitutes your agreement to such modification. Except as provided in this Agreement, no modification or addition to any provision of this Agreement will be binding unless it is in writing and signed by an authorized representative of both you and Meta.
|