pyeasyphd 0.3.20__py3-none-any.whl → 0.3.21__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 pyeasyphd might be problematic. Click here for more details.
- pyeasyphd/scripts/run_search.py +8 -3
- {pyeasyphd-0.3.20.dist-info → pyeasyphd-0.3.21.dist-info}/METADATA +1 -1
- {pyeasyphd-0.3.20.dist-info → pyeasyphd-0.3.21.dist-info}/RECORD +5 -5
- {pyeasyphd-0.3.20.dist-info → pyeasyphd-0.3.21.dist-info}/WHEEL +0 -0
- {pyeasyphd-0.3.20.dist-info → pyeasyphd-0.3.21.dist-info}/licenses/LICENSE +0 -0
pyeasyphd/scripts/run_search.py
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import os
|
|
2
|
-
from typing import Any, Dict, List
|
|
2
|
+
from typing import Any, Dict, List, Optional
|
|
3
3
|
|
|
4
4
|
from pyadvtools import transform_to_data_list
|
|
5
5
|
from pybibtexer.tools import compare_bibs_with_zotero
|
|
@@ -58,6 +58,7 @@ def run_search_for_files(
|
|
|
58
58
|
path_spidered_bibs: str,
|
|
59
59
|
path_spidering_bibs: str,
|
|
60
60
|
path_conf_j_jsons: str,
|
|
61
|
+
options: Optional[dict] = None
|
|
61
62
|
) -> None:
|
|
62
63
|
"""
|
|
63
64
|
Run search and save results to files with custom keywords.
|
|
@@ -70,6 +71,9 @@ def run_search_for_files(
|
|
|
70
71
|
path_spidering_bibs: Path to spidering bibliography files
|
|
71
72
|
path_conf_j_jsons: Path to conferences/journals JSON files
|
|
72
73
|
"""
|
|
74
|
+
if options is None:
|
|
75
|
+
options = {}
|
|
76
|
+
|
|
73
77
|
# Expand and normalize file paths
|
|
74
78
|
path_main_output = expand_path(path_main_output)
|
|
75
79
|
path_spidered_bibs, path_spidering_bibs, path_conf_j_jsons = expand_paths(
|
|
@@ -77,7 +81,7 @@ def run_search_for_files(
|
|
|
77
81
|
)
|
|
78
82
|
|
|
79
83
|
# Configure search options
|
|
80
|
-
|
|
84
|
+
options_ = {
|
|
81
85
|
**build_base_options(
|
|
82
86
|
include_publisher_list=[],
|
|
83
87
|
include_abbr_list=[],
|
|
@@ -92,8 +96,9 @@ def run_search_for_files(
|
|
|
92
96
|
keywords_list_list=keywords_list_list,
|
|
93
97
|
),
|
|
94
98
|
}
|
|
99
|
+
options_.update(options)
|
|
95
100
|
# Execute searches across different bibliography sources
|
|
96
|
-
_execute_searches(
|
|
101
|
+
_execute_searches(options_, path_main_output, path_spidered_bibs, path_spidering_bibs)
|
|
97
102
|
|
|
98
103
|
|
|
99
104
|
def _execute_searches(
|
|
@@ -32,7 +32,7 @@ pyeasyphd/scripts/run_beamer_tex.py,sha256=GpUVSXINHkgJFIQe_k9qWElTxLmAVFNLJhviv
|
|
|
32
32
|
pyeasyphd/scripts/run_compare.py,sha256=6UfsAjy9giKTIhvgW2gRbfETkc29_KSV4KyMi1ubN04,3237
|
|
33
33
|
pyeasyphd/scripts/run_format.py,sha256=P1h--AKWblRhbdf1IDmLuu54mbFBFwgGxpGpdLEpZI4,2972
|
|
34
34
|
pyeasyphd/scripts/run_generate.py,sha256=i8J3X3zn2QMuKUshu3FGpaq4kPw_P7TVXU46Wy_mZ8s,8549
|
|
35
|
-
pyeasyphd/scripts/run_search.py,sha256=
|
|
35
|
+
pyeasyphd/scripts/run_search.py,sha256=rnepJpdwakpPFaS65XU_MuC-kQHsF94fwP5rGpVO3-o,7970
|
|
36
36
|
pyeasyphd/tools/__init__.py,sha256=u1MZu_JjVac3HhEmcSTwroS83UVu0W5Vspy3Wu_-GH8,496
|
|
37
37
|
pyeasyphd/tools/generate/generate_from_bibs.py,sha256=Dp1MyADwIRb9qFTFOkMPJLaeeh7NBjuiSLBN7smP2eo,7640
|
|
38
38
|
pyeasyphd/tools/generate/generate_html.py,sha256=JzUEqgTVCaFzd4hXTYUEf0cVSO1QRe0nVUS72W6oyyU,5349
|
|
@@ -46,7 +46,7 @@ pyeasyphd/tools/search/search_keywords.py,sha256=YCurXuoYeU1ftve0cb8Hcn_g2FXCXf7
|
|
|
46
46
|
pyeasyphd/tools/search/search_writers.py,sha256=Dz6D8m17R7x8NT7_PCjwmzlq29AfUz-N6sjyCguDTo4,15702
|
|
47
47
|
pyeasyphd/tools/search/utils.py,sha256=bo7xtIZu31dQvjol1lwyWq1t6ldbw28oondwK8VbAqk,7562
|
|
48
48
|
pyeasyphd/utils/utils.py,sha256=kWxzzgNwz77K9Q7j-RKTaoPpxqiVLVtaBMMhLuEenwE,3128
|
|
49
|
-
pyeasyphd-0.3.
|
|
50
|
-
pyeasyphd-0.3.
|
|
51
|
-
pyeasyphd-0.3.
|
|
52
|
-
pyeasyphd-0.3.
|
|
49
|
+
pyeasyphd-0.3.21.dist-info/METADATA,sha256=Nq1g4eU7si9QZwtMbjMnjITS_Mk58OVRJYCDsWfvrbA,986
|
|
50
|
+
pyeasyphd-0.3.21.dist-info/WHEEL,sha256=zp0Cn7JsFoX2ATtOhtaFYIiE2rmFAD4OcMhtUki8W3U,88
|
|
51
|
+
pyeasyphd-0.3.21.dist-info/licenses/LICENSE,sha256=OXLcl0T2SZ8Pmy2_dmlvKuetivmyPd5m1q-Gyd-zaYY,35149
|
|
52
|
+
pyeasyphd-0.3.21.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|