1
0
mirror of https://github.com/gryf/ebook-converter.git synced 2026-04-21 05:31:30 +02:00

Fix license formatting

This commit is contained in:
2020-04-19 17:50:19 +02:00
parent 48fedea799
commit 571da747b3
139 changed files with 139 additions and 139 deletions
+1 -1
View File
@@ -1,5 +1,5 @@
''' E-book management software'''
__license__ = 'GPL v3'
__license__ = 'GPL v3'
__copyright__ = '2008, Kovid Goyal <kovid@kovidgoyal.net>'
__docformat__ = 'restructuredtext en'
+1 -1
View File
@@ -5,7 +5,7 @@ from ebook_converter.ptempfile import PersistentTemporaryFile
from ebook_converter.polyglot.builtins import unicode_type
__license__ = 'GPL v3'
__license__ = 'GPL v3'
__copyright__ = '2008, Kovid Goyal <kovid at kovidgoyal.net>'
platform = 'linux'
+1 -1
View File
@@ -8,7 +8,7 @@ from ebook_converter.ebooks.metadata.archive import ArchiveExtract, KPFExtract,
from ebook_converter.ebooks.html.to_zip import HTML2ZIP
__license__ = 'GPL v3'
__license__ = 'GPL v3'
__copyright__ = '2008, Kovid Goyal <kovid at kovidgoyal.net>'
plugins = []
+1 -1
View File
@@ -21,7 +21,7 @@ from ebook_converter.constants import DEBUG, numeric_version
from ebook_converter.polyglot.builtins import iteritems, itervalues, unicode_type
__license__ = 'GPL v3'
__license__ = 'GPL v3'
__copyright__ = '2008, Kovid Goyal <kovid at kovidgoyal.net>'
builtin_names = frozenset(p.name for p in builtin_plugins)
+1 -1
View File
@@ -15,7 +15,7 @@ from ebook_converter.polyglot.builtins import (itervalues, map, string_or_bytes,
unicode_type, reload)
__license__ = 'GPL v3'
__license__ = 'GPL v3'
__copyright__ = '2011, Kovid Goyal <kovid@kovidgoyal.net>'
__docformat__ = 'restructuredtext en'
+1 -1
View File
@@ -6,7 +6,7 @@ from ebook_converter.constants import iswindows
from ebook_converter.customize import Plugin
__license__ = 'GPL v3'
__license__ = 'GPL v3'
__copyright__ = '2008, Kovid Goyal <kovid at kovidgoyal.net>'
+1 -1
View File
@@ -1,4 +1,4 @@
__license__ = 'GPL v3'
__license__ = 'GPL v3'
__copyright__ = '2008, Kovid Goyal <kovid at kovidgoyal.net>'
'''
+1 -1
View File
@@ -2,7 +2,7 @@ import re, codecs
from ebook_converter.polyglot.builtins import unicode_type
__license__ = 'GPL v3'
__license__ = 'GPL v3'
__copyright__ = '2009, Kovid Goyal <kovid@kovidgoyal.net>'
__docformat__ = 'restructuredtext en'
@@ -5,7 +5,7 @@ from ebook_converter.ebooks.compression import cPalmdoc
from ebook_converter.polyglot.builtins import range
__license__ = 'GPL v3'
__license__ = 'GPL v3'
__copyright__ = '2008, Kovid Goyal <kovid at kovidgoyal.net>'
@@ -1,7 +1,7 @@
from ebook_converter.polyglot.builtins import native_string_type
__license__ = 'GPL v3'
__license__ = 'GPL v3'
__copyright__ = '2011, Kovid Goyal <kovid@kovidgoyal.net>'
__docformat__ = 'restructuredtext en'
@@ -2,7 +2,7 @@ from ebook_converter.customize.conversion import InputFormatPlugin
from ebook_converter.polyglot.builtins import getcwd
__license__ = 'GPL v3'
__license__ = 'GPL v3'
__copyright__ = '2011, John Schember <john@nachtimwald.com>'
__docformat__ = 'restructuredtext en'
@@ -9,7 +9,7 @@ from ebook_converter.ptempfile import PersistentTemporaryDirectory
from ebook_converter.polyglot.builtins import getcwd, map
__license__ = 'GPL v3'
__license__ = 'GPL v3'
__copyright__ = '2008, Kovid Goyal kovid@kovidgoyal.net'
__docformat__ = 'restructuredtext en'
@@ -7,7 +7,7 @@ from ebook_converter import CurrentDir
from ebook_converter.polyglot.builtins import unicode_type, filter, map, zip, range, as_bytes
__license__ = 'GPL v3'
__license__ = 'GPL v3'
__copyright__ = '2009, Kovid Goyal <kovid@kovidgoyal.net>'
__docformat__ = 'restructuredtext en'
@@ -9,7 +9,7 @@ from ebook_converter import guess_type
from ebook_converter.polyglot.builtins import iteritems, getcwd
__license__ = 'GPL v3'
__license__ = 'GPL v3'
__copyright__ = '2008, Anatoly Shipitsin <norguhtar at gmail.com>'
FB2NS = 'http://www.gribuser.ru/xml/fictionbook/2.0'
@@ -10,7 +10,7 @@ from ebook_converter.utils.imghdr import what
from ebook_converter.polyglot.builtins import unicode_type, zip, getcwd, as_unicode
__license__ = 'GPL v3'
__license__ = 'GPL v3'
__copyright__ = '2012, Kovid Goyal <kovid@kovidgoyal.net>'
__docformat__ = 'restructuredtext en'
@@ -1,7 +1,7 @@
from ebook_converter.customize.conversion import InputFormatPlugin
__license__ = 'GPL v3'
__license__ = 'GPL v3'
__copyright__ = '2009, Kovid Goyal <kovid@kovidgoyal.net>'
__docformat__ = 'restructuredtext en'
@@ -1,7 +1,7 @@
from ebook_converter.customize.conversion import OutputFormatPlugin
__license__ = 'GPL v3'
__license__ = 'GPL v3'
__copyright__ = '2009, Kovid Goyal <kovid@kovidgoyal.net>'
__docformat__ = 'restructuredtext en'
@@ -4,7 +4,7 @@ import pkg_resources
from ebook_converter.customize.conversion import InputFormatPlugin
__license__ = 'GPL v3'
__license__ = 'GPL v3'
__copyright__ = '2009, Kovid Goyal <kovid@kovidgoyal.net>'
__docformat__ = 'restructuredtext en'
@@ -5,7 +5,7 @@ from ebook_converter.customize.conversion import OptionRecommendation
from ebook_converter.polyglot.builtins import unicode_type
__license__ = 'GPL v3'
__license__ = 'GPL v3'
__copyright__ = '2009, Kovid Goyal <kovid@kovidgoyal.net>'
__docformat__ = 'restructuredtext en'
@@ -3,7 +3,7 @@ from ebook_converter.customize.conversion import (OutputFormatPlugin,
from ebook_converter.polyglot.builtins import unicode_type
__license__ = 'GPL v3'
__license__ = 'GPL v3'
__copyright__ = '2009, Kovid Goyal <kovid@kovidgoyal.net>'
__docformat__ = 'restructuredtext en'
@@ -4,7 +4,7 @@ Convert an ODT file into a Open Ebook
from ebook_converter.customize.conversion import InputFormatPlugin
__license__ = 'GPL v3'
__license__ = 'GPL v3'
__copyright__ = '2008, Kovid Goyal kovid@kovidgoyal.net'
__docformat__ = 'restructuredtext en'
@@ -2,7 +2,7 @@ from ebook_converter.customize.conversion import InputFormatPlugin
from ebook_converter.polyglot.builtins import getcwd
__license__ = 'GPL v3'
__license__ = 'GPL v3'
__copyright__ = '2009, John Schember <john@nachtimwald.com>'
__docformat__ = 'restructuredtext en'
@@ -7,7 +7,7 @@ from ebook_converter.ptempfile import TemporaryDirectory
from ebook_converter.polyglot.builtins import getcwd
__license__ = 'GPL v3'
__license__ = 'GPL v3'
__copyright__ = '2009, John Schember <john@nachtimwald.com>'
__docformat__ = 'restructuredtext en'
@@ -6,7 +6,7 @@ from ebook_converter import walk
from ebook_converter.polyglot.builtins import unicode_type
__license__ = 'GPL v3'
__license__ = 'GPL v3'
__copyright__ = '2009, Kovid Goyal <kovid@kovidgoyal.net>'
__docformat__ = 'restructuredtext en'
@@ -4,7 +4,7 @@ import pkg_resources
from ebook_converter.customize.conversion import InputFormatPlugin, OptionRecommendation
from ebook_converter.polyglot.builtins import iteritems, filter, getcwd, as_bytes
__license__ = 'GPL v3'
__license__ = 'GPL v3'
__copyright__ = '2008, Kovid Goyal <kovid at kovidgoyal.net>'
border_style_map = {
@@ -5,7 +5,7 @@ from ebook_converter import entity_to_unicode, as_unicode
from ebook_converter.polyglot.builtins import unicode_type, range
__license__ = 'GPL v3'
__license__ = 'GPL v3'
__copyright__ = '2009, Kovid Goyal <kovid@kovidgoyal.net>'
__docformat__ = 'restructuredtext en'
+1 -1
View File
@@ -6,7 +6,7 @@ from ebook_converter.utils.wordcount import get_wordcount_obj
from ebook_converter.polyglot.builtins import unicode_type
__license__ = 'GPL v3'
__license__ = 'GPL v3'
__copyright__ = '2010, Kovid Goyal <kovid@kovidgoyal.net>'
__docformat__ = 'restructuredtext en'
+1 -1
View File
@@ -4,7 +4,7 @@ Conversion to EPUB.
from ebook_converter.utils.zipfile import ZipFile, ZIP_STORED
__license__ = 'GPL v3'
__license__ = 'GPL v3'
__copyright__ = '2008, Kovid Goyal kovid@kovidgoyal.net'
__docformat__ = 'restructuredtext en'
+1 -1
View File
@@ -1,4 +1,4 @@
__license__ = 'GPL v3'
__license__ = 'GPL v3'
__copyright__ = '2012, Kovid Goyal <kovid@kovidgoyal.net>'
__docformat__ = 'restructuredtext en'
+1 -1
View File
@@ -11,7 +11,7 @@ from ebook_converter.polyglot.builtins import is_py3, unicode_type
from ebook_converter.polyglot.urllib import urlparse, urlunparse
__license__ = 'GPL v3'
__license__ = 'GPL v3'
__copyright__ = '2009, Kovid Goyal <kovid@kovidgoyal.net>'
__docformat__ = 'restructuredtext en'
+1 -1
View File
@@ -5,7 +5,7 @@ from ebook_converter.constants import numeric_version
from ebook_converter.polyglot.builtins import unicode_type
__license__ = 'GPL v3'
__license__ = 'GPL v3'
__copyright__ = '2011, Kovid Goyal <kovid@kovidgoyal.net>'
__docformat__ = 'restructuredtext en'
+1 -1
View File
@@ -10,7 +10,7 @@ from ebook_converter.ebooks.lrf.fonts import FONT_FILE_MAP
from ebook_converter.ebooks import ConversionError
__license__ = 'GPL v3'
__license__ = 'GPL v3'
__copyright__ = '2008, Kovid Goyal <kovid at kovidgoyal.net>'
__docformat__ = "epytext"
+1 -1
View File
@@ -6,7 +6,7 @@ from PIL import ImageFont
from ebook_converter.utils.fonts.scanner import font_scanner
__license__ = 'GPL v3'
__license__ = 'GPL v3'
__copyright__ = '2008, Kovid Goyal <kovid at kovidgoyal.net>'
LIBERATION_FONT_MAP = {'Swis721 BT Roman': 'Liberation Sans Regular',
+1 -1
View File
@@ -1,7 +1,7 @@
import re
__license__ = 'GPL v3'
__license__ = 'GPL v3'
__copyright__ = '2008, Kovid Goyal <kovid at kovidgoyal.net>'
NAME_MAP = {
+1 -1
View File
@@ -7,7 +7,7 @@ from ebook_converter.ebooks.lrf.pylrs.pylrs import TextBlock, Text, CR, Span, \
from ebook_converter.polyglot.builtins import string_or_bytes, range, native_string_type
__license__ = 'GPL v3'
__license__ = 'GPL v3'
__copyright__ = '2008, Kovid Goyal <kovid at kovidgoyal.net>'
+1 -1
View File
@@ -10,7 +10,7 @@ from ebook_converter.polyglot.builtins import codepoint_to_chr, unicode_type, ra
from ebook_converter.polyglot.urllib import quote, unquote, urlparse
__license__ = 'GPL v3'
__license__ = 'GPL v3'
__copyright__ = '2008, Kovid Goyal kovid@kovidgoyal.net'
__docformat__ = 'restructuredtext en'
+1 -1
View File
@@ -6,7 +6,7 @@ from ebook_converter.utils.localization import canonicalize_lang
from ebook_converter.polyglot.builtins import filter, unicode_type
__license__ = 'GPL v3'
__license__ = 'GPL v3'
__copyright__ = '2010, Kovid Goyal <kovid@kovidgoyal.net>'
__docformat__ = 'restructuredtext en'
@@ -1,4 +1,4 @@
__license__ = 'GPL v3'
__license__ = 'GPL v3'
__copyright__ = '2010, Kovid Goyal <kovid@kovidgoyal.net>'
__docformat__ = 'restructuredtext en'
+1 -1
View File
@@ -10,7 +10,7 @@ from ebook_converter.utils.icu import sort_key
from ebook_converter.polyglot.builtins import iteritems, unicode_type, filter, map
__license__ = 'GPL v3'
__license__ = 'GPL v3'
__copyright__ = '2010, Kovid Goyal <kovid@kovidgoyal.net>'
__docformat__ = 'restructuredtext en'
+1 -1
View File
@@ -18,7 +18,7 @@ from ebook_converter.polyglot.builtins import unicode_type
from ebook_converter.polyglot.binary import as_base64_unicode
__license__ = 'GPL v3'
__license__ = 'GPL v3'
__copyright__ = ('2011, Roman Mukhin <ramses_ru at hotmail.com>, '
'2008, Anatoly Shipitsin <norguhtar at gmail.com>')
+1 -1
View File
@@ -16,7 +16,7 @@ from ebook_converter.utils.date import parse_date, is_date_undefined
from ebook_converter.polyglot.builtins import iteritems
__license__ = 'GPL v3'
__license__ = 'GPL v3'
__copyright__ = '2013, Kovid Goyal <kovid at kovidgoyal.net>'
+1 -1
View File
@@ -9,7 +9,7 @@ from ebook_converter.ebooks.metadata import MetaInformation, string_to_authors
from ebook_converter.polyglot.builtins import getcwd, unicode_type
__license__ = 'GPL v3'
__license__ = 'GPL v3'
__copyright__ = '2008, Kovid Goyal <kovid at kovidgoyal.net>'
# The priorities for loading metadata from different file types
+1 -1
View File
@@ -21,7 +21,7 @@ from ebook_converter.polyglot.builtins import iteritems, unicode_type, getcwd, m
from ebook_converter.polyglot.urllib import unquote, urlparse
__license__ = 'GPL v3'
__license__ = 'GPL v3'
__copyright__ = '2008, Kovid Goyal kovid@kovidgoyal.net'
__docformat__ = 'restructuredtext en'
+1 -1
View File
@@ -13,7 +13,7 @@ from ebook_converter.utils.ipc.simple_worker import fork_job, WorkerError
from ebook_converter.polyglot.builtins import iteritems, unicode_type
__license__ = 'GPL v3'
__license__ = 'GPL v3'
__copyright__ = '2008, Kovid Goyal <kovid at kovidgoyal.net>'
+1 -1
View File
@@ -12,7 +12,7 @@ from ebook_converter.polyglot.builtins import unicode_type, getcwd
from ebook_converter.polyglot.urllib import unquote, urlparse
__license__ = 'GPL v3'
__license__ = 'GPL v3'
__copyright__ = '2010, Kovid Goyal <kovid at kovidgoyal.net>'
NCX_NS = "http://www.daisy.org/z3986/2005/ncx/"
+1 -1
View File
@@ -6,7 +6,7 @@ import re, os
from ebook_converter.ebooks.metadata import MetaInformation
__license__ = 'GPL v3'
__license__ = 'GPL v3'
__copyright__ = '2009, John Schember <john@nachtimwald.com>'
+1 -1
View File
@@ -8,7 +8,7 @@ from ebook_converter.ebooks.mobi import MobiError
from ebook_converter.polyglot.builtins import map
__license__ = 'GPL v3'
__license__ = 'GPL v3'
__copyright__ = '2011, Kovid Goyal <kovid@kovidgoyal.net>'
__docformat__ = 'restructuredtext en'
+1 -1
View File
@@ -2,7 +2,7 @@ from struct import pack
from ebook_converter.utils.localization import lang_as_iso639_1
__license__ = 'GPL v3'
__license__ = 'GPL v3'
__copyright__ = '2008, Kovid Goyal kovid@kovidgoyal.net'
__docformat__ = 'restructuredtext en'
+1 -1
View File
@@ -14,7 +14,7 @@ from ebook_converter.utils.imghdr import identify
from ebook_converter.polyglot.builtins import unicode_type, string_or_bytes
__license__ = 'GPL v3'
__license__ = 'GPL v3'
__copyright__ = '2008, Marshall T. Vandegrift <llasram@gmail.cam>'
MBP_NS = 'http://mobipocket.com/ns/mbp'
@@ -11,7 +11,7 @@ from ebook_converter.utils.config_base import tweaks
from ebook_converter.polyglot.builtins import unicode_type
__license__ = 'GPL v3'
__license__ = 'GPL v3'
__copyright__ = '2012, Kovid Goyal <kovid@kovidgoyal.net>'
__docformat__ = 'restructuredtext en'
+1 -1
View File
@@ -6,7 +6,7 @@ from ebook_converter.ebooks.mobi.utils import (decint, count_set_bits,
from ebook_converter.polyglot.builtins import iteritems, range, zip
__license__ = 'GPL v3'
__license__ = 'GPL v3'
__copyright__ = '2012, Kovid Goyal <kovid@kovidgoyal.net>'
__docformat__ = 'restructuredtext en'
+1 -1
View File
@@ -4,7 +4,7 @@ from ebook_converter.ebooks.chardet import strip_encoding_declarations
from ebook_converter.polyglot.builtins import unicode_type, range
__license__ = 'GPL v3'
__license__ = 'GPL v3'
__copyright__ = '2012, Kovid Goyal <kovid@kovidgoyal.net>'
__docformat__ = 'restructuredtext en'
+1 -1
View File
@@ -19,7 +19,7 @@ from ebook_converter.utils.imghdr import what
from ebook_converter.polyglot.builtins import iteritems, unicode_type, range, map
__license__ = 'GPL v3'
__license__ = 'GPL v3'
__copyright__ = '2012, Kovid Goyal <kovid@kovidgoyal.net>'
__docformat__ = 'restructuredtext en'
+1 -1
View File
@@ -19,7 +19,7 @@ from ebook_converter.polyglot.builtins import range, zip, unicode_type, getcwd,
from ebook_converter.polyglot.urllib import urldefrag
__license__ = 'GPL v3'
__license__ = 'GPL v3'
__copyright__ = '2012, Kovid Goyal <kovid@kovidgoyal.net>'
__docformat__ = 'restructuredtext en'
+1 -1
View File
@@ -5,7 +5,7 @@ from ebook_converter.ebooks.mobi.reader.index import read_index
from ebook_converter.polyglot.builtins import iteritems, getcwd
__license__ = 'GPL v3'
__license__ = 'GPL v3'
__copyright__ = '2012, Kovid Goyal <kovid@kovidgoyal.net>'
__docformat__ = 'restructuredtext en'
+1 -1
View File
@@ -13,7 +13,7 @@ from ebook_converter.customize.ui import (plugin_for_input_format,
from ebook_converter.utils.ipc.simple_worker import fork_job
__license__ = 'GPL v3'
__license__ = 'GPL v3'
__copyright__ = '2012, Kovid Goyal <kovid@kovidgoyal.net>'
__docformat__ = 'restructuredtext en'
+1 -1
View File
@@ -9,7 +9,7 @@ from ebook_converter.polyglot.builtins import unicode_type, range, as_bytes, map
from ebook_converter.tinycss.color3 import parse_color_string
__license__ = 'GPL v3'
__license__ = 'GPL v3'
__copyright__ = '2011, Kovid Goyal <kovid@kovidgoyal.net>'
__docformat__ = 'restructuredtext en'
@@ -8,7 +8,7 @@ from ebook_converter.ebooks.mobi.utils import (encint, encode_number_as_hex,
from ebook_converter.polyglot.builtins import filter, iteritems, itervalues, map, range
__license__ = 'GPL v3'
__license__ = 'GPL v3'
__copyright__ = '2011, Kovid Goyal <kovid@kovidgoyal.net>'
__docformat__ = 'restructuredtext en'
+1 -1
View File
@@ -13,7 +13,7 @@ from ebook_converter.ebooks.mobi.writer2.indexer import Indexer
from ebook_converter.polyglot.builtins import iteritems, unicode_type, range
__license__ = 'GPL v3'
__license__ = 'GPL v3'
__copyright__ = '2011, Kovid Goyal <kovid@kovidgoyal.net>'
__docformat__ = 'restructuredtext en'
@@ -11,7 +11,7 @@ from ebook_converter.utils.imghdr import what
from ebook_converter.polyglot.builtins import iteritems, unicode_type
__license__ = 'GPL v3'
__license__ = 'GPL v3'
__copyright__ = '2012, Kovid Goyal <kovid@kovidgoyal.net>'
__docformat__ = 'restructuredtext en'
@@ -12,7 +12,7 @@ from ebook_converter.polyglot.builtins import unicode_type, string_or_bytes
from ebook_converter.polyglot.urllib import urldefrag
__license__ = 'GPL v3'
__license__ = 'GPL v3'
__copyright__ = '2011, Kovid Goyal <kovid@kovidgoyal.net>'
__docformat__ = 'restructuredtext en'
@@ -1,7 +1,7 @@
from ebook_converter.ebooks.oeb.base import XPath
__license__ = 'GPL v3'
__license__ = 'GPL v3'
__copyright__ = '2012, Kovid Goyal <kovid@kovidgoyal.net>'
__docformat__ = 'restructuredtext en'
+1 -1
View File
@@ -9,7 +9,7 @@ from ebook_converter.ebooks.metadata import authors_to_sort_string
from ebook_converter.polyglot.builtins import iteritems, unicode_type
__license__ = 'GPL v3'
__license__ = 'GPL v3'
__copyright__ = '2012, Kovid Goyal <kovid@kovidgoyal.net>'
__docformat__ = 'restructuredtext en'
+1 -1
View File
@@ -18,7 +18,7 @@ from ebook_converter.utils.xml_parse import safe_xml_fromstring
from ebook_converter.polyglot.builtins import unicode_type, string_or_bytes, filter, getcwd, as_bytes
__license__ = 'GPL v3'
__license__ = 'GPL v3'
__copyright__ = '2008, Kovid Goyal kovid@kovidgoyal.net'
__docformat__ = 'restructuredtext en'
+1 -1
View File
@@ -20,7 +20,7 @@ from ebook_converter.polyglot.builtins import iteritems, unicode_type, string_or
from ebook_converter.polyglot.urllib import unquote as urlunquote, urldefrag, urljoin, urlparse, urlunparse
__license__ = 'GPL v3'
__license__ = 'GPL v3'
__copyright__ = '2008, Marshall T. Vandegrift <llasram@gmail.com>'
__docformat__ = 'restructuredtext en'
+1 -1
View File
@@ -9,7 +9,7 @@ from ebook_converter.ebooks.chardet import xml_to_unicode, strip_encoding_declar
from ebook_converter.polyglot.builtins import iteritems, itervalues, unicode_type, string_or_bytes, map
__license__ = 'GPL v3'
__license__ = 'GPL v3'
__copyright__ = '2011, Kovid Goyal <kovid@kovidgoyal.net>'
__docformat__ = 'restructuredtext en'
+1 -1
View File
@@ -1,7 +1,7 @@
from ebook_converter.ebooks import DRMError as _DRMError
__license__ = 'GPL v3'
__license__ = 'GPL v3'
__copyright__ = '2013, Kovid Goyal <kovid at kovidgoyal.net>'
__docformat__ = 'restructuredtext en'
+1 -1
View File
@@ -11,7 +11,7 @@ from ebook_converter.ebooks.oeb.polish.utils import extract
from ebook_converter.polyglot.urllib import urlparse, urlunparse
__license__ = 'GPL v3'
__license__ = 'GPL v3'
__copyright__ = '2013, Kovid Goyal <kovid at kovidgoyal.net>'
__docformat__ = 'restructuredtext en'
+1 -1
View File
@@ -19,7 +19,7 @@ from ebook_converter.polyglot.builtins import iteritems, map, unicode_type
from ebook_converter.polyglot.urllib import urlparse
__license__ = 'GPL v3'
__license__ = 'GPL v3'
__copyright__ = '2013, Kovid Goyal <kovid at kovidgoyal.net>'
__docformat__ = 'restructuredtext en'
+1 -1
View File
@@ -27,7 +27,7 @@ from ebook_converter.polyglot.urllib import unquote, urldefrag, urlparse
__all__ = ['OEBReader']
__license__ = 'GPL v3'
__license__ = 'GPL v3'
__copyright__ = '2008, Marshall T. Vandegrift <llasram@gmail.com>'
+1 -1
View File
@@ -19,7 +19,7 @@ from ebook_converter.polyglot.builtins import iteritems, unicode_type, filter
from ebook_converter.tinycss.media3 import CSSMedia3Parser
__license__ = 'GPL v3'
__license__ = 'GPL v3'
__copyright__ = '2008, Marshall T. Vandegrift <llasram@gmail.com>'
css_parser_log.setLevel(logging.WARN)
@@ -7,7 +7,7 @@ from ebook_converter.polyglot.builtins import unicode_type
from ebook_converter.polyglot.urllib import unquote
__license__ = 'GPL v3'
__license__ = 'GPL v3'
__copyright__ = '2010, Kovid Goyal <kovid@kovidgoyal.net>'
__docformat__ = 'restructuredtext en'
@@ -6,7 +6,7 @@ from ebook_converter.ebooks.oeb.base import rewrite_links, urlnormalize
from ebook_converter.polyglot.urllib import urldefrag, urlparse
__license__ = 'GPL v3'
__license__ = 'GPL v3'
__copyright__ = '2010, Kovid Goyal <kovid@kovidgoyal.net>'
__docformat__ = 'restructuredtext en'
@@ -19,7 +19,7 @@ from ebook_converter.utils.icu import numeric_sort_key
from ebook_converter.polyglot.builtins import iteritems, unicode_type, string_or_bytes, map
__license__ = 'GPL v3'
__license__ = 'GPL v3'
__copyright__ = '2008, Marshall T. Vandegrift <llasram@gmail.com>'
COLLAPSE = re.compile(r'[ \t\r\n\v]+')
@@ -1,4 +1,4 @@
__license__ = 'GPL v3'
__license__ = 'GPL v3'
__copyright__ = '2009, Kovid Goyal <kovid@kovidgoyal.net>'
__docformat__ = 'restructuredtext en'
@@ -8,7 +8,7 @@ from ebook_converter.polyglot.builtins import unicode_type
__all__ = ['HTMLTOCAdder']
__license__ = 'GPL v3'
__license__ = 'GPL v3'
__copyright__ = '2008, Marshall T. Vandegrift <llasram@gmail.com>'
DEFAULT_TITLE = __('Table of Contents')
@@ -13,7 +13,7 @@ from ebook_converter.ebooks.metadata import fmt_sidx, rating_to_stars
from ebook_converter.polyglot.builtins import unicode_type, map
__license__ = 'GPL v3'
__license__ = 'GPL v3'
__copyright__ = '2009, Kovid Goyal <kovid@kovidgoyal.net>'
__docformat__ = 'restructuredtext en'
@@ -9,7 +9,7 @@ from ebook_converter.ebooks.oeb.stylizer import Stylizer
from ebook_converter.polyglot.builtins import string_or_bytes
__license__ = 'GPL v3'
__license__ = 'GPL v3'
__copyright__ = '2008, Marshall T. Vandegrift <llasram@gmail.com>'
CASE_MANGLER_CSS = """
@@ -4,7 +4,7 @@ from ebook_converter import guess_type
from ebook_converter.polyglot.builtins import iteritems
__license__ = 'GPL v3'
__license__ = 'GPL v3'
__copyright__ = '2009, Kovid Goyal <kovid@kovidgoyal.net>'
__docformat__ = 'restructuredtext en'
@@ -5,7 +5,7 @@ from ebook_converter.ebooks.oeb.base import barename, XPath
from ebook_converter.polyglot.builtins import iteritems
__license__ = 'GPL v3'
__license__ = 'GPL v3'
__copyright__ = '2011, Kovid Goyal <kovid@kovidgoyal.net>'
__docformat__ = 'restructuredtext en'
@@ -17,7 +17,7 @@ from ebook_converter.polyglot.builtins import unicode_type
from ebook_converter.polyglot.urllib import urldefrag
__license__ = 'GPL v3'
__license__ = 'GPL v3'
__copyright__ = '2008, Marshall T. Vandegrift <llasram@gmail.com>'
IMAGE_TAGS = {XHTML('img'), XHTML('object')}
@@ -1,7 +1,7 @@
from ebook_converter import fit_image
__license__ = 'GPL v3'
__license__ = 'GPL v3'
__copyright__ = '2009, Kovid Goyal <kovid@kovidgoyal.net>'
__docformat__ = 'restructuredtext en'
@@ -19,7 +19,7 @@ from ebook_converter.polyglot.urllib import unquote
from ebook_converter.css_selectors import Select, SelectorError
__license__ = 'GPL v3'
__license__ = 'GPL v3'
__copyright__ = '2008, Kovid Goyal kovid@kovidgoyal.net'
__docformat__ = 'restructuredtext en'
XPath = functools.partial(_XPath, namespaces=NAMESPACES)
@@ -9,7 +9,7 @@ from ebook_converter.polyglot.builtins import itervalues, unicode_type
from ebook_converter.polyglot.urllib import urlparse
__license__ = 'GPL v3'
__license__ = 'GPL v3'
__copyright__ = '2009, Kovid Goyal <kovid@kovidgoyal.net>'
__docformat__ = 'restructuredtext en'
@@ -6,7 +6,7 @@ from ebook_converter.polyglot.builtins import iteritems, itervalues, unicode_typ
from ebook_converter.tinycss.fonts3 import parse_font_family
__license__ = 'GPL v3'
__license__ = 'GPL v3'
__copyright__ = '2012, Kovid Goyal <kovid at kovidgoyal.net>'
__docformat__ = 'restructuredtext en'
@@ -6,7 +6,7 @@ from ebook_converter.ebooks.oeb.base import urlnormalize, iterlinks
from ebook_converter.polyglot.urllib import urldefrag
__license__ = 'GPL v3'
__license__ = 'GPL v3'
__copyright__ = '2008, Marshall T. Vandegrift <llasram@gmail.com>'
+1 -1
View File
@@ -8,7 +8,7 @@ from ebook_converter.ebooks.oeb.base import DirContainer, OEBError
__all__ = ['OEBWriter']
__license__ = 'GPL v3'
__license__ = 'GPL v3'
__copyright__ = '2008, Marshall T. Vandegrift <llasram@gmail.com>'
+1 -1
View File
@@ -1,4 +1,4 @@
__license__ = 'GPL v3'
__license__ = 'GPL v3'
__copyright__ = '2009, John Schember <john@nachtimwald.com>'
__docformat__ = 'restructuredtext en'
@@ -1,7 +1,7 @@
import os
__license__ = 'GPL v3'
__license__ = 'GPL v3'
__copyright__ = '2009, John Schember <john@nachtimwald.com>'
__docformat__ = 'restructuredtext en'
+1 -1
View File
@@ -7,7 +7,7 @@ from ebook_converter.ebooks.pdb.ereader.reader132 import Reader132
from ebook_converter.ebooks.pdb.ereader.reader202 import Reader202
__license__ = 'GPL v3'
__license__ = 'GPL v3'
__copyright__ = '2009, John Schember <john@nachtimwald.com>'
__docformat__ = 'restructuredtext en'
@@ -14,7 +14,7 @@ from ebook_converter.ebooks.pdb.formatreader import FormatReader
from ebook_converter.polyglot.builtins import unicode_type, range
__license__ = 'GPL v3'
__license__ = 'GPL v3'
__copyright__ = '2009, John Schember <john@nachtimwald.com>'
__docformat__ = 'restructuredtext en'
@@ -12,7 +12,7 @@ from ebook_converter.ebooks.pdb.ereader import EreaderError
from ebook_converter.polyglot.builtins import unicode_type, range
__license__ = 'GPL v3'
__license__ = 'GPL v3'
__copyright__ = '2009, John Schember <john@nachtimwald.com>'
__docformat__ = 'restructuredtext en'
+1 -1
View File
@@ -1,7 +1,7 @@
"""
Interface defining the necessary public functions for a pdb format reader.
"""
__license__ = 'GPL v3'
__license__ = 'GPL v3'
__copyright__ = '2009, John Schember <john@nachtimwald.com>'
__docformat__ = 'restructuredtext en'
+1 -1
View File
@@ -11,7 +11,7 @@ from ebook_converter.ebooks.txt.processor import opf_writer, HTML_TEMPLATE
from ebook_converter.polyglot.builtins import range, map
__license__ = 'GPL v3'
__license__ = 'GPL v3'
__copyright__ = '2012, Kan-Ru Chen <kanru@kanru.info>'
__docformat__ = 'restructuredtext en'
+1 -1
View File
@@ -8,7 +8,7 @@ import time
from ebook_converter.polyglot.builtins import long_type
__license__ = 'GPL v3'
__license__ = 'GPL v3'
__copyright__ = '2009, John Schember <john@nachtimwald.com>'
__docformat__ = 'restructuredtext en'
+1 -1
View File
@@ -8,7 +8,7 @@ import struct
from ebook_converter.ebooks.pdb.formatreader import FormatReader
__license__ = 'GPL v3'
__license__ = 'GPL v3'
__copyright__ = '2009, John Schember <john@nachtimwald.com>'
__docformat__ = 'restructuredtext en'
+1 -1
View File
@@ -6,7 +6,7 @@ from ebook_converter.ptempfile import PersistentTemporaryFile
from ebook_converter.polyglot.builtins import range
__license__ = 'GPL v3'
__license__ = 'GPL v3'
__copyright__ = '2010, John Schember <john@nachtimwald.com>'
__docformat__ = 'restructuredtext en'
+1 -1
View File
@@ -12,7 +12,7 @@ from ebook_converter.utils.img import save_cover_data_to, Canvas, image_from_dat
from ebook_converter.polyglot.builtins import codepoint_to_chr, range
__license__ = 'GPL v3'
__license__ = 'GPL v3'
__copyright__ = '20011, John Schember <john@nachtimwald.com>'
__docformat__ = 'restructuredtext en'
+1 -1
View File
@@ -1,4 +1,4 @@
__license__ = 'GPL v3'
__license__ = 'GPL v3'
__copyright__ = '2009, John Schember <john@nachtimwald.com>'
__docformat__ = 'restructuredtext en'
+1 -1
View File
@@ -9,7 +9,7 @@ from ebook_converter.ebooks.pdb.formatreader import FormatReader
from ebook_converter.ebooks.pdb.ztxt import zTXTError
__license__ = 'GPL v3'
__license__ = 'GPL v3'
__copyright__ = '2009, John Schember <john@nachtimwald.com>'
__docformat__ = 'restructuredtext en'

Some files were not shown because too many files have changed in this diff Show More