flpq-data 6.0.0__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 (61) hide show
  1. flpq_data-6.0.0/.gitignore +140 -0
  2. flpq_data-6.0.0/LICENSE-DATA.txt +296 -0
  3. flpq_data-6.0.0/LICENSE.txt +208 -0
  4. flpq_data-6.0.0/PKG-INFO +142 -0
  5. flpq_data-6.0.0/README.rst +105 -0
  6. flpq_data-6.0.0/flpq_data/__init__.py +24 -0
  7. flpq_data-6.0.0/flpq_data/config.py +16 -0
  8. flpq_data-6.0.0/flpq_data/dataset/__init__.py +4 -0
  9. flpq_data-6.0.0/flpq_data/dataset/cache.py +105 -0
  10. flpq_data-6.0.0/flpq_data/dataset/data.py +176 -0
  11. flpq_data-6.0.0/flpq_data/dataset/reachable_pairs.csv +156 -0
  12. flpq_data-6.0.0/flpq_data/dataset/reachable_pairs.py +129 -0
  13. flpq_data-6.0.0/flpq_data/dataset/registry.json +2229 -0
  14. flpq_data-6.0.0/flpq_data/dataset/registry.py +166 -0
  15. flpq_data-6.0.0/flpq_data/graphs/__init__.py +4 -0
  16. flpq_data-6.0.0/flpq_data/graphs/converters.py +125 -0
  17. flpq_data-6.0.0/flpq_data/graphs/generators/__init__.py +6 -0
  18. flpq_data-6.0.0/flpq_data/graphs/generators/fast_labeled_binomial_graph.py +90 -0
  19. flpq_data-6.0.0/flpq_data/graphs/generators/labeled_barabasi_albert_graph.py +86 -0
  20. flpq_data-6.0.0/flpq_data/graphs/generators/labeled_binomial_graph.py +81 -0
  21. flpq_data-6.0.0/flpq_data/graphs/generators/labeled_cycle_graph.py +53 -0
  22. flpq_data-6.0.0/flpq_data/graphs/generators/labeled_scale_free_graph.py +107 -0
  23. flpq_data-6.0.0/flpq_data/graphs/generators/labeled_two_cycles_graph.py +85 -0
  24. flpq_data-6.0.0/flpq_data/graphs/readwrite/__init__.py +4 -0
  25. flpq_data-6.0.0/flpq_data/graphs/readwrite/graph.py +41 -0
  26. flpq_data-6.0.0/flpq_data/graphs/readwrite/mtx.py +408 -0
  27. flpq_data-6.0.0/flpq_data/graphs/readwrite/rdf.py +253 -0
  28. flpq_data-6.0.0/flpq_data/graphs/readwrite/txt.py +280 -0
  29. flpq_data-6.0.0/flpq_data/graphs/utils/__init__.py +7 -0
  30. flpq_data-6.0.0/flpq_data/graphs/utils/add_reverse_edges.py +83 -0
  31. flpq_data-6.0.0/flpq_data/graphs/utils/change_edges.py +56 -0
  32. flpq_data-6.0.0/flpq_data/graphs/utils/edges_statistics.py +85 -0
  33. flpq_data-6.0.0/flpq_data/graphs/utils/filter_edges.py +50 -0
  34. flpq_data-6.0.0/flpq_data/graphs/utils/multiple_source_utils.py +268 -0
  35. flpq_data-6.0.0/flpq_data/graphs/utils/nodes_to_integers.py +49 -0
  36. flpq_data-6.0.0/flpq_data/graphs/utils/to_g_text.py +145 -0
  37. flpq_data-6.0.0/flpq_data/py.typed +0 -0
  38. flpq_data-6.0.0/flpq_data/queries/__init__.py +3 -0
  39. flpq_data-6.0.0/flpq_data/queries/cfpq/__init__.py +4 -0
  40. flpq_data-6.0.0/flpq_data/queries/cfpq/converters/__init__.py +2 -0
  41. flpq_data-6.0.0/flpq_data/queries/cfpq/converters/cfg.py +162 -0
  42. flpq_data-6.0.0/flpq_data/queries/cfpq/converters/cnf.py +135 -0
  43. flpq_data-6.0.0/flpq_data/queries/cfpq/generators/__init__.py +4 -0
  44. flpq_data-6.0.0/flpq_data/queries/cfpq/generators/c_alias_grammar.py +77 -0
  45. flpq_data-6.0.0/flpq_data/queries/cfpq/generators/dyck_grammar.py +75 -0
  46. flpq_data-6.0.0/flpq_data/queries/cfpq/generators/java_points_to_grammar.py +174 -0
  47. flpq_data-6.0.0/flpq_data/queries/cfpq/generators/nested_parentheses_grammar.py +69 -0
  48. flpq_data-6.0.0/flpq_data/queries/cfpq/readwrite/__init__.py +3 -0
  49. flpq_data-6.0.0/flpq_data/queries/cfpq/readwrite/cfg.py +167 -0
  50. flpq_data-6.0.0/flpq_data/queries/cfpq/readwrite/cnf.py +93 -0
  51. flpq_data-6.0.0/flpq_data/queries/cfpq/readwrite/cnf_template.py +464 -0
  52. flpq_data-6.0.0/flpq_data/queries/cfpq/utils/__init__.py +1 -0
  53. flpq_data-6.0.0/flpq_data/queries/cfpq/utils/change_terminals.py +178 -0
  54. flpq_data-6.0.0/flpq_data/queries/mcfpq/__init__.py +1 -0
  55. flpq_data-6.0.0/flpq_data/queries/mcfpq/readwrite/__init__.py +1 -0
  56. flpq_data-6.0.0/flpq_data/queries/mcfpq/readwrite/mcfg.py +357 -0
  57. flpq_data-6.0.0/flpq_data/queries/rpq/__init__.py +1 -0
  58. flpq_data-6.0.0/flpq_data/queries/rpq/readwrite/__init__.py +2 -0
  59. flpq_data-6.0.0/flpq_data/queries/rpq/readwrite/regex.py +151 -0
  60. flpq_data-6.0.0/flpq_data/queries/rpq/readwrite/rsa.py +396 -0
  61. flpq_data-6.0.0/pyproject.toml +109 -0
