pyeasyphd 0.4.2__tar.gz → 0.4.3__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.

Files changed (53) hide show
  1. {pyeasyphd-0.4.2 → pyeasyphd-0.4.3}/PKG-INFO +1 -1
  2. {pyeasyphd-0.4.2 → pyeasyphd-0.4.3}/pyeasyphd/main/pandoc_md_to.py +4 -1
  3. {pyeasyphd-0.4.2 → pyeasyphd-0.4.3}/pyeasyphd/main/python_run_md.py +3 -1
  4. {pyeasyphd-0.4.2 → pyeasyphd-0.4.3}/pyeasyphd/pyeasyphd.sublime-settings +4 -0
  5. {pyeasyphd-0.4.2 → pyeasyphd-0.4.3}/pyeasyphd/scripts/run_article_md.py +1 -0
  6. {pyeasyphd-0.4.2 → pyeasyphd-0.4.3}/pyproject.toml +1 -1
  7. {pyeasyphd-0.4.2 → pyeasyphd-0.4.3}/LICENSE +0 -0
  8. {pyeasyphd-0.4.2 → pyeasyphd-0.4.3}/README.md +0 -0
  9. {pyeasyphd-0.4.2 → pyeasyphd-0.4.3}/pyeasyphd/.python-version +0 -0
  10. {pyeasyphd-0.4.2 → pyeasyphd-0.4.3}/pyeasyphd/Main.sublime-menu +0 -0
  11. {pyeasyphd-0.4.2 → pyeasyphd-0.4.3}/pyeasyphd/__init__.py +0 -0
  12. {pyeasyphd-0.4.2 → pyeasyphd-0.4.3}/pyeasyphd/data/templates/csl/apa-no-ampersand.csl +0 -0
  13. {pyeasyphd-0.4.2 → pyeasyphd-0.4.3}/pyeasyphd/data/templates/csl/apa.csl +0 -0
  14. {pyeasyphd-0.4.2 → pyeasyphd-0.4.3}/pyeasyphd/data/templates/csl/ieee.csl +0 -0
  15. {pyeasyphd-0.4.2 → pyeasyphd-0.4.3}/pyeasyphd/data/templates/tex/Article.tex +0 -0
  16. {pyeasyphd-0.4.2 → pyeasyphd-0.4.3}/pyeasyphd/data/templates/tex/Article_Header.tex +0 -0
  17. {pyeasyphd-0.4.2 → pyeasyphd-0.4.3}/pyeasyphd/data/templates/tex/Article_Tail.tex +0 -0
  18. {pyeasyphd-0.4.2 → pyeasyphd-0.4.3}/pyeasyphd/data/templates/tex/Beamer_Header.tex +0 -0
  19. {pyeasyphd-0.4.2 → pyeasyphd-0.4.3}/pyeasyphd/data/templates/tex/Beamer_Tail.tex +0 -0
  20. {pyeasyphd-0.4.2 → pyeasyphd-0.4.3}/pyeasyphd/data/templates/tex/Style.tex +0 -0
  21. {pyeasyphd-0.4.2 → pyeasyphd-0.4.3}/pyeasyphd/data/templates/tex/TEVC_Header.tex +0 -0
  22. {pyeasyphd-0.4.2 → pyeasyphd-0.4.3}/pyeasyphd/data/templates/tex/TEVC_Tail.tex +0 -0
  23. {pyeasyphd-0.4.2 → pyeasyphd-0.4.3}/pyeasyphd/data/templates/tex/eisvogel.tex +0 -0
  24. {pyeasyphd-0.4.2 → pyeasyphd-0.4.3}/pyeasyphd/data/templates/tex/math.tex +0 -0
  25. {pyeasyphd-0.4.2 → pyeasyphd-0.4.3}/pyeasyphd/data/templates/tex/math_commands.tex +0 -0
  26. {pyeasyphd-0.4.2 → pyeasyphd-0.4.3}/pyeasyphd/data/templates/tex/nextaimathmacros.sty +0 -0
  27. {pyeasyphd-0.4.2 → pyeasyphd-0.4.3}/pyeasyphd/main/__init__.py +0 -0
  28. {pyeasyphd-0.4.2 → pyeasyphd-0.4.3}/pyeasyphd/main/basic_input.py +0 -0
  29. {pyeasyphd-0.4.2 → pyeasyphd-0.4.3}/pyeasyphd/main/python_run_tex.py +0 -0
  30. {pyeasyphd-0.4.2 → pyeasyphd-0.4.3}/pyeasyphd/pyeasyphd.py +0 -0
  31. {pyeasyphd-0.4.2 → pyeasyphd-0.4.3}/pyeasyphd/pyeasyphd.sublime-syntax +0 -0
  32. {pyeasyphd-0.4.2 → pyeasyphd-0.4.3}/pyeasyphd/scripts/__init__.py +0 -0
  33. {pyeasyphd-0.4.2 → pyeasyphd-0.4.3}/pyeasyphd/scripts/_base.py +0 -0
  34. {pyeasyphd-0.4.2 → pyeasyphd-0.4.3}/pyeasyphd/scripts/run_article_tex.py +0 -0
  35. {pyeasyphd-0.4.2 → pyeasyphd-0.4.3}/pyeasyphd/scripts/run_beamer_tex.py +0 -0
  36. {pyeasyphd-0.4.2 → pyeasyphd-0.4.3}/pyeasyphd/scripts/run_compare.py +0 -0
  37. {pyeasyphd-0.4.2 → pyeasyphd-0.4.3}/pyeasyphd/scripts/run_format.py +0 -0
  38. {pyeasyphd-0.4.2 → pyeasyphd-0.4.3}/pyeasyphd/scripts/run_generate.py +0 -0
  39. {pyeasyphd-0.4.2 → pyeasyphd-0.4.3}/pyeasyphd/scripts/run_replace.py +0 -0
  40. {pyeasyphd-0.4.2 → pyeasyphd-0.4.3}/pyeasyphd/scripts/run_search.py +0 -0
  41. {pyeasyphd-0.4.2 → pyeasyphd-0.4.3}/pyeasyphd/tools/__init__.py +0 -0
  42. {pyeasyphd-0.4.2 → pyeasyphd-0.4.3}/pyeasyphd/tools/generate/generate_from_bibs.py +0 -0
  43. {pyeasyphd-0.4.2 → pyeasyphd-0.4.3}/pyeasyphd/tools/generate/generate_html.py +0 -0
  44. {pyeasyphd-0.4.2 → pyeasyphd-0.4.3}/pyeasyphd/tools/generate/generate_library.py +0 -0
  45. {pyeasyphd-0.4.2 → pyeasyphd-0.4.3}/pyeasyphd/tools/generate/generate_links.py +0 -0
  46. {pyeasyphd-0.4.2 → pyeasyphd-0.4.3}/pyeasyphd/tools/py_run_bib_md_tex.py +0 -0
  47. {pyeasyphd-0.4.2 → pyeasyphd-0.4.3}/pyeasyphd/tools/search/data.py +0 -0
  48. {pyeasyphd-0.4.2 → pyeasyphd-0.4.3}/pyeasyphd/tools/search/search_base.py +0 -0
  49. {pyeasyphd-0.4.2 → pyeasyphd-0.4.3}/pyeasyphd/tools/search/search_core.py +0 -0
  50. {pyeasyphd-0.4.2 → pyeasyphd-0.4.3}/pyeasyphd/tools/search/search_keywords.py +0 -0
  51. {pyeasyphd-0.4.2 → pyeasyphd-0.4.3}/pyeasyphd/tools/search/search_writers.py +0 -0
  52. {pyeasyphd-0.4.2 → pyeasyphd-0.4.3}/pyeasyphd/tools/search/utils.py +0 -0
  53. {pyeasyphd-0.4.2 → pyeasyphd-0.4.3}/pyeasyphd/utils/utils.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: pyeasyphd
3
- Version: 0.4.2
3
+ Version: 0.4.3
4
4
  Summary: pyeasyphd
5
5
  License: GPL-3.0-or-later
6
6
  License-File: LICENSE
@@ -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>\n", "```\n"]
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>\n<summary>Bibliography</summary>\n\n"],
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.2"
3
+ version = "0.4.3"
4
4
  description = "pyeasyphd"
5
5
  license = "GPL-3.0-or-later"
6
6
  authors = ["NextAI <nextartifintell@gmail.com>"]
File without changes
File without changes