pyeasyphd 0.3.1__tar.gz → 0.3.2__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 (47) hide show
  1. {pyeasyphd-0.3.1 → pyeasyphd-0.3.2}/PKG-INFO +1 -1
  2. pyeasyphd-0.3.2/pyeasyphd/scripts/run_beamer_tex.py +105 -0
  3. {pyeasyphd-0.3.1 → pyeasyphd-0.3.2}/pyproject.toml +1 -1
  4. {pyeasyphd-0.3.1 → pyeasyphd-0.3.2}/LICENSE +0 -0
  5. {pyeasyphd-0.3.1 → pyeasyphd-0.3.2}/README.md +0 -0
  6. {pyeasyphd-0.3.1 → pyeasyphd-0.3.2}/pyeasyphd/.python-version +0 -0
  7. {pyeasyphd-0.3.1 → pyeasyphd-0.3.2}/pyeasyphd/Main.sublime-menu +0 -0
  8. {pyeasyphd-0.3.1 → pyeasyphd-0.3.2}/pyeasyphd/__init__.py +0 -0
  9. {pyeasyphd-0.3.1 → pyeasyphd-0.3.2}/pyeasyphd/data/Templates/CSL/apa-no-ampersand.csl +0 -0
  10. {pyeasyphd-0.3.1 → pyeasyphd-0.3.2}/pyeasyphd/data/Templates/CSL/apa.csl +0 -0
  11. {pyeasyphd-0.3.1 → pyeasyphd-0.3.2}/pyeasyphd/data/Templates/CSL/ieee.csl +0 -0
  12. {pyeasyphd-0.3.1 → pyeasyphd-0.3.2}/pyeasyphd/data/Templates/TEX/Article.tex +0 -0
  13. {pyeasyphd-0.3.1 → pyeasyphd-0.3.2}/pyeasyphd/data/Templates/TEX/Article_Header.tex +0 -0
  14. {pyeasyphd-0.3.1 → pyeasyphd-0.3.2}/pyeasyphd/data/Templates/TEX/Article_Tail.tex +0 -0
  15. {pyeasyphd-0.3.1 → pyeasyphd-0.3.2}/pyeasyphd/data/Templates/TEX/Beamer_Header.tex +0 -0
  16. {pyeasyphd-0.3.1 → pyeasyphd-0.3.2}/pyeasyphd/data/Templates/TEX/Beamer_Tail.tex +0 -0
  17. {pyeasyphd-0.3.1 → pyeasyphd-0.3.2}/pyeasyphd/data/Templates/TEX/Style.tex +0 -0
  18. {pyeasyphd-0.3.1 → pyeasyphd-0.3.2}/pyeasyphd/data/Templates/TEX/TEVC_Header.tex +0 -0
  19. {pyeasyphd-0.3.1 → pyeasyphd-0.3.2}/pyeasyphd/data/Templates/TEX/TEVC_Tail.tex +0 -0
  20. {pyeasyphd-0.3.1 → pyeasyphd-0.3.2}/pyeasyphd/data/Templates/TEX/eisvogel.beamer +0 -0
  21. {pyeasyphd-0.3.1 → pyeasyphd-0.3.2}/pyeasyphd/data/Templates/TEX/eisvogel.latex +0 -0
  22. {pyeasyphd-0.3.1 → pyeasyphd-0.3.2}/pyeasyphd/data/Templates/TEX/eisvogel.tex +0 -0
  23. {pyeasyphd-0.3.1 → pyeasyphd-0.3.2}/pyeasyphd/data/Templates/TEX/math.tex +0 -0
  24. {pyeasyphd-0.3.1 → pyeasyphd-0.3.2}/pyeasyphd/data/Templates/TEX/math_commands.tex +0 -0
  25. {pyeasyphd-0.3.1 → pyeasyphd-0.3.2}/pyeasyphd/main/__init__.py +0 -0
  26. {pyeasyphd-0.3.1 → pyeasyphd-0.3.2}/pyeasyphd/main/basic_input.py +0 -0
  27. {pyeasyphd-0.3.1 → pyeasyphd-0.3.2}/pyeasyphd/main/pandoc_md_to.py +0 -0
  28. {pyeasyphd-0.3.1 → pyeasyphd-0.3.2}/pyeasyphd/main/python_run_md.py +0 -0
  29. {pyeasyphd-0.3.1 → pyeasyphd-0.3.2}/pyeasyphd/main/python_run_tex.py +0 -0
  30. {pyeasyphd-0.3.1 → pyeasyphd-0.3.2}/pyeasyphd/pyeasyphd.py +0 -0
  31. {pyeasyphd-0.3.1 → pyeasyphd-0.3.2}/pyeasyphd/pyeasyphd.sublime-settings +0 -0
  32. {pyeasyphd-0.3.1 → pyeasyphd-0.3.2}/pyeasyphd/pyeasyphd.sublime-syntax +0 -0
  33. {pyeasyphd-0.3.1 → pyeasyphd-0.3.2}/pyeasyphd/scripts/run_article_md.py +0 -0
  34. {pyeasyphd-0.3.1 → pyeasyphd-0.3.2}/pyeasyphd/scripts/run_article_tex.py +0 -0
  35. {pyeasyphd-0.3.1 → pyeasyphd-0.3.2}/pyeasyphd/tools/__init__.py +0 -0
  36. {pyeasyphd-0.3.1 → pyeasyphd-0.3.2}/pyeasyphd/tools/generate/generate_from_bibs.py +0 -0
  37. {pyeasyphd-0.3.1 → pyeasyphd-0.3.2}/pyeasyphd/tools/generate/generate_html.py +0 -0
  38. {pyeasyphd-0.3.1 → pyeasyphd-0.3.2}/pyeasyphd/tools/generate/generate_library.py +0 -0
  39. {pyeasyphd-0.3.1 → pyeasyphd-0.3.2}/pyeasyphd/tools/generate/generate_links.py +0 -0
  40. {pyeasyphd-0.3.1 → pyeasyphd-0.3.2}/pyeasyphd/tools/py_run_bib_md_tex.py +0 -0
  41. {pyeasyphd-0.3.1 → pyeasyphd-0.3.2}/pyeasyphd/tools/search/data.py +0 -0
  42. {pyeasyphd-0.3.1 → pyeasyphd-0.3.2}/pyeasyphd/tools/search/search_base.py +0 -0
  43. {pyeasyphd-0.3.1 → pyeasyphd-0.3.2}/pyeasyphd/tools/search/search_core.py +0 -0
  44. {pyeasyphd-0.3.1 → pyeasyphd-0.3.2}/pyeasyphd/tools/search/search_keywords.py +0 -0
  45. {pyeasyphd-0.3.1 → pyeasyphd-0.3.2}/pyeasyphd/tools/search/search_writers.py +0 -0
  46. {pyeasyphd-0.3.1 → pyeasyphd-0.3.2}/pyeasyphd/tools/search/utils.py +0 -0
  47. {pyeasyphd-0.3.1 → pyeasyphd-0.3.2}/pyeasyphd/utils/utils.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: pyeasyphd
