metworkpy 0.1.4__tar.gz

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.
Files changed (37) hide show
  1. metworkpy-0.1.4/LICENSE +898 -0
  2. metworkpy-0.1.4/PKG-INFO +88 -0
  3. metworkpy-0.1.4/README.md +52 -0
  4. metworkpy-0.1.4/metworkpy/__init__.py +58 -0
  5. metworkpy-0.1.4/metworkpy/divergence/__init__.py +4 -0
  6. metworkpy-0.1.4/metworkpy/divergence/_data_validation.py +54 -0
  7. metworkpy-0.1.4/metworkpy/divergence/_main_wrapper.py +91 -0
  8. metworkpy-0.1.4/metworkpy/divergence/js_divergence_functions.py +212 -0
  9. metworkpy-0.1.4/metworkpy/divergence/kl_divergence_functions.py +160 -0
  10. metworkpy-0.1.4/metworkpy/gpr/__init__.py +3 -0
  11. metworkpy-0.1.4/metworkpy/gpr/gpr_functions.py +207 -0
  12. metworkpy-0.1.4/metworkpy/imat/__init__.py +34 -0
  13. metworkpy-0.1.4/metworkpy/imat/imat_functions.py +371 -0
  14. metworkpy-0.1.4/metworkpy/imat/model_creation.py +616 -0
  15. metworkpy-0.1.4/metworkpy/information/__init__.py +3 -0
  16. metworkpy-0.1.4/metworkpy/information/mutual_information_functions.py +465 -0
  17. metworkpy-0.1.4/metworkpy/metabolites/__init__.py +14 -0
  18. metworkpy-0.1.4/metworkpy/metabolites/metabolite_network.py +258 -0
  19. metworkpy-0.1.4/metworkpy/metabolites/metchange_functions.py +167 -0
  20. metworkpy-0.1.4/metworkpy/network/__init__.py +11 -0
  21. metworkpy-0.1.4/metworkpy/network/_array_utils.py +142 -0
  22. metworkpy-0.1.4/metworkpy/network/density.py +157 -0
  23. metworkpy-0.1.4/metworkpy/network/network_construction.py +645 -0
  24. metworkpy-0.1.4/metworkpy/network/projection.py +138 -0
  25. metworkpy-0.1.4/metworkpy/scripts/__init__.py +0 -0
  26. metworkpy-0.1.4/metworkpy/scripts/_script_utils.py +105 -0
  27. metworkpy-0.1.4/metworkpy/scripts/imatgen.py +472 -0
  28. metworkpy-0.1.4/metworkpy/scripts/metchange.py +283 -0
  29. metworkpy-0.1.4/metworkpy/scripts/metdivergence.py +192 -0
  30. metworkpy-0.1.4/metworkpy/scripts/metsample.py +245 -0
  31. metworkpy-0.1.4/metworkpy/utils/__init__.py +26 -0
  32. metworkpy-0.1.4/metworkpy/utils/_arguments.py +109 -0
  33. metworkpy-0.1.4/metworkpy/utils/_jitter.py +81 -0
  34. metworkpy-0.1.4/metworkpy/utils/expression_utils.py +273 -0
  35. metworkpy-0.1.4/metworkpy/utils/models.py +402 -0
  36. metworkpy-0.1.4/metworkpy/utils/translate.py +162 -0
  37. metworkpy-0.1.4/pyproject.toml +77 -0
