html_formatter#
Submodules#
Package Contents#
- class html_formatter.HtmlFormatter#
Bases:
auto_archiver.core.FormatterBase class for implementing formatters in the media archiving framework.
Subclasses must implement the format method to define their behavior.
- environment: jinja2.Environment = None#
- template: any = None#
- setup() None#
Sets up the Jinja2 environment and loads the template.
- format(item: auto_archiver.core.Metadata) auto_archiver.core.Media#
Formats a Metadata object into a user-viewable format (e.g. HTML) and stores it if needed.