pyeasyphd 0.3.22__tar.gz → 0.3.23__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.3.22 → pyeasyphd-0.3.23}/PKG-INFO +2 -2
  2. {pyeasyphd-0.3.22 → pyeasyphd-0.3.23}/pyeasyphd/scripts/__init__.py +3 -1
  3. pyeasyphd-0.3.23/pyeasyphd/scripts/run_replace.py +41 -0
  4. {pyeasyphd-0.3.22 → pyeasyphd-0.3.23}/pyproject.toml +2 -2
  5. {pyeasyphd-0.3.22 → pyeasyphd-0.3.23}/LICENSE +0 -0
  6. {pyeasyphd-0.3.22 → pyeasyphd-0.3.23}/README.md +0 -0
  7. {pyeasyphd-0.3.22 → pyeasyphd-0.3.23}/pyeasyphd/.python-version +0 -0
  8. {pyeasyphd-0.3.22 → pyeasyphd-0.3.23}/pyeasyphd/Main.sublime-menu +0 -0
  9. {pyeasyphd-0.3.22 → pyeasyphd-0.3.23}/pyeasyphd/__init__.py +0 -0
  10. {pyeasyphd-0.3.22 → pyeasyphd-0.3.23}/pyeasyphd/data/templates/csl/apa-no-ampersand.csl +0 -0
  11. {pyeasyphd-0.3.22 → pyeasyphd-0.3.23}/pyeasyphd/data/templates/csl/apa.csl +0 -0
  12. {pyeasyphd-0.3.22 → pyeasyphd-0.3.23}/pyeasyphd/data/templates/csl/ieee.csl +0 -0
  13. {pyeasyphd-0.3.22 → pyeasyphd-0.3.23}/pyeasyphd/data/templates/tex/Article.tex +0 -0
  14. {pyeasyphd-0.3.22 → pyeasyphd-0.3.23}/pyeasyphd/data/templates/tex/Article_Header.tex +0 -0
  15. {pyeasyphd-0.3.22 → pyeasyphd-0.3.23}/pyeasyphd/data/templates/tex/Article_Tail.tex +0 -0
  16. {pyeasyphd-0.3.22 → pyeasyphd-0.3.23}/pyeasyphd/data/templates/tex/Beamer_Header.tex +0 -0
  17. {pyeasyphd-0.3.22 → pyeasyphd-0.3.23}/pyeasyphd/data/templates/tex/Beamer_Tail.tex +0 -0
  18. {pyeasyphd-0.3.22 → pyeasyphd-0.3.23}/pyeasyphd/data/templates/tex/Style.tex +0 -0
  19. {pyeasyphd-0.3.22 → pyeasyphd-0.3.23}/pyeasyphd/data/templates/tex/TEVC_Header.tex +0 -0
  20. {pyeasyphd-0.3.22 → pyeasyphd-0.3.23}/pyeasyphd/data/templates/tex/TEVC_Tail.tex +0 -0
  21. {pyeasyphd-0.3.22 → pyeasyphd-0.3.23}/pyeasyphd/data/templates/tex/eisvogel.tex +0 -0
  22. {pyeasyphd-0.3.22 → pyeasyphd-0.3.23}/pyeasyphd/data/templates/tex/math.tex +0 -0
  23. {pyeasyphd-0.3.22 → pyeasyphd-0.3.23}/pyeasyphd/data/templates/tex/math_commands.tex +0 -0
  24. {pyeasyphd-0.3.22 → pyeasyphd-0.3.23}/pyeasyphd/data/templates/tex/nextaimathmacros.sty +0 -0
  25. {pyeasyphd-0.3.22 → pyeasyphd-0.3.23}/pyeasyphd/main/__init__.py +0 -0
  26. {pyeasyphd-0.3.22 → pyeasyphd-0.3.23}/pyeasyphd/main/basic_input.py +0 -0
  27. {pyeasyphd-0.3.22 → pyeasyphd-0.3.23}/pyeasyphd/main/pandoc_md_to.py +0 -0
  28. {pyeasyphd-0.3.22 → pyeasyphd-0.3.23}/pyeasyphd/main/python_run_md.py +0 -0
  29. {pyeasyphd-0.3.22 → pyeasyphd-0.3.23}/pyeasyphd/main/python_run_tex.py +0 -0
  30. {pyeasyphd-0.3.22 → pyeasyphd-0.3.23}/pyeasyphd/pyeasyphd.py +0 -0
  31. {pyeasyphd-0.3.22 → pyeasyphd-0.3.23}/pyeasyphd/pyeasyphd.sublime-settings +0 -0
  32. {pyeasyphd-0.3.22 → pyeasyphd-0.3.23}/pyeasyphd/pyeasyphd.sublime-syntax +0 -0
  33. {pyeasyphd-0.3.22 → pyeasyphd-0.3.23}/pyeasyphd/scripts/_base.py +0 -0
  34. {pyeasyphd-0.3.22 → pyeasyphd-0.3.23}/pyeasyphd/scripts/run_article_md.py +0 -0
  35. {pyeasyphd-0.3.22 → pyeasyphd-0.3.23}/pyeasyphd/scripts/run_article_tex.py +0 -0
  36. {pyeasyphd-0.3.22 → pyeasyphd-0.3.23}/pyeasyphd/scripts/run_beamer_tex.py +0 -0
  37. {pyeasyphd-0.3.22 → pyeasyphd-0.3.23}/pyeasyphd/scripts/run_compare.py +0 -0
  38. {pyeasyphd-0.3.22 → pyeasyphd-0.3.23}/pyeasyphd/scripts/run_format.py +0 -0
  39. {pyeasyphd-0.3.22 → pyeasyphd-0.3.23}/pyeasyphd/scripts/run_generate.py +0 -0
  40. {pyeasyphd-0.3.22 → pyeasyphd-0.3.23}/pyeasyphd/scripts/run_search.py +0 -0
  41. {pyeasyphd-0.3.22 → pyeasyphd-0.3.23}/pyeasyphd/tools/__init__.py +0 -0
  42. {pyeasyphd-0.3.22 → pyeasyphd-0.3.23}/pyeasyphd/tools/generate/generate_from_bibs.py +0 -0
  43. {pyeasyphd-0.3.22 → pyeasyphd-0.3.23}/pyeasyphd/tools/generate/generate_html.py +0 -0
  44. {pyeasyphd-0.3.22 → pyeasyphd-0.3.23}/pyeasyphd/tools/generate/generate_library.py +0 -0
  45. {pyeasyphd-0.3.22 → pyeasyphd-0.3.23}/pyeasyphd/tools/generate/generate_links.py +0 -0
  46. {pyeasyphd-0.3.22 → pyeasyphd-0.3.23}/pyeasyphd/tools/py_run_bib_md_tex.py +0 -0
  47. {pyeasyphd-0.3.22 → pyeasyphd-0.3.23}/pyeasyphd/tools/search/data.py +0 -0
  48. {pyeasyphd-0.3.22 → pyeasyphd-0.3.23}/pyeasyphd/tools/search/search_base.py +0 -0
  49. {pyeasyphd-0.3.22 → pyeasyphd-0.3.23}/pyeasyphd/tools/search/search_core.py +0 -0
  50. {pyeasyphd-0.3.22 → pyeasyphd-0.3.23}/pyeasyphd/tools/search/search_keywords.py +0 -0
  51. {pyeasyphd-0.3.22 → pyeasyphd-0.3.23}/pyeasyphd/tools/search/search_writers.py +0 -0
  52. {pyeasyphd-0.3.22 → pyeasyphd-0.3.23}/pyeasyphd/tools/search/utils.py +0 -0
  53. {pyeasyphd-0.3.22 → pyeasyphd-0.3.23}/pyeasyphd/utils/utils.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: pyeasyphd
