heurist-api 0.1.2__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of heurist-api might be problematic. Click here for more details.

Files changed (80) hide show
  1. heurist/__init__.py +1 -0
  2. heurist/api/__init__.py +0 -0
  3. heurist/api/client.py +122 -0
  4. heurist/api/connection.py +71 -0
  5. heurist/api/constants.py +19 -0
  6. heurist/api/credentials.py +71 -0
  7. heurist/api/exceptions.py +45 -0
  8. heurist/api/url_builder.py +148 -0
  9. heurist/api/utils.py +24 -0
  10. heurist/cli/__init__.py +0 -0
  11. heurist/cli/__main__.py +227 -0
  12. heurist/cli/load.py +55 -0
  13. heurist/cli/records.py +49 -0
  14. heurist/cli/schema.py +94 -0
  15. heurist/database/__init__.py +3 -0
  16. heurist/database/basedb.py +125 -0
  17. heurist/database/database.py +96 -0
  18. heurist/models/__init__.py +0 -0
  19. heurist/models/dynamic/__init__.py +3 -0
  20. heurist/models/dynamic/annotation.py +143 -0
  21. heurist/models/dynamic/create_model.py +82 -0
  22. heurist/models/dynamic/date.py +61 -0
  23. heurist/models/dynamic/type.py +96 -0
  24. heurist/models/structural/DetailTypes.py +34 -0
  25. heurist/models/structural/RecStructure.py +27 -0
  26. heurist/models/structural/RecTypeGroups.py +27 -0
  27. heurist/models/structural/RecTypes.py +27 -0
  28. heurist/models/structural/Terms.py +27 -0
  29. heurist/models/structural/__init__.py +19 -0
  30. heurist/models/structural/dty.py +121 -0
  31. heurist/models/structural/hml_structure.py +36 -0
  32. heurist/models/structural/rst.py +141 -0
  33. heurist/models/structural/rtg.py +25 -0
  34. heurist/models/structural/rty.py +81 -0
  35. heurist/models/structural/trm.py +34 -0
  36. heurist/models/structural/utils.py +53 -0
  37. heurist/schema/__init__.py +27 -0
  38. heurist/schema/models.py +70 -0
  39. heurist/schema/rel_to_dict.py +39 -0
  40. heurist/sql/__init__.py +21 -0
  41. heurist/sql/joinRecordTypeIDNameByGroupType.sql +10 -0
  42. heurist/sql/joinRecordTypeMetadata.sql +17 -0
  43. heurist/sql/selectRecordTypeSchema.sql +51 -0
  44. heurist/sql/sql_safety.py +101 -0
  45. heurist/utils/constants.py +1 -0
  46. heurist/utils/rel_to_dict_array.py +8 -0
  47. heurist/validators/__init__.py +3 -0
  48. heurist/validators/detail_validator.py +142 -0
  49. heurist/validators/exceptions.py +34 -0
  50. heurist/validators/parse_heurist_date.py +71 -0
  51. heurist/validators/record_validator.py +156 -0
  52. heurist/workflows/__init__.py +3 -0
  53. heurist/workflows/etl.py +66 -0
  54. heurist_api-0.1.2.dist-info/METADATA +453 -0
  55. heurist_api-0.1.2.dist-info/RECORD +80 -0
  56. heurist_api-0.1.2.dist-info/WHEEL +4 -0
  57. heurist_api-0.1.2.dist-info/entry_points.txt +2 -0
  58. heurist_api-0.1.2.dist-info/licenses/LICENSE +427 -0
  59. mock_data/__init__.py +22 -0
  60. mock_data/blocktext/__init__.py +0 -0
  61. mock_data/blocktext/single.py +7 -0
  62. mock_data/date/__init__.py +0 -0
  63. mock_data/date/compound_repeated.py +44 -0
  64. mock_data/date/compound_single.py +30 -0
  65. mock_data/date/simple_single.py +16 -0
  66. mock_data/date/timestamp_repeated.py +30 -0
  67. mock_data/enum/__init__.py +0 -0
  68. mock_data/enum/repeated.py +29 -0
  69. mock_data/enum/single.py +18 -0
  70. mock_data/file/__init__.py +0 -0
  71. mock_data/file/single.py +28 -0
  72. mock_data/float/__init__.py +0 -0
  73. mock_data/float/single.py +8 -0
  74. mock_data/freetext/__init__.py +0 -0
  75. mock_data/freetext/single.py +16 -0
  76. mock_data/geo/__init__.py +0 -0
  77. mock_data/geo/single.py +22 -0
  78. mock_data/resource/__init__.py +0 -0
  79. mock_data/resource/repeated.py +35 -0
  80. mock_data/resource/single.py +16 -0