3
- Version: 0.3.1
3
+ Version: 0.3.2
4
4
  Summary: pyeasyphd
5
5
  License: GPL-3.0-or-later
6
6
  License-File: LICENSE
@@ -0,0 +1,105 @@
1
+ import os
2
+
3
+ from pyeasyphd.tools import PyRunBibMdTex
4
+
5
+
6
+ def run_beamer_tex_weekly_reports(
7
+ path_input_file: str,
8
+ input_file_names: list[str],
9
+ path_output_file: str,
10
+ bib_path_or_file: str,
11
+ path_conferences_journals_json: str,
12
+ options: dict
13
+ ) -> None:
14
+ """
15
+ Process academic article files (TeX, and bibliography) with automated Git version control.
16
+
17
+ This function handles the conversion and processing of academic article files including TeX documents, and
18
+ bibliography management with automatic Git commit and push capabilities.
19
+
20
+ Note: The raw figures and TeX source files must be located in the data/raw subdirectory of the input path.
21
+
22
+ Args:
23
+ path_input_file (str): Path to input files directory
24
+ input_file_names (list[str]): List of input file names
25
+ path_output_file (str): Path to output directory
26
+ bib_path_or_file (str): Path to bibliography file or directory
27
+ path_conferences_journals_json (str): Path to conferences and journals JSON files directory
28
+ options (dict): Additional options to override default settings
29
+
30
+ Returns:
31
+ None
32
+ """
33
+ path_input_file = os.path.expandvars(os.path.expanduser(path_input_file))
34
+ path_output_file = os.path.expandvars(os.path.expanduser(path_output_file))
35
+
36
+ # Initialize default options with detailed descriptions
37
+ _options = {
38
+ "full_json_c": os.path.expanduser(os.path.join(path_conferences_journals_json, "conferences.json")),
39
+ "full_json_j": os.path.expanduser(os.path.join(path_conferences_journals_json, "journals.json")),
40
+
41
+ # figure options
42
+ "includegraphics_figs_directory": "",
43
+ "shutil_includegraphics_figs": True,
44
+ "includegraphics_figs_in_relative_path": True,
45
+ "figure_folder_name": "figs", # "" or "figs" or "main"
46
+
47
+ # bib options
48
+ "abbr_index_article_for_abbr": 1, # 0, 1, 2
49
+ "abbr_index_inproceedings_for_abbr": 0, # 0, 1, 2
50
+ "add_link_to_fields_for_abbr": None, # None, or ["title", "journal", "booktitle"]
51
+ "maximum_authors_for_abbr": 0, # 0, 1, 2, ...
52
+ "add_index_to_entries": False,
53
+ "bib_for_abbr_name": "abbr.bib",
54
+ "bib_for_zotero_name": "zotero.bib",
55
+ "bib_for_save_name": "save.bib",
56
+ "display_google_connected_scite": ["google", "connected", "scite"],
57
+
58
+ "bib_folder_name": "bibs", # "" or "bib" or "bibs" or "main"
59
+ "delete_original_bib_in_output_folder": False,
60
+ "bib_path_or_file": os.path.expanduser(bib_path_or_file),
61
+
62
+ # tex options
63
+ "handly_preamble": True,
64
+ "final_output_main_tex_name": "main.tex",
65
+ "run_latex": False,
66
+ "delete_run_latex_cache": False,
67
+
68
+ "input_texs_directory": "",
69
+ "shutil_input_texs": False, # default is True
70
+ "input_texs_in_relative_path": True,
71
+ "tex_folder_name": "texs", # "" or "tex" or "texs" or "main"
72
+ "delete_original_tex_in_output_folder": True, # default is False
73
+ "generate_tex": True,
74
+
75
+ # md options
76
+ "add_url_for_basic_dict": True, # default is True
77
+ "add_anchor_for_basic_dict": False, # default is False
78
+ "add_anchor_for_beauty_dict": False, # default is False
79
+ "add_anchor_for_complex_dict": False, # default is False
80
+
81
+ "final_output_main_md_name": "main.md",
82
+ "delete_temp_generate_md": True,
83
+ "add_reference_in_md": True,
84
+ "add_bib_in_md": False,
85
+ "replace_cite_to_fullcite_in_md": True,
86
+ "replace_by_basic_beauty_complex_in_md": "basic",
87
+ "display_basic_beauty_complex_references_in_md": "beauty",
88
+ "add_anchor_in_md": False, # default is False
89
+
90
+ "md_folder_name": "mds", # "" or "md" or "main"
91
+ "delete_original_md_in_output_folder": False, # default is False
92
+
93
+ # html options
94
+ "generate_html": False,
95
+ }
96
+
97
+ # Update with user-provided options
98
+ _options.update(options)
99
+
100
+ # Create full file paths from input file names
101
+ file_list = [os.path.join(path_input_file, f) for f in input_file_names]
102
+
103
+ PyRunBibMdTex(path_output_file, ".tex", "beamer", _options).run_files(file_list, "", "current")
104
+
105
+ return None
@@ -1,6 +1,6 @@
1
1
  [tool.poetry]
2
2
  name = "pyeasyphd"
3
- version = "0.3.1"
3
+ version = "0.3.2"
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