Some prelim work on builder api.
[librarian.git] / src / librarian / builders / __init__.py
1 # This file is part of Librarian, licensed under GNU Affero GPLv3 or later.
2 # Copyright © Fundacja Wolne Lektury. See NOTICE for more information.
3 #
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
13
14 builders = OrderedDict([
15     ("txt", TxtBuilder),
16     ("html", HtmlBuilder),
17     ("html-snippet", SnippetHtmlBuilder),
18     ("html-standalone", StandaloneHtmlBuilder),
19     ("html-daisy", DaisyHtmlBuilder),
20     ("daisy", DaisyBuilder),
21     ("sanitizer", Sanitizer),
22
23     ("epub", EpubBuilder),
24     ("mobi", MobiBuilder),
25     ("pdf", PdfBuilder),
26 ])