article-cli 1.3.2__py3-none-any.whl → 2.0.0__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.
Files changed (56) hide show
  1. article_cli/__init__.py +7 -4
  2. article_cli/cli.py +82 -557
  3. article_cli/command_runner.py +67 -0
  4. article_cli/commands/__init__.py +31 -0
  5. article_cli/commands/bibtex.py +108 -0
  6. article_cli/commands/clean.py +28 -0
  7. article_cli/commands/compile.py +89 -0
  8. article_cli/commands/config.py +102 -0
  9. article_cli/commands/doctor.py +67 -0
  10. article_cli/commands/fonts.py +70 -0
  11. article_cli/commands/init.py +156 -0
  12. article_cli/commands/release.py +172 -0
  13. article_cli/commands/setup.py +32 -0
  14. article_cli/commands/themes.py +97 -0
  15. article_cli/commands/version.py +83 -0
  16. article_cli/config.py +125 -16
  17. article_cli/doctor.py +968 -0
  18. article_cli/fonts.py +1 -3
  19. article_cli/git_hooks.py +413 -0
  20. article_cli/git_manager.py +242 -121
  21. article_cli/latex_compiler.py +167 -203
  22. article_cli/project_context.py +225 -0
  23. article_cli/reporting.py +39 -0
  24. article_cli/repository_setup.py +578 -1279
  25. article_cli/services/__init__.py +21 -0
  26. article_cli/services/bibliography.py +109 -0
  27. article_cli/services/compiler.py +130 -0
  28. article_cli/services/git.py +29 -0
  29. article_cli/services/gitinfo.py +125 -0
  30. article_cli/services/release.py +564 -0
  31. article_cli/services/workflow.py +68 -0
  32. article_cli/template_renderer.py +70 -0
  33. article_cli/templates/__init__.py +1 -0
  34. article_cli/templates/article/ieee.tex.j2 +54 -0
  35. article_cli/templates/article/lncs.tex.j2 +51 -0
  36. article_cli/templates/article/lncs.typ.j2 +69 -0
  37. article_cli/templates/article/main.tex.j2 +58 -0
  38. article_cli/templates/article/main.typ.j2 +57 -0
  39. article_cli/templates/github/latex.yml.j2 +407 -0
  40. article_cli/templates/poster/poster.tex.j2 +55 -0
  41. article_cli/templates/poster/poster.typ.j2 +97 -0
  42. article_cli/templates/presentation/beamer.tex.j2 +68 -0
  43. article_cli/templates/presentation/typst.typ.j2 +114 -0
  44. article_cli/templates/project/README.md.j2 +164 -0
  45. article_cli/templates/project/gitignore.j2 +42 -0
  46. article_cli/templates/project/pyproject.toml.j2 +116 -0
  47. article_cli/templates/project/vscode-settings.json.j2 +128 -0
  48. article_cli/themes.py +18 -8
  49. article_cli/typst_compiler.py +310 -0
  50. article_cli/zotero.py +534 -145
  51. {article_cli-1.3.2.dist-info → article_cli-2.0.0.dist-info}/METADATA +194 -36
  52. article_cli-2.0.0.dist-info/RECORD +56 -0
  53. {article_cli-1.3.2.dist-info → article_cli-2.0.0.dist-info}/WHEEL +1 -1
  54. article_cli-1.3.2.dist-info/RECORD +0 -15
  55. {article_cli-1.3.2.dist-info → article_cli-2.0.0.dist-info}/entry_points.txt +0 -0
  56. {article_cli-1.3.2.dist-info → article_cli-2.0.0.dist-info}/licenses/LICENSE +0 -0
article_cli/__init__.py CHANGED
@@ -1,14 +1,15 @@
1
1
  """
2
- Article CLI - A command-line tool for managing LaTeX articles
2
+ Article CLI - A command-line tool for managing LaTeX and Typst documents
3
3
 
4
4
  This package provides tools for:
5
5
  - Git release management with gitinfo2 support
6
6
  - Zotero bibliography synchronization
7
- - LaTeX build file cleanup
8
- - Git hooks setup
7
+ - LaTeX and Typst compilation
8
+ - Theme installation for presentations
9
+ - Git hooks setup
9
10
  """
10
11
 
11
- __version__ = "1.3.2"
12
+ __version__ = "1.5.0"
12
13
  __author__ = "Christophe Prud'homme"
13
14
  __email__ = "prudhomm@cemosis.fr"
14
15
 
@@ -18,6 +19,7 @@ from .zotero import ZoteroBibTexUpdater
18
19
  from .git_manager import GitManager
19
20
  from .repository_setup import RepositorySetup
20
21
  from .latex_compiler import LaTeXCompiler
22
+ from .typst_compiler import TypstCompiler
21
23
 
22
24
  __all__ = [
23
25
  "main",
@@ -26,4 +28,5 @@ __all__ = [
26
28
  "GitManager",
27
29
  "RepositorySetup",
28
30
  "LaTeXCompiler",
31
+ "TypstCompiler",
29
32
  ]