@@ -0,0 +1,140 @@
1
+ # IDEA
2
+ .idea
3
+
4
+ # Temporal CFPQ reference-answer tool (local-only, not part of the package)
5
+ temporal_cfpq/
6
+
7
+ # Byte-compiled / optimized / DLL files
8
+ __pycache__/
9
+ *.py[cod]
10
+ *$py.class
11
+
12
+ # C extensions
13
+ *.so
14
+
15
+ # Distribution / packaging
16
+ .Python
17
+ build/
18
+ develop-eggs/
19
+ dist/
20
+ downloads/
21
+ eggs/
22
+ .eggs/
23
+ lib/
24
+ lib64/
25
+ parts/
26
+ sdist/
27
+ var/
28
+ wheels/
29
+ *.egg-info/
30
+ .installed.cfg
31
+ *.egg
32
+ MANIFEST
33
+
34
+ # PyInstaller
35
+ # Usually these files are written by a python script from a template
36
+ # before PyInstaller builds the exe, so as to inject date/other infos into it.
37
+ *.manifest
38
+ *.spec
39
+
40
+ # Installer logs
41
+ pip-log.txt
42
+ pip-delete-this-directory.txt
43
+
44
+ # Unit test / coverage reports
45
+ htmlcov/
46
+ .tox/
47
+ .coverage
48
+ .coverage.*
49
+ coverage.json
50
+ .cache
51
+ nosetests.xml
52
+ coverage.xml
53
+ *.cover
54
+ .hypothesis/
55
+ .pytest_cache/
56
+
57
+ # Doctest files
58
+ bzip.txt
59
+ test.csv
60
+ test.mcfg
61
+ test.txt
62
+ test.xml
63
+
64
+ # Translations
65
+ *.mo
66
+ *.pot
67
+
68
+ # Django stuff:
69
+ *.log
70
+ local_settings.py
71
+ db.sqlite3
72
+
73
+ # Flask stuff:
74
+ instance/
75
+ .webassets-cache
76
+
77
+ # Scrapy stuff:
78
+ .scrapy
79
+
80
+ # Sphinx documentation
81
+ docs/_build/
82
+ docs/*/generated/*
83
+ docs/*/*/generated/*
84
+ docs/*/*/*/generated/*
85
+
86
+ # PyBuilder
87
+ target/
88
+
89
+ # Node
90
+ node_modules/
91
+
92
+ # Jupyter Notebook
93
+ .ipynb_checkpoints
94
+
95
+ # celery beat schedule file
96
+ celerybeat-schedule
97
+
98
+ # SageMath parsed files
99
+ *.sage.py
100
+
101
+ # Environments
102
+ .env
103
+ .venv
104
+ env/
105
+ venv/
106
+ ENV/
107
+ env.bak/
108
+ venv.bak/
109
+
110
+ # Spyder project settings
111
+ .spyderproject
112
+ .spyproject
113
+
114
+ # Rope project settings
115
+ .ropeproject
116
+
117
+ # VSCode stuff
118
+ **/.vscode/*
119
+ *.code-workspace
120
+
121
+ # mkdocs documentation
122
+ /site
123
+
124
+ # mypy
125
+ .mypy_cache/
126
+
127
+ **/Matrices/
128
+
129
+ *.xz
130
+
131
+ *.gz
132
+
133
+ GTgraph/
134
+
135
+ log
136
+
137
+ tmp.txt
138
+
139
+ # MacOS directory structure meta
140
+ /**/.DS_Store
@@ -0,0 +1,296 @@
1
+ Dataset License
2
+ ===============
3
+
4
+ The FLPQ_Data dataset -- the graphs and grammars distributed from the
5
+ ``cfpq-data`` object-storage bucket and fetched via
6
+ ``flpq_data.dataset.graph_dir()`` into the machine-global cache (see
7
+ ``flpq_data.dataset.cache_root()``) -- is licensed under the Creative Commons
8
+ Attribution 4.0 International License (CC-BY 4.0).
9
+
10
+ The package source code, documentation, and tooling in this repository are
11
+ separately licensed under the Apache License 2.0; see ``LICENSE.txt``.
12
+
13
+ Attribution
14
+ -----------
15
+
16
+ The dataset is derived from a number of upstream sources (for example UniProt,
17
+ the Gene Ontology, W3C ontologies, the Protégé tutorial ontologies, the Dacapo
18
+ benchmark suite, and various open-source software projects). The per-graph
19
+ provenance and source attribution are documented in the project documentation
20
+ (the ``Source`` row of each graph's Info table). When you reuse or redistribute
21
+ the dataset, retain that attribution as required by Section 3 of the license
22
+ below.
23
+
24
+ Canonical URL: https://creativecommons.org/licenses/by/4.0/
25
+
26
+ ---------------------------------------------------------------------------
27
+
28
+ Attribution 4.0 International
29
+
30
+ Creative Commons Corporation ("Creative Commons") is not a law firm and does
31
+ not provide legal services or legal advice. Distribution of Creative Commons
32
+ public licenses does not create a lawyer-client relationship. Creative Commons
33
+ makes its licenses and related information available on an "AS IS" basis.
34
+ Creative Commons gives no warranties regarding its licenses, any material
35
+ licensed under their terms and conditions, or any related information. Creative
36
+ Commons disclaims all liability for damages resulting from their use to the
37
+ fullest extent possible.
38
+
39
+ Using Creative Commons Public Licenses
40
+
41
+ Creative Commons public licenses provide a standard set of terms and conditions
42
+ that creators and other rights holders may use to share original works of
43
+ authorship and other material subject to copyright and certain other rights
44
+ specified in the public license below. The following considerations are for
45
+ informational purposes only, are not exhaustive, and do not form part of our
46
+ licenses.
47
+
48
+ Considerations for licensors: Our public licenses are intended for use by those
49
+ authorized to give the public permission to use material in ways otherwise
50
+ restricted by copyright and certain other rights. Our licenses are irrevocable.
51
+ Licensors should read and understand the terms and conditions of the license
52
+ they choose before applying it. Licensors should also secure all rights
53
+ necessary before applying our licenses so that the public can reuse the
54
+ material as expected. Licensors should clearly mark any material not subject to
55
+ the license. This includes other CC-licensed material, or material used under an
56
+ exception or limitation to copyright. More considerations for licensors:
57
+ wiki.creativecommons.org/Considerations_for_licensors
58
+
59
+ Considerations for the public: By using one of our public licenses, a licensor
60
+ grants the public permission to use the licensed material under specified terms
61
+ and conditions. If the licensor's permission is not necessary for any reason--
62
+ for example, because of any applicable exception or limitation to copyright--
63
+ then that use is not regulated by the license. Our licenses grant only
64
+ permissions under copyright and certain other rights that a licensor has
65
+ authority to grant. Use of the licensed material may still be restricted for
66
+ other reasons, including because others have copyright or other rights in the
67
+ material. A licensor may make special requests, such as asking that all changes
68
+ be marked or described. Although not required by our licenses, you are
69
+ encouraged to respect those requests where reasonable. More considerations for
70
+ the public: wiki.creativecommons.org/Considerations_for_the_public
71
+
72
+ Attribution 4.0 International
73
+
74
+ By exercising the Licensed Rights (defined below), You accept and agree to be
75
+ bound by the terms and conditions of this Creative Commons Attribution 4.0
76
+ International Public License ("Public License"). To the extent this Public
77
+ License may be interpreted as a contract, You are granted the Licensed Rights in
78
+ consideration of Your acceptance of these terms and conditions, and the Licensor
79
+ grants You such rights in consideration of benefits the Licensor receives from
80
+ making the Licensed Material available under these terms and conditions.
81
+
82
+ Section 1 -- Definitions.
83
+
84
+ a. Adapted Material means material subject to Copyright and Similar Rights that
85
+ is derived from or based upon the Licensed Material and in which the
86
+ Licensed Material is translated, altered, arranged, transformed, or otherwise
87
+ modified in a manner requiring permission under the Copyright and Similar
88
+ Rights held by the Licensor. For purposes of this Public License, where the
89
+ Licensed Material is a musical work, performance, or sound recording,
90
+ Adapted Material is always produced where the Licensed Material is synched in
91
+ timed relation with a moving image.
92
+ b. Adapter's License means the license You apply to Your Copyright and Similar
93
+ Rights in Your contributions to Adapted Material in accordance with the terms
94
+ and conditions of this Public License.
95
+ c. Copyright and Similar Rights means copyright and/or similar rights closely
96
+ related to copyright including, without limitation, performance, broadcast,
97
+ sound recording, and Sui Generis Database Rights, without regard to how the
98
+ rights are labeled or categorized. For purposes of this Public License, the
99
+ rights specified in Section 2(b)(1)-(2) are not Copyright and Similar Rights.
100
+ d. Effective Technological Measures means those measures that, in the absence of
101
+ proper authority, may not be circumvented under laws fulfilling obligations
102
+ under Article 11 of the WIPO Copyright Treaty adopted on December 20, 1996,
103
+ and/or similar international agreements.
104
+ e. Exceptions and Limitations means fair use, fair dealing, and/or any other
105
+ exception or limitation to Copyright and Similar Rights that applies to Your
106
+ use of the Licensed Material.
107
+ f. Licensed Material means the artistic or literary work, database, or other
108
+ material to which the Licensor applied this Public License.
109
+ g. Licensed Rights means the rights granted to You subject to the terms and
110
+ conditions of this Public License, which are limited to all Copyright and
111
+ Similar Rights that apply to Your use of the Licensed Material and that the
112
+ Licensor has authority to license.
113
+ h. Licensor means the individual(s) or entity(ies) granting rights under this
114
+ Public License.
115
+ i. Share means to provide material to the public by any means or process that
116
+ requires permission under the Licensed Rights, such as reproduction, public
117
+ display, public performance, distribution, dissemination, communication, or
118
+ importation, and to make material available to the public including in ways
119
+ that members of the public may access the material from a place and at a time
120
+ individually chosen by them.
121
+ j. Sui Generis Database Rights means rights other than copyright resulting from
122
+ Directive 96/9/EC of the European Parliament and of the Council of 11 March
123
+ 1996 on the legal protection of databases, as amended and/or succeeded, as
124
+ well as other essentially equivalent rights anywhere in the world.
125
+ k. You means the individual or entity exercising the Licensed Rights under this
126
+ Public License. Your has a corresponding meaning.
127
+
128
+ Section 2 -- Scope.
129
+
130
+ a. License grant.
131
+ 1. Subject to the terms and conditions of this Public License, the Licensor
132
+ hereby grants You a worldwide, royalty-free, non-sublicensable,
133
+ non-exclusive, irrevocable license to exercise the Licensed Rights in the
134
+ Licensed Material to:
135
+ a. reproduce and Share the Licensed Material, in whole or in part; and
136
+ b. produce, reproduce, and Share Adapted Material.
137
+ 2. Exceptions and Limitations. For the avoidance of doubt, where Exceptions
138
+ and Limitations apply to Your use, this Public License does not apply, and
139
+ You do not need to comply with its terms and conditions.
140
+ 3. Term. The term of this Public License is specified in Section 6(a).
141
+ 4. Media and formats; technical modifications allowed. The Licensor authorizes
142
+ You to exercise the Licensed Rights in all media and formats whether now
143
+ known or hereafter created, and to make technical modifications necessary
144
+ to do so. The Licensor waives and/or agrees not to assert any right or
145
+ authority to forbid You from making technical modifications necessary to
146
+ exercise the Licensed Rights, including technical modifications necessary
147
+ to circumvent Effective Technological Measures. For purposes of this Public
148
+ License, simply making modifications authorized by this Section 2(a)(4)
149
+ never produces Adapted Material.
150
+ 5. Downstream recipients.
151
+ a. Offer from the Licensor -- Licensed Material. Every recipient of the
152
+ Licensed Material automatically receives an offer from the Licensor to
153
+ exercise the Licensed Rights under the terms and conditions of this
154
+ Public License.
155
+ b. No downstream restrictions. You may not offer or impose any additional
156
+ or different terms or conditions on, or apply any Effective
157
+ Technological Measures to, the Licensed Material if doing so restricts
158
+ exercise of the Licensed Rights by any recipient of the Licensed
159
+ Material.
160
+ 6. No endorsement. Nothing in this Public License constitutes or may be
161
+ construed as permission to assert or imply that You are, or that Your use
162
+ of the Licensed Material is, connected with, or sponsored, endorsed, or
163
+ granted official status by, the Licensor or others designated to receive
164
+ attribution as provided in Section 3(a)(1)(A)(i).
165
+
166
+ b. Other rights.
167
+ 1. Moral rights, such as the right of integrity, are not licensed under this
168
+ Public License, nor are publicity, privacy, and/or other similar
169
+ personality rights; however, to the extent possible, the Licensor waives
170
+ and/or agrees not to assert any such rights held by the Licensor to the
171
+ limited extent necessary to allow You to exercise the Licensed Rights, but
172
+ not otherwise.
173
+ 2. Patent and trademark rights are not licensed under this Public License.
174
+ 3. To the extent possible, the Licensor waives any right to collect royalties
175
+ from You for the exercise of the Licensed Rights, whether directly or
176
+ through a collecting society under any voluntary or waivable statutory or
177
+ compulsory licensing scheme. In all other cases the Licensor expressly
178
+ reserves any right to collect such royalties.
179
+
180
+ Section 3 -- License Conditions.
181
+
182
+ Your exercise of the Licensed Rights is expressly made subject to the following
183
+ conditions.
184
+
185
+ a. Attribution.
186
+ 1. If You Share the Licensed Material (including in modified form), You must:
187
+ a. retain the following if it is supplied by the Licensor with the
188
+ Licensed Material:
189
+ i. identification of the creator(s) of the Licensed Material and any
190
+ others designated to receive attribution, in any reasonable manner
191
+ requested by the Licensor (including by pseudonym if designated);
192
+ ii. a copyright notice;
193
+ iii. a notice that refers to this Public License;
194
+ iv. a notice that refers to the disclaimer of warranties; and
195
+ v. a URI or hyperlink to the Licensed Material to the extent reasonably
196
+ practicable;
197
+ b. indicate if You modified the Licensed Material and retain an indication
198
+ of any previous modifications; and
199
+ c. indicate the Licensed Material is licensed under this Public License,
200
+ and include the text of, or the URI or hyperlink to, this Public
201
+ License.
202
+ 2. You may satisfy the conditions in Section 3(a)(1) in any reasonable manner
203
+ based on the medium, means, and context in which You Share the Licensed
204
+ Material. For example, it may be reasonable to satisfy the conditions by
205
+ providing a URI or hyperlink to a resource that includes the required
206
+ information.
207
+ 3. If requested by the Licensor, You must remove any of the information
208
+ required by Section 3(a)(1)(A) to the extent reasonably practicable.
209
+ 4. If You Share Adapted Material You produce, the Adapter's License You apply
210
+ must not prevent recipients of the Adapted Material from complying with
211
+ this Public License.
212
+
213
+ Section 4 -- Sui Generis Database Rights.
214
+
215
+ Where the Licensed Rights include Sui Generis Database Rights that apply to Your
216
+ use of the Licensed Material:
217
+
218
+ a. for the avoidance of doubt, Section 2(a)(1) grants You the right to extract,
219
+ reuse, reproduce, and Share all or a substantial portion of the contents of
220
+ the database;
221
+ b. if You include all or a substantial portion of the database contents in a
222
+ database in which You have Sui Generis Database Rights, then the database in
223
+ which You have Sui Generis Database Rights (but not its individual contents)
224
+ is Adapted Material; and
225
+ c. You must comply with the conditions in Section 3(a) if You Share all or a
226
+ substantial portion of the contents of the database.
227
+
228
+ For the avoidance of doubt, this Section 4 supplements and does not replace Your
229
+ obligations under this Public License where the Licensed Rights include other
230
+ Copyright and Similar Rights.
231
+
232
+ Section 5 -- Disclaimer of Warranties and Limitation of Liability.
233
+
234
+ a. Unless otherwise separately undertaken by the Licensor, to the extent
235
+ possible, the Licensor offers the Licensed Material as-is and as-available,
236
+ and makes no representations or warranties of any kind concerning the
237
+ Licensed Material, whether express, implied, statutory, or other. This
238
+ includes, without limitation, warranties of title, merchantability, fitness
239
+ for a particular purpose, non-infringement, absence of latent or other
240
+ defects, accuracy, or the presence or absence of errors, whether or not known
241
+ or discoverable. Where disclaimers of warranties are not allowed in full or
242
+ in part, this disclaimer may not apply to You.
243
+ b. To the extent possible, in no event will the Licensor be liable to You on any
244
+ legal theory (including, without limitation, negligence) or otherwise for any
245
+ direct, special, indirect, incidental, consequential, punitive, exemplary, or
246
+ other losses, costs, expenses, or damages arising out of this Public License
247
+ or use of the Licensed Material, even if the Licensor has been advised of the
248
+ possibility of such losses, costs, expenses, or damages. Where a limitation
249
+ of liability is not allowed in full or in part, this limitation may not apply
250
+ to You.
251
+ c. The disclaimer of warranties and limitation of liability provided above shall
252
+ be interpreted in a manner that, to the extent possible, most closely
253
+ approximates an absolute disclaimer and waiver of all liability.
254
+
255
+ Section 6 -- Term and Termination.
256
+
257
+ a. This Public License applies for the term of the Copyright and Similar Rights
258
+ licensed here. However, if You fail to comply with this Public License, then
259
+ Your rights under this Public License terminate automatically.
260
+ b. Where Your right to use the Licensed Material has terminated under Section
261
+ 6(a), it reinstates:
262
+ 1. automatically as of the date the violation is cured, provided it is cured
263
+ within 30 days of Your discovery of the violation; or
264
+ 2. upon express reinstatement by the Licensor.
265
+ For the avoidance of doubt, this Section 6(b) does not affect any right the
266
+ Licensor may have to seek remedies for Your violations of this Public License.
267
+ c. For the avoidance of doubt, the Licensor may also offer the Licensed Material
268
+ under separate terms or conditions or stop distributing the Licensed Material
269
+ at any time; however, doing so will not terminate this Public License.
270
+ d. Sections 1, 5, 6, 7, and 8 survive termination of this Public License.
271
+
272
+ Section 7 -- Other Terms and Conditions.
273
+
274
+ a. The Licensor shall not be bound by any additional or different terms or
275
+ conditions communicated by You unless expressly agreed.
276
+ b. Any arrangements, understandings, or agreements regarding the Licensed
277
+ Material not stated herein are separate from and independent of the terms and
278
+ conditions of this Public License.
279
+
280
+ Section 8 -- Interpretation.
281
+
282
+ a. For the avoidance of doubt, this Public License does not, and shall not be
283
+ interpreted to, reduce, limit, restrict, or impose conditions on any use of
284
+ the Licensed Material that could lawfully be made without permission under
285
+ this Public License.
286
+ b. To the extent possible, if any provision of this Public License is deemed
287
+ unenforceable, it shall be automatically reformed to the minimum extent
288
+ necessary to make it enforceable. If the provision cannot be reformed, it
289
+ shall be severed from this Public License without affecting the enforceability
290
+ of the remaining terms and conditions.
291
+ c. No term or condition of this Public License will be waived and no failure to
292
+ comply consented to unless expressly agreed to by the Licensor.
293
+ d. Nothing in this Public License constitutes or may be interpreted as a
294
+ limitation upon, or waiver of, any privileges and immunities that apply to
295
+ the Licensor or You, including from the legal processes of any jurisdiction
296
+ or authority.
@@ -0,0 +1,208 @@
1
+ License
2
+ =======
3
+
4
+ FLPQ_Data is distributed with the Apache-2.0 License.
5
+
6
+ ::
7
+
8
+ Apache License
9
+ Version 2.0, January 2004
10
+ http://www.apache.org/licenses/
11
+
12
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
13
+
14
+ 1. Definitions.
15
+
16
+ "License" shall mean the terms and conditions for use, reproduction,
17
+ and distribution as defined by Sections 1 through 9 of this document.
18
+
19
+ "Licensor" shall mean the copyright owner or entity authorized by
20
+ the copyright owner that is granting the License.
21
+
22
+ "Legal Entity" shall mean the union of the acting entity and all
23
+ other entities that control, are controlled by, or are under common
24
+ control with that entity. For the purposes of this definition,
25
+ "control" means (i) the power, direct or indirect, to cause the
26
+ direction or management of such entity, whether by contract or
27
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
28
+ outstanding shares, or (iii) beneficial ownership of such entity.
29
+
30
+ "You" (or "Your") shall mean an individual or Legal Entity
31
+ exercising permissions granted by this License.
32
+
33
+ "Source" form shall mean the preferred form for making modifications,
34
+ including but not limited to software source code, documentation
35
+ source, and configuration files.
36
+
37
+ "Object" form shall mean any form resulting from mechanical
38
+ transformation or translation of a Source form, including but
39
+ not limited to compiled object code, generated documentation,
40
+ and conversions to other media types.
41
+
42
+ "Work" shall mean the work of authorship, whether in Source or
43
+ Object form, made available under the License, as indicated by a
44
+ copyright notice that is included in or attached to the work
45
+ (an example is provided in the Appendix below).
46
+
47
+ "Derivative Works" shall mean any work, whether in Source or Object
48
+ form, that is based on (or derived from) the Work and for which the
49
+ editorial revisions, annotations, elaborations, or other modifications
50
+ represent, as a whole, an original work of authorship. For the purposes
51
+ of this License, Derivative Works shall not include works that remain
52
+ separable from, or merely link (or bind by name) to the interfaces of,
53
+ the Work and Derivative Works thereof.
54
+
55
+ "Contribution" shall mean any work of authorship, including
56
+ the original version of the Work and any modifications or additions
57
+ to that Work or Derivative Works thereof, that is intentionally
58
+ submitted to Licensor for inclusion in the Work by the copyright owner
59
+ or by an individual or Legal Entity authorized to submit on behalf of
60
+ the copyright owner. For the purposes of this definition, "submitted"
61
+ means any form of electronic, verbal, or written communication sent
62
+ to the Licensor or its representatives, including but not limited to
63
+ communication on electronic mailing lists, source code control systems,
64
+ and issue tracking systems that are managed by, or on behalf of, the
65
+ Licensor for the purpose of discussing and improving the Work, but
66
+ excluding communication that is conspicuously marked or otherwise
67
+ designated in writing by the copyright owner as "Not a Contribution."
68
+
69
+ "Contributor" shall mean Licensor and any individual or Legal Entity
70
+ on behalf of whom a Contribution has been received by Licensor and
71
+ subsequently incorporated within the Work.
72
+
73
+ 2. Grant of Copyright License. Subject to the terms and conditions of
74
+ this License, each Contributor hereby grants to You a perpetual,
75
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
76
+ copyright license to reproduce, prepare Derivative Works of,
77
+ publicly display, publicly perform, sublicense, and distribute the
78
+ Work and such Derivative Works in Source or Object form.
79
+
80
+ 3. Grant of Patent License. Subject to the terms and conditions of
81
+ this License, each Contributor hereby grants to You a perpetual,
82
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
83
+ (except as stated in this section) patent license to make, have made,
84
+ use, offer to sell, sell, import, and otherwise transfer the Work,
85
+ where such license applies only to those patent claims licensable
86
+ by such Contributor that are necessarily infringed by their
87
+ Contribution(s) alone or by combination of their Contribution(s)
88
+ with the Work to which such Contribution(s) was submitted. If You
89
+ institute patent litigation against any entity (including a
90
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
91
+ or a Contribution incorporated within the Work constitutes direct
92
+ or contributory patent infringement, then any patent licenses
93
+ granted to You under this License for that Work shall terminate
94
+ as of the date such litigation is filed.
95
+
96
+ 4. Redistribution. You may reproduce and distribute copies of the
97
+ Work or Derivative Works thereof in any medium, with or without
98
+ modifications, and in Source or Object form, provided that You
99
+ meet the following conditions:
100
+
101
+ (a) You must give any other recipients of the Work or
102
+ Derivative Works a copy of this License; and
103
+
104
+ (b) You must cause any modified files to carry prominent notices
105
+ stating that You changed the files; and
106
+
107
+ (c) You must retain, in the Source form of any Derivative Works
108
+ that You distribute, all copyright, patent, trademark, and
109
+ attribution notices from the Source form of the Work,
110
+ excluding those notices that do not pertain to any part of
111
+ the Derivative Works; and
112
+
113
+ (d) If the Work includes a "NOTICE" text file as part of its
114
+ distribution, then any Derivative Works that You distribute must
115
+ include a readable copy of the attribution notices contained
116
+ within such NOTICE file, excluding those notices that do not
117
+ pertain to any part of the Derivative Works, in at least one
118
+ of the following places: within a NOTICE text file distributed
119
+ as part of the Derivative Works; within the Source form or
120
+ documentation, if provided along with the Derivative Works; or,
121
+ within a display generated by the Derivative Works, if and
122
+ wherever such third-party notices normally appear. The contents
123
+ of the NOTICE file are for informational purposes only and
124
+ do not modify the License. You may add Your own attribution
125
+ notices within Derivative Works that You distribute, alongside
126
+ or as an addendum to the NOTICE text from the Work, provided
127
+ that such additional attribution notices cannot be construed
128
+ as modifying the License.
129
+
130
+ You may add Your own copyright statement to Your modifications and
131
+ may provide additional or different license terms and conditions
132
+ for use, reproduction, or distribution of Your modifications, or
133
+ for any such Derivative Works as a whole, provided Your use,
134
+ reproduction, and distribution of the Work otherwise complies with
135
+ the conditions stated in this License.
136
+
137
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
138
+ any Contribution intentionally submitted for inclusion in the Work
139
+ by You to the Licensor shall be under the terms and conditions of
140
+ this License, without any additional terms or conditions.
141
+ Notwithstanding the above, nothing herein shall supersede or modify
142
+ the terms of any separate license agreement you may have executed
143
+ with Licensor regarding such Contributions.
144
+
145
+ 6. Trademarks. This License does not grant permission to use the trade
146
+ names, trademarks, service marks, or product names of the Licensor,
147
+ except as required for reasonable and customary use in describing the
148
+ origin of the Work and reproducing the content of the NOTICE file.
149
+
150
+ 7. Disclaimer of Warranty. Unless required by applicable law or
151
+ agreed to in writing, Licensor provides the Work (and each
152
+ Contributor provides its Contributions) on an "AS IS" BASIS,
153
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
154
+ implied, including, without limitation, any warranties or conditions
155
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
156
+ PARTICULAR PURPOSE. You are solely responsible for determining the
157
+ appropriateness of using or redistributing the Work and assume any
158
+ risks associated with Your exercise of permissions under this License.
159
+
160
+ 8. Limitation of Liability. In no event and under no legal theory,
161
+ whether in tort (including negligence), contract, or otherwise,
162
+ unless required by applicable law (such as deliberate and grossly
163
+ negligent acts) or agreed to in writing, shall any Contributor be
164
+ liable to You for damages, including any direct, indirect, special,
165
+ incidental, or consequential damages of any character arising as a
166
+ result of this License or out of the use or inability to use the
167
+ Work (including but not limited to damages for loss of goodwill,
168
+ work stoppage, computer failure or malfunction, or any and all
169
+ other commercial damages or losses), even if such Contributor
170
+ has been advised of the possibility of such damages.
171
+
172
+ 9. Accepting Warranty or Additional Liability. While redistributing
173
+ the Work or Derivative Works thereof, You may choose to offer,
174
+ and charge a fee for, acceptance of support, warranty, indemnity,
175
+ or other liability obligations and/or rights consistent with this
176
+ License. However, in accepting such obligations, You may act only
177
+ on Your own behalf and on Your sole responsibility, not on behalf
178
+ of any other Contributor, and only if You agree to indemnify,
179
+ defend, and hold each Contributor harmless for any liability
180
+ incurred by, or claims asserted against, such Contributor by reason
181
+ of your accepting any such warranty or additional liability.
182
+
183
+ END OF TERMS AND CONDITIONS
184
+
185
+ APPENDIX: How to apply the Apache License to your work.
186
+
187
+ To apply the Apache License to your work, attach the following
188
+ boilerplate notice, with the fields enclosed by brackets "[]"
189
+ replaced with your own identifying information. (Don't include
190
+ the brackets!) The text should be enclosed in the appropriate
191
+ comment syntax for the file format. We also recommend that a
192
+ file or class name and description of purpose be included on the
193
+ same "printed page" as the copyright notice for easier
194
+ identification within third-party archives.
195
+
196
+ Copyright [2021] [Vadim Abzalov]
197
+
198
+ Licensed under the Apache License, Version 2.0 (the "License");
199
+ you may not use this file except in compliance with the License.
200
+ You may obtain a copy of the License at
201
+
202
+ http://www.apache.org/licenses/LICENSE-2.0
203
+
204
+ Unless required by applicable law or agreed to in writing, software
205
+ distributed under the License is distributed on an "AS IS" BASIS,
206
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
207
+ See the License for the specific language governing permissions and
208
+ limitations under the License.