1 # This file is part of Librarian, licensed under GNU Affero GPLv3 or later.
2 # Copyright © Fundacja Wolne Lektury. See NOTICE for more information.
4 from collections import OrderedDict
5 from .txt import TxtBuilder
6 from .html import HtmlBuilder, SnippetHtmlBuilder, StandaloneHtmlBuilder, DaisyHtmlBuilder
7 from .sanitize import Sanitizer
8 from .daisy import DaisyBuilder
9 from .epub import EpubBuilder
10 from .mobi import MobiBuilder
11 from .pdf import PdfBuilder
14 builders = OrderedDict([
16 ("html", HtmlBuilder),
17 ("html-snippet", SnippetHtmlBuilder),
18 ("html-standalone", StandaloneHtmlBuilder),
19 ("html-daisy", DaisyHtmlBuilder),
20 ("daisy", DaisyBuilder),
21 ("sanitizer", Sanitizer),
23 ("epub", EpubBuilder),
24 ("mobi", MobiBuilder),