sci-protocol 0.2.0__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.
Files changed (80) hide show
  1. pysci/__init__.py +77 -0
  2. pysci/__main__.py +8 -0
  3. pysci/_cli/__init__.py +5 -0
  4. pysci/_cli/checks.py +173 -0
  5. pysci/_cli/clients/__init__.py +0 -0
  6. pysci/_cli/clients/archive.py +456 -0
  7. pysci/_cli/clients/credentials.py +54 -0
  8. pysci/_cli/clients/github.py +734 -0
  9. pysci/_cli/clients/hosting.py +238 -0
  10. pysci/_cli/clients/http.py +481 -0
  11. pysci/_cli/clients/huggingface.py +492 -0
  12. pysci/_cli/clients/index.py +435 -0
  13. pysci/_cli/clients/tsa.py +223 -0
  14. pysci/_cli/commands/__init__.py +44 -0
  15. pysci/_cli/commands/check.py +115 -0
  16. pysci/_cli/commands/claim.py +179 -0
  17. pysci/_cli/commands/common.py +91 -0
  18. pysci/_cli/commands/folders.py +83 -0
  19. pysci/_cli/commands/index.py +51 -0
  20. pysci/_cli/commands/keygen.py +58 -0
  21. pysci/_cli/commands/license.py +75 -0
  22. pysci/_cli/commands/protocol.py +72 -0
  23. pysci/_cli/commands/publish.py +282 -0
  24. pysci/_cli/commands/pull.py +337 -0
  25. pysci/_cli/commands/read.py +364 -0
  26. pysci/_cli/commands/revoke.py +207 -0
  27. pysci/_cli/commands/search.py +400 -0
  28. pysci/_cli/commands/sign.py +284 -0
  29. pysci/_cli/commands/submit.py +172 -0
  30. pysci/_cli/commands/timestamp.py +196 -0
  31. pysci/_cli/commands/verify.py +163 -0
  32. pysci/_cli/config.py +233 -0
  33. pysci/_cli/context.py +79 -0
  34. pysci/_cli/destinations.py +163 -0
  35. pysci/_cli/errors.py +168 -0
  36. pysci/_cli/main.py +229 -0
  37. pysci/_cli/output.py +80 -0
  38. pysci/_cli/retrieval.py +51 -0
  39. pysci/_cli/spec.py +113 -0
  40. pysci/_cli/storage/__init__.py +0 -0
  41. pysci/_cli/storage/catalog.py +371 -0
  42. pysci/_cli/storage/files.py +252 -0
  43. pysci/_cli/storage/inputs.py +205 -0
  44. pysci/_cli/storage/keys.py +132 -0
  45. pysci/_cli/storage/local_publish.py +88 -0
  46. pysci/accounts.py +135 -0
  47. pysci/baseline.py +142 -0
  48. pysci/bundle.py +878 -0
  49. pysci/citations.py +233 -0
  50. pysci/data/freetsa-cacert.pem +45 -0
  51. pysci/data/sci-baseline-LICENSE.txt +457 -0
  52. pysci/data/sci-protocol.md +613 -0
  53. pysci/der.py +146 -0
  54. pysci/discovery.py +461 -0
  55. pysci/draft.py +374 -0
  56. pysci/ed25519.py +153 -0
  57. pysci/errors.py +204 -0
  58. pysci/ids.py +61 -0
  59. pysci/jsonstrict.py +225 -0
  60. pysci/keys.py +247 -0
  61. pysci/manifest.py +302 -0
  62. pysci/metadata.py +406 -0
  63. pysci/paths.py +136 -0
  64. pysci/png.py +217 -0
  65. pysci/py.typed +0 -0
  66. pysci/records.py +384 -0
  67. pysci/rfc3339.py +66 -0
  68. pysci/schemas.py +75 -0
  69. pysci/source.py +166 -0
  70. pysci/specification.py +58 -0
  71. pysci/submission.py +225 -0
  72. pysci/templates.py +129 -0
  73. pysci/text.py +226 -0
  74. pysci/timestamps.py +867 -0
  75. pysci/zipformat.py +400 -0
  76. sci_protocol-0.2.0.dist-info/METADATA +112 -0
  77. sci_protocol-0.2.0.dist-info/RECORD +80 -0
  78. sci_protocol-0.2.0.dist-info/WHEEL +4 -0
  79. sci_protocol-0.2.0.dist-info/entry_points.txt +2 -0
  80. sci_protocol-0.2.0.dist-info/licenses/LICENSE +202 -0