@@ -0,0 +1,453 @@
1
+ Metadata-Version: 2.4
2
+ Name: heurist-api
3
+ Version: 0.1.2
4
+ Dynamic: Description
5
+ Dynamic: Description-Content-Type
6
+ Summary: API wrapper and CLI for Heurist database.
7
+ Project-URL: Homepage, https://lostma-erc.github.io/heurist-api/
8
+ Project-URL: Documentation, https://lostma-erc.github.io/heurist-api/
9
+ Project-URL: Repository, https://github.com/LostMa-ERC/heurist-api
10
+ Project-URL: Issues, https://github.com/LostMa-ERC/heurist-api/issues
11
+ Author-email: Kelly Christensen <kelly.christensen@chartes.psl.eu>
12
+ License: Attribution-ShareAlike 4.0 International
13
+
14
+ =======================================================================
15
+
16
+ Creative Commons Corporation ("Creative Commons") is not a law firm and
17
+ does not provide legal services or legal advice. Distribution of
18
+ Creative Commons public licenses does not create a lawyer-client or
19
+ other relationship. Creative Commons makes its licenses and related
20
+ information available on an "as-is" basis. Creative Commons gives no
21
+ warranties regarding its licenses, any material licensed under their
22
+ terms and conditions, or any related information. Creative Commons
23
+ disclaims all liability for damages resulting from their use to the
24
+ fullest extent possible.
25
+
26
+ Using Creative Commons Public Licenses
27
+
28
+ Creative Commons public licenses provide a standard set of terms and
29
+ conditions that creators and other rights holders may use to share
30
+ original works of authorship and other material subject to copyright
31
+ and certain other rights specified in the public license below. The
32
+ following considerations are for informational purposes only, are not
33
+ exhaustive, and do not form part of our licenses.
34
+
35
+ Considerations for licensors: Our public licenses are
36
+ intended for use by those authorized to give the public
37
+ permission to use material in ways otherwise restricted by
38
+ copyright and certain other rights. Our licenses are
39
+ irrevocable. Licensors should read and understand the terms
40
+ and conditions of the license they choose before applying it.
41
+ Licensors should also secure all rights necessary before
42
+ applying our licenses so that the public can reuse the
43
+ material as expected. Licensors should clearly mark any
44
+ material not subject to the license. This includes other CC-
45
+ licensed material, or material used under an exception or
46
+ limitation to copyright. More considerations for licensors:
47
+ wiki.creativecommons.org/Considerations_for_licensors
48
+
49
+ Considerations for the public: By using one of our public
50
+ licenses, a licensor grants the public permission to use the
51
+ licensed material under specified terms and conditions. If
52
+ the licensor's permission is not necessary for any reason--for
53
+ example, because of any applicable exception or limitation to
54
+ copyright--then that use is not regulated by the license. Our
55
+ licenses grant only permissions under copyright and certain
56
+ other rights that a licensor has authority to grant. Use of
57
+ the licensed material may still be restricted for other
58
+ reasons, including because others have copyright or other
59
+ rights in the material. A licensor may make special requests,
60
+ such as asking that all changes be marked or described.
61
+ Although not required by our licenses, you are encouraged to
62
+ respect those requests where reasonable. More considerations
63
+ for the public:
64
+ wiki.creativecommons.org/Considerations_for_licensees
65
+
66
+ =======================================================================
67
+
68
+ Creative Commons Attribution-ShareAlike 4.0 International Public
69
+ License
70
+
71
+ By exercising the Licensed Rights (defined below), You accept and agree
72
+ to be bound by the terms and conditions of this Creative Commons
73
+ Attribution-ShareAlike 4.0 International Public License ("Public
74
+ License"). To the extent this Public License may be interpreted as a
75
+ contract, You are granted the Licensed Rights in consideration of Your
76
+ acceptance of these terms and conditions, and the Licensor grants You
77
+ such rights in consideration of benefits the Licensor receives from
78
+ making the Licensed Material available under these terms and
79
+ conditions.
80
+
81
+
82
+ Section 1 -- Definitions.
83
+
84
+ a. Adapted Material means material subject to Copyright and Similar
85
+ Rights that is derived from or based upon the Licensed Material
86
+ and in which the Licensed Material is translated, altered,
87
+ arranged, transformed, or otherwise modified in a manner requiring
88
+ permission under the Copyright and Similar Rights held by the
89
+ Licensor. For purposes of this Public License, where the Licensed
90
+ Material is a musical work, performance, or sound recording,
91
+ Adapted Material is always produced where the Licensed Material is
92
+ synched in timed relation with a moving image.
93
+
94
+ b. Adapter's License means the license You apply to Your Copyright
95
+ and Similar Rights in Your contributions to Adapted Material in
96
+ accordance with the terms and conditions of this Public License.
97
+
98
+ c. BY-SA Compatible License means a license listed at
99
+ creativecommons.org/compatiblelicenses, approved by Creative
100
+ Commons as essentially the equivalent of this Public License.
101
+
102
+ d. Copyright and Similar Rights means copyright and/or similar rights
103
+ closely related to copyright including, without limitation,
104
+ performance, broadcast, sound recording, and Sui Generis Database
105
+ Rights, without regard to how the rights are labeled or
106
+ categorized. For purposes of this Public License, the rights
107
+ specified in Section 2(b)(1)-(2) are not Copyright and Similar
108
+ Rights.
109
+
110
+ e. Effective Technological Measures means those measures that, in the
111
+ absence of proper authority, may not be circumvented under laws
112
+ fulfilling obligations under Article 11 of the WIPO Copyright
113
+ Treaty adopted on December 20, 1996, and/or similar international
114
+ agreements.
115
+
116
+ f. Exceptions and Limitations means fair use, fair dealing, and/or
117
+ any other exception or limitation to Copyright and Similar Rights
118
+ that applies to Your use of the Licensed Material.
119
+
120
+ g. License Elements means the license attributes listed in the name
121
+ of a Creative Commons Public License. The License Elements of this
122
+ Public License are Attribution and ShareAlike.
123
+
124
+ h. Licensed Material means the artistic or literary work, database,
125
+ or other material to which the Licensor applied this Public
126
+ License.
127
+
128
+ i. Licensed Rights means the rights granted to You subject to the
129
+ terms and conditions of this Public License, which are limited to
130
+ all Copyright and Similar Rights that apply to Your use of the
131
+ Licensed Material and that the Licensor has authority to license.
132
+
133
+ j. Licensor means the individual(s) or entity(ies) granting rights
134
+ under this Public License.
135
+
136
+ k. Share means to provide material to the public by any means or
137
+ process that requires permission under the Licensed Rights, such
138
+ as reproduction, public display, public performance, distribution,
139
+ dissemination, communication, or importation, and to make material
140
+ available to the public including in ways that members of the
141
+ public may access the material from a place and at a time
142
+ individually chosen by them.
143
+
144
+ l. Sui Generis Database Rights means rights other than copyright
145
+ resulting from Directive 96/9/EC of the European Parliament and of
146
+ the Council of 11 March 1996 on the legal protection of databases,
147
+ as amended and/or succeeded, as well as other essentially
148
+ equivalent rights anywhere in the world.
149
+
150
+ m. You means the individual or entity exercising the Licensed Rights
151
+ under this Public License. Your has a corresponding meaning.
152
+
153
+
154
+ Section 2 -- Scope.
155
+
156
+ a. License grant.
157
+
158
+ 1. Subject to the terms and conditions of this Public License,
159
+ the Licensor hereby grants You a worldwide, royalty-free,
160
+ non-sublicensable, non-exclusive, irrevocable license to
161
+ exercise the Licensed Rights in the Licensed Material to:
162
+
163
+ a. reproduce and Share the Licensed Material, in whole or
164
+ in part; and
165
+
166
+ b. produce, reproduce, and Share Adapted Material.
167
+
168
+ 2. Exceptions and Limitations. For the avoidance of doubt, where
169
+ Exceptions and Limitations apply to Your use, this Public
170
+ License does not apply, and You do not need to comply with
171
+ its terms and conditions.
172
+
173
+ 3. Term. The term of this Public License is specified in Section
174
+ 6(a).
175
+
176
+ 4. Media and formats; technical modifications allowed. The
177
+ Licensor authorizes You to exercise the Licensed Rights in
178
+ all media and formats whether now known or hereafter created,
179
+ and to make technical modifications necessary to do so. The
180
+ Licensor waives and/or agrees not to assert any right or
181
+ authority to forbid You from making technical modifications
182
+ necessary to exercise the Licensed Rights, including
183
+ technical modifications necessary to circumvent Effective
184
+ Technological Measures. For purposes of this Public License,
185
+ simply making modifications authorized by this Section 2(a)
186
+ (4) never produces Adapted Material.
187
+
188
+ 5. Downstream recipients.
189
+
190
+ a. Offer from the Licensor -- Licensed Material. Every
191
+ recipient of the Licensed Material automatically
192
+ receives an offer from the Licensor to exercise the
193
+ Licensed Rights under the terms and conditions of this
194
+ Public License.
195
+
196
+ b. Additional offer from the Licensor -- Adapted Material.
197
+ Every recipient of Adapted Material from You
198
+ automatically receives an offer from the Licensor to
199
+ exercise the Licensed Rights in the Adapted Material
200
+ under the conditions of the Adapter's License You apply.
201
+
202
+ c. No downstream restrictions. You may not offer or impose
203
+ any additional or different terms or conditions on, or
204
+ apply any Effective Technological Measures to, the
205
+ Licensed Material if doing so restricts exercise of the
206
+ Licensed Rights by any recipient of the Licensed
207
+ Material.
208
+
209
+ 6. No endorsement. Nothing in this Public License constitutes or
210
+ may be construed as permission to assert or imply that You
211
+ are, or that Your use of the Licensed Material is, connected
212
+ with, or sponsored, endorsed, or granted official status by,
213
+ the Licensor or others designated to receive attribution as
214
+ provided in Section 3(a)(1)(A)(i).
215
+
216
+ b. Other rights.
217
+
218
+ 1. Moral rights, such as the right of integrity, are not
219
+ licensed under this Public License, nor are publicity,
220
+ privacy, and/or other similar personality rights; however, to
221
+ the extent possible, the Licensor waives and/or agrees not to
222
+ assert any such rights held by the Licensor to the limited
223
+ extent necessary to allow You to exercise the Licensed
224
+ Rights, but not otherwise.
225
+
226
+ 2. Patent and trademark rights are not licensed under this
227
+ Public License.
228
+
229
+ 3. To the extent possible, the Licensor waives any right to
230
+ collect royalties from You for the exercise of the Licensed
231
+ Rights, whether directly or through a collecting society
232
+ under any voluntary or waivable statutory or compulsory
233
+ licensing scheme. In all other cases the Licensor expressly
234
+ reserves any right to collect such royalties.
235
+
236
+
237
+ Section 3 -- License Conditions.
238
+
239
+ Your exercise of the Licensed Rights is expressly made subject to the
240
+ following conditions.
241
+
242
+ a. Attribution.
243
+
244
+ 1. If You Share the Licensed Material (including in modified
245
+ form), You must:
246
+
247
+ a. retain the following if it is supplied by the Licensor
248
+ with the Licensed Material:
249
+
250
+ i. identification of the creator(s) of the Licensed
251
+ Material and any others designated to receive
252
+ attribution, in any reasonable manner requested by
253
+ the Licensor (including by pseudonym if
254
+ designated);
255
+
256
+ ii. a copyright notice;
257
+
258
+ iii. a notice that refers to this Public License;
259
+
260
+ iv. a notice that refers to the disclaimer of
261
+ warranties;
262
+
263
+ v. a URI or hyperlink to the Licensed Material to the
264
+ extent reasonably practicable;
265
+
266
+ b. indicate if You modified the Licensed Material and
267
+ retain an indication of any previous modifications; and
268
+
269
+ c. indicate the Licensed Material is licensed under this
270
+ Public License, and include the text of, or the URI or
271
+ hyperlink to, this Public License.
272
+
273
+ 2. You may satisfy the conditions in Section 3(a)(1) in any
274
+ reasonable manner based on the medium, means, and context in
275
+ which You Share the Licensed Material. For example, it may be
276
+ reasonable to satisfy the conditions by providing a URI or
277
+ hyperlink to a resource that includes the required
278
+ information.
279
+
280
+ 3. If requested by the Licensor, You must remove any of the
281
+ information required by Section 3(a)(1)(A) to the extent
282
+ reasonably practicable.
283
+
284
+ b. ShareAlike.
285
+
286
+ In addition to the conditions in Section 3(a), if You Share
287
+ Adapted Material You produce, the following conditions also apply.
288
+
289
+ 1. The Adapter's License You apply must be a Creative Commons
290
+ license with the same License Elements, this version or
291
+ later, or a BY-SA Compatible License.
292
+
293
+ 2. You must include the text of, or the URI or hyperlink to, the
294
+ Adapter's License You apply. You may satisfy this condition
295
+ in any reasonable manner based on the medium, means, and
296
+ context in which You Share Adapted Material.
297
+
298
+ 3. You may not offer or impose any additional or different terms
299
+ or conditions on, or apply any Effective Technological
300
+ Measures to, Adapted Material that restrict exercise of the
301
+ rights granted under the Adapter's License You apply.
302
+
303
+
304
+ Section 4 -- Sui Generis Database Rights.
305
+
306
+ Where the Licensed Rights include Sui Generis Database Rights that
307
+ apply to Your use of the Licensed Material:
308
+
309
+ a. for the avoidance of doubt, Section 2(a)(1) grants You the right
310
+ to extract, reuse, reproduce, and Share all or a substantial
311
+ portion of the contents of the database;
312
+
313
+ b. if You include all or a substantial portion of the database
314
+ contents in a database in which You have Sui Generis Database
315
+ Rights, then the database in which You have Sui Generis Database
316
+ Rights (but not its individual contents) is Adapted Material,
317
+ including for purposes of Section 3(b); and
318
+
319
+ c. You must comply with the conditions in Section 3(a) if You Share
320
+ all or a substantial portion of the contents of the database.
321
+
322
+ For the avoidance of doubt, this Section 4 supplements and does not
323
+ replace Your obligations under this Public License where the Licensed
324
+ Rights include other Copyright and Similar Rights.
325
+
326
+
327
+ Section 5 -- Disclaimer of Warranties and Limitation of Liability.
328
+
329
+ a. UNLESS OTHERWISE SEPARATELY UNDERTAKEN BY THE LICENSOR, TO THE
330
+ EXTENT POSSIBLE, THE LICENSOR OFFERS THE LICENSED MATERIAL AS-IS
331
+ AND AS-AVAILABLE, AND MAKES NO REPRESENTATIONS OR WARRANTIES OF
332
+ ANY KIND CONCERNING THE LICENSED MATERIAL, WHETHER EXPRESS,
333
+ IMPLIED, STATUTORY, OR OTHER. THIS INCLUDES, WITHOUT LIMITATION,
334
+ WARRANTIES OF TITLE, MERCHANTABILITY, FITNESS FOR A PARTICULAR
335
+ PURPOSE, NON-INFRINGEMENT, ABSENCE OF LATENT OR OTHER DEFECTS,
336
+ ACCURACY, OR THE PRESENCE OR ABSENCE OF ERRORS, WHETHER OR NOT
337
+ KNOWN OR DISCOVERABLE. WHERE DISCLAIMERS OF WARRANTIES ARE NOT
338
+ ALLOWED IN FULL OR IN PART, THIS DISCLAIMER MAY NOT APPLY TO YOU.
339
+
340
+ b. TO THE EXTENT POSSIBLE, IN NO EVENT WILL THE LICENSOR BE LIABLE
341
+ TO YOU ON ANY LEGAL THEORY (INCLUDING, WITHOUT LIMITATION,
342
+ NEGLIGENCE) OR OTHERWISE FOR ANY DIRECT, SPECIAL, INDIRECT,
343
+ INCIDENTAL, CONSEQUENTIAL, PUNITIVE, EXEMPLARY, OR OTHER LOSSES,
344
+ COSTS, EXPENSES, OR DAMAGES ARISING OUT OF THIS PUBLIC LICENSE OR
345
+ USE OF THE LICENSED MATERIAL, EVEN IF THE LICENSOR HAS BEEN
346
+ ADVISED OF THE POSSIBILITY OF SUCH LOSSES, COSTS, EXPENSES, OR
347
+ DAMAGES. WHERE A LIMITATION OF LIABILITY IS NOT ALLOWED IN FULL OR
348
+ IN PART, THIS LIMITATION MAY NOT APPLY TO YOU.
349
+
350
+ c. The disclaimer of warranties and limitation of liability provided
351
+ above shall be interpreted in a manner that, to the extent
352
+ possible, most closely approximates an absolute disclaimer and
353
+ waiver of all liability.
354
+
355
+
356
+ Section 6 -- Term and Termination.
357
+
358
+ a. This Public License applies for the term of the Copyright and
359
+ Similar Rights licensed here. However, if You fail to comply with
360
+ this Public License, then Your rights under this Public License
361
+ terminate automatically.
362
+
363
+ b. Where Your right to use the Licensed Material has terminated under
364
+ Section 6(a), it reinstates:
365
+
366
+ 1. automatically as of the date the violation is cured, provided
367
+ it is cured within 30 days of Your discovery of the
368
+ violation; or
369
+
370
+ 2. upon express reinstatement by the Licensor.
371
+
372
+ For the avoidance of doubt, this Section 6(b) does not affect any
373
+ right the Licensor may have to seek remedies for Your violations
374
+ of this Public License.
375
+
376
+ c. For the avoidance of doubt, the Licensor may also offer the
377
+ Licensed Material under separate terms or conditions or stop
378
+ distributing the Licensed Material at any time; however, doing so
379
+ will not terminate this Public License.
380
+
381
+ d. Sections 1, 5, 6, 7, and 8 survive termination of this Public
382
+ License.
383
+
384
+
385
+ Section 7 -- Other Terms and Conditions.
386
+
387
+ a. The Licensor shall not be bound by any additional or different
388
+ terms or conditions communicated by You unless expressly agreed.
389
+
390
+ b. Any arrangements, understandings, or agreements regarding the
391
+ Licensed Material not stated herein are separate from and
392
+ independent of the terms and conditions of this Public License.
393
+
394
+
395
+ Section 8 -- Interpretation.
396
+
397
+ a. For the avoidance of doubt, this Public License does not, and
398
+ shall not be interpreted to, reduce, limit, restrict, or impose
399
+ conditions on any use of the Licensed Material that could lawfully
400
+ be made without permission under this Public License.
401
+
402
+ b. To the extent possible, if any provision of this Public License is
403
+ deemed unenforceable, it shall be automatically reformed to the
404
+ minimum extent necessary to make it enforceable. If the provision
405
+ cannot be reformed, it shall be severed from this Public License
406
+ without affecting the enforceability of the remaining terms and
407
+ conditions.
408
+
409
+ c. No term or condition of this Public License will be waived and no
410
+ failure to comply consented to unless expressly agreed to by the
411
+ Licensor.
412
+
413
+ d. Nothing in this Public License constitutes or may be interpreted
414
+ as a limitation upon, or waiver of, any privileges and immunities
415
+ that apply to the Licensor or You, including from the legal
416
+ processes of any jurisdiction or authority.
417
+
418
+
419
+ =======================================================================
420
+
421
+ Creative Commons is not a party to its public
422
+ licenses. Notwithstanding, Creative Commons may elect to apply one of
423
+ its public licenses to material it publishes and in those instances
424
+ will be considered the “Licensor.” The text of the Creative Commons
425
+ public licenses is dedicated to the public domain under the CC0 Public
426
+ Domain Dedication. Except for the limited purpose of indicating that
427
+ material is shared under a Creative Commons public license or as
428
+ otherwise permitted by the Creative Commons policies published at
429
+ creativecommons.org/policies, Creative Commons does not authorize the
430
+ use of the trademark "Creative Commons" or any other trademark or logo
431
+ of Creative Commons without its prior written consent including,
432
+ without limitation, in connection with any unauthorized modifications
433
+ to any of its public licenses or any other arrangements,
434
+ understandings, or agreements concerning use of licensed material. For
435
+ the avoidance of doubt, this paragraph does not form part of the
436
+ public licenses.
437
+
438
+ Creative Commons may be contacted at creativecommons.org.
439
+ License-File: LICENSE
440
+ Keywords: duckdb,etl
441
+ Requires-Python: >=3.10
442
+ Requires-Dist: click>=8.2.0
443
+ Requires-Dist: duckdb>=1.2.2
444
+ Requires-Dist: lxml>=5.4.0
445
+ Requires-Dist: pandas>=2.2.3
446
+ Requires-Dist: polars>=1.29.0
447
+ Requires-Dist: pyarrow>=20.0.0
448
+ Requires-Dist: pydantic-xml>=2.16.0
449
+ Requires-Dist: pydantic>=2.11.4
450
+ Requires-Dist: python-dotenv>=1.1.0
451
+ Requires-Dist: requests>=2.32.3
452
+ Requires-Dist: rich>=14.0.0
453
+ Requires-Dist: tenacity>=9.1.2
@@ -0,0 +1,80 @@
1
+ heurist/__init__.py,sha256=f_EIkod5Hk33nyVz_YuDi166QN9stLuxBW4s93IJnCc,29
2
+ heurist/api/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
3
+ heurist/api/client.py,sha256=62EaO26YKP7g2dHunG_7TOOVdbb9zBSzPhZXfG1BvCg,4133
4
+ heurist/api/connection.py,sha256=igCZikSr0V8-nsRp-mol9h4dnGt65gzqAKGOAf0JYi4,2233
5
+ heurist/api/constants.py,sha256=TKAf67sYgUFFbkYi6oO7LVIJkUvD6jZz4aebHjpFlq4,466
6
+ heurist/api/credentials.py,sha256=rDAS08JV_rTNE5pjJslTvwVuMwjsgDeILCx_KA4qpcM,2013
7
+ heurist/api/exceptions.py,sha256=1hHOPRD4C0ciXKN_qwKaH6fKoLehipf8s0sVQTqPSZQ,1385
8
+ heurist/api/url_builder.py,sha256=mT1hgZ-T38EPyHCSLfjFecbZVLsiPi18jemDuuMj21I,4989
9
+ heurist/api/utils.py,sha256=DT-BrdF7O2lmFSduRYOecx302dAlLWQTYgr2V9JoDYI,643
10
+ heurist/cli/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
11
+ heurist/cli/__main__.py,sha256=QG2gJG7zD3YIDRqbIp2MzTqPxqGLZ77RHCRYZ58SSjg,5975
12
+ heurist/cli/load.py,sha256=kU8nTSJMl6ynz6FguhE_xdqJwQFijjsRerQGRtWil5s,1903
13
+ heurist/cli/records.py,sha256=yKK3XIZrU1szo6X-HmGjZpD0IKk3a3rd3Kkyrg5AYGE,1345
14
+ heurist/cli/schema.py,sha256=Dg8NcSdI7Xb6r-dkUC_razXlZNtxSG0x7awsr1m8Mcw,2766
15
+ heurist/database/__init__.py,sha256=JvQCGCi84AXUSIPCu4cTOqT_yZGDLmZFAUdsHDLbpKI,79
16
+ heurist/database/basedb.py,sha256=0MKfQOKTBDCc6qcl8BGl5OIpSA7SYgmfcKXCBVWBPes,4200
17
+ heurist/database/database.py,sha256=SDWONBFhuv2iH1OwHnHtGLkcWXgxny9bF16EiPcPR_E,3987
18
+ heurist/models/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
19
+ heurist/models/dynamic/__init__.py,sha256=dFUNGMugaOAkec6uhDxkUVrmGkR5dr1fTd8X_TprRyU,77
20
+ heurist/models/dynamic/annotation.py,sha256=FOkldKT5u2XWBk7DxXbrgRf8X_G3N5FEfr-rOTLq-Eg,4749
21
+ heurist/models/dynamic/create_model.py,sha256=U1jbbnaL_JMFpOWefHedEQDWSPgP52KtwiheKD3bTIk,2719
22
+ heurist/models/dynamic/date.py,sha256=Q-6QEKEzgRfQqBHpwgPPYJnUNX8r_gdQdXjp571A6lU,2078
23
+ heurist/models/dynamic/type.py,sha256=5c0LiZdSndME6Hzjo5VzBgmybTDvSE57EC43GfKN73E,2372
24
+ heurist/models/structural/DetailTypes.py,sha256=cnUCDS_dS1HQquwlP3mLyuzbedNZAcjt47Ax1BuoaHQ,1090
25
+ heurist/models/structural/RecStructure.py,sha256=5jhmFwKK7dMGgFdhzTIUGWN7oc1JblDrACqfsSDjd1c,797
26
+ heurist/models/structural/RecTypeGroups.py,sha256=npByfxZUxXkok9BgFr7HJ8b5i6A7UoaoX2bCJeJWN9s,791
27
+ heurist/models/structural/RecTypes.py,sha256=0WVmvkbmdiJMuZCesA75Id0mPqxInaXzaYkrdfHwINA,769
28
+ heurist/models/structural/Terms.py,sha256=NfL6nQzXt4LJac6XN_gmhvk_FnnEH-EsqdOHd_XOBO0,750
29
+ heurist/models/structural/__init__.py,sha256=ZAfUgO5KSpyOcrtZJ7HCt8g--qhrckzzDxmIBqDQjDk,575
30
+ heurist/models/structural/dty.py,sha256=3iLHmdCFrWUD2GuzGbM9ggPGpIYdsS0m20qy1EFXWWc,5767
31
+ heurist/models/structural/hml_structure.py,sha256=U39vr9ohPpuwhlhwgGPeLUqW6TeINp4SchY3RlxpYeU,1395
32
+ heurist/models/structural/rst.py,sha256=SRlpPJ5Clh2jVSVRdJnh5pp679cd3nztgyj3Wx6uWyM,8142
33
+ heurist/models/structural/rtg.py,sha256=U16Z7J6PDCo3qesmhHEXXxQyQw_UiQYDOu5QU1i6dTE,843
34
+ heurist/models/structural/rty.py,sha256=--hgap8_tSdT8MMGb7bh6oTevkKle5pG8pGUYrNP578,4349
35
+ heurist/models/structural/trm.py,sha256=TfXSbQNe73iWB7S9ovafrm8WhW-S3rHq7kcSkGhNw9k,1445
36
+ heurist/models/structural/utils.py,sha256=GAZsr2F132nBkKG1atHqe2jahIgSJBPqxH7UOhZBVWA,1463
37
+ heurist/schema/__init__.py,sha256=x-aaqTVbNJe78wOZSsxrj8k94Ru0l_7V5Co_1Xc9DGQ,1021
38
+ heurist/schema/models.py,sha256=y8HOdyijDQyOuvWan0BvWmwquRWv2jyUVe998rVhoCY,2066
39
+ heurist/schema/rel_to_dict.py,sha256=cmFjdbonTNTx-pRTlAEiwBmvPWmIDnTkXPaQDydjJxk,1239
40
+ heurist/sql/__init__.py,sha256=OCEh7CENeatjBhX8bv2RZmnTwV5tBRIzI3D2iGdwcnk,639
41
+ heurist/sql/joinRecordTypeIDNameByGroupType.sql,sha256=eRE6Yagxxv2sHKMx12Ii1noYQSX6QomdoGHD_d99OsM,288
42
+ heurist/sql/joinRecordTypeMetadata.sql,sha256=AGlCC1LuOZjmN6-aqkXfgPkW71Ps6y3VE5WxTaq-c9o,520
43
+ heurist/sql/selectRecordTypeSchema.sql,sha256=tojwruIQXfFFbLzMPH1gYhBqizuABLiPjikMYsNIsWk,1365
44
+ heurist/sql/sql_safety.py,sha256=gApj7mq6wgn1pRMjxJVX7IkfbprQymCoJzRCUGQe_kM,3169
45
+ heurist/utils/constants.py,sha256=h1YWcpq8wXkIdRrW6twiAGRD7Cbftk-H3yvcL6DWLR4,45
46
+ heurist/utils/rel_to_dict_array.py,sha256=M420C1t1AZmJJ5AX7sSNaJZUmf4Kjk8OMUd_nuJ0qZ4,212
47
+ heurist/validators/__init__.py,sha256=Im5z_Yg2VdKSZRPUOPSF5AFZ8AWgnyBZNKhy1o69lCg,89
48
+ heurist/validators/detail_validator.py,sha256=NVItrZ4Ysmgqab-B24hIeimGqpiaiqFiono5qwW20ko,4070
49
+ heurist/validators/exceptions.py,sha256=tgoMn6R2CExT6mFg2qe4vRxP2D61cNdgEqc7YUQCFSE,1108
50
+ heurist/validators/parse_heurist_date.py,sha256=S-NzuLZJwDrxRJkAd-fXpOlENlkc8HXKRILWCODmtIU,2161
51
+ heurist/validators/record_validator.py,sha256=bzSurq0aLN9LLWcAYSE3X63hT00OZUIqyaNCLTgtE08,6297
52
+ heurist/workflows/__init__.py,sha256=aYN0UE_7rD9h0h74DMXkUTIDrxA0WcsWLEXWK123Gzc,81
53
+ heurist/workflows/etl.py,sha256=IA97B1NOg_2btT_pynY64RYvbL4JraAy6wgIKJlNljM,2286
54
+ mock_data/__init__.py,sha256=TGe3NjGTXVRQbakVGEWbDDzIkFQ72fTZhTcAoIH3DGQ,488
55
+ mock_data/blocktext/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
56
+ mock_data/blocktext/single.py,sha256=-7LqTsOoKfS6VboyDiu8WRwc0RFnpa__CfSrElFEtX4,195
57
+ mock_data/date/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
58
+ mock_data/date/compound_repeated.py,sha256=fe5lkqCjEo3GEOr53V29ZkewJV693XEh28mLPHPNTSQ,1117
59
+ mock_data/date/compound_single.py,sha256=LgMOZniU3ZzTs8UuRa4vFYOGlmxe1fCgCzsbtwznRI8,671
60
+ mock_data/date/simple_single.py,sha256=cDPMT1S1n98GEMbrIZS6ssrZyMlPLvouTk-ty2PnI6I,352
61
+ mock_data/date/timestamp_repeated.py,sha256=l6r2z5TwzzlJWHhQ9KYsW50xoAPI_UrfeDjW6yYJzV0,711
62
+ mock_data/enum/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
63
+ mock_data/enum/repeated.py,sha256=uzbhXohDXPr7mDVzvuOeD16F9JKzhGkOBZHBsywbKvA,650
64
+ mock_data/enum/single.py,sha256=ff1apHy0aJ-E0lS7ywuWsWzT4sOnzfZvV3Zyqb0ogrc,392
65
+ mock_data/file/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
66
+ mock_data/file/single.py,sha256=gH4FeKwG7cBX-tOgzReejd8ti-K0_mzksLVooTTk1dA,1002
67
+ mock_data/float/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
68
+ mock_data/float/single.py,sha256=qmT4p4umcFKcxlphm8GGSwDXYuq-KY1z20Z-gebTrfg,164
69
+ mock_data/freetext/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
70
+ mock_data/freetext/single.py,sha256=JwFL_pAnY_L0P_-XA1Dh-fpBvMOw9m_Kso6_aEZfG94,360
71
+ mock_data/geo/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
72
+ mock_data/geo/single.py,sha256=gbk_gOLfVlJuU3MhjY2Lu14bs9-FbZmNtevpiw9jArk,79867
73
+ mock_data/resource/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
74
+ mock_data/resource/repeated.py,sha256=Nf3nIL596pLVbKo20sQm5UITwBzqf-IHFzE_m2UCLbw,788
75
+ mock_data/resource/single.py,sha256=SXVri1MM8UaJw7GejMEJ6seNEnMksdw_WKiOxQOdVFs,411
76
+ heurist_api-0.1.2.dist-info/METADATA,sha256=ZkJDFrm19Va_V5dorrIr5ZRHe01hsRKkRKtYSsh8u1k,24490
77
+ heurist_api-0.1.2.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
78
+ heurist_api-0.1.2.dist-info/entry_points.txt,sha256=_TzE7JV8uXjiG-Fo9WFNnQtmvrlCYiAZgu8ZoijfeF8,53
79
+ heurist_api-0.1.2.dist-info/licenses/LICENSE,sha256=I-54yLrknPCOovDISUXGa5h-vkUgiB-1Gz2tT7Q9B8I,20137
80
+ heurist_api-0.1.2.dist-info/RECORD,,
@@ -0,0 +1,4 @@
1
+ Wheel-Version: 1.0
2
+ Generator: hatchling 1.27.0
3
+ Root-Is-Purelib: true
4
+ Tag: py3-none-any
@@ -0,0 +1,2 @@
1
+ [console_scripts]
2
+ heurist = heurist.cli.__main__:cli