paperforge 1.5.1__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 (119) hide show
  1. paperforge-1.5.1/LICENSE +425 -0
  2. paperforge-1.5.1/PKG-INFO +328 -0
  3. paperforge-1.5.1/README.md +292 -0
  4. paperforge-1.5.1/paperforge/__init__.py +3 -0
  5. paperforge-1.5.1/paperforge/__main__.py +8 -0
  6. paperforge-1.5.1/paperforge/adapters/__init__.py +0 -0
  7. paperforge-1.5.1/paperforge/adapters/bbt.py +224 -0
  8. paperforge-1.5.1/paperforge/adapters/collections.py +30 -0
  9. paperforge-1.5.1/paperforge/adapters/obsidian_frontmatter.py +355 -0
  10. paperforge-1.5.1/paperforge/adapters/zotero_paths.py +63 -0
  11. paperforge-1.5.1/paperforge/cli.py +556 -0
  12. paperforge-1.5.1/paperforge/command_files/pf-deep.md +313 -0
  13. paperforge-1.5.1/paperforge/command_files/pf-end.md +47 -0
  14. paperforge-1.5.1/paperforge/command_files/pf-ocr.md +142 -0
  15. paperforge-1.5.1/paperforge/command_files/pf-paper.md +132 -0
  16. paperforge-1.5.1/paperforge/command_files/pf-status.md +119 -0
  17. paperforge-1.5.1/paperforge/command_files/pf-sync.md +121 -0
  18. paperforge-1.5.1/paperforge/commands/__init__.py +26 -0
  19. paperforge-1.5.1/paperforge/commands/context.py +170 -0
  20. paperforge-1.5.1/paperforge/commands/dashboard.py +163 -0
  21. paperforge-1.5.1/paperforge/commands/deep.py +77 -0
  22. paperforge-1.5.1/paperforge/commands/ocr.py +180 -0
  23. paperforge-1.5.1/paperforge/commands/repair.py +98 -0
  24. paperforge-1.5.1/paperforge/commands/status.py +47 -0
  25. paperforge-1.5.1/paperforge/commands/sync.py +68 -0
  26. paperforge-1.5.1/paperforge/config.py +433 -0
  27. paperforge-1.5.1/paperforge/core/__init__.py +0 -0
  28. paperforge-1.5.1/paperforge/core/date_utils.py +17 -0
  29. paperforge-1.5.1/paperforge/core/errors.py +60 -0
  30. paperforge-1.5.1/paperforge/core/io.py +15 -0
  31. paperforge-1.5.1/paperforge/core/result.py +79 -0
  32. paperforge-1.5.1/paperforge/core/state.py +131 -0
  33. paperforge-1.5.1/paperforge/doctor/__init__.py +0 -0
  34. paperforge-1.5.1/paperforge/doctor/field_validator.py +171 -0
  35. paperforge-1.5.1/paperforge/logging_config.py +69 -0
  36. paperforge-1.5.1/paperforge/ocr_diagnostics.py +270 -0
  37. paperforge-1.5.1/paperforge/pdf_resolver.py +113 -0
  38. paperforge-1.5.1/paperforge/plugin/main.js +3500 -0
  39. paperforge-1.5.1/paperforge/plugin/manifest.json +10 -0
  40. paperforge-1.5.1/paperforge/plugin/package-lock.json +2375 -0
  41. paperforge-1.5.1/paperforge/plugin/package.json +16 -0
  42. paperforge-1.5.1/paperforge/plugin/styles.css +2418 -0
  43. paperforge-1.5.1/paperforge/plugin/versions.json +8 -0
  44. paperforge-1.5.1/paperforge/schema/__init__.py +35 -0
  45. paperforge-1.5.1/paperforge/services/__init__.py +0 -0
  46. paperforge-1.5.1/paperforge/services/skill_deploy.py +90 -0
  47. paperforge-1.5.1/paperforge/services/sync_service.py +318 -0
  48. paperforge-1.5.1/paperforge/setup/__init__.py +25 -0
  49. paperforge-1.5.1/paperforge/setup/agent.py +85 -0
  50. paperforge-1.5.1/paperforge/setup/checker.py +68 -0
  51. paperforge-1.5.1/paperforge/setup/config_writer.py +80 -0
  52. paperforge-1.5.1/paperforge/setup/plan.py +97 -0
  53. paperforge-1.5.1/paperforge/setup/runtime.py +103 -0
  54. paperforge-1.5.1/paperforge/setup/vault.py +148 -0
  55. paperforge-1.5.1/paperforge/setup_wizard.py +865 -0
  56. paperforge-1.5.1/paperforge/skills/__init__.py +1 -0
  57. paperforge-1.5.1/paperforge/skills/literature-qa/scripts/ld_deep.py +1790 -0
  58. paperforge-1.5.1/paperforge/worker/__init__.py +34 -0
  59. paperforge-1.5.1/paperforge/worker/_domain.py +103 -0
  60. paperforge-1.5.1/paperforge/worker/_progress.py +19 -0
  61. paperforge-1.5.1/paperforge/worker/_retry.py +80 -0
  62. paperforge-1.5.1/paperforge/worker/_utils.py +294 -0
  63. paperforge-1.5.1/paperforge/worker/asset_index.py +659 -0
  64. paperforge-1.5.1/paperforge/worker/asset_state.py +221 -0
  65. paperforge-1.5.1/paperforge/worker/base_views.py +534 -0
  66. paperforge-1.5.1/paperforge/worker/deep_reading.py +135 -0
  67. paperforge-1.5.1/paperforge/worker/discussion.py +409 -0
  68. paperforge-1.5.1/paperforge/worker/ocr.py +1924 -0
  69. paperforge-1.5.1/paperforge/worker/paper_meta.py +87 -0
  70. paperforge-1.5.1/paperforge/worker/paper_resolver.py +384 -0
  71. paperforge-1.5.1/paperforge/worker/repair.py +415 -0
  72. paperforge-1.5.1/paperforge/worker/status.py +1150 -0
  73. paperforge-1.5.1/paperforge/worker/sync.py +1245 -0
  74. paperforge-1.5.1/paperforge/worker/update.py +345 -0
  75. paperforge-1.5.1/paperforge.egg-info/PKG-INFO +328 -0
  76. paperforge-1.5.1/paperforge.egg-info/SOURCES.txt +117 -0
  77. paperforge-1.5.1/paperforge.egg-info/dependency_links.txt +1 -0
  78. paperforge-1.5.1/paperforge.egg-info/entry_points.txt +2 -0
  79. paperforge-1.5.1/paperforge.egg-info/requires.txt +16 -0
  80. paperforge-1.5.1/paperforge.egg-info/top_level.txt +1 -0
  81. paperforge-1.5.1/pyproject.toml +113 -0
  82. paperforge-1.5.1/setup.cfg +4 -0
  83. paperforge-1.5.1/tests/test_asset_index.py +359 -0
  84. paperforge-1.5.1/tests/test_asset_index_integration.py +497 -0
  85. paperforge-1.5.1/tests/test_asset_state.py +362 -0
  86. paperforge-1.5.1/tests/test_base_preservation.py +326 -0
  87. paperforge-1.5.1/tests/test_base_views.py +139 -0
  88. paperforge-1.5.1/tests/test_cli_paths.py +87 -0
  89. paperforge-1.5.1/tests/test_cli_worker_dispatch.py +190 -0
  90. paperforge-1.5.1/tests/test_command_docs.py +284 -0
  91. paperforge-1.5.1/tests/test_config.py +641 -0
  92. paperforge-1.5.1/tests/test_context.py +555 -0
  93. paperforge-1.5.1/tests/test_discussion.py +381 -0
  94. paperforge-1.5.1/tests/test_doctor.py +79 -0
  95. paperforge-1.5.1/tests/test_e2e_cli.py +150 -0
  96. paperforge-1.5.1/tests/test_e2e_pipeline.py +226 -0
  97. paperforge-1.5.1/tests/test_ld_deep_config.py +133 -0
  98. paperforge-1.5.1/tests/test_ld_deep_postprocess.py +103 -0
  99. paperforge-1.5.1/tests/test_ld_deep_skel.py +73 -0
  100. paperforge-1.5.1/tests/test_legacy_worker_compat.py +162 -0
  101. paperforge-1.5.1/tests/test_migration.py +593 -0
  102. paperforge-1.5.1/tests/test_ocr_classify.py +103 -0
  103. paperforge-1.5.1/tests/test_ocr_doctor.py +184 -0
  104. paperforge-1.5.1/tests/test_ocr_preflight.py +284 -0
  105. paperforge-1.5.1/tests/test_ocr_rendering.py +210 -0
  106. paperforge-1.5.1/tests/test_ocr_state_machine.py +1238 -0
  107. paperforge-1.5.1/tests/test_path_normalization.py +385 -0
  108. paperforge-1.5.1/tests/test_pdf_resolver.py +270 -0
  109. paperforge-1.5.1/tests/test_plugin_install_bootstrap.py +67 -0
  110. paperforge-1.5.1/tests/test_prepare_rollback.py +144 -0
  111. paperforge-1.5.1/tests/test_repair.py +622 -0
  112. paperforge-1.5.1/tests/test_selection_sync_pdf.py +166 -0
  113. paperforge-1.5.1/tests/test_setup_wizard.py +460 -0
  114. paperforge-1.5.1/tests/test_smoke.py +304 -0
  115. paperforge-1.5.1/tests/test_status.py +250 -0
  116. paperforge-1.5.1/tests/test_utils_journal.py +157 -0
  117. paperforge-1.5.1/tests/test_utils_json.py +130 -0
  118. paperforge-1.5.1/tests/test_utils_slugify.py +93 -0
  119. paperforge-1.5.1/tests/test_utils_yaml.py +119 -0