3
- Version: 0.3.22
3
+ Version: 0.3.23
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.8,<0.3.0)
20
+ Requires-Dist: pybibtexer (>=0.2.9,<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
@@ -14,7 +14,8 @@ __all__ = [
14
14
  "run_compare_bib_with_local",
15
15
  "run_compare_bib_with_zotero",
16
16
  "run_format_bib_to_save_by_entry_type",
17
- "run_format_bib_to_abbr_zotero_save"
17
+ "run_format_bib_to_abbr_zotero_save",
18
+ "run_replace_to_standard_cite_keys"
18
19
  ]
19
20
 
20
21
  from .run_article_md import run_article_md_daily_notes
@@ -29,4 +30,5 @@ from .run_generate import (
29
30
  run_generate_j_weekly,
30
31
  run_generate_j_yearly,
31
32
  )
33
+ from .run_replace import run_replace_to_standard_cite_keys
32
34
  from .run_search import run_compare_after_search, run_search_for_files, run_search_for_screen
@@ -0,0 +1,41 @@
1
+ from typing import Optional
2
+
3
+ from pybibtexer.tools import replace_to_standard_cite_keys
4
+
5
+ from ._base import build_base_options, expand_paths
6
+
7
+
8
+ def run_replace_to_standard_cite_keys(
9
+ full_tex_md: str,
10
+ full_bib: str,
11
+ path_output: str,
12
+ path_conf_j_jsons: str,
13
+ options: Optional[dict] = None,
14
+ ) -> None:
15
+ """
16
+ Replace citation keys in LaTeX documents with standardized versions.
17
+
18
+ Processes LaTeX and BibTeX files to normalize citation keys according to
19
+ configuration standards, then outputs the results to the specified location.
20
+
21
+ Args:
22
+ options: Dictionary of configuration options for citation processing
23
+ full_tex_md: Path to TeX or Markdown file containing citations
24
+ full_bib: Path to the BibTeX bibliography file
25
+ path_output: Output directory path for processed files
26
+ path_conf_j_jsons: Path to journal configuration JSON files
27
+
28
+ Returns:
29
+ None: Results are written to the output directory
30
+ """
31
+ if options is None:
32
+ options = {}
33
+
34
+ # Expand and normalize file paths
35
+ full_tex_md, full_bib, path_output = expand_paths(full_tex_md, full_bib, path_output)
36
+
37
+ # Update options
38
+ options_ = build_base_options([], [], [], [], path_conf_j_jsons)
39
+ options_.update(options)
40
+
41
+ replace_to_standard_cite_keys(full_tex_md, full_bib, path_output, options=options_)
@@ -1,6 +1,6 @@
1
1
  [tool.poetry]
2
2
  name = "pyeasyphd"
3
- version = "0.3.22"
3
+ version = "0.3.23"
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.8"
18
+ pybibtexer = "^0.2.9"
19
19
 
20
20
  [tool.poetry.group.dev.dependencies]
21
21
  mypy = "^1.18.1"
File without changes
File without changes