pyeasyphd 0.4.2__tar.gz → 0.4.4__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.4.2 → pyeasyphd-0.4.4}/PKG-INFO +2 -2
- {pyeasyphd-0.4.2 → pyeasyphd-0.4.4}/pyeasyphd/main/pandoc_md_to.py +4 -1
- {pyeasyphd-0.4.2 → pyeasyphd-0.4.4}/pyeasyphd/main/python_run_md.py +3 -1
- {pyeasyphd-0.4.2 → pyeasyphd-0.4.4}/pyeasyphd/pyeasyphd.sublime-settings +4 -0
- {pyeasyphd-0.4.2 → pyeasyphd-0.4.4}/pyeasyphd/scripts/run_article_md.py +1 -0
- {pyeasyphd-0.4.2 → pyeasyphd-0.4.4}/pyproject.toml +2 -2
- {pyeasyphd-0.4.2 → pyeasyphd-0.4.4}/LICENSE +0 -0
- {pyeasyphd-0.4.2 → pyeasyphd-0.4.4}/README.md +0 -0
- {pyeasyphd-0.4.2 → pyeasyphd-0.4.4}/pyeasyphd/.python-version +0 -0
- {pyeasyphd-0.4.2 → pyeasyphd-0.4.4}/pyeasyphd/Main.sublime-menu +0 -0
- {pyeasyphd-0.4.2 → pyeasyphd-0.4.4}/pyeasyphd/__init__.py +0 -0
- {pyeasyphd-0.4.2 → pyeasyphd-0.4.4}/pyeasyphd/data/templates/csl/apa-no-ampersand.csl +0 -0
- {pyeasyphd-0.4.2 → pyeasyphd-0.4.4}/pyeasyphd/data/templates/csl/apa.csl +0 -0
- {pyeasyphd-0.4.2 → pyeasyphd-0.4.4}/pyeasyphd/data/templates/csl/ieee.csl +0 -0
- {pyeasyphd-0.4.2 → pyeasyphd-0.4.4}/pyeasyphd/data/templates/tex/Article.tex +0 -0
- {pyeasyphd-0.4.2 → pyeasyphd-0.4.4}/pyeasyphd/data/templates/tex/Article_Header.tex +0 -0
- {pyeasyphd-0.4.2 → pyeasyphd-0.4.4}/pyeasyphd/data/templates/tex/Article_Tail.tex +0 -0
- {pyeasyphd-0.4.2 → pyeasyphd-0.4.4}/pyeasyphd/data/templates/tex/Beamer_Header.tex +0 -0
- {pyeasyphd-0.4.2 → pyeasyphd-0.4.4}/pyeasyphd/data/templates/tex/Beamer_Tail.tex +0 -0
- {pyeasyphd-0.4.2 → pyeasyphd-0.4.4}/pyeasyphd/data/templates/tex/Style.tex +0 -0
- {pyeasyphd-0.4.2 → pyeasyphd-0.4.4}/pyeasyphd/data/templates/tex/TEVC_Header.tex +0 -0
- {pyeasyphd-0.4.2 → pyeasyphd-0.4.4}/pyeasyphd/data/templates/tex/TEVC_Tail.tex +0 -0
- {pyeasyphd-0.4.2 → pyeasyphd-0.4.4}/pyeasyphd/data/templates/tex/eisvogel.tex +0 -0
- {pyeasyphd-0.4.2 → pyeasyphd-0.4.4}/pyeasyphd/data/templates/tex/math.tex +0 -0
- {pyeasyphd-0.4.2 → pyeasyphd-0.4.4}/pyeasyphd/data/templates/tex/math_commands.tex +0 -0
- {pyeasyphd-0.4.2 → pyeasyphd-0.4.4}/pyeasyphd/data/templates/tex/nextaimathmacros.sty +0 -0
- {pyeasyphd-0.4.2 → pyeasyphd-0.4.4}/pyeasyphd/main/__init__.py +0 -0
- {pyeasyphd-0.4.2 → pyeasyphd-0.4.4}/pyeasyphd/main/basic_input.py +0 -0
- {pyeasyphd-0.4.2 → pyeasyphd-0.4.4}/pyeasyphd/main/python_run_tex.py +0 -0
- {pyeasyphd-0.4.2 → pyeasyphd-0.4.4}/pyeasyphd/pyeasyphd.py +0 -0
- {pyeasyphd-0.4.2 → pyeasyphd-0.4.4}/pyeasyphd/pyeasyphd.sublime-syntax +0 -0
- {pyeasyphd-0.4.2 → pyeasyphd-0.4.4}/pyeasyphd/scripts/__init__.py +0 -0
- {pyeasyphd-0.4.2 → pyeasyphd-0.4.4}/pyeasyphd/scripts/_base.py +0 -0
- {pyeasyphd-0.4.2 → pyeasyphd-0.4.4}/pyeasyphd/scripts/run_article_tex.py +0 -0
- {pyeasyphd-0.4.2 → pyeasyphd-0.4.4}/pyeasyphd/scripts/run_beamer_tex.py +0 -0
- {pyeasyphd-0.4.2 → pyeasyphd-0.4.4}/pyeasyphd/scripts/run_compare.py +0 -0
- {pyeasyphd-0.4.2 → pyeasyphd-0.4.4}/pyeasyphd/scripts/run_format.py +0 -0
- {pyeasyphd-0.4.2 → pyeasyphd-0.4.4}/pyeasyphd/scripts/run_generate.py +0 -0
- {pyeasyphd-0.4.2 → pyeasyphd-0.4.4}/pyeasyphd/scripts/run_replace.py +0 -0
- {pyeasyphd-0.4.2 → pyeasyphd-0.4.4}/pyeasyphd/scripts/run_search.py +0 -0
- {pyeasyphd-0.4.2 → pyeasyphd-0.4.4}/pyeasyphd/tools/__init__.py +0 -0
- {pyeasyphd-0.4.2 → pyeasyphd-0.4.4}/pyeasyphd/tools/generate/generate_from_bibs.py +0 -0
- {pyeasyphd-0.4.2 → pyeasyphd-0.4.4}/pyeasyphd/tools/generate/generate_html.py +0 -0
- {pyeasyphd-0.4.2 → pyeasyphd-0.4.4}/pyeasyphd/tools/generate/generate_library.py +0 -0
- {pyeasyphd-0.4.2 → pyeasyphd-0.4.4}/pyeasyphd/tools/generate/generate_links.py +0 -0
- {pyeasyphd-0.4.2 → pyeasyphd-0.4.4}/pyeasyphd/tools/py_run_bib_md_tex.py +0 -0
- {pyeasyphd-0.4.2 → pyeasyphd-0.4.4}/pyeasyphd/tools/search/data.py +0 -0
- {pyeasyphd-0.4.2 → pyeasyphd-0.4.4}/pyeasyphd/tools/search/search_base.py +0 -0
- {pyeasyphd-0.4.2 → pyeasyphd-0.4.4}/pyeasyphd/tools/search/search_core.py +0 -0
- {pyeasyphd-0.4.2 → pyeasyphd-0.4.4}/pyeasyphd/tools/search/search_keywords.py +0 -0
- {pyeasyphd-0.4.2 → pyeasyphd-0.4.4}/pyeasyphd/tools/search/search_writers.py +0 -0
- {pyeasyphd-0.4.2 → pyeasyphd-0.4.4}/pyeasyphd/tools/search/utils.py +0 -0
- {pyeasyphd-0.4.2 → pyeasyphd-0.4.4}/pyeasyphd/utils/utils.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: pyeasyphd
|
|
3
|
-
Version: 0.4.
|
|
3
|
+
Version: 0.4.4
|
|
4
4
|
Summary: pyeasyphd
|
|
5
5
|
License: GPL-3.0-or-later
|
|
6
6
|
License-File: LICENSE
|
|
@@ -17,7 +17,7 @@ Classifier: Programming Language :: Python :: 3.13
|
|
|
17
17
|
Classifier: Programming Language :: Python :: 3.14
|
|
18
18
|
Classifier: Topic :: Software Development :: Libraries :: Python Modules
|
|
19
19
|
Requires-Dist: pyadvtools (>=0.2.14,<0.3.0)
|
|
20
|
-
Requires-Dist: pybibtexer (>=0.2.
|
|
20
|
+
Requires-Dist: pybibtexer (>=0.2.17,<0.3.0)
|
|
21
21
|
Project-URL: Documentation, https://github.com/Easy-PhD/pyeasyphd
|
|
22
22
|
Project-URL: Homepage, https://github.com/Easy-PhD/pyeasyphd
|
|
23
23
|
Project-URL: Repository, https://github.com/Easy-PhD/pyeasyphd
|
|
@@ -34,6 +34,7 @@ class PandocMdTo(BasicInput):
|
|
|
34
34
|
add_anchor_for_basic_dict (bool): Whether to add anchor for items in basic dict. Defaults to False.
|
|
35
35
|
add_anchor_for_beauty_dict (bool): Whether to add anchor for items in beauty dict. Defaults to False.
|
|
36
36
|
add_anchor_for_complex_dict (bool): Whether to add anchor for items in complex dict. Defaults to False.
|
|
37
|
+
details_to_bib_separator (str): Separator between <details> and bibliography content. Defaults to "\n".
|
|
37
38
|
"""
|
|
38
39
|
|
|
39
40
|
def __init__(self, options: dict) -> None:
|
|
@@ -59,6 +60,8 @@ class PandocMdTo(BasicInput):
|
|
|
59
60
|
self.add_anchor_for_beauty_dict: bool = options.get("add_anchor_for_beauty_dict", False)
|
|
60
61
|
self.add_anchor_for_complex_dict: bool = options.get("add_anchor_for_complex_dict", False)
|
|
61
62
|
|
|
63
|
+
self.details_to_bib_separator: str = options.get("details_to_bib_separator", "\n")
|
|
64
|
+
|
|
62
65
|
def pandoc_md_to_md(
|
|
63
66
|
self, path_bib: str, path_md_one: str, path_md_two: str, name_md_one: Optional[str], name_md_two: Optional[str]
|
|
64
67
|
) -> List[str]:
|
|
@@ -296,7 +299,7 @@ class PandocMdTo(BasicInput):
|
|
|
296
299
|
self, key_url_http_bib_dict: Dict[str, List[List[str]]], key_reference_dict: Dict[str, list]
|
|
297
300
|
) -> Tuple[Dict[str, List[str]], Dict[str, List[str]], Dict[str, List[str]]]:
|
|
298
301
|
"""Generate."""
|
|
299
|
-
header_list = ["<details
|
|
302
|
+
header_list = [f"<details>{self.details_to_bib_separator}", "```\n"]
|
|
300
303
|
tail_list = ["```\n", "</details>\n"]
|
|
301
304
|
|
|
302
305
|
key_basic_dict: Dict[str, List[str]] = {}
|
|
@@ -56,6 +56,7 @@ class PythonRunMd(BasicInput):
|
|
|
56
56
|
replace_by_basic_beauty_complex_in_md (str): Replace by basic, beauty, or complex format. Defaults to "beauty".
|
|
57
57
|
display_basic_beauty_complex_references_in_md (str): Display basic, beauty, or complex references. Defaults to "beauty".
|
|
58
58
|
add_anchor_in_md (bool): Whether add anchor in markdown. Defaults to False.
|
|
59
|
+
details_to_bib_separator (str): Separator between <details> and bibliography content. Defaults to "\n".
|
|
59
60
|
"""
|
|
60
61
|
|
|
61
62
|
def __init__(self, options: Dict[str, Any]) -> None:
|
|
@@ -77,6 +78,7 @@ class PythonRunMd(BasicInput):
|
|
|
77
78
|
"display_basic_beauty_complex_references_in_md", "beauty"
|
|
78
79
|
)
|
|
79
80
|
self.add_anchor_in_md: bool = options.get("add_anchor_in_md", False)
|
|
81
|
+
self.details_to_bib_separator: str = options.get("details_to_bib_separator", "\n")
|
|
80
82
|
|
|
81
83
|
# for md
|
|
82
84
|
self._pandoc_md_to = PandocMdTo(self.options)
|
|
@@ -262,7 +264,7 @@ class PythonRunMd(BasicInput):
|
|
|
262
264
|
bib_in_md = combine_content_in_list(
|
|
263
265
|
[
|
|
264
266
|
["## Bibliography\n\n"],
|
|
265
|
-
["<details
|
|
267
|
+
[f"<details>{self.details_to_bib_separator}"],
|
|
266
268
|
["```\n"],
|
|
267
269
|
temp_c,
|
|
268
270
|
["```\n"],
|
|
@@ -16,6 +16,8 @@
|
|
|
16
16
|
"add_anchor_for_beauty_dict": false,
|
|
17
17
|
// true, false
|
|
18
18
|
"add_anchor_for_complex_dict": false,
|
|
19
|
+
// "\n" or "\n\n"
|
|
20
|
+
"details_to_bib_separator": "\n",
|
|
19
21
|
|
|
20
22
|
// for md file
|
|
21
23
|
// pyeasyphd/main/python_run_md.py
|
|
@@ -35,6 +37,8 @@
|
|
|
35
37
|
"display_basic_beauty_complex_references_in_md": "beauty",
|
|
36
38
|
// true, false
|
|
37
39
|
"add_anchor_in_md": false,
|
|
40
|
+
// "\n" or "\n\n"
|
|
41
|
+
// "details_to_bib_separator": "\n",
|
|
38
42
|
|
|
39
43
|
// for tex file
|
|
40
44
|
// pyeasyphd/main/python_run_tex.py
|
|
@@ -68,6 +68,7 @@ def run_article_md_daily_notes(
|
|
|
68
68
|
"add_anchor_for_basic_dict": True, # default is False
|
|
69
69
|
"add_anchor_for_beauty_dict": False, # default is False
|
|
70
70
|
"add_anchor_for_complex_dict": False, # default is False
|
|
71
|
+
"details_to_bib_separator": "\n\n", # defulat is "\n"
|
|
71
72
|
"final_output_main_md_name": "main.md",
|
|
72
73
|
"delete_temp_generate_md": True,
|
|
73
74
|
"add_reference_in_md": True,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
[tool.poetry]
|
|
2
2
|
name = "pyeasyphd"
|
|
3
|
-
version = "0.4.
|
|
3
|
+
version = "0.4.4"
|
|
4
4
|
description = "pyeasyphd"
|
|
5
5
|
license = "GPL-3.0-or-later"
|
|
6
6
|
authors = ["NextAI <nextartifintell@gmail.com>"]
|
|
@@ -15,7 +15,7 @@ classifiers = ["Topic :: Software Development :: Libraries :: Python Modules"]
|
|
|
15
15
|
[tool.poetry.dependencies]
|
|
16
16
|
python = ">=3.12"
|
|
17
17
|
pyadvtools = "^0.2.14"
|
|
18
|
-
pybibtexer = "^0.2.
|
|
18
|
+
pybibtexer = "^0.2.17"
|
|
19
19
|
|
|
20
20
|
[tool.poetry.group.dev.dependencies]
|
|
21
21
|
mypy = "^1.18.1"
|
|
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
|
|
File without changes
|