@@ -0,0 +1,425 @@
1
+ Attribution-NonCommercial-ShareAlike 4.0 International
2
+
3
+ Creative Commons Corporation ("Creative Commons") is not a law firm and
4
+ does not provide legal services or legal advice. Distribution of
5
+ Creative Commons public licenses does not create a lawyer-client or
6
+ other relationship. Creative Commons makes its licenses and related
7
+ information available on an "as-is" basis. Creative Commons gives no
8
+ warranties regarding its licenses, any material licensed under their
9
+ terms and conditions, or any related information. Creative Commons
10
+ disclaims all liability for damages resulting from their use to the
11
+ fullest extent possible.
12
+
13
+ Using Creative Commons Public Licenses
14
+
15
+ Creative Commons public licenses provide a standard set of terms and
16
+ conditions that creators and other rights holders may use to share
17
+ original works of authorship and other material subject to copyright
18
+ and certain other rights specified in the public license below. The
19
+ following considerations are for informational purposes only, are not
20
+ exhaustive, and do not form part of our licenses.
21
+
22
+ * Considerations for licensors: Our public licenses are intended for
23
+ use by those authorized to give the public permission to use material
24
+ in ways otherwise restricted by copyright and certain other rights.
25
+ Our licenses are irrevocable. Licensors should read and understand the
26
+ terms and conditions of the license they choose before applying it.
27
+ Licensors should also secure all rights necessary before applying our
28
+ licenses so that the public can reuse the material as expected.
29
+ Licensors should clearly mark any material not subject to the license.
30
+ This includes other CC-licensed material, or material used under an
31
+ exception or limitation to copyright. More considerations for
32
+ licensors: wiki.creativecommons.org/Considerations_for_licensors
33
+
34
+ * Considerations for the public: By using one of our public licenses,
35
+ a licensor grants the public permission to use the licensed material
36
+ under specified terms and conditions. If the licensor's permission is
37
+ not necessary for any reason–for example, because of any applicable
38
+ exception or limitation to copyright–then that use is not regulated by
39
+ the license. Our licenses grant only permissions under copyright and
40
+ certain other rights that a licensor has authority to grant. Use of
41
+ the licensed material may still be restricted for other reasons,
42
+ including because others have copyright or other rights in the
43
+ material. A licensor may make special requests, such as asking that
44
+ all changes be marked or described. Although not required by our
45
+ licenses, you are encouraged to respect those requests where
46
+ reasonable. More considerations for the public:
47
+ wiki.creativecommons.org/Considerations_for_licensors
48
+
49
+ =======================================================================
50
+
51
+ Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International
52
+ Public License
53
+
54
+ By exercising the Licensed Rights (defined below), You accept and agree
55
+ to be bound by the terms and conditions of this Creative Commons
56
+ Attribution-NonCommercial-ShareAlike 4.0 International Public License
57
+ ("Public License"). To the extent this Public License may be
58
+ interpreted as a contract, You are granted the Licensed Rights in
59
+ consideration of Your acceptance of these terms and conditions, and the
60
+ Licensor grants You such rights in consideration of benefits the
61
+ Licensor receives from making the Licensed Material available under
62
+ these terms and conditions.
63
+
64
+ Section 1 — Definitions.
65
+
66
+ a. Adapted Material means material subject to Copyright and Similar
67
+ Rights that is derived from or based upon the Licensed Material
68
+ and in which the Licensed Material is translated, altered,
69
+ arranged, transformed, or otherwise modified in a manner requiring
70
+ permission under the Copyright and Similar Rights held by the
71
+ Licensor. For purposes of this Public License, where the Licensed
72
+ Material is a musical work, performance, or sound recording,
73
+ Adapted Material is always produced where the Licensed Material is
74
+ synched in timed relation with a moving image.
75
+
76
+ b. Adapter's License means the license You apply to Your Copyright
77
+ and Similar Rights in Your contributions to Adapted Material in
78
+ accordance with the terms and conditions of this Public License.
79
+
80
+ c. BY-NC-SA Compatible License means a license listed at
81
+ creativecommons.org/compatiblelicenses, approved by Creative
82
+ Commons as essentially the equivalent of this Public License.
83
+
84
+ d. Copyright and Similar Rights means copyright and/or similar rights
85
+ closely related to copyright including, without limitation,
86
+ performance, broadcast, sound recording, and Sui Generis Database
87
+ Rights, without regard to how the rights are labeled or
88
+ categorized. For purposes of this Public License, the rights
89
+ specified in Section 2(b)(1)-(2) are not Copyright and Similar
90
+ Rights.
91
+
92
+ e. Effective Technological Measures means those measures that, in the
93
+ absence of proper authority, may not be circumvented under laws
94
+ fulfilling obligations under Article 11 of the WIPO Copyright
95
+ Treaty adopted on December 20, 1996, and/or similar international
96
+ agreements.
97
+
98
+ f. Exceptions and Limitations means fair use, fair dealing, and/or
99
+ any other exception or limitation to Copyright and Similar Rights
100
+ that applies to Your use of the Licensed Material.
101
+
102
+ g. License Elements means the license attributes listed in the name
103
+ of a Creative Commons Public License. The License Elements of this
104
+ Public License are Attribution, NonCommercial, and ShareAlike.
105
+
106
+ h. Licensed Material means the artistic or literary work, database,
107
+ or other material to which the Licensor applied this Public
108
+ License.
109
+
110
+ i. Licensed Rights means the rights granted to You subject to the
111
+ terms and conditions of this Public License, which are limited to
112
+ all Copyright and Similar Rights that apply to Your use of the
113
+ Licensed Material and that the Licensor has authority to license.
114
+
115
+ j. Licensor means the individual(s) or entity(ies) granting rights
116
+ under this Public License.
117
+
118
+ k. NonCommercial means not primarily intended for or directed towards
119
+ commercial advantage or monetary compensation. For purposes of
120
+ this Public License, the exchange of the Licensed Material for
121
+ other material subject to Copyright and Similar Rights by digital
122
+ file-sharing or similar means is NonCommercial provided there is
123
+ no payment of monetary compensation in connection with the
124
+ exchange.
125
+
126
+ l. Share means to provide material to the public by any means or
127
+ process that requires permission under the Licensed Rights, such
128
+ as reproduction, public display, public performance, distribution,
129
+ dissemination, communication, or importation, and to make material
130
+ available to the public including in ways that members of the
131
+ public may access the material from a place and at a time
132
+ individually chosen by them.
133
+
134
+ m. Sui Generis Database Rights means rights other than copyright
135
+ resulting from Directive 96/9/EC of the European Parliament and
136
+ of the Council of 11 March 1996 on the legal protection of
137
+ databases, as amended and/or succeeded, as well as other
138
+ essentially equivalent rights anywhere in the world.
139
+
140
+ n. You means the individual or entity exercising the Licensed Rights
141
+ under this Public License. Your has a corresponding meaning.
142
+
143
+ Section 2 — Scope.
144
+
145
+ a. License grant.
146
+
147
+ 1. Subject to the terms and conditions of this Public License,
148
+ the Licensor hereby grants You a worldwide, royalty-free,
149
+ non-sublicensable, non-exclusive, irrevocable license to
150
+ exercise the Licensed Rights in the Licensed Material to:
151
+
152
+ a. reproduce and Share the Licensed Material, in whole or
153
+ in part, for NonCommercial purposes only; and
154
+
155
+ b. produce, reproduce, and Share Adapted Material for
156
+ NonCommercial purposes only.
157
+
158
+ 2. Exceptions and Limitations. For the avoidance of doubt,
159
+ where Exceptions and Limitations apply to Your use, this
160
+ Public License does not apply, and You do not need to comply
161
+ with its terms and conditions.
162
+
163
+ 3. Term. The term of this Public License is specified in
164
+ Section 6(a).
165
+
166
+ 4. Media and formats; technical modifications allowed. The
167
+ Licensor authorizes You to exercise the Licensed Rights in
168
+ all media and formats whether now known or hereafter created,
169
+ and to make technical modifications necessary to do so. The
170
+ Licensor waives and/or agrees not to assert any right or
171
+ authority to forbid You from making technical modifications
172
+ necessary to exercise the Licensed Rights, including
173
+ technical modifications necessary to circumvent Effective
174
+ Technological Measures. For purposes of this Public License,
175
+ simply making modifications authorized by this Section 2(a)
176
+ (4) never produces Adapted Material.
177
+
178
+ 5. Downstream recipients.
179
+
180
+ a. Offer from the Licensor – Licensed Material. Every
181
+ recipient of the Licensed Material automatically
182
+ receives an offer from the Licensor to exercise the
183
+ Licensed Rights under the terms and conditions of this
184
+ Public License.
185
+
186
+ b. Additional offer from the Licensor – Adapted Material.
187
+ Every recipient of Adapted Material from You
188
+ automatically receives an offer from the Licensor to
189
+ exercise the Licensed Rights in the Adapted Material
190
+ under the conditions of the Adapter's License You apply.
191
+
192
+ c. No downstream restrictions. You may not offer or impose
193
+ any additional or different terms or conditions on, or
194
+ apply any Effective Technological Measures to, the
195
+ Licensed Material if doing so restricts exercise of the
196
+ Licensed Rights by any recipient of the Licensed
197
+ Material.
198
+
199
+ 6. No endorsement. Nothing in this Public License constitutes or
200
+ may be construed as permission to assert or imply that You
201
+ are, or that Your use of the Licensed Material is, connected
202
+ with, or sponsored, endorsed, or granted official status by,
203
+ the Licensor or others designated to receive attribution as
204
+ provided in Section 3(a)(1)(A)(i).
205
+
206
+ b. Other rights.
207
+
208
+ 1. Moral rights, such as the right of integrity, are not
209
+ licensed under this Public License, nor are publicity,
210
+ privacy, and/or other similar personality rights; however, to
211
+ the extent possible, the Licensor waives and/or agrees not to
212
+ assert any such rights held by the Licensor to the limited
213
+ extent necessary to allow You to exercise the Licensed
214
+ Rights, but not otherwise.
215
+
216
+ 2. Patent and trademark rights are not licensed under this
217
+ Public License.
218
+
219
+ 3. To the extent possible, the Licensor waives any right to
220
+ collect royalties from You for the exercise of the Licensed
221
+ Rights, whether directly or through a collecting society
222
+ under any voluntary or waivable statutory or compulsory
223
+ licensing scheme. In all other cases the Licensor expressly
224
+ reserves any right to collect such royalties, including when
225
+ the Licensed Material is used other than for NonCommercial
226
+ purposes.
227
+
228
+ Section 3 — License Conditions.
229
+
230
+ Your exercise of the Licensed Rights is expressly made subject to the
231
+ following conditions.
232
+
233
+ a. Attribution.
234
+
235
+ 1. If You Share the Licensed Material (including in modified
236
+ form), You must:
237
+
238
+ a. retain the following if it is supplied by the Licensor
239
+ with the Licensed Material:
240
+
241
+ i. identification of the creator(s) of the Licensed
242
+ Material and any others designated to receive
243
+ attribution, in any reasonable manner requested by
244
+ the Licensor (including by pseudonym if
245
+ designated);
246
+
247
+ ii. a copyright notice;
248
+
249
+ iii. a notice that refers to this Public License;
250
+
251
+ iv. a notice that refers to the disclaimer of
252
+ warranties;
253
+
254
+ v. a URI or hyperlink to the Licensed Material to the
255
+ extent reasonably practicable;
256
+
257
+ b. indicate if You modified the Licensed Material and
258
+ retain an indication of any previous modifications; and
259
+
260
+ c. indicate the Licensed Material is licensed under this
261
+ Public License, and include the text of, or the URI or
262
+ hyperlink to, this Public License.
263
+
264
+ 2. You may satisfy the conditions in Section 3(a)(1) in any
265
+ reasonable manner based on the medium, means, and context in
266
+ which You Share the Licensed Material. For example, it may be
267
+ reasonable to satisfy the conditions by providing a URI or
268
+ hyperlink to a resource that includes the required
269
+ information.
270
+
271
+ 3. If requested by the Licensor, You must remove any of the
272
+ information required by Section 3(a)(1)(A) to the extent
273
+ reasonably practicable.
274
+
275
+ b. ShareAlike.
276
+
277
+ In addition to the conditions in Section 3(a), if You Share
278
+ Adapted Material You produce, the following conditions also
279
+ apply.
280
+
281
+ 1. The Adapter's License You apply must be a Creative Commons
282
+ license with the same License Elements, this version or
283
+ later, or a BY-NC-SA Compatible License.
284
+
285
+ 2. You must include the text of, or the URI or hyperlink to,
286
+ the Adapter's License You apply. You may satisfy this
287
+ condition in any reasonable manner based on the medium,
288
+ means, and context in which You Share Adapted Material.
289
+
290
+ 3. You may not offer or impose any additional or different terms
291
+ or conditions on, or apply any Effective Technological
292
+ Measures to, Adapted Material that restrict exercise of the
293
+ rights granted under the Adapter's License You apply.
294
+
295
+ Section 4 — Sui Generis Database Rights.
296
+
297
+ Where the Licensed Rights include Sui Generis Database Rights that
298
+ apply to Your use of the Licensed Material:
299
+
300
+ a. for the avoidance of doubt, Section 2(a)(1) grants You the right
301
+ to extract, reuse, reproduce, and Share all or a substantial
302
+ portion of the contents of the database for NonCommercial purposes
303
+ only and provided You do not Share Adapted Material;
304
+
305
+ b. if You include all or a substantial portion of the database
306
+ contents in a database in which You have Sui Generis Database
307
+ Rights, then the database in which You have Sui Generis Database
308
+ Rights (but not its individual contents) is Adapted Material,
309
+
310
+ including for purposes of Section 3(b); and
311
+ c. You must comply with the conditions in Section 3(a) if You Share
312
+ all or a substantial portion of the contents of the database.
313
+
314
+ For the avoidance of doubt, this Section 4 supplements and does not
315
+ replace Your obligations under this Public License where the Licensed
316
+ Rights include other Copyright and Similar Rights.
317
+
318
+ Section 5 — Disclaimer of Warranties.
319
+
320
+ a. Unless otherwise separately undertaken by the Licensor, to the
321
+ extent possible, the Licensor offers the Licensed Material as-is
322
+ and as-available, and makes no representations or warranties of
323
+ any kind concerning the Licensed Material, whether express,
324
+ implied, statutory, or other. This includes, without limitation,
325
+ warranties of title, merchantability, fitness for a particular
326
+ purpose, non-infringement, absence of latent or other defects,
327
+ accuracy, or the presence or absence of errors, whether or not
328
+ known or discoverable. Where disclaimers of warranties are not
329
+ allowed in full or in part, this disclaimer may not apply to You.
330
+
331
+ b. To the extent possible, in no event will the Licensor be liable
332
+ to You on any legal theory (including, without limitation,
333
+ negligence) or otherwise for any direct, special, indirect,
334
+ incidental, consequential, punitive, exemplary, or other losses,
335
+ costs, expenses, or damages arising out of this Public License or
336
+ use of the Licensed Material, even if the Licensor has been
337
+ advised of the possibility of such losses, costs, expenses, or
338
+ damages. Where a limitation of liability is not allowed in full or
339
+ in part, this limitation may not apply to You.
340
+
341
+ c. The disclaimer of warranties and limitation of liability provided
342
+ above shall be interpreted in a manner that, to the extent
343
+ possible, most closely approximates an absolute disclaimer and
344
+ waiver of all liability.
345
+
346
+ Section 6 — Term and Termination.
347
+
348
+ a. This Public License applies for the term of the Copyright and
349
+ Similar Rights licensed here. However, if You fail to comply with
350
+ this Public License, then Your rights under this Public License
351
+ terminate automatically.
352
+
353
+ b. Where Your right to use the Licensed Material has terminated under
354
+ Section 6(a), it reinstates:
355
+
356
+ 1. automatically as of the date the violation is cured, provided
357
+ it is cured within 30 days of Your discovery of the
358
+ violation; or
359
+
360
+ 2. upon express reinstatement by the Licensor.
361
+
362
+ For the avoidance of doubt, this Section 6(b) does not affect any
363
+ right the Licensor may have to seek remedies for Your violations
364
+ of this Public License.
365
+
366
+ c. For the avoidance of doubt, the Licensor may also offer the
367
+ Licensed Material under separate terms or conditions or stop
368
+ distributing the Licensed Material at any time; however, doing so
369
+ will not terminate this Public License.
370
+
371
+ d. Sections 1, 5, 6, 7, and 8 survive termination of this Public
372
+ License.
373
+
374
+ Section 7 — Other Terms and Conditions.
375
+
376
+ a. The Licensor shall not be bound by any additional or different
377
+ terms or conditions communicated by You unless expressly agreed.
378
+
379
+ b. Any arrangements, understandings, or agreements regarding the
380
+ Licensed Material not stated herein are separate from and
381
+ independent of the terms and conditions of this Public License.
382
+
383
+ Section 8 — Interpretation.
384
+
385
+ a. For the avoidance of doubt, this Public License does not, and
386
+ shall not be interpreted to, reduce, limit, restrict, or impose
387
+ conditions on any use of the Licensed Material that could lawfully
388
+ be made without permission under this Public License.
389
+
390
+ b. To the extent possible, if any provision of this Public License is
391
+ deemed unenforceable, it shall be automatically reformed to the
392
+ minimum extent necessary to make it enforceable. If the provision
393
+ cannot be reformed, it shall be severed from this Public License
394
+ without affecting the enforceability of the remaining terms and
395
+ conditions.
396
+
397
+ c. No term or condition of this Public License will be waived and no
398
+ failure to comply consented to unless expressly agreed to by the
399
+ Licensor.
400
+
401
+ d. Nothing in this Public License constitutes or may be interpreted
402
+ as limitations upon, or waivers of, any privileges and immunities
403
+ that apply to the Licensor or You, including from the legal
404
+ processes of any jurisdiction or authority.
405
+
406
+ =======================================================================
407
+
408
+ Creative Commons is not a party to its public licenses.
409
+ Notwithstanding, Creative Commons may elect to apply one of its public
410
+ licenses to material it publishes and in those instances will be
411
+ considered the "Licensor." The text of the Creative Commons public
412
+ licenses is dedicated to the public domain under the CC0 Public Domain
413
+ Dedication. Except for the limited purpose of indicating that material
414
+ is shared under a Creative Commons public license or as otherwise
415
+ permitted by the Creative Commons policies published at
416
+ creativecommons.org/policies, Creative Commons does not authorize the
417
+ use of the trademark "Creative Commons" or any other trademark or logo
418
+ of Creative Commons without its prior written consent including,
419
+ without limitation, in connection with any unauthorized modifications
420
+ to any of its public licenses or any other arrangements,
421
+ understandings, or agreements concerning use of licensed material. For
422
+ the avoidance of doubt, this paragraph does not form part of the public
423
+ licenses.
424
+
425
+ Creative Commons may be contacted at creativecommons.org.