simcenter-pyncoda-fork 3.0.0.post1__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 (110) hide show
  1. simcenter_pyncoda_fork-3.0.0.post1/LICENSE +330 -0
  2. simcenter_pyncoda_fork-3.0.0.post1/PKG-INFO +421 -0
  3. simcenter_pyncoda_fork-3.0.0.post1/README.md +31 -0
  4. simcenter_pyncoda_fork-3.0.0.post1/pyncoda/99_SandboxCode/SandboxAE/__init__.py +16 -0
  5. simcenter_pyncoda_fork-3.0.0.post1/pyncoda/99_SandboxCode/SandboxAE/__init__2021-08-17.py +12 -0
  6. simcenter_pyncoda_fork-3.0.0.post1/pyncoda/99_SandboxCode/SandboxAE/_lodes_data_structure.py +93 -0
  7. simcenter_pyncoda_fork-3.0.0.post1/pyncoda/99_SandboxCode/SandboxAE/lodes_datautil.py +2093 -0
  8. simcenter_pyncoda_fork-3.0.0.post1/pyncoda/99_SandboxCode/SandboxAE/lodes_fullloop.py +574 -0
  9. simcenter_pyncoda_fork-3.0.0.post1/pyncoda/99_SandboxCode/SandboxAE/lodes_mcmcsa_loops.py +713 -0
  10. simcenter_pyncoda_fork-3.0.0.post1/pyncoda/99_SandboxCode/SandboxAE/lodes_mcmcsa_util.py +587 -0
  11. simcenter_pyncoda_fork-3.0.0.post1/pyncoda/99_SandboxCode/SandboxNPR/prechui_code/Explore.py +139 -0
  12. simcenter_pyncoda_fork-3.0.0.post1/pyncoda/99_SandboxCode/SandboxNPR/prechui_code/FitnessChecks.py +241 -0
  13. simcenter_pyncoda_fork-3.0.0.post1/pyncoda/99_SandboxCode/SandboxNPR/prechui_code/generate_prechui_community.py +160 -0
  14. simcenter_pyncoda_fork-3.0.0.post1/pyncoda/99_SandboxCode/SandboxNPR/prechui_code/hui_add_categorical_char.py +1011 -0
  15. simcenter_pyncoda_fork-3.0.0.post1/pyncoda/99_SandboxCode/SandboxNPR/prechui_code/merge_hu_prec_worklow.py +442 -0
  16. simcenter_pyncoda_fork-3.0.0.post1/pyncoda/99_SandboxCode/SandboxNPR/prechui_code/prechui_worflow.py +78 -0
  17. simcenter_pyncoda_fork-3.0.0.post1/pyncoda/99_SandboxCode/SandboxNPR/prechui_code/run_hu_prec_workflow.py +1337 -0
  18. simcenter_pyncoda_fork-3.0.0.post1/pyncoda/99_SandboxCode/SandboxNPR/prechui_code/tidy_censusapi.py +206 -0
  19. simcenter_pyncoda_fork-3.0.0.post1/pyncoda/99_SandboxCode/SandboxNPR/prechui_lodes_code/ICD02c_intersect_prechui_nces.py +323 -0
  20. simcenter_pyncoda_fork-3.0.0.post1/pyncoda/99_SandboxCode/SandboxNPR/prechui_lodes_code/ICD02d_intersect_prechui_lodes.py +333 -0
  21. simcenter_pyncoda_fork-3.0.0.post1/pyncoda/99_SandboxCode/SandboxNPR/prechui_lodes_code/ICD02e_intersect_location.py +276 -0
  22. simcenter_pyncoda_fork-3.0.0.post1/pyncoda/99_SandboxCode/SandboxNPR/prechui_lodes_code/ICD02f_intersect_lodes_estab.py +220 -0
  23. simcenter_pyncoda_fork-3.0.0.post1/pyncoda/CommunitySourceData/USA_Structures/ReadMe.md +30 -0
  24. simcenter_pyncoda_fork-3.0.0.post1/pyncoda/CommunitySourceData/__init__.py +5 -0
  25. simcenter_pyncoda_fork-3.0.0.post1/pyncoda/CommunitySourceData/api_census_gov/acg_00a_createAPI_datastructure.py +397 -0
  26. simcenter_pyncoda_fork-3.0.0.post1/pyncoda/CommunitySourceData/api_census_gov/acg_00a_general_datastructures.py +169 -0
  27. simcenter_pyncoda_fork-3.0.0.post1/pyncoda/CommunitySourceData/api_census_gov/acg_00a_keyterms.md +31 -0
  28. simcenter_pyncoda_fork-3.0.0.post1/pyncoda/CommunitySourceData/api_census_gov/acg_00b_hui_block2010.py +222 -0
  29. simcenter_pyncoda_fork-3.0.0.post1/pyncoda/CommunitySourceData/api_census_gov/acg_00b_hui_block2020.py +257 -0
  30. simcenter_pyncoda_fork-3.0.0.post1/pyncoda/CommunitySourceData/api_census_gov/acg_00c_hispan_block2010.py +148 -0
  31. simcenter_pyncoda_fork-3.0.0.post1/pyncoda/CommunitySourceData/api_census_gov/acg_00c_hispan_block2020.py +148 -0
  32. simcenter_pyncoda_fork-3.0.0.post1/pyncoda/CommunitySourceData/api_census_gov/acg_00d_hhinc_ACS5yr2012.py +232 -0
  33. simcenter_pyncoda_fork-3.0.0.post1/pyncoda/CommunitySourceData/api_census_gov/acg_00d_hhinc_ACS5yr2022.py +232 -0
  34. simcenter_pyncoda_fork-3.0.0.post1/pyncoda/CommunitySourceData/api_census_gov/acg_00e_incore_huiv2.py +438 -0
  35. simcenter_pyncoda_fork-3.0.0.post1/pyncoda/CommunitySourceData/api_census_gov/acg_00f_preci_block2010.py +319 -0
  36. simcenter_pyncoda_fork-3.0.0.post1/pyncoda/CommunitySourceData/api_census_gov/acg_00g_prec_datastructure.py +199 -0
  37. simcenter_pyncoda_fork-3.0.0.post1/pyncoda/CommunitySourceData/api_census_gov/acg_01a_BaseInventory.py +1052 -0
  38. simcenter_pyncoda_fork-3.0.0.post1/pyncoda/CommunitySourceData/api_census_gov/acg_02a_add_categorical_char.py +1007 -0
  39. simcenter_pyncoda_fork-3.0.0.post1/pyncoda/CommunitySourceData/api_census_gov/acg_02b_incomefunctions.py +190 -0
  40. simcenter_pyncoda_fork-3.0.0.post1/pyncoda/CommunitySourceData/api_census_gov/acg_02c_agefunctions.py +182 -0
  41. simcenter_pyncoda_fork-3.0.0.post1/pyncoda/CommunitySourceData/api_census_gov/acg_02d_polishdf.py +77 -0
  42. simcenter_pyncoda_fork-3.0.0.post1/pyncoda/CommunitySourceData/api_census_gov/acg_05a_hui_functions.py +380 -0
  43. simcenter_pyncoda_fork-3.0.0.post1/pyncoda/CommunitySourceData/api_census_gov/acg_05b_prec_functions.py +295 -0
  44. simcenter_pyncoda_fork-3.0.0.post1/pyncoda/CommunitySourceData/api_census_gov/acg__Overview.md +11 -0
  45. simcenter_pyncoda_fork-3.0.0.post1/pyncoda/CommunitySourceData/bpl-us/ReadMe.md +6 -0
  46. simcenter_pyncoda_fork-3.0.0.post1/pyncoda/CommunitySourceData/data_axel/ReadMe.md +82 -0
  47. simcenter_pyncoda_fork-3.0.0.post1/pyncoda/CommunitySourceData/data_axel/dataaxle_00a_datastructure.py +120 -0
  48. simcenter_pyncoda_fork-3.0.0.post1/pyncoda/CommunitySourceData/data_axel/dataaxle_01a_obtain.py +134 -0
  49. simcenter_pyncoda_fork-3.0.0.post1/pyncoda/CommunitySourceData/data_axel/dataaxle_02a_clean.py +16 -0
  50. simcenter_pyncoda_fork-3.0.0.post1/pyncoda/CommunitySourceData/data_hud_gov/ReadMe.md +36 -0
  51. simcenter_pyncoda_fork-3.0.0.post1/pyncoda/CommunitySourceData/lehd_ces_census_gov/ReadMe.md +16 -0
  52. simcenter_pyncoda_fork-3.0.0.post1/pyncoda/CommunitySourceData/lehd_ces_census_gov/__init__.py +16 -0
  53. simcenter_pyncoda_fork-3.0.0.post1/pyncoda/CommunitySourceData/lehd_ces_census_gov/__init__2021-08-17.py +12 -0
  54. simcenter_pyncoda_fork-3.0.0.post1/pyncoda/CommunitySourceData/lehd_ces_census_gov/_lodes_data_structure.py +93 -0
  55. simcenter_pyncoda_fork-3.0.0.post1/pyncoda/CommunitySourceData/lehd_ces_census_gov/lodes_datautil.py +1531 -0
  56. simcenter_pyncoda_fork-3.0.0.post1/pyncoda/CommunitySourceData/lehd_ces_census_gov/lodes_fullloop.py +470 -0
  57. simcenter_pyncoda_fork-3.0.0.post1/pyncoda/CommunitySourceData/lehd_ces_census_gov/lodes_mcmcsa_loops.py +713 -0
  58. simcenter_pyncoda_fork-3.0.0.post1/pyncoda/CommunitySourceData/lehd_ces_census_gov/lodes_mcmcsa_util.py +587 -0
  59. simcenter_pyncoda_fork-3.0.0.post1/pyncoda/CommunitySourceData/national-address-database/ReadMe.md +20 -0
  60. simcenter_pyncoda_fork-3.0.0.post1/pyncoda/CommunitySourceData/nces_ed_gov/ReadMe.md +273 -0
  61. simcenter_pyncoda_fork-3.0.0.post1/pyncoda/CommunitySourceData/nces_ed_gov/nces_00a_datastructure.py +61 -0
  62. simcenter_pyncoda_fork-3.0.0.post1/pyncoda/CommunitySourceData/nces_ed_gov/nces_00c_cleanutils.py +135 -0
  63. simcenter_pyncoda_fork-3.0.0.post1/pyncoda/CommunitySourceData/nces_ed_gov/nces_01a_downloadfiles.py +257 -0
  64. simcenter_pyncoda_fork-3.0.0.post1/pyncoda/CommunitySourceData/nces_ed_gov/nces_02c_SRECcleanCCD.py +134 -0
  65. simcenter_pyncoda_fork-3.0.0.post1/pyncoda/CommunitySourceData/nces_ed_gov/nces_02d_SRECtidy.py +167 -0
  66. simcenter_pyncoda_fork-3.0.0.post1/pyncoda/CommunitySourceData/nsi_sec_usace_army_mil/ReadMe.md +73 -0
  67. simcenter_pyncoda_fork-3.0.0.post1/pyncoda/CommunitySourceData/nsi_sec_usace_army_mil/nsi_01a_downloadfiles.py +89 -0
  68. simcenter_pyncoda_fork-3.0.0.post1/pyncoda/CommunitySourceData/openstreetmap_org/README.md +20 -0
  69. simcenter_pyncoda_fork-3.0.0.post1/pyncoda/CommunitySourceData/usbuildingdata_blob_core_windows_net/ReadMe.md +44 -0
  70. simcenter_pyncoda_fork-3.0.0.post1/pyncoda/CommunitySourceData/usbuildingdata_blob_core_windows_net/usbuildings-v2/musb_01a_readmsbuildings.py +20 -0
  71. simcenter_pyncoda_fork-3.0.0.post1/pyncoda/CommunitySourceData/www2_census_gov/Archive/clean_blockdata.py +151 -0
  72. simcenter_pyncoda_fork-3.0.0.post1/pyncoda/CommunitySourceData/www2_census_gov/Archive/housing_unit_estimate.py +284 -0
  73. simcenter_pyncoda_fork-3.0.0.post1/pyncoda/CommunitySourceData/www2_census_gov/obtain_www2_census_gov.py +134 -0
  74. simcenter_pyncoda_fork-3.0.0.post1/pyncoda/CommunitySourceData/www_data_axle_com/ReadMe.md +85 -0
  75. simcenter_pyncoda_fork-3.0.0.post1/pyncoda/CommunitySourceData/www_data_axle_com/dataaxle_00a_datastructure.py +120 -0
  76. simcenter_pyncoda_fork-3.0.0.post1/pyncoda/CommunitySourceData/www_data_axle_com/dataaxle_01a_obtain.py +134 -0
  77. simcenter_pyncoda_fork-3.0.0.post1/pyncoda/CommunitySourceData/www_data_axle_com/dataaxle_02a_clean.py +16 -0
  78. simcenter_pyncoda_fork-3.0.0.post1/pyncoda/__init__.py +5 -0
  79. simcenter_pyncoda_fork-3.0.0.post1/pyncoda/ncoda_00a_projectoverview.md +29 -0
  80. simcenter_pyncoda_fork-3.0.0.post1/pyncoda/ncoda_00b_directory_design.py +68 -0
  81. simcenter_pyncoda_fork-3.0.0.post1/pyncoda/ncoda_00c_save_output_log.py +48 -0
  82. simcenter_pyncoda_fork-3.0.0.post1/pyncoda/ncoda_00d_cleanvarsutils.py +119 -0
  83. simcenter_pyncoda_fork-3.0.0.post1/pyncoda/ncoda_00e_geoutilities.py +470 -0
  84. simcenter_pyncoda_fork-3.0.0.post1/pyncoda/ncoda_00f_hua_structure.py +479 -0
  85. simcenter_pyncoda_fork-3.0.0.post1/pyncoda/ncoda_00g_community_options.py +387 -0
  86. simcenter_pyncoda_fork-3.0.0.post1/pyncoda/ncoda_00g_tidy.py +53 -0
  87. simcenter_pyncoda_fork-3.0.0.post1/pyncoda/ncoda_00h_bldg_archetype_structure.py +56 -0
  88. simcenter_pyncoda_fork-3.0.0.post1/pyncoda/ncoda_02b_cleanblockdata.py +189 -0
  89. simcenter_pyncoda_fork-3.0.0.post1/pyncoda/ncoda_02c_cleanbuildingdata.py +173 -0
  90. simcenter_pyncoda_fork-3.0.0.post1/pyncoda/ncoda_02d_addresspoint.py +444 -0
  91. simcenter_pyncoda_fork-3.0.0.post1/pyncoda/ncoda_04a_Figures.py +166 -0
  92. simcenter_pyncoda_fork-3.0.0.post1/pyncoda/ncoda_04b_foliummaps.py +253 -0
  93. simcenter_pyncoda_fork-3.0.0.post1/pyncoda/ncoda_04c_poptableresults.py +523 -0
  94. simcenter_pyncoda_fork-3.0.0.post1/pyncoda/ncoda_06a_PDF_functions.py +205 -0
  95. simcenter_pyncoda_fork-3.0.0.post1/pyncoda/ncoda_06c_Codebook.py +680 -0
  96. simcenter_pyncoda_fork-3.0.0.post1/pyncoda/ncoda_06d_INCOREDataService.py +84 -0
  97. simcenter_pyncoda_fork-3.0.0.post1/pyncoda/ncoda_07a_generate_hui.py +282 -0
  98. simcenter_pyncoda_fork-3.0.0.post1/pyncoda/ncoda_07c_generate_addpt.py +905 -0
  99. simcenter_pyncoda_fork-3.0.0.post1/pyncoda/ncoda_07d_run_hua_workflow.py +505 -0
  100. simcenter_pyncoda_fork-3.0.0.post1/pyncoda/ncoda_07e_generate_prec.py +132 -0
  101. simcenter_pyncoda_fork-3.0.0.post1/pyncoda/ncoda_07f_run_prechui_workflow.py +0 -0
  102. simcenter_pyncoda_fork-3.0.0.post1/pyncoda/ncoda_07i_process_communities.py +463 -0
  103. simcenter_pyncoda_fork-3.0.0.post1/pyproject.toml +100 -0
  104. simcenter_pyncoda_fork-3.0.0.post1/setup.cfg +4 -0
  105. simcenter_pyncoda_fork-3.0.0.post1/simcenter_pyncoda_fork.egg-info/PKG-INFO +421 -0
  106. simcenter_pyncoda_fork-3.0.0.post1/simcenter_pyncoda_fork.egg-info/SOURCES.txt +108 -0
  107. simcenter_pyncoda_fork-3.0.0.post1/simcenter_pyncoda_fork.egg-info/dependency_links.txt +1 -0
  108. simcenter_pyncoda_fork-3.0.0.post1/simcenter_pyncoda_fork.egg-info/not-zip-safe +1 -0
  109. simcenter_pyncoda_fork-3.0.0.post1/simcenter_pyncoda_fork.egg-info/requires.txt +39 -0
  110. simcenter_pyncoda_fork-3.0.0.post1/simcenter_pyncoda_fork.egg-info/top_level.txt +6 -0
