pyeasyphd 0.4.13__tar.gz → 0.4.14__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.13 → pyeasyphd-0.4.14}/PKG-INFO +2 -2
  2. {pyeasyphd-0.4.13 → pyeasyphd-0.4.14}/pyeasyphd/tools/py_run_bib_md_tex.py +12 -0
  3. {pyeasyphd-0.4.13 → pyeasyphd-0.4.14}/pyproject.toml +2 -2
  4. {pyeasyphd-0.4.13 → pyeasyphd-0.4.14}/LICENSE +0 -0
  5. {pyeasyphd-0.4.13 → pyeasyphd-0.4.14}/README.md +0 -0
  6. {pyeasyphd-0.4.13 → pyeasyphd-0.4.14}/pyeasyphd/.python-version +0 -0
  7. {pyeasyphd-0.4.13 → pyeasyphd-0.4.14}/pyeasyphd/Main.sublime-menu +0 -0
  8. {pyeasyphd-0.4.13 → pyeasyphd-0.4.14}/pyeasyphd/__init__.py +0 -0
  9. {pyeasyphd-0.4.13 → pyeasyphd-0.4.14}/pyeasyphd/data/templates/csl/apa-no-ampersand.csl +0 -0
  10. {pyeasyphd-0.4.13 → pyeasyphd-0.4.14}/pyeasyphd/data/templates/csl/apa.csl +0 -0
  11. {pyeasyphd-0.4.13 → pyeasyphd-0.4.14}/pyeasyphd/data/templates/csl/ieee.csl +0 -0
  12. {pyeasyphd-0.4.13 → pyeasyphd-0.4.14}/pyeasyphd/data/templates/tex/Article.tex +0 -0
  13. {pyeasyphd-0.4.13 → pyeasyphd-0.4.14}/pyeasyphd/data/templates/tex/Article_Header.tex +0 -0
  14. {pyeasyphd-0.4.13 → pyeasyphd-0.4.14}/pyeasyphd/data/templates/tex/Article_Tail.tex +0 -0
  15. {pyeasyphd-0.4.13 → pyeasyphd-0.4.14}/pyeasyphd/data/templates/tex/Beamer_Header.tex +0 -0
  16. {pyeasyphd-0.4.13 → pyeasyphd-0.4.14}/pyeasyphd/data/templates/tex/Beamer_Tail.tex +0 -0
  17. {pyeasyphd-0.4.13 → pyeasyphd-0.4.14}/pyeasyphd/data/templates/tex/Style.tex +0 -0
  18. {pyeasyphd-0.4.13 → pyeasyphd-0.4.14}/pyeasyphd/data/templates/tex/TEVC_Header.tex +0 -0
  19. {pyeasyphd-0.4.13 → pyeasyphd-0.4.14}/pyeasyphd/data/templates/tex/TEVC_Tail.tex +0 -0
  20. {pyeasyphd-0.4.13 → pyeasyphd-0.4.14}/pyeasyphd/data/templates/tex/eisvogel.tex +0 -0
  21. {pyeasyphd-0.4.13 → pyeasyphd-0.4.14}/pyeasyphd/data/templates/tex/math.tex +0 -0
  22. {pyeasyphd-0.4.13 → pyeasyphd-0.4.14}/pyeasyphd/data/templates/tex/math_commands.tex +0 -0
  23. {pyeasyphd-0.4.13 → pyeasyphd-0.4.14}/pyeasyphd/data/templates/tex/nextaimathmacros.sty +0 -0
  24. {pyeasyphd-0.4.13 → pyeasyphd-0.4.14}/pyeasyphd/main/__init__.py +0 -0
  25. {pyeasyphd-0.4.13 → pyeasyphd-0.4.14}/pyeasyphd/main/basic_input.py +0 -0
  26. {pyeasyphd-0.4.13 → pyeasyphd-0.4.14}/pyeasyphd/main/pandoc_md_to.py +0 -0
  27. {pyeasyphd-0.4.13 → pyeasyphd-0.4.14}/pyeasyphd/main/python_run_md.py +0 -0
  28. {pyeasyphd-0.4.13 → pyeasyphd-0.4.14}/pyeasyphd/main/python_run_tex.py +0 -0
  29. {pyeasyphd-0.4.13 → pyeasyphd-0.4.14}/pyeasyphd/pyeasyphd.py +0 -0
  30. {pyeasyphd-0.4.13 → pyeasyphd-0.4.14}/pyeasyphd/pyeasyphd.sublime-settings +0 -0
  31. {pyeasyphd-0.4.13 → pyeasyphd-0.4.14}/pyeasyphd/pyeasyphd.sublime-syntax +0 -0
  32. {pyeasyphd-0.4.13 → pyeasyphd-0.4.14}/pyeasyphd/scripts/__init__.py +0 -0
  33. {pyeasyphd-0.4.13 → pyeasyphd-0.4.14}/pyeasyphd/scripts/_base.py +0 -0
  34. {pyeasyphd-0.4.13 → pyeasyphd-0.4.14}/pyeasyphd/scripts/run_article_md.py +0 -0
  35. {pyeasyphd-0.4.13 → pyeasyphd-0.4.14}/pyeasyphd/scripts/run_article_tex.py +0 -0
  36. {pyeasyphd-0.4.13 → pyeasyphd-0.4.14}/pyeasyphd/scripts/run_beamer_tex.py +0 -0
  37. {pyeasyphd-0.4.13 → pyeasyphd-0.4.14}/pyeasyphd/scripts/run_compare.py +0 -0
  38. {pyeasyphd-0.4.13 → pyeasyphd-0.4.14}/pyeasyphd/scripts/run_format.py +0 -0
  39. {pyeasyphd-0.4.13 → pyeasyphd-0.4.14}/pyeasyphd/scripts/run_generate.py +0 -0
  40. {pyeasyphd-0.4.13 → pyeasyphd-0.4.14}/pyeasyphd/scripts/run_replace.py +0 -0
  41. {pyeasyphd-0.4.13 → pyeasyphd-0.4.14}/pyeasyphd/scripts/run_search.py +0 -0
  42. {pyeasyphd-0.4.13 → pyeasyphd-0.4.14}/pyeasyphd/tools/__init__.py +0 -0
  43. {pyeasyphd-0.4.13 → pyeasyphd-0.4.14}/pyeasyphd/tools/generate/generate_from_bibs.py +0 -0
  44. {pyeasyphd-0.4.13 → pyeasyphd-0.4.14}/pyeasyphd/tools/generate/generate_html.py +0 -0
  45. {pyeasyphd-0.4.13 → pyeasyphd-0.4.14}/pyeasyphd/tools/generate/generate_library.py +0 -0
  46. {pyeasyphd-0.4.13 → pyeasyphd-0.4.14}/pyeasyphd/tools/generate/generate_links.py +0 -0
  47. {pyeasyphd-0.4.13 → pyeasyphd-0.4.14}/pyeasyphd/tools/search/data.py +0 -0
  48. {pyeasyphd-0.4.13 → pyeasyphd-0.4.14}/pyeasyphd/tools/search/search_base.py +0 -0
  49. {pyeasyphd-0.4.13 → pyeasyphd-0.4.14}/pyeasyphd/tools/search/search_core.py +0 -0
  50. {pyeasyphd-0.4.13 → pyeasyphd-0.4.14}/pyeasyphd/tools/search/search_keywords.py +0 -0
  51. {pyeasyphd-0.4.13 → pyeasyphd-0.4.14}/pyeasyphd/tools/search/search_writers.py +0 -0
  52. {pyeasyphd-0.4.13 → pyeasyphd-0.4.14}/pyeasyphd/tools/search/utils.py +0 -0
  53. {pyeasyphd-0.4.13 → pyeasyphd-0.4.14}/pyeasyphd/utils/utils.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: pyeasyphd
