pyeasyphd 0.2.5__tar.gz → 0.2.9__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 (45) hide show
  1. {pyeasyphd-0.2.5 → pyeasyphd-0.2.9}/PKG-INFO +3 -3
  2. {pyeasyphd-0.2.5 → pyeasyphd-0.2.9}/pyeasyphd/main/pandoc_md_to.py +6 -1
  3. {pyeasyphd-0.2.5 → pyeasyphd-0.2.9}/pyeasyphd/main/python_run_md.py +1 -1
  4. {pyeasyphd-0.2.5 → pyeasyphd-0.2.9}/pyeasyphd/pyeasyphd.sublime-settings +2 -0
  5. {pyeasyphd-0.2.5 → pyeasyphd-0.2.9}/pyeasyphd/scripts/run_article_md.py +2 -1
  6. {pyeasyphd-0.2.5 → pyeasyphd-0.2.9}/pyproject.toml +3 -3
  7. {pyeasyphd-0.2.5 → pyeasyphd-0.2.9}/LICENSE +0 -0
  8. {pyeasyphd-0.2.5 → pyeasyphd-0.2.9}/README.md +0 -0
  9. {pyeasyphd-0.2.5 → pyeasyphd-0.2.9}/pyeasyphd/.python-version +0 -0
  10. {pyeasyphd-0.2.5 → pyeasyphd-0.2.9}/pyeasyphd/Main.sublime-menu +0 -0
  11. {pyeasyphd-0.2.5 → pyeasyphd-0.2.9}/pyeasyphd/__init__.py +0 -0
  12. {pyeasyphd-0.2.5 → pyeasyphd-0.2.9}/pyeasyphd/data/Templates/CSL/apa-no-ampersand.csl +0 -0
  13. {pyeasyphd-0.2.5 → pyeasyphd-0.2.9}/pyeasyphd/data/Templates/CSL/apa.csl +0 -0
  14. {pyeasyphd-0.2.5 → pyeasyphd-0.2.9}/pyeasyphd/data/Templates/CSL/ieee.csl +0 -0
  15. {pyeasyphd-0.2.5 → pyeasyphd-0.2.9}/pyeasyphd/data/Templates/TEX/Article.tex +0 -0
  16. {pyeasyphd-0.2.5 → pyeasyphd-0.2.9}/pyeasyphd/data/Templates/TEX/Article_Header.tex +0 -0
  17. {pyeasyphd-0.2.5 → pyeasyphd-0.2.9}/pyeasyphd/data/Templates/TEX/Article_Tail.tex +0 -0
  18. {pyeasyphd-0.2.5 → pyeasyphd-0.2.9}/pyeasyphd/data/Templates/TEX/Beamer_Header.tex +0 -0
  19. {pyeasyphd-0.2.5 → pyeasyphd-0.2.9}/pyeasyphd/data/Templates/TEX/Beamer_Tail.tex +0 -0
  20. {pyeasyphd-0.2.5 → pyeasyphd-0.2.9}/pyeasyphd/data/Templates/TEX/Style.tex +0 -0
  21. {pyeasyphd-0.2.5 → pyeasyphd-0.2.9}/pyeasyphd/data/Templates/TEX/TEVC_Header.tex +0 -0
  22. {pyeasyphd-0.2.5 → pyeasyphd-0.2.9}/pyeasyphd/data/Templates/TEX/TEVC_Tail.tex +0 -0
  23. {pyeasyphd-0.2.5 → pyeasyphd-0.2.9}/pyeasyphd/data/Templates/TEX/eisvogel.beamer +0 -0
  24. {pyeasyphd-0.2.5 → pyeasyphd-0.2.9}/pyeasyphd/data/Templates/TEX/eisvogel.latex +0 -0
  25. {pyeasyphd-0.2.5 → pyeasyphd-0.2.9}/pyeasyphd/data/Templates/TEX/eisvogel.tex +0 -0
  26. {pyeasyphd-0.2.5 → pyeasyphd-0.2.9}/pyeasyphd/data/Templates/TEX/math.tex +0 -0
  27. {pyeasyphd-0.2.5 → pyeasyphd-0.2.9}/pyeasyphd/data/Templates/TEX/math_commands.tex +0 -0
  28. {pyeasyphd-0.2.5 → pyeasyphd-0.2.9}/pyeasyphd/main/__init__.py +0 -0
  29. {pyeasyphd-0.2.5 → pyeasyphd-0.2.9}/pyeasyphd/main/basic_input.py +0 -0
  30. {pyeasyphd-0.2.5 → pyeasyphd-0.2.9}/pyeasyphd/main/python_run_tex.py +0 -0
  31. {pyeasyphd-0.2.5 → pyeasyphd-0.2.9}/pyeasyphd/pyeasyphd.py +0 -0
  32. {pyeasyphd-0.2.5 → pyeasyphd-0.2.9}/pyeasyphd/pyeasyphd.sublime-syntax +0 -0
  33. {pyeasyphd-0.2.5 → pyeasyphd-0.2.9}/pyeasyphd/tools/__init__.py +0 -0
  34. {pyeasyphd-0.2.5 → pyeasyphd-0.2.9}/pyeasyphd/tools/generate/generate_from_bibs.py +0 -0
  35. {pyeasyphd-0.2.5 → pyeasyphd-0.2.9}/pyeasyphd/tools/generate/generate_html.py +0 -0
  36. {pyeasyphd-0.2.5 → pyeasyphd-0.2.9}/pyeasyphd/tools/generate/generate_library.py +0 -0
  37. {pyeasyphd-0.2.5 → pyeasyphd-0.2.9}/pyeasyphd/tools/generate/generate_links.py +0 -0
  38. {pyeasyphd-0.2.5 → pyeasyphd-0.2.9}/pyeasyphd/tools/py_run_bib_md_tex.py +0 -0
  39. {pyeasyphd-0.2.5 → pyeasyphd-0.2.9}/pyeasyphd/tools/search/data.py +0 -0
  40. {pyeasyphd-0.2.5 → pyeasyphd-0.2.9}/pyeasyphd/tools/search/search_base.py +0 -0
  41. {pyeasyphd-0.2.5 → pyeasyphd-0.2.9}/pyeasyphd/tools/search/search_core.py +0 -0
  42. {pyeasyphd-0.2.5 → pyeasyphd-0.2.9}/pyeasyphd/tools/search/search_keywords.py +0 -0
  43. {pyeasyphd-0.2.5 → pyeasyphd-0.2.9}/pyeasyphd/tools/search/search_writers.py +0 -0
  44. {pyeasyphd-0.2.5 → pyeasyphd-0.2.9}/pyeasyphd/tools/search/utils.py +0 -0
  45. {pyeasyphd-0.2.5 → pyeasyphd-0.2.9}/pyeasyphd/utils/utils.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: pyeasyphd