@@ -0,0 +1,898 @@
1
+ MIT License
2
+
3
+ Copyright 2024 Braden Griebel
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated
6
+ documentation files (the “Software”), to deal in the Software without restriction, including without limitation the
7
+ rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit
8
+ persons to whom the Software is furnished to do so, subject to the following conditions:
9
+
10
+ The above copyright notice and this permission notice shall be included in all copies or substantial portions of the
11
+ Software.
12
+
13
+ THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE
14
+ WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
15
+ COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR
16
+ OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
17
+
18
+ end of terms and conditions
19
+
20
+ ------------------------------------------------------------------------------------------------------------------------
21
+
22
+ The externally maintained libraries used for this project are:
23
+ - COBRApy licensed under the LGPL-2.1 reproduced below:
24
+ """
25
+ GNU LESSER GENERAL PUBLIC LICENSE
26
+ Version 2.1, February 1999
27
+
28
+ Copyright (C) 1991, 1999 Free Software Foundation, Inc.
29
+ 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
30
+ Everyone is permitted to copy and distribute verbatim copies
31
+ of this license document, but changing it is not allowed.
32
+
33
+ [This is the first released version of the Lesser GPL. It also counts
34
+ as the successor of the GNU Library Public License, version 2, hence
35
+ the version number 2.1.]
36
+
37
+ Preamble
38
+
39
+ The licenses for most software are designed to take away your
40
+ freedom to share and change it. By contrast, the GNU General Public
41
+ Licenses are intended to guarantee your freedom to share and change
42
+ free software--to make sure the software is free for all its users.
43
+
44
+ This license, the Lesser General Public License, applies to some
45
+ specially designated software packages--typically libraries--of the
46
+ Free Software Foundation and other authors who decide to use it. You
47
+ can use it too, but we suggest you first think carefully about whether
48
+ this license or the ordinary General Public License is the better
49
+ strategy to use in any particular case, based on the explanations below.
50
+
51
+ When we speak of free software, we are referring to freedom of use,
52
+ not price. Our General Public Licenses are designed to make sure that
53
+ you have the freedom to distribute copies of free software (and charge
54
+ for this service if you wish); that you receive source code or can get
55
+ it if you want it; that you can change the software and use pieces of
56
+ it in new free programs; and that you are informed that you can do
57
+ these things.
58
+
59
+ To protect your rights, we need to make restrictions that forbid
60
+ distributors to deny you these rights or to ask you to surrender these
61
+ rights. These restrictions translate to certain responsibilities for
62
+ you if you distribute copies of the library or if you modify it.
63
+
64
+ For example, if you distribute copies of the library, whether gratis
65
+ or for a fee, you must give the recipients all the rights that we gave
66
+ you. You must make sure that they, too, receive or can get the source
67
+ code. If you link other code with the library, you must provide
68
+ complete object files to the recipients, so that they can relink them
69
+ with the library after making changes to the library and recompiling
70
+ it. And you must show them these terms so they know their rights.
71
+
72
+ We protect your rights with a two-step method: (1) we copyright the
73
+ library, and (2) we offer you this license, which gives you legal
74
+ permission to copy, distribute and/or modify the library.
75
+
76
+ To protect each distributor, we want to make it very clear that
77
+ there is no warranty for the free library. Also, if the library is
78
+ modified by someone else and passed on, the recipients should know
79
+ that what they have is not the original version, so that the original
80
+ author's reputation will not be affected by problems that might be
81
+ introduced by others.
82
+
83
+ Finally, software patents pose a constant threat to the existence of
84
+ any free program. We wish to make sure that a company cannot
85
+ effectively restrict the users of a free program by obtaining a
86
+ restrictive license from a patent holder. Therefore, we insist that
87
+ any patent license obtained for a version of the library must be
88
+ consistent with the full freedom of use specified in this license.
89
+
90
+ Most GNU software, including some libraries, is covered by the
91
+ ordinary GNU General Public License. This license, the GNU Lesser
92
+ General Public License, applies to certain designated libraries, and
93
+ is quite different from the ordinary General Public License. We use
94
+ this license for certain libraries in order to permit linking those
95
+ libraries into non-free programs.
96
+
97
+ When a program is linked with a library, whether statically or using
98
+ a shared library, the combination of the two is legally speaking a
99
+ combined work, a derivative of the original library. The ordinary
100
+ General Public License therefore permits such linking only if the
101
+ entire combination fits its criteria of freedom. The Lesser General
102
+ Public License permits more lax criteria for linking other code with
103
+ the library.
104
+
105
+ We call this license the "Lesser" General Public License because it
106
+ does Less to protect the user's freedom than the ordinary General
107
+ Public License. It also provides other free software developers Less
108
+ of an advantage over competing non-free programs. These disadvantages
109
+ are the reason we use the ordinary General Public License for many
110
+ libraries. However, the Lesser license provides advantages in certain
111
+ special circumstances.
112
+
113
+ For example, on rare occasions, there may be a special need to
114
+ encourage the widest possible use of a certain library, so that it becomes
115
+ a de-facto standard. To achieve this, non-free programs must be
116
+ allowed to use the library. A more frequent case is that a free
117
+ library does the same job as widely used non-free libraries. In this
118
+ case, there is little to gain by limiting the free library to free
119
+ software only, so we use the Lesser General Public License.
120
+
121
+ In other cases, permission to use a particular library in non-free
122
+ programs enables a greater number of people to use a large body of
123
+ free software. For example, permission to use the GNU C Library in
124
+ non-free programs enables many more people to use the whole GNU
125
+ operating system, as well as its variant, the GNU/Linux operating
126
+ system.
127
+
128
+ Although the Lesser General Public License is Less protective of the
129
+ users' freedom, it does ensure that the user of a program that is
130
+ linked with the Library has the freedom and the wherewithal to run
131
+ that program using a modified version of the Library.
132
+
133
+ The precise terms and conditions for copying, distribution and
134
+ modification follow. Pay close attention to the difference between a
135
+ "work based on the library" and a "work that uses the library". The
136
+ former contains code derived from the library, whereas the latter must
137
+ be combined with the library in order to run.
138
+
139
+ GNU LESSER GENERAL PUBLIC LICENSE
140
+ TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
141
+
142
+ 0. This License Agreement applies to any software library or other
143
+ program which contains a notice placed by the copyright holder or
144
+ other authorized party saying it may be distributed under the terms of
145
+ this Lesser General Public License (also called "this License").
146
+ Each licensee is addressed as "you".
147
+
148
+ A "library" means a collection of software functions and/or data
149
+ prepared so as to be conveniently linked with application programs
150
+ (which use some of those functions and data) to form executables.
151
+
152
+ The "Library", below, refers to any such software library or work
153
+ which has been distributed under these terms. A "work based on the
154
+ Library" means either the Library or any derivative work under
155
+ copyright law: that is to say, a work containing the Library or a
156
+ portion of it, either verbatim or with modifications and/or translated
157
+ straightforwardly into another language. (Hereinafter, translation is
158
+ included without limitation in the term "modification".)
159
+
160
+ "Source code" for a work means the preferred form of the work for
161
+ making modifications to it. For a library, complete source code means
162
+ all the source code for all modules it contains, plus any associated
163
+ interface definition files, plus the scripts used to control compilation
164
+ and installation of the library.
165
+
166
+ Activities other than copying, distribution and modification are not
167
+ covered by this License; they are outside its scope. The act of
168
+ running a program using the Library is not restricted, and output from
169
+ such a program is covered only if its contents constitute a work based
170
+ on the Library (independent of the use of the Library in a tool for
171
+ writing it). Whether that is true depends on what the Library does
172
+ and what the program that uses the Library does.
173
+
174
+ 1. You may copy and distribute verbatim copies of the Library's
175
+ complete source code as you receive it, in any medium, provided that
176
+ you conspicuously and appropriately publish on each copy an
177
+ appropriate copyright notice and disclaimer of warranty; keep intact
178
+ all the notices that refer to this License and to the absence of any
179
+ warranty; and distribute a copy of this License along with the
180
+ Library.
181
+
182
+ You may charge a fee for the physical act of transferring a copy,
183
+ and you may at your option offer warranty protection in exchange for a
184
+ fee.
185
+
186
+ 2. You may modify your copy or copies of the Library or any portion
187
+ of it, thus forming a work based on the Library, and copy and
188
+ distribute such modifications or work under the terms of Section 1
189
+ above, provided that you also meet all of these conditions:
190
+
191
+ a) The modified work must itself be a software library.
192
+
193
+ b) You must cause the files modified to carry prominent notices
194
+ stating that you changed the files and the date of any change.
195
+
196
+ c) You must cause the whole of the work to be licensed at no
197
+ charge to all third parties under the terms of this License.
198
+
199
+ d) If a facility in the modified Library refers to a function or a
200
+ table of data to be supplied by an application program that uses
201
+ the facility, other than as an argument passed when the facility
202
+ is invoked, then you must make a good faith effort to ensure that,
203
+ in the event an application does not supply such function or
204
+ table, the facility still operates, and performs whatever part of
205
+ its purpose remains meaningful.
206
+
207
+ (For example, a function in a library to compute square roots has
208
+ a purpose that is entirely well-defined independent of the
209
+ application. Therefore, Subsection 2d requires that any
210
+ application-supplied function or table used by this function must
211
+ be optional: if the application does not supply it, the square
212
+ root function must still compute square roots.)
213
+
214
+ These requirements apply to the modified work as a whole. If
215
+ identifiable sections of that work are not derived from the Library,
216
+ and can be reasonably considered independent and separate works in
217
+ themselves, then this License, and its terms, do not apply to those
218
+ sections when you distribute them as separate works. But when you
219
+ distribute the same sections as part of a whole which is a work based
220
+ on the Library, the distribution of the whole must be on the terms of
221
+ this License, whose permissions for other licensees extend to the
222
+ entire whole, and thus to each and every part regardless of who wrote
223
+ it.
224
+
225
+ Thus, it is not the intent of this section to claim rights or contest
226
+ your rights to work written entirely by you; rather, the intent is to
227
+ exercise the right to control the distribution of derivative or
228
+ collective works based on the Library.
229
+
230
+ In addition, mere aggregation of another work not based on the Library
231
+ with the Library (or with a work based on the Library) on a volume of
232
+ a storage or distribution medium does not bring the other work under
233
+ the scope of this License.
234
+
235
+ 3. You may opt to apply the terms of the ordinary GNU General Public
236
+ License instead of this License to a given copy of the Library. To do
237
+ this, you must alter all the notices that refer to this License, so
238
+ that they refer to the ordinary GNU General Public License, version 2,
239
+ instead of to this License. (If a newer version than version 2 of the
240
+ ordinary GNU General Public License has appeared, then you can specify
241
+ that version instead if you wish.) Do not make any other change in
242
+ these notices.
243
+
244
+ Once this change is made in a given copy, it is irreversible for
245
+ that copy, so the ordinary GNU General Public License applies to all
246
+ subsequent copies and derivative works made from that copy.
247
+
248
+ This option is useful when you wish to copy part of the code of
249
+ the Library into a program that is not a library.
250
+
251
+ 4. You may copy and distribute the Library (or a portion or
252
+ derivative of it, under Section 2) in object code or executable form
253
+ under the terms of Sections 1 and 2 above provided that you accompany
254
+ it with the complete corresponding machine-readable source code, which
255
+ must be distributed under the terms of Sections 1 and 2 above on a
256
+ medium customarily used for software interchange.
257
+
258
+ If distribution of object code is made by offering access to copy
259
+ from a designated place, then offering equivalent access to copy the
260
+ source code from the same place satisfies the requirement to
261
+ distribute the source code, even though third parties are not
262
+ compelled to copy the source along with the object code.
263
+
264
+ 5. A program that contains no derivative of any portion of the
265
+ Library, but is designed to work with the Library by being compiled or
266
+ linked with it, is called a "work that uses the Library". Such a
267
+ work, in isolation, is not a derivative work of the Library, and
268
+ therefore falls outside the scope of this License.
269
+
270
+ However, linking a "work that uses the Library" with the Library
271
+ creates an executable that is a derivative of the Library (because it
272
+ contains portions of the Library), rather than a "work that uses the
273
+ library". The executable is therefore covered by this License.
274
+ Section 6 states terms for distribution of such executables.
275
+
276
+ When a "work that uses the Library" uses material from a header file
277
+ that is part of the Library, the object code for the work may be a
278
+ derivative work of the Library even though the source code is not.
279
+ Whether this is true is especially significant if the work can be
280
+ linked without the Library, or if the work is itself a library. The
281
+ threshold for this to be true is not precisely defined by law.
282
+
283
+ If such an object file uses only numerical parameters, data
284
+ structure layouts and accessors, and small macros and small inline
285
+ functions (ten lines or less in length), then the use of the object
286
+ file is unrestricted, regardless of whether it is legally a derivative
287
+ work. (Executables containing this object code plus portions of the
288
+ Library will still fall under Section 6.)
289
+
290
+ Otherwise, if the work is a derivative of the Library, you may
291
+ distribute the object code for the work under the terms of Section 6.
292
+ Any executables containing that work also fall under Section 6,
293
+ whether or not they are linked directly with the Library itself.
294
+
295
+ 6. As an exception to the Sections above, you may also combine or
296
+ link a "work that uses the Library" with the Library to produce a
297
+ work containing portions of the Library, and distribute that work
298
+ under terms of your choice, provided that the terms permit
299
+ modification of the work for the customer's own use and reverse
300
+ engineering for debugging such modifications.
301
+
302
+ You must give prominent notice with each copy of the work that the
303
+ Library is used in it and that the Library and its use are covered by
304
+ this License. You must supply a copy of this License. If the work
305
+ during execution displays copyright notices, you must include the
306
+ copyright notice for the Library among them, as well as a reference
307
+ directing the user to the copy of this License. Also, you must do one
308
+ of these things:
309
+
310
+ a) Accompany the work with the complete corresponding
311
+ machine-readable source code for the Library including whatever
312
+ changes were used in the work (which must be distributed under
313
+ Sections 1 and 2 above); and, if the work is an executable linked
314
+ with the Library, with the complete machine-readable "work that
315
+ uses the Library", as object code and/or source code, so that the
316
+ user can modify the Library and then relink to produce a modified
317
+ executable containing the modified Library. (It is understood
318
+ that the user who changes the contents of definitions files in the
319
+ Library will not necessarily be able to recompile the application
320
+ to use the modified definitions.)
321
+
322
+ b) Use a suitable shared library mechanism for linking with the
323
+ Library. A suitable mechanism is one that (1) uses at run time a
324
+ copy of the library already present on the user's computer system,
325
+ rather than copying library functions into the executable, and (2)
326
+ will operate properly with a modified version of the library, if
327
+ the user installs one, as long as the modified version is
328
+ interface-compatible with the version that the work was made with.
329
+
330
+ c) Accompany the work with a written offer, valid for at
331
+ least three years, to give the same user the materials
332
+ specified in Subsection 6a, above, for a charge no more
333
+ than the cost of performing this distribution.
334
+
335
+ d) If distribution of the work is made by offering access to copy
336
+ from a designated place, offer equivalent access to copy the above
337
+ specified materials from the same place.
338
+
339
+ e) Verify that the user has already received a copy of these
340
+ materials or that you have already sent this user a copy.
341
+
342
+ For an executable, the required form of the "work that uses the
343
+ Library" must include any data and utility programs needed for
344
+ reproducing the executable from it. However, as a special exception,
345
+ the materials to be distributed need not include anything that is
346
+ normally distributed (in either source or binary form) with the major
347
+ components (compiler, kernel, and so on) of the operating system on
348
+ which the executable runs, unless that component itself accompanies
349
+ the executable.
350
+
351
+ It may happen that this requirement contradicts the license
352
+ restrictions of other proprietary libraries that do not normally
353
+ accompany the operating system. Such a contradiction means you cannot
354
+ use both them and the Library together in an executable that you
355
+ distribute.
356
+
357
+ 7. You may place library facilities that are a work based on the
358
+ Library side-by-side in a single library together with other library
359
+ facilities not covered by this License, and distribute such a combined
360
+ library, provided that the separate distribution of the work based on
361
+ the Library and of the other library facilities is otherwise
362
+ permitted, and provided that you do these two things:
363
+
364
+ a) Accompany the combined library with a copy of the same work
365
+ based on the Library, uncombined with any other library
366
+ facilities. This must be distributed under the terms of the
367
+ Sections above.
368
+
369
+ b) Give prominent notice with the combined library of the fact
370
+ that part of it is a work based on the Library, and explaining
371
+ where to find the accompanying uncombined form of the same work.
372
+
373
+ 8. You may not copy, modify, sublicense, link with, or distribute
374
+ the Library except as expressly provided under this License. Any
375
+ attempt otherwise to copy, modify, sublicense, link with, or
376
+ distribute the Library is void, and will automatically terminate your
377
+ rights under this License. However, parties who have received copies,
378
+ or rights, from you under this License will not have their licenses
379
+ terminated so long as such parties remain in full compliance.
380
+
381
+ 9. You are not required to accept this License, since you have not
382
+ signed it. However, nothing else grants you permission to modify or
383
+ distribute the Library or its derivative works. These actions are
384
+ prohibited by law if you do not accept this License. Therefore, by
385
+ modifying or distributing the Library (or any work based on the
386
+ Library), you indicate your acceptance of this License to do so, and
387
+ all its terms and conditions for copying, distributing or modifying
388
+ the Library or works based on it.
389
+
390
+ 10. Each time you redistribute the Library (or any work based on the
391
+ Library), the recipient automatically receives a license from the
392
+ original licensor to copy, distribute, link with or modify the Library
393
+ subject to these terms and conditions. You may not impose any further
394
+ restrictions on the recipients' exercise of the rights granted herein.
395
+ You are not responsible for enforcing compliance by third parties with
396
+ this License.
397
+
398
+ 11. If, as a consequence of a court judgment or allegation of patent
399
+ infringement or for any other reason (not limited to patent issues),
400
+ conditions are imposed on you (whether by court order, agreement or
401
+ otherwise) that contradict the conditions of this License, they do not
402
+ excuse you from the conditions of this License. If you cannot
403
+ distribute so as to satisfy simultaneously your obligations under this
404
+ License and any other pertinent obligations, then as a consequence you
405
+ may not distribute the Library at all. For example, if a patent
406
+ license would not permit royalty-free redistribution of the Library by
407
+ all those who receive copies directly or indirectly through you, then
408
+ the only way you could satisfy both it and this License would be to
409
+ refrain entirely from distribution of the Library.
410
+
411
+ If any portion of this section is held invalid or unenforceable under any
412
+ particular circumstance, the balance of the section is intended to apply,
413
+ and the section as a whole is intended to apply in other circumstances.
414
+
415
+ It is not the purpose of this section to induce you to infringe any
416
+ patents or other property right claims or to contest validity of any
417
+ such claims; this section has the sole purpose of protecting the
418
+ integrity of the free software distribution system which is
419
+ implemented by public license practices. Many people have made
420
+ generous contributions to the wide range of software distributed
421
+ through that system in reliance on consistent application of that
422
+ system; it is up to the author/donor to decide if he or she is willing
423
+ to distribute software through any other system and a licensee cannot
424
+ impose that choice.
425
+
426
+ This section is intended to make thoroughly clear what is believed to
427
+ be a consequence of the rest of this License.
428
+
429
+ 12. If the distribution and/or use of the Library is restricted in
430
+ certain countries either by patents or by copyrighted interfaces, the
431
+ original copyright holder who places the Library under this License may add
432
+ an explicit geographical distribution limitation excluding those countries,
433
+ so that distribution is permitted only in or among countries not thus
434
+ excluded. In such case, this License incorporates the limitation as if
435
+ written in the body of this License.
436
+
437
+ 13. The Free Software Foundation may publish revised and/or new
438
+ versions of the Lesser General Public License from time to time.
439
+ Such new versions will be similar in spirit to the present version,
440
+ but may differ in detail to address new problems or concerns.
441
+
442
+ Each version is given a distinguishing version number. If the Library
443
+ specifies a version number of this License which applies to it and
444
+ "any later version", you have the option of following the terms and
445
+ conditions either of that version or of any later version published by
446
+ the Free Software Foundation. If the Library does not specify a
447
+ license version number, you may choose any version ever published by
448
+ the Free Software Foundation.
449
+
450
+ 14. If you wish to incorporate parts of the Library into other free
451
+ programs whose distribution conditions are incompatible with these,
452
+ write to the author to ask for permission. For software which is
453
+ copyrighted by the Free Software Foundation, write to the Free
454
+ Software Foundation; we sometimes make exceptions for this. Our
455
+ decision will be guided by the two goals of preserving the free status
456
+ of all derivatives of our free software and of promoting the sharing
457
+ and reuse of software generally.
458
+
459
+ NO WARRANTY
460
+
461
+ 15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO
462
+ WARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW.
463
+ EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR
464
+ OTHER PARTIES PROVIDE THE LIBRARY "AS IS" WITHOUT WARRANTY OF ANY
465
+ KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE
466
+ IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
467
+ PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE
468
+ LIBRARY IS WITH YOU. SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME
469
+ THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
470
+
471
+ 16. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN
472
+ WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY
473
+ AND/OR REDISTRIBUTE THE LIBRARY AS PERMITTED ABOVE, BE LIABLE TO YOU
474
+ FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR
475
+ CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE
476
+ LIBRARY (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING
477
+ RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A
478
+ FAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF
479
+ SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH
480
+ DAMAGES.
481
+
482
+ END OF TERMS AND CONDITIONS
483
+ """
484
+
485
+ - NetworkX licensed under the BSD-3-Clause reproduced below:
486
+ """
487
+ Copyright (C) 2004-2024, NetworkX Developers
488
+ Aric Hagberg <hagberg@lanl.gov>
489
+ Dan Schult <dschult@colgate.edu>
490
+ Pieter Swart <swart@lanl.gov>
491
+ All rights reserved.
492
+
493
+ Redistribution and use in source and binary forms, with or without
494
+ modification, are permitted provided that the following conditions are
495
+ met:
496
+
497
+ * Redistributions of source code must retain the above copyright
498
+ notice, this list of conditions and the following disclaimer.
499
+
500
+ * Redistributions in binary form must reproduce the above
501
+ copyright notice, this list of conditions and the following
502
+ disclaimer in the documentation and/or other materials provided
503
+ with the distribution.
504
+
505
+ * Neither the name of the NetworkX Developers nor the names of its
506
+ contributors may be used to endorse or promote products derived
507
+ from this software without specific prior written permission.
508
+
509
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
510
+ "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
511
+ LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
512
+ A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
513
+ OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
514
+ SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
515
+ LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
516
+ DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
517
+ THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
518
+ (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
519
+ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
520
+ """
521
+
522
+ - NumPy licensed under the BSD-3-Clause reproduced below:
523
+ """
524
+ Copyright (c) 2005-2024, NumPy Developers.
525
+ All rights reserved.
526
+
527
+ Redistribution and use in source and binary forms, with or without
528
+ modification, are permitted provided that the following conditions are
529
+ met:
530
+
531
+ * Redistributions of source code must retain the above copyright
532
+ notice, this list of conditions and the following disclaimer.
533
+
534
+ * Redistributions in binary form must reproduce the above
535
+ copyright notice, this list of conditions and the following
536
+ disclaimer in the documentation and/or other materials provided
537
+ with the distribution.
538
+
539
+ * Neither the name of the NumPy Developers nor the names of any
540
+ contributors may be used to endorse or promote products derived
541
+ from this software without specific prior written permission.
542
+
543
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
544
+ "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
545
+ LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
546
+ A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
547
+ OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
548
+ SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
549
+ LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
550
+ DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
551
+ THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
552
+ (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
553
+ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
554
+ """
555
+
556
+ - optlang licensed under the Apache-2.0 reproduced below
557
+ """
558
+ Apache License
559
+ Version 2.0, January 2004
560
+ http://www.apache.org/licenses/
561
+
562
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
563
+
564
+ 1. Definitions.
565
+
566
+ "License" shall mean the terms and conditions for use, reproduction,
567
+ and distribution as defined by Sections 1 through 9 of this document.
568
+
569
+ "Licensor" shall mean the copyright owner or entity authorized by
570
+ the copyright owner that is granting the License.
571
+
572
+ "Legal Entity" shall mean the union of the acting entity and all
573
+ other entities that control, are controlled by, or are under common
574
+ control with that entity. For the purposes of this definition,
575
+ "control" means (i) the power, direct or indirect, to cause the
576
+ direction or management of such entity, whether by contract or
577
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
578
+ outstanding shares, or (iii) beneficial ownership of such entity.
579
+
580
+ "You" (or "Your") shall mean an individual or Legal Entity
581
+ exercising permissions granted by this License.
582
+
583
+ "Source" form shall mean the preferred form for making modifications,
584
+ including but not limited to software source code, documentation
585
+ source, and configuration files.
586
+
587
+ "Object" form shall mean any form resulting from mechanical
588
+ transformation or translation of a Source form, including but
589
+ not limited to compiled object code, generated documentation,
590
+ and conversions to other media types.
591
+
592
+ "Work" shall mean the work of authorship, whether in Source or
593
+ Object form, made available under the License, as indicated by a
594
+ copyright notice that is included in or attached to the work
595
+ (an example is provided in the Appendix below).
596
+
597
+ "Derivative Works" shall mean any work, whether in Source or Object
598
+ form, that is based on (or derived from) the Work and for which the
599
+ editorial revisions, annotations, elaborations, or other modifications
600
+ represent, as a whole, an original work of authorship. For the purposes
601
+ of this License, Derivative Works shall not include works that remain
602
+ separable from, or merely link (or bind by name) to the interfaces of,
603
+ the Work and Derivative Works thereof.
604
+
605
+ "Contribution" shall mean any work of authorship, including
606
+ the original version of the Work and any modifications or additions
607
+ to that Work or Derivative Works thereof, that is intentionally
608
+ submitted to Licensor for inclusion in the Work by the copyright owner
609
+ or by an individual or Legal Entity authorized to submit on behalf of
610
+ the copyright owner. For the purposes of this definition, "submitted"
611
+ means any form of electronic, verbal, or written communication sent
612
+ to the Licensor or its representatives, including but not limited to
613
+ communication on electronic mailing lists, source code control systems,
614
+ and issue tracking systems that are managed by, or on behalf of, the
615
+ Licensor for the purpose of discussing and improving the Work, but
616
+ excluding communication that is conspicuously marked or otherwise
617
+ designated in writing by the copyright owner as "Not a Contribution."
618
+
619
+ "Contributor" shall mean Licensor and any individual or Legal Entity
620
+ on behalf of whom a Contribution has been received by Licensor and
621
+ subsequently incorporated within the Work.
622
+
623
+ 2. Grant of Copyright License. Subject to the terms and conditions of
624
+ this License, each Contributor hereby grants to You a perpetual,
625
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
626
+ copyright license to reproduce, prepare Derivative Works of,
627
+ publicly display, publicly perform, sublicense, and distribute the
628
+ Work and such Derivative Works in Source or Object form.
629
+
630
+ 3. Grant of Patent License. Subject to the terms and conditions of
631
+ this License, each Contributor hereby grants to You a perpetual,
632
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
633
+ (except as stated in this section) patent license to make, have made,
634
+ use, offer to sell, sell, import, and otherwise transfer the Work,
635
+ where such license applies only to those patent claims licensable
636
+ by such Contributor that are necessarily infringed by their
637
+ Contribution(s) alone or by combination of their Contribution(s)
638
+ with the Work to which such Contribution(s) was submitted. If You
639
+ institute patent litigation against any entity (including a
640
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
641
+ or a Contribution incorporated within the Work constitutes direct
642
+ or contributory patent infringement, then any patent licenses
643
+ granted to You under this License for that Work shall terminate
644
+ as of the date such litigation is filed.
645
+
646
+ 4. Redistribution. You may reproduce and distribute copies of the
647
+ Work or Derivative Works thereof in any medium, with or without
648
+ modifications, and in Source or Object form, provided that You
649
+ meet the following conditions:
650
+
651
+ (a) You must give any other recipients of the Work or
652
+ Derivative Works a copy of this License; and
653
+
654
+ (b) You must cause any modified files to carry prominent notices
655
+ stating that You changed the files; and
656
+
657
+ (c) You must retain, in the Source form of any Derivative Works
658
+ that You distribute, all copyright, patent, trademark, and
659
+ attribution notices from the Source form of the Work,
660
+ excluding those notices that do not pertain to any part of
661
+ the Derivative Works; and
662
+
663
+ (d) If the Work includes a "NOTICE" text file as part of its
664
+ distribution, then any Derivative Works that You distribute must
665
+ include a readable copy of the attribution notices contained
666
+ within such NOTICE file, excluding those notices that do not
667
+ pertain to any part of the Derivative Works, in at least one
668
+ of the following places: within a NOTICE text file distributed
669
+ as part of the Derivative Works; within the Source form or
670
+ documentation, if provided along with the Derivative Works; or,
671
+ within a display generated by the Derivative Works, if and
672
+ wherever such third-party notices normally appear. The contents
673
+ of the NOTICE file are for informational purposes only and
674
+ do not modify the License. You may add Your own attribution
675
+ notices within Derivative Works that You distribute, alongside
676
+ or as an addendum to the NOTICE text from the Work, provided
677
+ that such additional attribution notices cannot be construed
678
+ as modifying the License.
679
+
680
+ You may add Your own copyright statement to Your modifications and
681
+ may provide additional or different license terms and conditions
682
+ for use, reproduction, or distribution of Your modifications, or
683
+ for any such Derivative Works as a whole, provided Your use,
684
+ reproduction, and distribution of the Work otherwise complies with
685
+ the conditions stated in this License.
686
+
687
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
688
+ any Contribution intentionally submitted for inclusion in the Work
689
+ by You to the Licensor shall be under the terms and conditions of
690
+ this License, without any additional terms or conditions.
691
+ Notwithstanding the above, nothing herein shall supersede or modify
692
+ the terms of any separate license agreement you may have executed
693
+ with Licensor regarding such Contributions.
694
+
695
+ 6. Trademarks. This License does not grant permission to use the trade
696
+ names, trademarks, service marks, or product names of the Licensor,
697
+ except as required for reasonable and customary use in describing the
698
+ origin of the Work and reproducing the content of the NOTICE file.
699
+
700
+ 7. Disclaimer of Warranty. Unless required by applicable law or
701
+ agreed to in writing, Licensor provides the Work (and each
702
+ Contributor provides its Contributions) on an "AS IS" BASIS,
703
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
704
+ implied, including, without limitation, any warranties or conditions
705
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
706
+ PARTICULAR PURPOSE. You are solely responsible for determining the
707
+ appropriateness of using or redistributing the Work and assume any
708
+ risks associated with Your exercise of permissions under this License.
709
+
710
+ 8. Limitation of Liability. In no event and under no legal theory,
711
+ whether in tort (including negligence), contract, or otherwise,
712
+ unless required by applicable law (such as deliberate and grossly
713
+ negligent acts) or agreed to in writing, shall any Contributor be
714
+ liable to You for damages, including any direct, indirect, special,
715
+ incidental, or consequential damages of any character arising as a
716
+ result of this License or out of the use or inability to use the
717
+ Work (including but not limited to damages for loss of goodwill,
718
+ work stoppage, computer failure or malfunction, or any and all
719
+ other commercial damages or losses), even if such Contributor
720
+ has been advised of the possibility of such damages.
721
+
722
+ 9. Accepting Warranty or Additional Liability. While redistributing
723
+ the Work or Derivative Works thereof, You may choose to offer,
724
+ and charge a fee for, acceptance of support, warranty, indemnity,
725
+ or other liability obligations and/or rights consistent with this
726
+ License. However, in accepting such obligations, You may act only
727
+ on Your own behalf and on Your sole responsibility, not on behalf
728
+ of any other Contributor, and only if You agree to indemnify,
729
+ defend, and hold each Contributor harmless for any liability
730
+ incurred by, or claims asserted against, such Contributor by reason
731
+ of your accepting any such warranty or additional liability.
732
+
733
+ END OF TERMS AND CONDITIONS
734
+
735
+ APPENDIX: How to apply the Apache License to your work.
736
+
737
+ To apply the Apache License to your work, attach the following
738
+ boilerplate notice, with the fields enclosed by brackets "{}"
739
+ replaced with your own identifying information. (Don't include
740
+ the brackets!) The text should be enclosed in the appropriate
741
+ comment syntax for the file format. We also recommend that a
742
+ file or class name and description of purpose be included on the
743
+ same "printed page" as the copyright notice for easier
744
+ identification within third-party archives.
745
+
746
+ Copyright {yyyy} {name of copyright owner}
747
+
748
+ Licensed under the Apache License, Version 2.0 (the "License");
749
+ you may not use this file except in compliance with the License.
750
+ You may obtain a copy of the License at
751
+
752
+ http://www.apache.org/licenses/LICENSE-2.0
753
+
754
+ Unless required by applicable law or agreed to in writing, software
755
+ distributed under the License is distributed on an "AS IS" BASIS,
756
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
757
+ See the License for the specific language governing permissions and
758
+ limitations under the License.
759
+ """
760
+
761
+ - Pandas licensed under the BSD-3-Clause reproduced below:
762
+ """
763
+ BSD 3-Clause License
764
+
765
+ Copyright (c) 2008-2011, AQR Capital Management, LLC, Lambda Foundry, Inc. and PyData Development Team
766
+ All rights reserved.
767
+
768
+ Copyright (c) 2011-2024, Open source contributors.
769
+
770
+ Redistribution and use in source and binary forms, with or without
771
+ modification, are permitted provided that the following conditions are met:
772
+
773
+ * Redistributions of source code must retain the above copyright notice, this
774
+ list of conditions and the following disclaimer.
775
+
776
+ * Redistributions in binary form must reproduce the above copyright notice,
777
+ this list of conditions and the following disclaimer in the documentation
778
+ and/or other materials provided with the distribution.
779
+
780
+ * Neither the name of the copyright holder nor the names of its
781
+ contributors may be used to endorse or promote products derived from
782
+ this software without specific prior written permission.
783
+
784
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
785
+ AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
786
+ IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
787
+ DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
788
+ FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
789
+ DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
790
+ SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
791
+ CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
792
+ OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
793
+ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
794
+ """
795
+
796
+ - SciPy licensed under the BSD-3-Clause reproduced below:
797
+ """
798
+ Copyright (c) 2001-2002 Enthought, Inc. 2003-2024, SciPy Developers.
799
+ All rights reserved.
800
+
801
+ Redistribution and use in source and binary forms, with or without
802
+ modification, are permitted provided that the following conditions
803
+ are met:
804
+
805
+ 1. Redistributions of source code must retain the above copyright
806
+ notice, this list of conditions and the following disclaimer.
807
+
808
+ 2. Redistributions in binary form must reproduce the above
809
+ copyright notice, this list of conditions and the following
810
+ disclaimer in the documentation and/or other materials provided
811
+ with the distribution.
812
+
813
+ 3. Neither the name of the copyright holder nor the names of its
814
+ contributors may be used to endorse or promote products derived
815
+ from this software without specific prior written permission.
816
+
817
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
818
+ "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
819
+ LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
820
+ A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
821
+ OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
822
+ SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
823
+ LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
824
+ DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
825
+ THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
826
+ (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
827
+ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
828
+ """
829
+
830
+ - SymPy licensed under the BSD-3-Clause reproduced below:
831
+ """
832
+ Copyright (c) 2006-2023 SymPy Development Team
833
+
834
+ All rights reserved.
835
+
836
+ Redistribution and use in source and binary forms, with or without
837
+ modification, are permitted provided that the following conditions are met:
838
+
839
+ a. Redistributions of source code must retain the above copyright notice,
840
+ this list of conditions and the following disclaimer.
841
+ b. Redistributions in binary form must reproduce the above copyright
842
+ notice, this list of conditions and the following disclaimer in the
843
+ documentation and/or other materials provided with the distribution.
844
+ c. Neither the name of SymPy nor the names of its contributors
845
+ may be used to endorse or promote products derived from this software
846
+ without specific prior written permission.
847
+
848
+
849
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
850
+ AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
851
+ IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
852
+ ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE FOR
853
+ ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
854
+ DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
855
+ SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
856
+ CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
857
+ LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
858
+ OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH
859
+ DAMAGE.
860
+ """
861
+ ------------------------------------------------------------------------------------------------------------------------
862
+
863
+ The Methods for Mutual Information were partially inspired by those found in the feature_selection module
864
+ of scikit-learn, and some of the code for testing the methods was adapted from the tests in the same module.
865
+ Scikit-learn is licensed under a BSD-3-Clause reproduced here:
866
+ """
867
+ BSD 3-Clause License
868
+
869
+ Copyright (c) 2007-2023 The scikit-learn developers.
870
+ All rights reserved.
871
+
872
+ Redistribution and use in source and binary forms, with or without
873
+ modification, are permitted provided that the following conditions are met:
874
+
875
+ * Redistributions of source code must retain the above copyright notice, this
876
+ list of conditions and the following disclaimer.
877
+
878
+ * Redistributions in binary form must reproduce the above copyright notice,
879
+ this list of conditions and the following disclaimer in the documentation
880
+ and/or other materials provided with the distribution.
881
+
882
+ * Neither the name of the copyright holder nor the names of its
883
+ contributors may be used to endorse or promote products derived from
884
+ this software without specific prior written permission.
885
+
886
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
887
+ AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
888
+ IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
889
+ DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
890
+ FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
891
+ DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
892
+ SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
893
+ CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
894
+ OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
895
+ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
896
+ """
897
+
898
+