mirror of
https://github.com/rendercv/rendercv.git
synced 2025-12-23 21:47:55 -05:00
3.2 KiB
3.2 KiB
hide
| hide | |
|---|---|
|
RenderCV
::: rendercv
In this section, you can find how RenderCV's components are structured and how they interact with each other. The flowchart below illustrates the general operations of RenderCV.
flowchart TD
subgraph rendercv.data
A[YAML Input File] --parsing with ruamel.yaml package--> B(Python Dictionary)
B --validation with pydantic package--> C((Pydantic Object))
end
subgraph rendercv.renderer
C --> AA
E[Markdown File] --markdown package--> K[HTML FIle]
D[LaTeX File] --TinyTeX--> L[PDF File]
L --PyMuPDF package--> Z[PNG Files]
AA[(Jinja2 Templates)] --> D
AA[(Jinja2 Templates)] --> E
end
clipackage contains all the command-line interface (CLI) related code for RenderCV.commands.pymodule contains all the CLI commands.printer.pymodule contains all the functions and classes that are used to print nice-looking messages to the terminal.utilities.pymodule contains utility functions that are required by the CLI.
datapackage contains classes and functions to parse and validate a YAML input file.modelspackage contains all the Pydantic data models, validators, and computed fields that are used in RenderCV.computers.pymodule contains functions that compute some properties based on the input data.base.pymodule contains the base data model for all the other data models.entry_types.pymodule contains the data models of all the available entry types in RenderCV.curriculum_vitae.pymodule contains the data model of thecvfield of the input file.design.pymodule contains the data model of thedesignfield of the input file.locale_catalog.pymodule contains the data model of thelocale_catalogfield of the input file.rendercv_data_model.pymodule contains theRenderCVDataModeldata model, which is the main data model that defines the whole input file structure.
generator.pymodule contains all the functions for generating the JSON Schema of the input data format and a sample YAML input file.reader.pymodule contains the functions that are used to read the input files.
rendererpackage contains utilities for generating the output files.renderer.pymodule contains the necessary functions for rendering\\LaTeX, PDF, Markdown, HTML, and PNG files from the data model.templater.pymodule contains all the necessary classes and functions for templating the\\LaTeXand Markdown files from the data model. object.
themespackage contains all the built-in themes of RenderCV.