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
12 from .fb2 import FB2Builder
15 builders = OrderedDict([
17 ("html", HtmlBuilder),
18 ("html-snippet", SnippetHtmlBuilder),
19 ("html-standalone", StandaloneHtmlBuilder),
20 ("html-daisy", DaisyHtmlBuilder),
21 ("daisy", DaisyBuilder),
22 ("sanitizer", Sanitizer),
24 ("epub", EpubBuilder),
25 ("mobi", MobiBuilder),