pyeasyphd 0.3.9__tar.gz → 0.3.10__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.
Potentially problematic release.
This version of pyeasyphd might be problematic. Click here for more details.
- {pyeasyphd-0.3.9 → pyeasyphd-0.3.10}/PKG-INFO +1 -1
- {pyeasyphd-0.3.9 → pyeasyphd-0.3.10}/pyeasyphd/scripts/__init__.py +7 -0
- {pyeasyphd-0.3.9 → pyeasyphd-0.3.10}/pyeasyphd/scripts/_base.py +6 -33
- {pyeasyphd-0.3.9 → pyeasyphd-0.3.10}/pyeasyphd/scripts/run_compare.py +17 -16
- {pyeasyphd-0.3.9 → pyeasyphd-0.3.10}/pyeasyphd/scripts/run_format.py +13 -17
- {pyeasyphd-0.3.9 → pyeasyphd-0.3.10}/pyeasyphd/scripts/run_generate.py +46 -21
- {pyeasyphd-0.3.9 → pyeasyphd-0.3.10}/pyeasyphd/scripts/run_search.py +7 -7
- {pyeasyphd-0.3.9 → pyeasyphd-0.3.10}/pyproject.toml +1 -1
- {pyeasyphd-0.3.9 → pyeasyphd-0.3.10}/LICENSE +0 -0
- {pyeasyphd-0.3.9 → pyeasyphd-0.3.10}/README.md +0 -0
- {pyeasyphd-0.3.9 → pyeasyphd-0.3.10}/pyeasyphd/.python-version +0 -0
- {pyeasyphd-0.3.9 → pyeasyphd-0.3.10}/pyeasyphd/Main.sublime-menu +0 -0
- {pyeasyphd-0.3.9 → pyeasyphd-0.3.10}/pyeasyphd/__init__.py +0 -0
- {pyeasyphd-0.3.9 → pyeasyphd-0.3.10}/pyeasyphd/data/Templates/CSL/apa-no-ampersand.csl +0 -0
- {pyeasyphd-0.3.9 → pyeasyphd-0.3.10}/pyeasyphd/data/Templates/CSL/apa.csl +0 -0
- {pyeasyphd-0.3.9 → pyeasyphd-0.3.10}/pyeasyphd/data/Templates/CSL/ieee.csl +0 -0
- {pyeasyphd-0.3.9 → pyeasyphd-0.3.10}/pyeasyphd/data/Templates/TEX/Article.tex +0 -0
- {pyeasyphd-0.3.9 → pyeasyphd-0.3.10}/pyeasyphd/data/Templates/TEX/Article_Header.tex +0 -0
- {pyeasyphd-0.3.9 → pyeasyphd-0.3.10}/pyeasyphd/data/Templates/TEX/Article_Tail.tex +0 -0
- {pyeasyphd-0.3.9 → pyeasyphd-0.3.10}/pyeasyphd/data/Templates/TEX/Beamer_Header.tex +0 -0
- {pyeasyphd-0.3.9 → pyeasyphd-0.3.10}/pyeasyphd/data/Templates/TEX/Beamer_Tail.tex +0 -0
- {pyeasyphd-0.3.9 → pyeasyphd-0.3.10}/pyeasyphd/data/Templates/TEX/Style.tex +0 -0
- {pyeasyphd-0.3.9 → pyeasyphd-0.3.10}/pyeasyphd/data/Templates/TEX/TEVC_Header.tex +0 -0
- {pyeasyphd-0.3.9 → pyeasyphd-0.3.10}/pyeasyphd/data/Templates/TEX/TEVC_Tail.tex +0 -0
- {pyeasyphd-0.3.9 → pyeasyphd-0.3.10}/pyeasyphd/data/Templates/TEX/eisvogel.beamer +0 -0
- {pyeasyphd-0.3.9 → pyeasyphd-0.3.10}/pyeasyphd/data/Templates/TEX/eisvogel.latex +0 -0
- {pyeasyphd-0.3.9 → pyeasyphd-0.3.10}/pyeasyphd/data/Templates/TEX/eisvogel.tex +0 -0
- {pyeasyphd-0.3.9 → pyeasyphd-0.3.10}/pyeasyphd/data/Templates/TEX/math.tex +0 -0
- {pyeasyphd-0.3.9 → pyeasyphd-0.3.10}/pyeasyphd/data/Templates/TEX/math_commands.tex +0 -0
- {pyeasyphd-0.3.9 → pyeasyphd-0.3.10}/pyeasyphd/data/Templates/TEX/nextaimathmacros.sty +0 -0
- {pyeasyphd-0.3.9 → pyeasyphd-0.3.10}/pyeasyphd/main/__init__.py +0 -0
- {pyeasyphd-0.3.9 → pyeasyphd-0.3.10}/pyeasyphd/main/basic_input.py +0 -0
- {pyeasyphd-0.3.9 → pyeasyphd-0.3.10}/pyeasyphd/main/pandoc_md_to.py +0 -0
- {pyeasyphd-0.3.9 → pyeasyphd-0.3.10}/pyeasyphd/main/python_run_md.py +0 -0
- {pyeasyphd-0.3.9 → pyeasyphd-0.3.10}/pyeasyphd/main/python_run_tex.py +0 -0
- {pyeasyphd-0.3.9 → pyeasyphd-0.3.10}/pyeasyphd/pyeasyphd.py +0 -0
- {pyeasyphd-0.3.9 → pyeasyphd-0.3.10}/pyeasyphd/pyeasyphd.sublime-settings +0 -0
- {pyeasyphd-0.3.9 → pyeasyphd-0.3.10}/pyeasyphd/pyeasyphd.sublime-syntax +0 -0
- {pyeasyphd-0.3.9 → pyeasyphd-0.3.10}/pyeasyphd/scripts/run_article_md.py +0 -0
- {pyeasyphd-0.3.9 → pyeasyphd-0.3.10}/pyeasyphd/scripts/run_article_tex.py +0 -0
- {pyeasyphd-0.3.9 → pyeasyphd-0.3.10}/pyeasyphd/scripts/run_beamer_tex.py +0 -0
- {pyeasyphd-0.3.9 → pyeasyphd-0.3.10}/pyeasyphd/tools/__init__.py +0 -0
- {pyeasyphd-0.3.9 → pyeasyphd-0.3.10}/pyeasyphd/tools/generate/generate_from_bibs.py +0 -0
- {pyeasyphd-0.3.9 → pyeasyphd-0.3.10}/pyeasyphd/tools/generate/generate_html.py +0 -0
- {pyeasyphd-0.3.9 → pyeasyphd-0.3.10}/pyeasyphd/tools/generate/generate_library.py +0 -0
- {pyeasyphd-0.3.9 → pyeasyphd-0.3.10}/pyeasyphd/tools/generate/generate_links.py +0 -0
- {pyeasyphd-0.3.9 → pyeasyphd-0.3.10}/pyeasyphd/tools/py_run_bib_md_tex.py +0 -0
- {pyeasyphd-0.3.9 → pyeasyphd-0.3.10}/pyeasyphd/tools/search/data.py +0 -0
- {pyeasyphd-0.3.9 → pyeasyphd-0.3.10}/pyeasyphd/tools/search/search_base.py +0 -0
- {pyeasyphd-0.3.9 → pyeasyphd-0.3.10}/pyeasyphd/tools/search/search_core.py +0 -0
- {pyeasyphd-0.3.9 → pyeasyphd-0.3.10}/pyeasyphd/tools/search/search_keywords.py +0 -0
- {pyeasyphd-0.3.9 → pyeasyphd-0.3.10}/pyeasyphd/tools/search/search_writers.py +0 -0
- {pyeasyphd-0.3.9 → pyeasyphd-0.3.10}/pyeasyphd/tools/search/utils.py +0 -0
- {pyeasyphd-0.3.9 → pyeasyphd-0.3.10}/pyeasyphd/utils/utils.py +0 -0
|
@@ -10,11 +10,18 @@ __all__ = [
|
|
|
10
10
|
"run_generate_j_weekly",
|
|
11
11
|
"run_generate_j_monthly",
|
|
12
12
|
"run_generate_j_yearly",
|
|
13
|
+
# from pybibtexer
|
|
14
|
+
"run_compare_bib_with_local",
|
|
15
|
+
"run_compare_bib_with_zotero",
|
|
16
|
+
"run_format_bib_to_save_by_entry_type",
|
|
17
|
+
"run_format_bib_to_abbr_zotero_save"
|
|
13
18
|
]
|
|
14
19
|
|
|
15
20
|
from .run_article_md import run_article_md_daily_notes
|
|
16
21
|
from .run_article_tex import run_article_tex_submit
|
|
17
22
|
from .run_beamer_tex import run_beamer_tex_weekly_reports
|
|
23
|
+
from .run_compare import run_compare_bib_with_local, run_compare_bib_with_zotero
|
|
24
|
+
from .run_format import run_format_bib_to_abbr_zotero_save, run_format_bib_to_save_by_entry_type
|
|
18
25
|
from .run_generate import (
|
|
19
26
|
run_generate_c_yearly,
|
|
20
27
|
run_generate_j_e_weekly,
|
|
@@ -7,6 +7,11 @@ def expand_path(path: str) -> str:
|
|
|
7
7
|
return os.path.expandvars(os.path.expanduser(path))
|
|
8
8
|
|
|
9
9
|
|
|
10
|
+
def expand_paths(*paths):
|
|
11
|
+
# Expand and normalize file paths
|
|
12
|
+
return [expand_path(path) for path in paths]
|
|
13
|
+
|
|
14
|
+
|
|
10
15
|
def build_base_options(
|
|
11
16
|
include_publisher_list: List[str],
|
|
12
17
|
include_abbr_list: List[str],
|
|
@@ -27,6 +32,7 @@ def build_base_options(
|
|
|
27
32
|
Returns:
|
|
28
33
|
Dictionary containing configured options
|
|
29
34
|
"""
|
|
35
|
+
path_conferences_journals_json = expand_path(path_conferences_journals_json)
|
|
30
36
|
return {
|
|
31
37
|
"include_publisher_list": include_publisher_list,
|
|
32
38
|
"include_abbr_list": include_abbr_list,
|
|
@@ -38,39 +44,6 @@ def build_base_options(
|
|
|
38
44
|
}
|
|
39
45
|
|
|
40
46
|
|
|
41
|
-
def build_options(
|
|
42
|
-
options: dict, path_spidered_bibs: str, path_spidering_bibs: str, path_conferences_journals_json: str
|
|
43
|
-
):
|
|
44
|
-
# Expand and normalize file paths
|
|
45
|
-
path_spidered_bibs = expand_path(path_spidered_bibs)
|
|
46
|
-
path_spidering_bibs = expand_path(path_spidering_bibs)
|
|
47
|
-
path_conferences_journals_json = expand_path(path_conferences_journals_json)
|
|
48
|
-
|
|
49
|
-
# Configure options
|
|
50
|
-
options_ = build_base_options(
|
|
51
|
-
include_publisher_list=[],
|
|
52
|
-
include_abbr_list=[],
|
|
53
|
-
exclude_publisher_list=["arXiv"],
|
|
54
|
-
exclude_abbr_list=[],
|
|
55
|
-
path_conferences_journals_json=path_conferences_journals_json,
|
|
56
|
-
)
|
|
57
|
-
options_.update(options)
|
|
58
|
-
|
|
59
|
-
full_json_c = options_["full_json_c"]
|
|
60
|
-
full_json_j = options_["full_json_j"]
|
|
61
|
-
full_json_k = options_["full_json_k"]
|
|
62
|
-
|
|
63
|
-
return (
|
|
64
|
-
path_spidered_bibs,
|
|
65
|
-
path_spidering_bibs,
|
|
66
|
-
path_conferences_journals_json,
|
|
67
|
-
full_json_c,
|
|
68
|
-
full_json_j,
|
|
69
|
-
full_json_k,
|
|
70
|
-
options_,
|
|
71
|
-
)
|
|
72
|
-
|
|
73
|
-
|
|
74
47
|
def build_search_options(
|
|
75
48
|
print_on_screen: bool, search_year_list: List[str], keywords_type: str, keywords_list_list: List[List[str]]
|
|
76
49
|
) -> Dict[str, Any]:
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
from pybibtexer.tools import compare_bibs_with_local, compare_bibs_with_zotero
|
|
2
2
|
|
|
3
|
-
from ._base import
|
|
3
|
+
from ._base import build_base_options, expand_paths
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
def run_compare_bib_with_local(
|
|
@@ -10,17 +10,18 @@ def run_compare_bib_with_local(
|
|
|
10
10
|
path_spidered_bibs: str,
|
|
11
11
|
path_spidering_bibs: str,
|
|
12
12
|
path_conferences_journals_json: str,
|
|
13
|
-
):
|
|
13
|
+
) -> None:
|
|
14
14
|
# Expand and normalize file paths
|
|
15
|
-
path_output =
|
|
16
|
-
|
|
17
|
-
need_compare_bib = expand_path(need_compare_bib)
|
|
18
|
-
|
|
19
|
-
path_spidered_bibs, path_spidering_bibs, _, _, _, _, options_ = (
|
|
20
|
-
build_options(options, path_spidered_bibs, path_spidering_bibs, path_conferences_journals_json)
|
|
15
|
+
need_compare_bib, path_output, path_spidered_bibs, path_spidering_bibs = expand_paths(
|
|
16
|
+
need_compare_bib, path_output, path_spidered_bibs, path_spidering_bibs
|
|
21
17
|
)
|
|
18
|
+
|
|
19
|
+
# Update options
|
|
20
|
+
options_ = build_base_options([], [], ["arXiv"], [], path_conferences_journals_json)
|
|
22
21
|
options_["include_early_access"] = True
|
|
22
|
+
options_.update(options)
|
|
23
23
|
|
|
24
|
+
# Compare
|
|
24
25
|
compare_bibs_with_local(need_compare_bib, path_spidered_bibs, path_spidering_bibs, path_output, options_)
|
|
25
26
|
|
|
26
27
|
|
|
@@ -30,15 +31,15 @@ def run_compare_bib_with_zotero(
|
|
|
30
31
|
zotero_bib: str,
|
|
31
32
|
path_output: str,
|
|
32
33
|
path_conferences_journals_json: str,
|
|
33
|
-
):
|
|
34
|
+
) -> None:
|
|
34
35
|
# Expand and normalize file paths
|
|
35
|
-
path_output =
|
|
36
|
-
|
|
37
|
-
zotero_bib = expand_path(zotero_bib)
|
|
38
|
-
need_compare_bib = expand_path(need_compare_bib)
|
|
39
|
-
|
|
40
|
-
_, _, _, _, _, _, options_ = (
|
|
41
|
-
build_options(options, "", "", path_conferences_journals_json)
|
|
36
|
+
need_compare_bib, zotero_bib, path_output = expand_paths(
|
|
37
|
+
need_compare_bib, zotero_bib, path_output
|
|
42
38
|
)
|
|
43
39
|
|
|
40
|
+
# Update options
|
|
41
|
+
options_ = build_base_options([], [], ["arXiv"], [], path_conferences_journals_json)
|
|
42
|
+
options_.update(options)
|
|
43
|
+
|
|
44
|
+
# Compare
|
|
44
45
|
compare_bibs_with_zotero(zotero_bib, need_compare_bib, path_output, options_)
|
|
@@ -2,40 +2,36 @@ from pathlib import Path
|
|
|
2
2
|
|
|
3
3
|
from pybibtexer.tools import format_bib_to_abbr_zotero_save_modes, format_bib_to_save_mode_by_entry_type
|
|
4
4
|
|
|
5
|
-
from ._base import
|
|
5
|
+
from ._base import build_base_options, expand_paths
|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
def
|
|
8
|
+
def run_format_bib_to_save_by_entry_type(
|
|
9
9
|
options: dict,
|
|
10
10
|
need_format_bib: str,
|
|
11
11
|
path_output: str,
|
|
12
12
|
path_conferences_journals_json: str,
|
|
13
|
-
):
|
|
13
|
+
) -> None:
|
|
14
14
|
# Expand and normalize file paths
|
|
15
|
-
path_output =
|
|
15
|
+
need_format_bib, path_output = expand_paths(need_format_bib, path_output)
|
|
16
16
|
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
build_options(options, "", "", path_conferences_journals_json)
|
|
21
|
-
)
|
|
17
|
+
# Update options
|
|
18
|
+
options_ = build_base_options([], [], [], [], path_conferences_journals_json)
|
|
19
|
+
options_.update(options)
|
|
22
20
|
|
|
23
21
|
format_bib_to_save_mode_by_entry_type(Path(need_format_bib).stem, path_output, need_format_bib, options=options_)
|
|
24
22
|
|
|
25
23
|
|
|
26
|
-
def
|
|
24
|
+
def run_format_bib_to_abbr_zotero_save(
|
|
27
25
|
options: dict,
|
|
28
26
|
need_format_bib: str,
|
|
29
27
|
path_output: str,
|
|
30
28
|
path_conferences_journals_json: str,
|
|
31
|
-
):
|
|
29
|
+
) -> None:
|
|
32
30
|
# Expand and normalize file paths
|
|
33
|
-
path_output =
|
|
34
|
-
|
|
35
|
-
need_format_bib = expand_path(need_format_bib)
|
|
31
|
+
need_format_bib, path_output = expand_paths(need_format_bib, path_output)
|
|
36
32
|
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
)
|
|
33
|
+
# Update options
|
|
34
|
+
options_ = build_base_options([], [], [], [], path_conferences_journals_json)
|
|
35
|
+
options_.update(options)
|
|
40
36
|
|
|
41
37
|
format_bib_to_abbr_zotero_save_modes(need_format_bib, path_output, options=options_)
|
|
@@ -3,7 +3,7 @@ import os
|
|
|
3
3
|
from pyeasyphd.tools import PaperLinksGenerator, generate_from_bibs_and_write
|
|
4
4
|
from pyeasyphd.utils.utils import is_last_week_of_month
|
|
5
5
|
|
|
6
|
-
from ._base import
|
|
6
|
+
from ._base import build_base_options, expand_paths
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
def run_generate_j_weekly(
|
|
@@ -14,11 +14,11 @@ def run_generate_j_weekly(
|
|
|
14
14
|
path_conferences_journals_json: str,
|
|
15
15
|
):
|
|
16
16
|
# Expand and normalize file paths
|
|
17
|
-
path_weekly_docs =
|
|
17
|
+
path_weekly_docs, path_spidering_bibs = expand_paths(path_weekly_docs, path_spidering_bibs)
|
|
18
18
|
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
)
|
|
19
|
+
# Update options
|
|
20
|
+
options_ = build_base_options([], [], ["arXiv"], [], path_conferences_journals_json)
|
|
21
|
+
options_.update(options)
|
|
22
22
|
|
|
23
23
|
# Generate md and html files
|
|
24
24
|
for gc in ["generate_data", "combine_data"]:
|
|
@@ -33,6 +33,11 @@ def run_generate_j_weekly(
|
|
|
33
33
|
|
|
34
34
|
# Generate links
|
|
35
35
|
for keywords_category_name in keywords_category_names:
|
|
36
|
+
full_json_c, full_json_j, full_json_k = (
|
|
37
|
+
options_["full_json_c"],
|
|
38
|
+
options_["full_json_j"],
|
|
39
|
+
options_["full_json_k"],
|
|
40
|
+
)
|
|
36
41
|
output_basename = os.path.join("data", "Weekly")
|
|
37
42
|
generator = PaperLinksGenerator(full_json_c, full_json_j, full_json_k, path_weekly_docs, keywords_category_name)
|
|
38
43
|
generator.generate_weekly_links(output_basename)
|
|
@@ -47,11 +52,11 @@ def run_generate_j_e_weekly(
|
|
|
47
52
|
path_conferences_journals_json: str,
|
|
48
53
|
):
|
|
49
54
|
# Expand and normalize file paths
|
|
50
|
-
path_weekly_docs =
|
|
55
|
+
path_weekly_docs, path_spidering_bibs = expand_paths(path_weekly_docs, path_spidering_bibs)
|
|
51
56
|
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
)
|
|
57
|
+
# Update options
|
|
58
|
+
options_ = build_base_options([], [], ["arXiv"], [], path_conferences_journals_json)
|
|
59
|
+
options_.update(options)
|
|
55
60
|
options_["early_access"] = True
|
|
56
61
|
|
|
57
62
|
# Generate md and html files
|
|
@@ -73,6 +78,11 @@ def run_generate_j_e_weekly(
|
|
|
73
78
|
|
|
74
79
|
# Generate links
|
|
75
80
|
for keywords_category_name in keywords_category_names:
|
|
81
|
+
full_json_c, full_json_j, full_json_k = (
|
|
82
|
+
options_["full_json_c"],
|
|
83
|
+
options_["full_json_j"],
|
|
84
|
+
options_["full_json_k"],
|
|
85
|
+
)
|
|
76
86
|
output_basename = os.path.join("data", "Weekly")
|
|
77
87
|
generator = PaperLinksGenerator(full_json_c, full_json_j, full_json_k, path_weekly_docs, keywords_category_name)
|
|
78
88
|
generator.generate_ieee_early_access_links(output_basename)
|
|
@@ -87,11 +97,11 @@ def run_generate_j_monthly(
|
|
|
87
97
|
path_conferences_journals_json: str,
|
|
88
98
|
):
|
|
89
99
|
# Expand and normalize file paths
|
|
90
|
-
path_monthly_docs =
|
|
100
|
+
path_monthly_docs, path_spidering_bibs = expand_paths(path_monthly_docs, path_spidering_bibs)
|
|
91
101
|
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
)
|
|
102
|
+
# Update options
|
|
103
|
+
options_ = build_base_options([], [], ["arXiv"], [], path_conferences_journals_json)
|
|
104
|
+
options_.update(options)
|
|
95
105
|
|
|
96
106
|
# Generate md and html files
|
|
97
107
|
for gc in ["generate_data", "combine_data"]:
|
|
@@ -110,6 +120,11 @@ def run_generate_j_monthly(
|
|
|
110
120
|
|
|
111
121
|
# Generate links
|
|
112
122
|
for keywords_category_name in keywords_category_names:
|
|
123
|
+
full_json_c, full_json_j, full_json_k = (
|
|
124
|
+
options_["full_json_c"],
|
|
125
|
+
options_["full_json_j"],
|
|
126
|
+
options_["full_json_k"],
|
|
127
|
+
)
|
|
113
128
|
output_basename = os.path.join("data", "Monthly")
|
|
114
129
|
generator = PaperLinksGenerator(
|
|
115
130
|
full_json_c, full_json_j, full_json_k, path_monthly_docs, keywords_category_name
|
|
@@ -127,11 +142,11 @@ def run_generate_j_yearly(
|
|
|
127
142
|
year_list: list[str],
|
|
128
143
|
):
|
|
129
144
|
# Expand and normalize file paths
|
|
130
|
-
path_yearly_docs =
|
|
145
|
+
path_yearly_docs, path_spidered_bibs = expand_paths(path_yearly_docs, path_spidered_bibs)
|
|
131
146
|
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
)
|
|
147
|
+
# Update options
|
|
148
|
+
options_ = build_base_options([], [], ["arXiv"], [], path_conferences_journals_json)
|
|
149
|
+
options_.update(options)
|
|
135
150
|
|
|
136
151
|
# Generate md and html files
|
|
137
152
|
for gc in ["generate_data", "combine_data"]:
|
|
@@ -146,6 +161,11 @@ def run_generate_j_yearly(
|
|
|
146
161
|
|
|
147
162
|
# Generate links
|
|
148
163
|
for keywords_category_name in keywords_category_names:
|
|
164
|
+
full_json_c, full_json_j, full_json_k = (
|
|
165
|
+
options_["full_json_c"],
|
|
166
|
+
options_["full_json_j"],
|
|
167
|
+
options_["full_json_k"],
|
|
168
|
+
)
|
|
149
169
|
output_basename = os.path.join("data", "Yearly")
|
|
150
170
|
generator = PaperLinksGenerator(full_json_c, full_json_j, full_json_k, path_yearly_docs, keywords_category_name)
|
|
151
171
|
generator.generate_yearly_links("Journals", output_basename)
|
|
@@ -161,11 +181,11 @@ def run_generate_c_yearly(
|
|
|
161
181
|
year_list: list[str],
|
|
162
182
|
):
|
|
163
183
|
# Expand and normalize file paths
|
|
164
|
-
path_yearly_docs =
|
|
184
|
+
path_yearly_docs, path_spidered_bibs = expand_paths(path_yearly_docs, path_spidered_bibs)
|
|
165
185
|
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
)
|
|
186
|
+
# Update options
|
|
187
|
+
options_ = build_base_options([], [], ["arXiv"], [], path_conferences_journals_json)
|
|
188
|
+
options_.update(options)
|
|
169
189
|
|
|
170
190
|
# Generate md and html files
|
|
171
191
|
for gc in ["generate_data", "combine_data"]:
|
|
@@ -180,6 +200,11 @@ def run_generate_c_yearly(
|
|
|
180
200
|
|
|
181
201
|
# Generate links
|
|
182
202
|
for keywords_category_name in keywords_category_names:
|
|
203
|
+
full_json_c, full_json_j, full_json_k = (
|
|
204
|
+
options_["full_json_c"],
|
|
205
|
+
options_["full_json_j"],
|
|
206
|
+
options_["full_json_k"],
|
|
207
|
+
)
|
|
183
208
|
output_basename = os.path.join("data", "Yearly")
|
|
184
209
|
generator = PaperLinksGenerator(full_json_c, full_json_j, full_json_k, path_yearly_docs, keywords_category_name)
|
|
185
210
|
generator.generate_yearly_links("Conferences", output_basename)
|
|
@@ -6,7 +6,7 @@ from pybibtexer.tools import compare_bibs_with_zotero
|
|
|
6
6
|
|
|
7
7
|
from pyeasyphd.tools import Searchkeywords
|
|
8
8
|
|
|
9
|
-
from ._base import build_base_options, build_search_options, expand_path
|
|
9
|
+
from ._base import build_base_options, build_search_options, expand_path, expand_paths
|
|
10
10
|
|
|
11
11
|
|
|
12
12
|
def run_search_for_screen(
|
|
@@ -29,9 +29,9 @@ def run_search_for_screen(
|
|
|
29
29
|
path_conferences_journals_json: Path to conferences/journals JSON files
|
|
30
30
|
"""
|
|
31
31
|
# Expand and normalize file paths
|
|
32
|
-
path_spidered_bibs =
|
|
33
|
-
|
|
34
|
-
|
|
32
|
+
path_spidered_bibs, path_spidering_bibs, path_conferences_journals_json = expand_paths(
|
|
33
|
+
path_spidered_bibs, path_spidering_bibs, path_conferences_journals_json
|
|
34
|
+
)
|
|
35
35
|
|
|
36
36
|
# Configure search options
|
|
37
37
|
options = {
|
|
@@ -72,9 +72,9 @@ def run_search_for_files(
|
|
|
72
72
|
"""
|
|
73
73
|
# Expand and normalize file paths
|
|
74
74
|
path_main_output = expand_path(path_main_output)
|
|
75
|
-
path_spidered_bibs =
|
|
76
|
-
|
|
77
|
-
|
|
75
|
+
path_spidered_bibs, path_spidering_bibs, path_conferences_journals_json = expand_paths(
|
|
76
|
+
path_spidered_bibs, path_spidering_bibs, path_conferences_journals_json
|
|
77
|
+
)
|
|
78
78
|
|
|
79
79
|
# Configure search options
|
|
80
80
|
options = {
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|