pyeasyphd 0.4.16__py3-none-any.whl → 0.4.18__py3-none-any.whl

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.

@@ -14,6 +14,9 @@ def run_article_tex_submit(
14
14
  bib_path_or_file: str,
15
15
  path_conf_j_jsons: str,
16
16
  options: dict,
17
+ auto_git: bool = False,
18
+ remote: str = "origin",
19
+ branch: str = "master",
17
20
  ) -> None:
18
21
  """Process academic article files (TeX, and bibliography) with automated Git version control.
19
22
 
@@ -77,7 +80,7 @@ def run_article_tex_submit(
77
80
 
78
81
  committer = GitAutoCommitter(path_output_file)
79
82
 
80
- if not committer.auto_check(remote="origin", branch="master"):
83
+ if auto_git and (not committer.auto_check(remote=remote, branch=branch)):
81
84
  print("Remote != Local, please manually pull")
82
85
 
83
86
  else:
@@ -86,10 +89,10 @@ def run_article_tex_submit(
86
89
 
87
90
  PyRunBibMdTex(path_output_file, ".tex", "paper", _options).run_files(file_list, "", "current")
88
91
 
89
- if committer.has_changes():
92
+ if auto_git and committer.has_changes():
90
93
  # Auto commit
91
94
  committer.auto_commit()
92
95
  # Auto push
93
- committer.auto_push(remote="origin", branch="master")
96
+ committer.auto_push(remote=remote, branch=branch)
94
97
 
95
98
  return None
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: pyeasyphd
3
- Version: 0.4.16
3
+ Version: 0.4.18
4
4
  Summary: pyeasyphd
5
5
  License: GPL-3.0-or-later
6
6
  License-File: LICENSE
@@ -16,8 +16,7 @@ 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.3.8,<0.4.0)
20
- Requires-Dist: pybibtexer (>=0.3.6,<0.4.0)
19
+ Requires-Dist: pybibtexer (>=0.3.7,<0.4.0)
21
20
  Project-URL: Documentation, https://github.com/Easy-PhD/pyeasyphd
22
21
  Project-URL: Homepage, https://github.com/Easy-PhD/pyeasyphd
23
22
  Project-URL: Repository, https://github.com/Easy-PhD/pyeasyphd
@@ -27,7 +27,7 @@ pyeasyphd/pyeasyphd.sublime-syntax,sha256=pXylbA-tye-K5dCTjEJLFVRqtY1T7AgWZ4laxo
27
27
  pyeasyphd/scripts/__init__.py,sha256=QDmJugM90NFSzb69A6PSuCf76pHIcptRIaKNtSwXb-s,1235
28
28
  pyeasyphd/scripts/_base.py,sha256=WdmIrJFwWw1yK6pg1sg1W74d3LwskdKUTD9ekEGBfyU,2315
29
29
  pyeasyphd/scripts/run_article_md.py,sha256=jL7m3TfceVRL1QFs356WZOcxlOBdYEZr5W01c0Q2Y0w,4288
30
- pyeasyphd/scripts/run_article_tex.py,sha256=uE84oQAGmmMXTJAD6yAlr6_5dhiiKlhDKv_ljZYsVY8,3696
30
+ pyeasyphd/scripts/run_article_tex.py,sha256=3ogi7xd2T5Jjb8YVFJBxMjYeBA-vToufkoyu5HU8Ppo,3800
31
31
  pyeasyphd/scripts/run_beamer_tex.py,sha256=jw5EwpzazDMW9t9nN5Za0L0KQFv1ZL0VLGFjqAAqu0I,3233
32
32
  pyeasyphd/scripts/run_compare.py,sha256=wop1uRmPqOXnMtRtMuTdy8dHhtZ0wpzthOcURw4URe8,3196
33
33
  pyeasyphd/scripts/run_format.py,sha256=FjJS0-Ax3kEb-SLui-wUBjxI4G9cQzOJbxLNiYEqNQc,2936
@@ -47,7 +47,7 @@ pyeasyphd/tools/search/search_keywords.py,sha256=pPEYhLaaQCYcyGlf8ULA_VNWBA_-Wtf
47
47
  pyeasyphd/tools/search/search_writers.py,sha256=LfI_oxpuX8C5uZP9uosGJ4utO11UJQG230x1YwUJWPU,15665
48
48
  pyeasyphd/tools/search/utils.py,sha256=hpYHXTm4XAL2f7e0BSuYDyvA86sVkELetvmPzllapF0,7487
49
49
  pyeasyphd/utils/utils.py,sha256=8NfdQC0V3UGYeSweb7gjimQkQqM5dWeuUHOiRjVXaxk,3123
50
- pyeasyphd-0.4.16.dist-info/METADATA,sha256=MTYWHkNqdv8iwhee5zGKUkhZGVfHlH5oQEpVjPlTRuw,1468
51
- pyeasyphd-0.4.16.dist-info/WHEEL,sha256=zp0Cn7JsFoX2ATtOhtaFYIiE2rmFAD4OcMhtUki8W3U,88
52
- pyeasyphd-0.4.16.dist-info/licenses/LICENSE,sha256=OXLcl0T2SZ8Pmy2_dmlvKuetivmyPd5m1q-Gyd-zaYY,35149
53
- pyeasyphd-0.4.16.dist-info/RECORD,,
50
+ pyeasyphd-0.4.18.dist-info/METADATA,sha256=rr_V44o7Tl7G3ZfSAHvG4gB94YaCeZo3zGYrQcsRXEc,1425
51
+ pyeasyphd-0.4.18.dist-info/WHEEL,sha256=zp0Cn7JsFoX2ATtOhtaFYIiE2rmFAD4OcMhtUki8W3U,88
52
+ pyeasyphd-0.4.18.dist-info/licenses/LICENSE,sha256=OXLcl0T2SZ8Pmy2_dmlvKuetivmyPd5m1q-Gyd-zaYY,35149
53
+ pyeasyphd-0.4.18.dist-info/RECORD,,