Coverage for rendercv/renderer/__init__.py: 100%
2 statements
« prev ^ index » next coverage.py v7.6.1, created at 2024-10-07 17:51 +0000
« prev ^ index » next coverage.py v7.6.1, created at 2024-10-07 17:51 +0000
1"""
2The `rendercv.renderer` package contains the necessary classes and functions for
3generating $\\LaTeX$, PDF, Markdown, HTML, and PNG files from the `RenderCVDataModel`
4object.
6The $\\LaTeX$ and Markdown files are generated with
7[Jinja2](https://jinja.palletsprojects.com/en/3.1.x/) templates. Then, the $\\LaTeX$
8file is rendered into a PDF with [TinyTeX](https://yihui.org/tinytex/), a $\\LaTeX$
9distribution. The Markdown file is rendered into an HTML file with `markdown` package.
10The PDF files are rendered into PNG files with `PyMuPDF`/`fitz` package.
11"""
13from .renderer import (
14 create_a_latex_file,
15 create_a_latex_file_and_copy_theme_files,
16 create_a_markdown_file,
17 render_a_pdf_from_latex,
18 render_an_html_from_markdown,
19 render_pngs_from_pdf,
20)
22__all__ = [
23 "create_a_latex_file",
24 "create_a_markdown_file",
25 "create_a_latex_file_and_copy_theme_files",
26 "render_a_pdf_from_latex",
27 "render_pngs_from_pdf",
28 "render_an_html_from_markdown",
29]