plbuilder package¶
Document building framework built on Pyexlatex.
Subpackages¶
Submodules¶
plbuilder.autoreloader module¶
- class plbuilder.autoreloader.AutoBuildEventHandler[source]¶
Bases:
watchdog.events.FileSystemEventHandler
plbuilder.builder module¶
- class plbuilder.builder.BuildConfig(**data)[source]¶
Bases:
pydantic.main.BaseModel
- model: pyexlatex.models.document.DocumentBase¶
- options: plbuilder.builder.BuildOptions¶
- class plbuilder.builder.BuildOptions(**data)[source]¶
Bases:
pydantic.main.BaseModel
- handouts_folder: Optional[pathlib.Path]¶
- output_folder: pathlib.Path¶
- output_format: pyexlatex.logic.output.api.formats.OutputFormats¶
plbuilder.cli module¶
- plbuilder.cli.build(file_path=None, output_format=None)[source]¶
Create slides and handout PDFs from plbuilder pyexlatex templates. Passing no arguments will build all templates.
- Parameters
file_path¶ (
Optional
[str
]) – path of template from which to build PDFsoutput_format¶ (
Optional
[OutputFormats
]) – the file type of the output, currently ‘pdf’ and ‘html’ are supported. If not passed, will fall back to the setting of DEFAULT_OUTPUT_FORMAT in the file. If that is not passed, will default to ‘pdf’
- Returns
None