heurist-api 0.2.3a0__py3-none-any.whl → 0.2.5__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.
- heurist/cli/load.py +4 -5
- {heurist_api-0.2.3a0.dist-info → heurist_api-0.2.5.dist-info}/METADATA +3 -3
- {heurist_api-0.2.3a0.dist-info → heurist_api-0.2.5.dist-info}/RECORD +6 -6
- {heurist_api-0.2.3a0.dist-info → heurist_api-0.2.5.dist-info}/WHEEL +0 -0
- {heurist_api-0.2.3a0.dist-info → heurist_api-0.2.5.dist-info}/entry_points.txt +0 -0
- {heurist_api-0.2.3a0.dist-info → heurist_api-0.2.5.dist-info}/licenses/LICENSE +0 -0
heurist/cli/load.py
CHANGED
|
@@ -56,13 +56,12 @@ def load_command(
|
|
|
56
56
|
if outdir:
|
|
57
57
|
outdir = Path(outdir)
|
|
58
58
|
outdir.mkdir(exist_ok=True)
|
|
59
|
-
for
|
|
60
|
-
table_name = tup[0]
|
|
59
|
+
for table in tables:
|
|
61
60
|
# Skip the schema tables
|
|
62
|
-
if
|
|
61
|
+
if table in ["rtg", "rst", "rty", "dty", "trm"]:
|
|
63
62
|
continue
|
|
64
|
-
fp = outdir.joinpath(f"{
|
|
65
|
-
new_conn.table(
|
|
63
|
+
fp = outdir.joinpath(f"{table}.csv")
|
|
64
|
+
new_conn.table(table).sort("H-ID").write_csv(str(fp))
|
|
66
65
|
|
|
67
66
|
|
|
68
67
|
def show_summary_in_console(tables: list[str], log_lines: list):
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: heurist-api
|
|
3
|
-
Version: 0.2.
|
|
3
|
+
Version: 0.2.5
|
|
4
4
|
Dynamic: Summary
|
|
5
5
|
Project-URL: Homepage, https://lostma-erc.github.io/heurist-api/
|
|
6
6
|
Project-URL: Documentation, https://lostma-erc.github.io/heurist-api/
|
|
7
7
|
Project-URL: Repository, https://github.com/LostMa-ERC/heurist-api
|
|
8
8
|
Project-URL: Issues, https://github.com/LostMa-ERC/heurist-api/issues
|
|
9
|
-
Author-email:
|
|
9
|
+
Author-email: Virgile Reignier <virgile.reignier@chartes.psl.eu>
|
|
10
10
|
License: Attribution-ShareAlike 4.0 International
|
|
11
11
|
|
|
12
12
|
=======================================================================
|
|
@@ -443,7 +443,7 @@ Requires-Dist: lxml>=5.4.0
|
|
|
443
443
|
Requires-Dist: pandas>=2.2.3
|
|
444
444
|
Requires-Dist: polars>=1.29.0
|
|
445
445
|
Requires-Dist: pyarrow>=20.0.0
|
|
446
|
-
Requires-Dist: pydantic-xml
|
|
446
|
+
Requires-Dist: pydantic-xml<2.17.0,>=2.16.0
|
|
447
447
|
Requires-Dist: pydantic>=2.11.4
|
|
448
448
|
Requires-Dist: python-dotenv>=1.1.0
|
|
449
449
|
Requires-Dist: requests>=2.32.3
|
|
@@ -9,7 +9,7 @@ heurist/api/url_builder.py,sha256=mT1hgZ-T38EPyHCSLfjFecbZVLsiPi18jemDuuMj21I,49
|
|
|
9
9
|
heurist/api/utils.py,sha256=DT-BrdF7O2lmFSduRYOecx302dAlLWQTYgr2V9JoDYI,643
|
|
10
10
|
heurist/cli/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
11
11
|
heurist/cli/__main__.py,sha256=QG2gJG7zD3YIDRqbIp2MzTqPxqGLZ77RHCRYZ58SSjg,5975
|
|
12
|
-
heurist/cli/load.py,sha256=
|
|
12
|
+
heurist/cli/load.py,sha256=rZVtnBQ8Xh-d1qEh0DBWbi-S-y1rwg0Peeuo-z6WKss,2625
|
|
13
13
|
heurist/cli/parse_log.py,sha256=cZU9mpLbx5p-bdCwbII27T-ugTpecTgCFiBoYJip5f4,828
|
|
14
14
|
heurist/cli/records.py,sha256=yKK3XIZrU1szo6X-HmGjZpD0IKk3a3rd3Kkyrg5AYGE,1345
|
|
15
15
|
heurist/cli/schema.py,sha256=Dg8NcSdI7Xb6r-dkUC_razXlZNtxSG0x7awsr1m8Mcw,2766
|
|
@@ -79,8 +79,8 @@ mock_data/geo/single.py,sha256=gbk_gOLfVlJuU3MhjY2Lu14bs9-FbZmNtevpiw9jArk,79867
|
|
|
79
79
|
mock_data/resource/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
80
80
|
mock_data/resource/repeated.py,sha256=Nf3nIL596pLVbKo20sQm5UITwBzqf-IHFzE_m2UCLbw,788
|
|
81
81
|
mock_data/resource/single.py,sha256=SXVri1MM8UaJw7GejMEJ6seNEnMksdw_WKiOxQOdVFs,411
|
|
82
|
-
heurist_api-0.2.
|
|
83
|
-
heurist_api-0.2.
|
|
84
|
-
heurist_api-0.2.
|
|
85
|
-
heurist_api-0.2.
|
|
86
|
-
heurist_api-0.2.
|
|
82
|
+
heurist_api-0.2.5.dist-info/METADATA,sha256=J--g37QAQkSBPpE0Ly5FN6SyvnWNpmglWt5jZ1ZjrFA,27245
|
|
83
|
+
heurist_api-0.2.5.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
|
|
84
|
+
heurist_api-0.2.5.dist-info/entry_points.txt,sha256=37KBvqofapLaKDPFrcYxv_rfUM9H08Mbe6mxNdd_Xno,93
|
|
85
|
+
heurist_api-0.2.5.dist-info/licenses/LICENSE,sha256=I-54yLrknPCOovDISUXGa5h-vkUgiB-1Gz2tT7Q9B8I,20137
|
|
86
|
+
heurist_api-0.2.5.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|