3
- Version: 0.2.5
3
+ Version: 0.2.9
4
4
  Summary: pyeasyphd
5
5
  License: GPL-3.0-or-later
6
6
  License-File: LICENSE
@@ -16,8 +16,8 @@ Classifier: Programming Language :: Python :: 3.12
16
16
  Classifier: Programming Language :: Python :: 3.13
17
17
  Classifier: Programming Language :: Python :: 3.14
18
18
  Classifier: Topic :: Software Development :: Libraries :: Python Modules
19
- Requires-Dist: pyadvtools (>=0.2.2,<0.3.0)
20
- Requires-Dist: pybibtexer (>=0.2.0,<0.3.0)
19
+ Requires-Dist: pyadvtools (>=0.2.4,<0.3.0)
20
+ Requires-Dist: pybibtexer (>=0.2.1,<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
@@ -31,6 +31,7 @@ class PandocMdTo(BasicInput):
31
31
  google_connected_paper_scite (bool): Whether to use Google connected paper scite. Defaults to True.
32
32
  display_one_line_reference_note (bool): Whether to display one line reference note. Defaults to False.
33
33
  cite_flag_in_tex (str): Citation flag in LaTeX. Defaults to "cite".
34
+ add_url_for_basic_dict (bool): Whether to add url for items in basic dict. Defualts to True.
34
35
  """
35
36
 
36
37
  def __init__(self, options: dict) -> None:
@@ -52,6 +53,8 @@ class PandocMdTo(BasicInput):
52
53
  # tex
53
54
  self.cite_flag_in_tex: str = options.get("cite_flag_in_tex", "cite")
54
55
 
56
+ self.add_url_for_basic_dict: bool = options.get("add_url_for_basic_dict", True)
57
+
55
58
  def pandoc_md_to_md(
56
59
  self, path_bib: str, path_md_one: str, path_md_two: str, name_md_one: Optional[str], name_md_two: Optional[str]
57
60
  ) -> List[str]:
@@ -311,7 +314,9 @@ class PandocMdTo(BasicInput):
311
314
  if (not self.google_connected_paper_scite) and aa:
312
315
  bb = [f"([www]({aa[0].strip()}))\n"]
313
316
 
314
- a.extend(aa)
317
+ if self.add_url_for_basic_dict:
318
+ a.extend(aa)
319
+
315
320
  b.extend(bb)
316
321
 
317
322
  if self.display_one_line_reference_note:
@@ -206,7 +206,7 @@ class PythonRunMd(BasicInput):
206
206
  main_part, last_part = [], []
207
207
  main_part_flag, last_part_flag = True, True
208
208
  for line_index in range(len(data_list_md)):
209
- if main_part_flag and re.match(r"#+ References\s[\[{]", data_list_md[line_index]):
209
+ if main_part_flag and re.match(r"#+ [\"']?References[\"']?\s[\[{]", data_list_md[line_index]):
210
210
  main_part_flag = False
211
211
  main_part = delete_empty_lines_last_occur_add_new_line(data_list_md[:line_index])
212
212
  if last_part_flag and re.match(r"^\[\^1]: ", data_list_md[line_index]):
@@ -9,6 +9,8 @@
9
9
  "display_one_line_reference_note": false,
10
10
  // "fullcite", "cite"
11
11
  "cite_flag_in_tex": "cite",
12
+ // true, false
13
+ "add_url_for_basic_dict": true,
12
14
 
13
15
  // for md file
14
16
  // pyeasyphd/main/python_run_md.py
@@ -36,7 +36,7 @@ def run_article_md_daily_notes(
36
36
  # bib options
37
37
  "abbr_index_article_for_abbr": 1, # 0, 1, 2
38
38
  "abbr_index_inproceedings_for_abbr": 2, # 0, 1, 2
39
- "add_link_to_fields_for_abbr": None, # None, or ["title", "journal", "booktitle"]
39
+ "add_link_to_fields_for_abbr": ["title"], # None, or ["title", "journal", "booktitle"]
40
40
  "maximum_authors_for_abbr": 0, # 0, 1, 2, ...
41
41
  "add_index_to_entries": False,
42
42
  "bib_for_abbr_name": "abbr.bib",
@@ -62,6 +62,7 @@ def run_article_md_daily_notes(
62
62
  "generate_tex": False,
63
63
 
64
64
  # md options
65
+ "add_url_for_basic_dict": False, # True
65
66
  "final_output_main_md_name": "main.md",
66
67
  "delete_temp_generate_md": True,
67
68
  "add_reference_in_md": True,
@@ -1,6 +1,6 @@
1
1
  [tool.poetry]
2
2
  name = "pyeasyphd"
3
- version = "0.2.5"
3
+ version = "0.2.9"
4
4
  description = "pyeasyphd"
5
5
  license = "GPL-3.0-or-later"
6
6
  authors = ["NextAI <nextartifintell@gmail.com>"]
@@ -14,8 +14,8 @@ classifiers = ["Topic :: Software Development :: Libraries :: Python Modules"]
14
14
 
15
15
  [tool.poetry.dependencies]
16
16
  python = ">=3.12"
17
- pyadvtools = "^0.2.2"
18
- pybibtexer = "^0.2.0"
17
+ pyadvtools = "^0.2.4"
18
+ pybibtexer = "^0.2.1"
19
19
 
20
20
  [tool.poetry.group.dev.dependencies]
21
21
  mypy = "^1.18.1"
File without changes
File without changes