3
- Version: 0.4.13
3
+ Version: 0.4.14
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.3.8,<0.4.0)
20
- Requires-Dist: pybibtexer (>=0.3.3,<0.4.0)
20
+ Requires-Dist: pybibtexer (>=0.3.4,<0.4.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
@@ -216,6 +216,12 @@ class PyRunBibMdTex(BasicInput):
216
216
  abbr_library, zotero_library, save_library = self._python_bib.parse_to_multi_standard_library(
217
217
  original_bib_data, key_in_md_tex
218
218
  )
219
+
220
+ # Update entries
221
+ abbr_library = self._update_library_by_entry_keys(abbr_library, key_in_md_tex)
222
+ zotero_library = self._update_library_by_entry_keys(zotero_library, key_in_md_tex)
223
+ save_library = self._update_library_by_entry_keys(save_library, key_in_md_tex)
224
+
219
225
  key_in_md_tex = sorted(abbr_library.entries_dict.keys(), key=key_in_md_tex.index)
220
226
 
221
227
  # Write bibliography files
@@ -271,6 +277,12 @@ class PyRunBibMdTex(BasicInput):
271
277
 
272
278
  return data_list_md, data_list_tex
273
279
 
280
+ @staticmethod
281
+ def _update_library_by_entry_keys(library: Library, keys: list[str]):
282
+ remove_entries = [entry for entry in library.entries if entry.key not in keys]
283
+ library.remove(remove_entries)
284
+ return library
285
+
274
286
  @staticmethod
275
287
  def search_subfile_names(data_list: list[str], postfixes: list[str]) -> list[str]:
276
288
  """Search for figure filenames in content.
@@ -1,6 +1,6 @@
1
1
  [tool.poetry]
2
2
  name = "pyeasyphd"
3
- version = "0.4.13"
3
+ version = "0.4.14"
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.3.8"
18
- pybibtexer = "^0.3.3"
18
+ pybibtexer = "^0.3.4"
19
19
 
20
20
  [tool.poetry.group.dev.dependencies]
21
21
  sphinx = "^8.2.3"
File without changes
File without changes