@@ -0,0 +1,457 @@
1
+ SCI BASELINE PUBLICATION LICENSE 0.1
2
+
3
+ This file states the standard reuse terms for SCI baseline publications.
4
+ Publishing tools copy its exact bytes to LICENSE before signing.
5
+ It contains no publication-specific names, dates, or identifiers.
6
+
7
+ SCOPE
8
+
9
+ 1. Text, figures, and data. The publication README, the author-written
10
+ metadata in sci.json, and the text, figures, and data under files/
11
+ are licensed under the Creative Commons Attribution 4.0 International
12
+ License (CC BY 4.0). The full legal code is reproduced in Part A below.
13
+ https://creativecommons.org/licenses/by/4.0/
14
+
15
+ 2. Code. Source code and other software under files/ are licensed under
16
+ the MIT License. The full license text is reproduced in Part B below.
17
+ https://opensource.org/license/mit
18
+
19
+ ATTRIBUTION AND NOTICES
20
+
21
+ The creators and rights holders of a publication are identified by the
22
+ attribution and copyright notices in its signed README.md and by any
23
+ notices that accompany the material under files/. When a notice applies
24
+ to code, it supplies the copyright line for the MIT License in Part B.
25
+ The placeholders in that line are completed by those notices; they are
26
+ not changed in this file. If no other notice applies, attribute the
27
+ publication by its title, its SCI publication identifier, and its
28
+ signing public key.
29
+
30
+ Reuse requires attribution as CC BY 4.0 and the MIT License describe.
31
+ Keep all copyright, license, and attribution notices that accompany the
32
+ material. Do not remove third-party notices.
33
+
34
+ PUBLISHER ASSURANCE
35
+
36
+ By signing a publication containing this LICENSE, the publisher agrees
37
+ to these terms. The publisher also confirms that it has the authority
38
+ to distribute all included material under these terms, and that it kept
39
+ the required attribution and copyright notices. Material that cannot be
40
+ distributed under these terms is not included; the publication refers
41
+ to it externally.
42
+
43
+ A signature records this assurance. It is not proof of ownership.
44
+ Verification of this license and signed files does not establish legal
45
+ provenance. Hosting rules are separate service terms.
46
+
47
+ =======================================================================
48
+ PART A. CREATIVE COMMONS ATTRIBUTION 4.0 INTERNATIONAL (CC BY 4.0)
49
+ =======================================================================
50
+
51
+ Attribution 4.0 International
52
+
53
+ =======================================================================
54
+
55
+ Creative Commons Corporation ("Creative Commons") is not a law firm and
56
+ does not provide legal services or legal advice. Distribution of
57
+ Creative Commons public licenses does not create a lawyer-client or
58
+ other relationship. Creative Commons makes its licenses and related
59
+ information available on an "as-is" basis. Creative Commons gives no
60
+ warranties regarding its licenses, any material licensed under their
61
+ terms and conditions, or any related information. Creative Commons
62
+ disclaims all liability for damages resulting from their use to the
63
+ fullest extent possible.
64
+
65
+ Using Creative Commons Public Licenses
66
+
67
+ Creative Commons public licenses provide a standard set of terms and
68
+ conditions that creators and other rights holders may use to share
69
+ original works of authorship and other material subject to copyright
70
+ and certain other rights specified in the public license below. The
71
+ following considerations are for informational purposes only, are not
72
+ exhaustive, and do not form part of our licenses.
73
+
74
+ Considerations for licensors: Our public licenses are
75
+ intended for use by those authorized to give the public
76
+ permission to use material in ways otherwise restricted by
77
+ copyright and certain other rights. Our licenses are
78
+ irrevocable. Licensors should read and understand the terms
79
+ and conditions of the license they choose before applying it.
80
+ Licensors should also secure all rights necessary before
81
+ applying our licenses so that the public can reuse the
82
+ material as expected. Licensors should clearly mark any
83
+ material not subject to the license. This includes other CC-
84
+ licensed material, or material used under an exception or
85
+ limitation to copyright. More considerations for licensors:
86
+ wiki.creativecommons.org/Considerations_for_licensors
87
+
88
+ Considerations for the public: By using one of our public
89
+ licenses, a licensor grants the public permission to use the
90
+ licensed material under specified terms and conditions. If
91
+ the licensor's permission is not necessary for any reason--for
92
+ example, because of any applicable exception or limitation to
93
+ copyright--then that use is not regulated by the license. Our
94
+ licenses grant only permissions under copyright and certain
95
+ other rights that a licensor has authority to grant. Use of
96
+ the licensed material may still be restricted for other
97
+ reasons, including because others have copyright or other
98
+ rights in the material. A licensor may make special requests,
99
+ such as asking that all changes be marked or described.
100
+ Although not required by our licenses, you are encouraged to
101
+ respect those requests where reasonable. More considerations
102
+ for the public:
103
+ wiki.creativecommons.org/Considerations_for_licensees
104
+
105
+ =======================================================================
106
+
107
+ Creative Commons Attribution 4.0 International Public License
108
+
109
+ By exercising the Licensed Rights (defined below), You accept and agree
110
+ to be bound by the terms and conditions of this Creative Commons
111
+ Attribution 4.0 International Public License ("Public License"). To the
112
+ extent this Public License may be interpreted as a contract, You are
113
+ granted the Licensed Rights in consideration of Your acceptance of
114
+ these terms and conditions, and the Licensor grants You such rights in
115
+ consideration of benefits the Licensor receives from making the
116
+ Licensed Material available under these terms and conditions.
117
+
118
+
119
+ Section 1 -- Definitions.
120
+
121
+ a. Adapted Material means material subject to Copyright and Similar
122
+ Rights that is derived from or based upon the Licensed Material
123
+ and in which the Licensed Material is translated, altered,
124
+ arranged, transformed, or otherwise modified in a manner requiring
125
+ permission under the Copyright and Similar Rights held by the
126
+ Licensor. For purposes of this Public License, where the Licensed
127
+ Material is a musical work, performance, or sound recording,
128
+ Adapted Material is always produced where the Licensed Material is
129
+ synched in timed relation with a moving image.
130
+
131
+ b. Adapter's License means the license You apply to Your Copyright
132
+ and Similar Rights in Your contributions to Adapted Material in
133
+ accordance with the terms and conditions of this Public License.
134
+
135
+ c. Copyright and Similar Rights means copyright and/or similar rights
136
+ closely related to copyright including, without limitation,
137
+ performance, broadcast, sound recording, and Sui Generis Database
138
+ Rights, without regard to how the rights are labeled or
139
+ categorized. For purposes of this Public License, the rights
140
+ specified in Section 2(b)(1)-(2) are not Copyright and Similar
141
+ Rights.
142
+
143
+ d. Effective Technological Measures means those measures that, in the
144
+ absence of proper authority, may not be circumvented under laws
145
+ fulfilling obligations under Article 11 of the WIPO Copyright
146
+ Treaty adopted on December 20, 1996, and/or similar international
147
+ agreements.
148
+
149
+ e. Exceptions and Limitations means fair use, fair dealing, and/or
150
+ any other exception or limitation to Copyright and Similar Rights
151
+ that applies to Your use of the Licensed Material.
152
+
153
+ f. Licensed Material means the artistic or literary work, database,
154
+ or other material to which the Licensor applied this Public
155
+ License.
156
+
157
+ g. Licensed Rights means the rights granted to You subject to the
158
+ terms and conditions of this Public License, which are limited to
159
+ all Copyright and Similar Rights that apply to Your use of the
160
+ Licensed Material and that the Licensor has authority to license.
161
+
162
+ h. Licensor means the individual(s) or entity(ies) granting rights
163
+ under this Public License.
164
+
165
+ i. Share means to provide material to the public by any means or
166
+ process that requires permission under the Licensed Rights, such
167
+ as reproduction, public display, public performance, distribution,
168
+ dissemination, communication, or importation, and to make material
169
+ available to the public including in ways that members of the
170
+ public may access the material from a place and at a time
171
+ individually chosen by them.
172
+
173
+ j. Sui Generis Database Rights means rights other than copyright
174
+ resulting from Directive 96/9/EC of the European Parliament and of
175
+ the Council of 11 March 1996 on the legal protection of databases,
176
+ as amended and/or succeeded, as well as other essentially
177
+ equivalent rights anywhere in the world.
178
+
179
+ k. You means the individual or entity exercising the Licensed Rights
180
+ under this Public License. Your has a corresponding meaning.
181
+
182
+
183
+ Section 2 -- Scope.
184
+
185
+ a. License grant.
186
+
187
+ 1. Subject to the terms and conditions of this Public License,
188
+ the Licensor hereby grants You a worldwide, royalty-free,
189
+ non-sublicensable, non-exclusive, irrevocable license to
190
+ exercise the Licensed Rights in the Licensed Material to:
191
+
192
+ a. reproduce and Share the Licensed Material, in whole or
193
+ in part; and
194
+
195
+ b. produce, reproduce, and Share Adapted Material.
196
+
197
+ 2. Exceptions and Limitations. For the avoidance of doubt, where
198
+ Exceptions and Limitations apply to Your use, this Public
199
+ License does not apply, and You do not need to comply with
200
+ its terms and conditions.
201
+
202
+ 3. Term. The term of this Public License is specified in Section
203
+ 6(a).
204
+
205
+ 4. Media and formats; technical modifications allowed. The
206
+ Licensor authorizes You to exercise the Licensed Rights in
207
+ all media and formats whether now known or hereafter created,
208
+ and to make technical modifications necessary to do so. The
209
+ Licensor waives and/or agrees not to assert any right or
210
+ authority to forbid You from making technical modifications
211
+ necessary to exercise the Licensed Rights, including
212
+ technical modifications necessary to circumvent Effective
213
+ Technological Measures. For purposes of this Public License,
214
+ simply making modifications authorized by this Section 2(a)
215
+ (4) never produces Adapted Material.
216
+
217
+ 5. Downstream recipients.
218
+
219
+ a. Offer from the Licensor -- Licensed Material. Every
220
+ recipient of the Licensed Material automatically
221
+ receives an offer from the Licensor to exercise the
222
+ Licensed Rights under the terms and conditions of this
223
+ Public License.
224
+
225
+ b. No downstream restrictions. You may not offer or impose
226
+ any additional or different terms or conditions on, or
227
+ apply any Effective Technological Measures to, the
228
+ Licensed Material if doing so restricts exercise of the
229
+ Licensed Rights by any recipient of the Licensed
230
+ Material.
231
+
232
+ 6. No endorsement. Nothing in this Public License constitutes or
233
+ may be construed as permission to assert or imply that You
234
+ are, or that Your use of the Licensed Material is, connected
235
+ with, or sponsored, endorsed, or granted official status by,
236
+ the Licensor or others designated to receive attribution as
237
+ provided in Section 3(a)(1)(A)(i).
238
+
239
+ b. Other rights.
240
+
241
+ 1. Moral rights, such as the right of integrity, are not
242
+ licensed under this Public License, nor are publicity,
243
+ privacy, and/or other similar personality rights; however, to
244
+ the extent possible, the Licensor waives and/or agrees not to
245
+ assert any such rights held by the Licensor to the limited
246
+ extent necessary to allow You to exercise the Licensed
247
+ Rights, but not otherwise.
248
+
249
+ 2. Patent and trademark rights are not licensed under this
250
+ Public License.
251
+
252
+ 3. To the extent possible, the Licensor waives any right to
253
+ collect royalties from You for the exercise of the Licensed
254
+ Rights, whether directly or through a collecting society
255
+ under any voluntary or waivable statutory or compulsory
256
+ licensing scheme. In all other cases the Licensor expressly
257
+ reserves any right to collect such royalties.
258
+
259
+
260
+ Section 3 -- License Conditions.
261
+
262
+ Your exercise of the Licensed Rights is expressly made subject to the
263
+ following conditions.
264
+
265
+ a. Attribution.
266
+
267
+ 1. If You Share the Licensed Material (including in modified
268
+ form), You must:
269
+
270
+ a. retain the following if it is supplied by the Licensor
271
+ with the Licensed Material:
272
+
273
+ i. identification of the creator(s) of the Licensed
274
+ Material and any others designated to receive
275
+ attribution, in any reasonable manner requested by
276
+ the Licensor (including by pseudonym if
277
+ designated);
278
+
279
+ ii. a copyright notice;
280
+
281
+ iii. a notice that refers to this Public License;
282
+
283
+ iv. a notice that refers to the disclaimer of
284
+ warranties;
285
+
286
+ v. a URI or hyperlink to the Licensed Material to the
287
+ extent reasonably practicable;
288
+
289
+ b. indicate if You modified the Licensed Material and
290
+ retain an indication of any previous modifications; and
291
+
292
+ c. indicate the Licensed Material is licensed under this
293
+ Public License, and include the text of, or the URI or
294
+ hyperlink to, this Public License.
295
+
296
+ 2. You may satisfy the conditions in Section 3(a)(1) in any
297
+ reasonable manner based on the medium, means, and context in
298
+ which You Share the Licensed Material. For example, it may be
299
+ reasonable to satisfy the conditions by providing a URI or
300
+ hyperlink to a resource that includes the required
301
+ information.
302
+
303
+ 3. If requested by the Licensor, You must remove any of the
304
+ information required by Section 3(a)(1)(A) to the extent
305
+ reasonably practicable.
306
+
307
+ 4. If You Share Adapted Material You produce, the Adapter's
308
+ License You apply must not prevent recipients of the Adapted
309
+ Material from complying with this Public License.
310
+
311
+
312
+ Section 4 -- Sui Generis Database Rights.
313
+
314
+ Where the Licensed Rights include Sui Generis Database Rights that
315
+ apply to Your use of the Licensed Material:
316
+
317
+ a. for the avoidance of doubt, Section 2(a)(1) grants You the right
318
+ to extract, reuse, reproduce, and Share all or a substantial
319
+ portion of the contents of the database;
320
+
321
+ b. if You include all or a substantial portion of the database
322
+ contents in a database in which You have Sui Generis Database
323
+ Rights, then the database in which You have Sui Generis Database
324
+ Rights (but not its individual contents) is Adapted Material; and
325
+
326
+ c. You must comply with the conditions in Section 3(a) if You Share
327
+ all or a substantial portion of the contents of the database.
328
+
329
+ For the avoidance of doubt, this Section 4 supplements and does not
330
+ replace Your obligations under this Public License where the Licensed
331
+ Rights include other Copyright and Similar Rights.
332
+
333
+
334
+ Section 5 -- Disclaimer of Warranties and Limitation of Liability.
335
+
336
+ a. UNLESS OTHERWISE SEPARATELY UNDERTAKEN BY THE LICENSOR, TO THE
337
+ EXTENT POSSIBLE, THE LICENSOR OFFERS THE LICENSED MATERIAL AS-IS
338
+ AND AS-AVAILABLE, AND MAKES NO REPRESENTATIONS OR WARRANTIES OF
339
+ ANY KIND CONCERNING THE LICENSED MATERIAL, WHETHER EXPRESS,
340
+ IMPLIED, STATUTORY, OR OTHER. THIS INCLUDES, WITHOUT LIMITATION,
341
+ WARRANTIES OF TITLE, MERCHANTABILITY, FITNESS FOR A PARTICULAR
342
+ PURPOSE, NON-INFRINGEMENT, ABSENCE OF LATENT OR OTHER DEFECTS,
343
+ ACCURACY, OR THE PRESENCE OR ABSENCE OF ERRORS, WHETHER OR NOT
344
+ KNOWN OR DISCOVERABLE. WHERE DISCLAIMERS OF WARRANTIES ARE NOT
345
+ ALLOWED IN FULL OR IN PART, THIS DISCLAIMER MAY NOT APPLY TO YOU.
346
+
347
+ b. TO THE EXTENT POSSIBLE, IN NO EVENT WILL THE LICENSOR BE LIABLE
348
+ TO YOU ON ANY LEGAL THEORY (INCLUDING, WITHOUT LIMITATION,
349
+ NEGLIGENCE) OR OTHERWISE FOR ANY DIRECT, SPECIAL, INDIRECT,
350
+ INCIDENTAL, CONSEQUENTIAL, PUNITIVE, EXEMPLARY, OR OTHER LOSSES,
351
+ COSTS, EXPENSES, OR DAMAGES ARISING OUT OF THIS PUBLIC LICENSE OR
352
+ USE OF THE LICENSED MATERIAL, EVEN IF THE LICENSOR HAS BEEN
353
+ ADVISED OF THE POSSIBILITY OF SUCH LOSSES, COSTS, EXPENSES, OR
354
+ DAMAGES. WHERE A LIMITATION OF LIABILITY IS NOT ALLOWED IN FULL OR
355
+ IN PART, THIS LIMITATION MAY NOT APPLY TO YOU.
356
+
357
+ c. The disclaimer of warranties and limitation of liability provided
358
+ above shall be interpreted in a manner that, to the extent
359
+ possible, most closely approximates an absolute disclaimer and
360
+ waiver of all liability.
361
+
362
+
363
+ Section 6 -- Term and Termination.
364
+
365
+ a. This Public License applies for the term of the Copyright and
366
+ Similar Rights licensed here. However, if You fail to comply with
367
+ this Public License, then Your rights under this Public License
368
+ terminate automatically.
369
+
370
+ b. Where Your right to use the Licensed Material has terminated under
371
+ Section 6(a), it reinstates:
372
+
373
+ 1. automatically as of the date the violation is cured, provided
374
+ it is cured within 30 days of Your discovery of the
375
+ violation; or
376
+
377
+ 2. upon express reinstatement by the Licensor.
378
+
379
+ For the avoidance of doubt, this Section 6(b) does not affect any
380
+ right the Licensor may have to seek remedies for Your violations
381
+ of this Public License.
382
+
383
+ c. For the avoidance of doubt, the Licensor may also offer the
384
+ Licensed Material under separate terms or conditions or stop
385
+ distributing the Licensed Material at any time; however, doing so
386
+ will not terminate this Public License.
387
+
388
+ d. Sections 1, 5, 6, 7, and 8 survive termination of this Public
389
+ License.
390
+
391
+
392
+ Section 7 -- Other Terms and Conditions.
393
+
394
+ a. The Licensor shall not be bound by any additional or different
395
+ terms or conditions communicated by You unless expressly agreed.
396
+
397
+ b. Any arrangements, understandings, or agreements regarding the
398
+ Licensed Material not stated herein are separate from and
399
+ independent of the terms and conditions of this Public License.
400
+
401
+
402
+ Section 8 -- Interpretation.
403
+
404
+ a. For the avoidance of doubt, this Public License does not, and
405
+ shall not be interpreted to, reduce, limit, restrict, or impose
406
+ conditions on any use of the Licensed Material that could lawfully
407
+ be made without permission under this Public License.
408
+
409
+ b. To the extent possible, if any provision of this Public License is
410
+ deemed unenforceable, it shall be automatically reformed to the
411
+ minimum extent necessary to make it enforceable. If the provision
412
+ cannot be reformed, it shall be severed from this Public License
413
+ without affecting the enforceability of the remaining terms and
414
+ conditions.
415
+
416
+ c. No term or condition of this Public License will be waived and no
417
+ failure to comply consented to unless expressly agreed to by the
418
+ Licensor.
419
+
420
+ d. Nothing in this Public License constitutes or may be interpreted
421
+ as a limitation upon, or waiver of, any privileges and immunities
422
+ that apply to the Licensor or You, including from the legal
423
+ processes of any jurisdiction or authority.
424
+
425
+
426
+ =======================================================================
427
+
428
+ Creative Commons is not a party to its public
429
+ licenses. Notwithstanding, Creative Commons may elect to apply one of
430
+ its public licenses to material it publishes and in those instances
431
+ will be considered the “Licensor.” The text of the Creative Commons
432
+ public licenses is dedicated to the public domain under the CC0 Public
433
+ Domain Dedication. Except for the limited purpose of indicating that
434
+ material is shared under a Creative Commons public license or as
435
+ otherwise permitted by the Creative Commons policies published at
436
+ creativecommons.org/policies, Creative Commons does not authorize the
437
+ use of the trademark "Creative Commons" or any other trademark or logo
438
+ of Creative Commons without its prior written consent including,
439
+ without limitation, in connection with any unauthorized modifications
440
+ to any of its public licenses or any other arrangements,
441
+ understandings, or agreements concerning use of licensed material. For
442
+ the avoidance of doubt, this paragraph does not form part of the
443
+ public licenses.
444
+
445
+ Creative Commons may be contacted at creativecommons.org.
446
+
447
+ =======================================================================
448
+ PART B. MIT LICENSE
449
+ =======================================================================
450
+
451
+ Copyright <YEAR> <COPYRIGHT HOLDER>
452
+
453
+ Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
454
+
455
+ The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
456
+
457
+ THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.