pyeasyphd 0.3.13__tar.gz → 0.3.16__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.13 → pyeasyphd-0.3.16}/PKG-INFO +2 -2
- {pyeasyphd-0.3.13 → pyeasyphd-0.3.16}/pyeasyphd/main/basic_input.py +12 -14
- {pyeasyphd-0.3.13 → pyeasyphd-0.3.16}/pyproject.toml +2 -2
- pyeasyphd-0.3.13/pyeasyphd/data/Templates/TEX/eisvogel.beamer +0 -700
- pyeasyphd-0.3.13/pyeasyphd/data/Templates/TEX/eisvogel.latex +0 -1040
- {pyeasyphd-0.3.13 → pyeasyphd-0.3.16}/LICENSE +0 -0
- {pyeasyphd-0.3.13 → pyeasyphd-0.3.16}/README.md +0 -0
- {pyeasyphd-0.3.13 → pyeasyphd-0.3.16}/pyeasyphd/.python-version +0 -0
- {pyeasyphd-0.3.13 → pyeasyphd-0.3.16}/pyeasyphd/Main.sublime-menu +0 -0
- {pyeasyphd-0.3.13 → pyeasyphd-0.3.16}/pyeasyphd/__init__.py +0 -0
- {pyeasyphd-0.3.13/pyeasyphd/data/Templates/CSL → pyeasyphd-0.3.16/pyeasyphd/data/templates/csl}/apa-no-ampersand.csl +0 -0
- {pyeasyphd-0.3.13/pyeasyphd/data/Templates/CSL → pyeasyphd-0.3.16/pyeasyphd/data/templates/csl}/apa.csl +0 -0
- {pyeasyphd-0.3.13/pyeasyphd/data/Templates/CSL → pyeasyphd-0.3.16/pyeasyphd/data/templates/csl}/ieee.csl +0 -0
- {pyeasyphd-0.3.13/pyeasyphd/data/Templates/TEX → pyeasyphd-0.3.16/pyeasyphd/data/templates/tex}/Article.tex +0 -0
- {pyeasyphd-0.3.13/pyeasyphd/data/Templates/TEX → pyeasyphd-0.3.16/pyeasyphd/data/templates/tex}/Article_Header.tex +0 -0
- {pyeasyphd-0.3.13/pyeasyphd/data/Templates/TEX → pyeasyphd-0.3.16/pyeasyphd/data/templates/tex}/Article_Tail.tex +0 -0
- {pyeasyphd-0.3.13/pyeasyphd/data/Templates/TEX → pyeasyphd-0.3.16/pyeasyphd/data/templates/tex}/Beamer_Header.tex +0 -0
- {pyeasyphd-0.3.13/pyeasyphd/data/Templates/TEX → pyeasyphd-0.3.16/pyeasyphd/data/templates/tex}/Beamer_Tail.tex +0 -0
- {pyeasyphd-0.3.13/pyeasyphd/data/Templates/TEX → pyeasyphd-0.3.16/pyeasyphd/data/templates/tex}/Style.tex +0 -0
- {pyeasyphd-0.3.13/pyeasyphd/data/Templates/TEX → pyeasyphd-0.3.16/pyeasyphd/data/templates/tex}/TEVC_Header.tex +0 -0
- {pyeasyphd-0.3.13/pyeasyphd/data/Templates/TEX → pyeasyphd-0.3.16/pyeasyphd/data/templates/tex}/TEVC_Tail.tex +0 -0
- {pyeasyphd-0.3.13/pyeasyphd/data/Templates/TEX → pyeasyphd-0.3.16/pyeasyphd/data/templates/tex}/eisvogel.tex +0 -0
- {pyeasyphd-0.3.13/pyeasyphd/data/Templates/TEX → pyeasyphd-0.3.16/pyeasyphd/data/templates/tex}/math.tex +0 -0
- {pyeasyphd-0.3.13/pyeasyphd/data/Templates/TEX → pyeasyphd-0.3.16/pyeasyphd/data/templates/tex}/math_commands.tex +0 -0
- {pyeasyphd-0.3.13/pyeasyphd/data/Templates/TEX → pyeasyphd-0.3.16/pyeasyphd/data/templates/tex}/nextaimathmacros.sty +0 -0
- {pyeasyphd-0.3.13 → pyeasyphd-0.3.16}/pyeasyphd/main/__init__.py +0 -0
- {pyeasyphd-0.3.13 → pyeasyphd-0.3.16}/pyeasyphd/main/pandoc_md_to.py +0 -0
- {pyeasyphd-0.3.13 → pyeasyphd-0.3.16}/pyeasyphd/main/python_run_md.py +0 -0
- {pyeasyphd-0.3.13 → pyeasyphd-0.3.16}/pyeasyphd/main/python_run_tex.py +0 -0
- {pyeasyphd-0.3.13 → pyeasyphd-0.3.16}/pyeasyphd/pyeasyphd.py +0 -0
- {pyeasyphd-0.3.13 → pyeasyphd-0.3.16}/pyeasyphd/pyeasyphd.sublime-settings +0 -0
- {pyeasyphd-0.3.13 → pyeasyphd-0.3.16}/pyeasyphd/pyeasyphd.sublime-syntax +0 -0
- {pyeasyphd-0.3.13 → pyeasyphd-0.3.16}/pyeasyphd/scripts/__init__.py +0 -0
- {pyeasyphd-0.3.13 → pyeasyphd-0.3.16}/pyeasyphd/scripts/_base.py +0 -0
- {pyeasyphd-0.3.13 → pyeasyphd-0.3.16}/pyeasyphd/scripts/run_article_md.py +0 -0
- {pyeasyphd-0.3.13 → pyeasyphd-0.3.16}/pyeasyphd/scripts/run_article_tex.py +0 -0
- {pyeasyphd-0.3.13 → pyeasyphd-0.3.16}/pyeasyphd/scripts/run_beamer_tex.py +0 -0
- {pyeasyphd-0.3.13 → pyeasyphd-0.3.16}/pyeasyphd/scripts/run_compare.py +0 -0
- {pyeasyphd-0.3.13 → pyeasyphd-0.3.16}/pyeasyphd/scripts/run_format.py +0 -0
- {pyeasyphd-0.3.13 → pyeasyphd-0.3.16}/pyeasyphd/scripts/run_generate.py +0 -0
- {pyeasyphd-0.3.13 → pyeasyphd-0.3.16}/pyeasyphd/scripts/run_search.py +0 -0
- {pyeasyphd-0.3.13 → pyeasyphd-0.3.16}/pyeasyphd/tools/__init__.py +0 -0
- {pyeasyphd-0.3.13 → pyeasyphd-0.3.16}/pyeasyphd/tools/generate/generate_from_bibs.py +0 -0
- {pyeasyphd-0.3.13 → pyeasyphd-0.3.16}/pyeasyphd/tools/generate/generate_html.py +0 -0
- {pyeasyphd-0.3.13 → pyeasyphd-0.3.16}/pyeasyphd/tools/generate/generate_library.py +0 -0
- {pyeasyphd-0.3.13 → pyeasyphd-0.3.16}/pyeasyphd/tools/generate/generate_links.py +0 -0
- {pyeasyphd-0.3.13 → pyeasyphd-0.3.16}/pyeasyphd/tools/py_run_bib_md_tex.py +0 -0
- {pyeasyphd-0.3.13 → pyeasyphd-0.3.16}/pyeasyphd/tools/search/data.py +0 -0
- {pyeasyphd-0.3.13 → pyeasyphd-0.3.16}/pyeasyphd/tools/search/search_base.py +0 -0
- {pyeasyphd-0.3.13 → pyeasyphd-0.3.16}/pyeasyphd/tools/search/search_core.py +0 -0
- {pyeasyphd-0.3.13 → pyeasyphd-0.3.16}/pyeasyphd/tools/search/search_keywords.py +0 -0
- {pyeasyphd-0.3.13 → pyeasyphd-0.3.16}/pyeasyphd/tools/search/search_writers.py +0 -0
- {pyeasyphd-0.3.13 → pyeasyphd-0.3.16}/pyeasyphd/tools/search/utils.py +0 -0
- {pyeasyphd-0.3.13 → pyeasyphd-0.3.16}/pyeasyphd/utils/utils.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: pyeasyphd
|
|
3
|
-
Version: 0.3.
|
|
3
|
+
Version: 0.3.16
|
|
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.4,<0.3.0)
|
|
20
|
-
Requires-Dist: pybibtexer (>=0.2.
|
|
20
|
+
Requires-Dist: pybibtexer (>=0.2.5,<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
|
|
@@ -12,8 +12,6 @@ class BasicInput(BasicInputInPyBibtexer):
|
|
|
12
12
|
options (Dict[str, Any]): Configuration options.
|
|
13
13
|
|
|
14
14
|
Attributes:
|
|
15
|
-
full_json_c (str): Full path to conferences JSON file.
|
|
16
|
-
full_json_j (str): Full path to journals JSON file.
|
|
17
15
|
full_csl_style_pandoc (str): Full path to CSL style for pandoc.
|
|
18
16
|
full_tex_article_template_pandoc (str): Full path to tex article template for pandoc.
|
|
19
17
|
full_tex_beamer_template_pandoc (str): Full path to tex beamer template for pandoc.
|
|
@@ -37,7 +35,7 @@ class BasicInput(BasicInputInPyBibtexer):
|
|
|
37
35
|
super().__init__(options)
|
|
38
36
|
|
|
39
37
|
current_dir = os.path.dirname(os.path.abspath(__file__))
|
|
40
|
-
self._path_templates = os.path.join(os.path.dirname(current_dir), "data", "
|
|
38
|
+
self._path_templates = os.path.join(os.path.dirname(current_dir), "data", "templates")
|
|
41
39
|
|
|
42
40
|
# main
|
|
43
41
|
self._initialize_pandoc_md_to(options)
|
|
@@ -54,14 +52,14 @@ class BasicInput(BasicInputInPyBibtexer):
|
|
|
54
52
|
csl_name = options.get("csl_name", "apa-no-ampersand")
|
|
55
53
|
if not isinstance(csl_name, str):
|
|
56
54
|
csl_name = "apa-no-ampersand"
|
|
57
|
-
self.full_csl_style_pandoc = os.path.join(self._path_templates, "
|
|
55
|
+
self.full_csl_style_pandoc = os.path.join(self._path_templates, "csl", f"{csl_name}.csl")
|
|
58
56
|
if not os.path.exists(self.full_csl_style_pandoc):
|
|
59
|
-
self.full_csl_style_pandoc = os.path.join(self._path_templates, "
|
|
57
|
+
self.full_csl_style_pandoc = os.path.join(self._path_templates, "csl", "apa-no-ampersand.csl")
|
|
60
58
|
|
|
61
|
-
self.full_tex_article_template_pandoc = os.path.join(self._path_templates, "
|
|
62
|
-
self.full_tex_beamer_template_pandoc = os.path.join(self._path_templates, "
|
|
59
|
+
self.full_tex_article_template_pandoc = os.path.join(self._path_templates, "tex", "eisvogel.latex")
|
|
60
|
+
self.full_tex_beamer_template_pandoc = os.path.join(self._path_templates, "tex", "eisvogel.beamer")
|
|
63
61
|
|
|
64
|
-
self.article_template_tex = self._try_read_list("
|
|
62
|
+
self.article_template_tex = self._try_read_list("tex", "Article.tex")
|
|
65
63
|
|
|
66
64
|
def _initialize_python_run_tex(self, options: Dict[str, Any]) -> None:
|
|
67
65
|
"""Initialize Python LaTeX processing configuration.
|
|
@@ -69,12 +67,12 @@ class BasicInput(BasicInputInPyBibtexer):
|
|
|
69
67
|
Args:
|
|
70
68
|
options (Dict[str, Any]): Configuration options.
|
|
71
69
|
"""
|
|
72
|
-
self.article_template_header_tex = self._try_read_list("
|
|
73
|
-
self.article_template_tail_tex = self._try_read_list("
|
|
74
|
-
self.beamer_template_header_tex = self._try_read_list("
|
|
75
|
-
self.beamer_template_tail_tex = self._try_read_list("
|
|
76
|
-
self.math_commands_tex = self._try_read_list("
|
|
77
|
-
self.usepackages_tex = self._try_read_list("
|
|
70
|
+
self.article_template_header_tex = self._try_read_list("tex", "Article_Header.tex")
|
|
71
|
+
self.article_template_tail_tex = self._try_read_list("tex", "Article_Tail.tex")
|
|
72
|
+
self.beamer_template_header_tex = self._try_read_list("tex", "Beamer_Header.tex")
|
|
73
|
+
self.beamer_template_tail_tex = self._try_read_list("tex", "Beamer_Tail.tex")
|
|
74
|
+
self.math_commands_tex = self._try_read_list("tex", "math_commands.tex")
|
|
75
|
+
self.usepackages_tex = self._try_read_list("tex", "Style.tex")
|
|
78
76
|
|
|
79
77
|
# handly preamble
|
|
80
78
|
self.handly_preamble = options.get("handly_preamble", False)
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
[tool.poetry]
|
|
2
2
|
name = "pyeasyphd"
|
|
3
|
-
version = "0.3.
|
|
3
|
+
version = "0.3.16"
|
|
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.4"
|
|
18
|
-
pybibtexer = "^0.2.
|
|
18
|
+
pybibtexer = "^0.2.5"
|
|
19
19
|
|
|
20
20
|
[tool.poetry.group.dev.dependencies]
|
|
21
21
|
mypy = "^1.18.1"
|