@@ -0,0 +1,330 @@
1
+ Mozilla Public License Version 2.0
2
+ ==================================
3
+
4
+ 1. Definitions
5
+ --------------
6
+
7
+ 1.1. "Contributor"
8
+ means each individual or legal entity that creates, contributes to
9
+ the creation of, or owns Covered Software.
10
+
11
+ 1.2. "Contributor Version"
12
+ means the combination of the Contributions of others (if any) used
13
+ by a Contributor and that particular Contributor's Contribution.
14
+
15
+ 1.3. "Contribution"
16
+ means Covered Software of a Contributor.
17
+
18
+ 1.4. "Covered Software"
19
+ means Source Code Form to which the initial Contributor has attached
20
+ the notice in Exhibit A, the Executable Form of such Source Code
21
+ Form, and Modifications of such Source Code Form, in each case
22
+ including portions thereof.
23
+
24
+ 1.5. "Incompatible With Secondary Licenses"
25
+ means
26
+ (a) that the initial Contributor has attached the notice described
27
+ in Exhibit B to the Covered Software; or
28
+ (b) that the Covered Software was obtained under the terms of version
29
+ 1.1 or earlier of the License, but not also under the terms of a
30
+ Secondary License.
31
+
32
+ 1.6. "Executable Form"
33
+ means any form of the work other than Source Code Form.
34
+
35
+ 1.7. "Larger Work"
36
+ means a work that combines Covered Software with other material, in
37
+ a separate file or files, that is not Covered Software.
38
+
39
+ 1.8. "License"
40
+ means this document.
41
+
42
+ 1.9. "Licensable"
43
+ means having the right to grant, to the maximum extent possible,
44
+ whether at the time of the initial grant or subsequently, any
45
+ Next all of the rights conveyed by this License.
46
+
47
+ 1.10. "Modifications"
48
+ means any of the following:
49
+ (a) any file in Source Code Form that results from an addition to,
50
+ deletion from, or modification of the contents of Covered
51
+ Software; or
52
+ (b) any new file in Source Code Form that contains any part of
53
+ Covered Software.
54
+
55
+ 1.11. "Patent Claims" of a Contributor
56
+ means any patent claim(s), including without limitation, method,
57
+ process, and apparatus claims, in any patent Licensable by such
58
+ Contributor that would be infringed by making, using, selling,
59
+ offering for sale, importing or otherwise transferring the Covered
60
+ Software or individual components thereof, either alone or combined
61
+ with other code, badged in any manner.
62
+
63
+ 1.12. "Secondary License"
64
+ means either the GNU General Public License, Version 2.0, the GNU
65
+ Lesser General Public License, Version 2.1, the GNU Affero General
66
+ Public License, Version 3.0, or any later versions of those
67
+ licenses.
68
+
69
+ 1.13. "Source Code Form"
70
+ means the form of the work preferred for making modifications.
71
+
72
+ 1.14. "You" (or "Your")
73
+ means an individual or a legal entity exercising rights under this
74
+ License. For legal entities, "You" includes any entity that
75
+ controls, is controlled by, or is under common control with You. For
76
+ purposes of this definition, "control" means (a) the power, direct
77
+ or indirect, to cause the direction or management of such entity,
78
+ whether by contract or otherwise, or (b) ownership of more than
79
+ fifty percent (50%) of the outstanding shares or beneficial
80
+ ownership of such entity.
81
+
82
+ 2. License Grant and Conditions
83
+ ------------------------------
84
+
85
+ 2.1. Grants
86
+
87
+ Each Contributor hereby grants You a world-wide, royalty-free,
88
+ non-exclusive license:
89
+
90
+ (a) under intellectual property rights (other than patent or trademark)
91
+ Licensable by such Contributor to use, reproduce, make available,
92
+ modify, display, perform, distribute, and otherwise exploit its
93
+ Contributions, either on their own or as part of modifications.
94
+
95
+ (b) under Patent Claims of such Contributor to make, use, sell, offer
96
+ for sale, import, and otherwise transfer either its Contributions
97
+ or its ContributorVersion.
98
+
99
+ 2.2. Effective Date
100
+
101
+ The licenses granted in Section 2.1 with respect to any Contribution
102
+ become effective for each Contribution on the date the Contributor first
103
+ distributes such Contribution.
104
+
105
+ 2.3. Limitations on Grant Scope
106
+
107
+ The licenses granted in this Section 2 are the only rights granted under
108
+ this License. No additional rights or licenses will be implied from the
109
+ distribution or licensing of Covered Software under this License.
110
+ Notwithstanding Section 2.1(b) above, no patent license is granted
111
+ under this License:
112
+
113
+ (a) for any code that a Contributor has removed from Covered Software;
114
+ or
115
+
116
+ (b) for infringements caused by: (i) Your modifications of Covered
117
+ Software, or (ii) the combination of Covered Software with other
118
+ software or devices.
119
+
120
+ 2.4. Fair Use
121
+
122
+ This License is not intended to limit any rights You have under
123
+ applicable copyright doctrines of fair use, fair dealing, or other
124
+ equivalents.
125
+
126
+ 2.5. Conditions
127
+
128
+ Sections 3.1, 3.2, 3.3, and 3.4 are conditions of the licenses granted
129
+ in Section 2.1.
130
+
131
+ 3. Responsibilities
132
+ -------------------
133
+
134
+ 3.1. Distribution of Source Form
135
+
136
+ All distribution of Covered Software in Source Code Form, including
137
+ modifications that You create or to which You contribute, must be under
138
+ the terms of this License. You must inform recipients that the Source
139
+ Code Form of the Covered Software is governed by the terms of this
140
+ License, and how they can obtain a copy of this License. You may not
141
+ attempt to alter or restrict the recipients' rights in the Source Code
142
+ Form.
143
+
144
+ 3.2. Distribution of Executable Form
145
+
146
+ If You distribute Covered Software in Executable Form, You must also
147
+ make the Source Code Form of the Covered Software available, as described
148
+ in Section 3.1, and You must inform recipients of the Executable Form
149
+ how they can obtain a copy of the Source Code Form.
150
+
151
+ 3.3. Distribution of a Larger Work
152
+
153
+ You may create and distribute a Larger Work under terms of Your choice,
154
+ provided that You also comply with the requirements of this License for
155
+ the Covered Software. If the Larger Work is a combination of Covered
156
+ Software with a work governed by one or more Secondary Licenses, and the
157
+ Coveraction of Covered Software is not Incompatible With Secondary
158
+ Licenses, this License permits You to additionally distribute such
159
+ Covered Software under the terms of such Secondary License(s), so that
160
+ the recipient of the Larger Work may, at their option, further
161
+ distribute the Covered Software under the terms of either this License
162
+ or such Secondary License(s).
163
+
164
+ 3.4. Notices
165
+
166
+ You may not remove or alter the substance of any license notices
167
+ (including copyright notices, patent notices, disclaimers of warranty,
168
+ or limitations of liability) contained within the Source Code Form of
169
+ the Covered Software, except that You may alter any license notices to
170
+ the extent required to remedy known factual inaccuracies.
171
+
172
+ 3.5. Application of Additional Terms
173
+
174
+ You may choose to offer, and to charge a fee for, warranty, support,
175
+ indemnity or liability obligations to one or more recipients of Covered
176
+ Software. However, You may do so only on Your own behalf, and not on
177
+ behalf of any Contributor. You must make it clear that any such
178
+ warranty, support, indemnity, or liability obligation is offered by You
179
+ alone, and You hereby agree to indemnify every Contributor for any
180
+ liability incurred by such Contributor as a result of warranty, support,
181
+ indemnity or liability terms You offer. You may include additional
182
+ disclaimers of warranty and limitations of liability specific to any
183
+ jurisdiction.
184
+
185
+ 4. Inability to Comply Due to Statute or Regulation
186
+ -------------------------------------------------
187
+
188
+ If it is impossible for You to comply with any of the terms of this
189
+ License with respect to some or all of the Covered Software due to
190
+ statute, judicial order, or regulation, then You must: (a) comply with
191
+ the terms of this License to the maximum extent possible; and (b)
192
+ describe the limitations and the code they affect. Such description
193
+ must be placed in a text file included with all distributions of the
194
+ Covered Software under this License. Except to the extent prohibited by
195
+ statute or regulation, such description must be sufficiently detailed
196
+ for a recipient of ordinary skill to be able to understand it.
197
+
198
+ 5. Termination
199
+ -------------
200
+
201
+ 5.1. The rights granted under this License will terminate automatically
202
+ if You fail to comply with any of its terms. However, if You come into
203
+ compliance, then the rights granted under this License from a
204
+ particular Contributor are reinstated (a) provisionally, unless and
205
+ until such Contributor explicitly and finally terminates Your grants,
206
+ and (b) permanently, if such Contributor fails to notify You of the
207
+ non-compliance by some reasonable means prior to 60 days after You have
208
+ come into compliance. Moreover, Your grants under this License from a
209
+ particular Contributor are reinstated permanently if such Contributor
210
+ notifies You of the non-compliance by some reasonable means, this is the
211
+ first time You have received notice of non-compliance with this License
212
+ from such Contributor, and You come into compliance prior to 30 days
213
+ after Your receipt of the notice.
214
+
215
+ 5.2. If You initiate litigation against any entity by asserting a patent
216
+ infringement claim (excluding declaratory judgment actions,
217
+ counter-claims, and cross-claims) alleging that a Contributor Version
218
+ directly or indirectly infringes any patent, then the rights granted to
219
+ You by all Contributors for the Covered Software under Section 2.1 of
220
+ this License shall terminate.
221
+
222
+ 5.3. In the event of termination under Sections 5.1 or 5.2 above, all
223
+ rights granted to You under this License shall terminate. Sections 1,
224
+ 2.3, 2.4, 2.5, 3.4, 3.5, 4, 5, 6, 7, 8, and 9 will survive any
225
+ termination of this License.
226
+
227
+ 6. Disclaimer of Warranty
228
+ -------------------------
229
+
230
+ Covered Software is provided under this License on an "as is" basis,
231
+ without warranty of any kind, either expressed, implied, or statutory,
232
+ including, without limitation, warranties that the Covered Software is
233
+ free of defects, merchantable, fit for a particular purpose or
234
+ non-infringing. The entire risk as to the quality and performance of
235
+ the Covered Software is with You. Should any Covered Software prove
236
+ defective in any respect, You (not any Contributor) assume the cost of
237
+ any necessary servicing, repair, or correction. This disclaimer of
238
+ warranty constitutes an essential part of this License. No use of any
239
+ Covered Software is authorized under this License except under this
240
+ disclaimer.
241
+
242
+ 7. Limitation of Liability
243
+ --------------------------
244
+
245
+ Under no circumstances and under no legal theory, whether tort
246
+ (including negligence), contract, or otherwise, shall any Contributor,
247
+ or anyone else who distributes Covered Software as permitted above, be
248
+ liable to You for any direct, indirect, special, incidental, or
249
+ consequential damages of any character including, without limitation,
250
+ damages for loss of goodwill, work stoppage, computer failure or
251
+ malfunction, or any and all other commercial damages or losses, even if
252
+ such party shall have been informed of the possibility of such damages.
253
+ This limitation of liability shall not apply to liability for death or
254
+ personal injury resulting from such party's negligence to the extent
255
+ applicable law prohibits such limitation. Some jurisdictions do not
256
+ allow the exclusion or limitation of incidental or consequential
257
+ damages, so this exclusion and limitation may not apply to You.
258
+
259
+ 8. Litigation
260
+ -------------
261
+
262
+ Any litigation relating to this License may be brought only in the
263
+ courts of a jurisdiction where the defendant maintains its principal
264
+ place of business or, if the defendant is an individual, where the
265
+ defendant resides, and each party consents to the jurisdiction of such
266
+ courts, provided that nothing herein shall prevent either party from
267
+ bringing an action to enforce a judgment or order of such courts in
268
+ any other jurisdiction.
269
+
270
+ 9. Miscellaneous
271
+ ----------------
272
+
273
+ This License represents the complete agreement concerning the subject
274
+ matter hereof. If any provision of this License is held to be
275
+ unenforceable, such provision shall be reformed only to the extent
276
+ necessary to make it enforceable. Any law or regulation which provides
277
+ that the language of a contract shall be construed against the drafter
278
+ shall not be used to construe this License against a Contributor.
279
+
280
+ 10. Versions of the License
281
+ ---------------------------
282
+
283
+ 10.1. New Versions
284
+
285
+ Mozilla Foundation is the license steward. Except as provided in Section
286
+ 10.3, no one other than the license steward has the right to modify or
287
+ publish new versions of this License. Each version will be given a
288
+ distinguishing version number.
289
+
290
+ 10.2. Effect of New Versions
291
+
292
+ You may distribute the Covered Software under the terms of the version
293
+ of the License under which You originally received the Covered Software,
294
+ or under the terms of anyC-version of the License published by the
295
+ license steward.
296
+
297
+ 10.3. Modified Versions
298
+
299
+ If you create software not governed by this License, and you want to
300
+ create a new license for such software, you may create and use a
301
+ modified version of this License if you rename the license and remove
302
+ any references to the name of the license steward (except to note that
303
+ the modified license differs from this License).
304
+
305
+ 10.4. Distributing Source Code Form that is Incompatible With Secondary
306
+ Licenses
307
+
308
+ If You choose to distribute Source Code Form that is Incompatible With
309
+ Secondary Licenses, You may not include a notice described in Exhibit B
310
+ in Your distribution. If You choose to distribute Source Code Form that
311
+ is compatible with Secondary Licenses, You may include a notice
312
+ described in Exhibit B in Your distribution, and You may simultaneously
313
+ distribute the Covered Software under a Secondary License, as described
314
+ in Section 3.3.
315
+
316
+ Exhibit A - Source Code Form License Notice
317
+ -------------------------------------------
318
+
319
+ This Source Code Form is subject to the
320
+ terms of the Mozilla Public License, v.
321
+ 2.0. If a copy of the MPL was not
322
+ distributed with this file, You can
323
+ obtain one at https://mozilla.org/MPL/2.0/.
324
+
325
+ Exhibit B - "Incompatible With Secondary Licenses" Notice
326
+ ---------------------------------------------------------
327
+
328
+ This Source Code Form is "Incompatible
329
+ With Secondary Licenses", as defined by
330
+ the Mozilla Public License, v. 2.0.