Some experiments with the language: html, epub, covers.
[librarian.git] / librarian / formats / __init__.py
1 # -*- coding: utf-8 -*-
2 #
3 # This file is part of Librarian, licensed under GNU Affero GPLv3 or later.
4 # Copyright © Fundacja Nowoczesna Polska. See NOTICE for more information.
5 #
6 class Format(object):
7     """ Generic format class. """
8     def __init__(self, doc):
9         self.doc = doc
10
11     def build(self):
12         raise NotImplementedError