Metadata-Version: 1.0
Name: EbookLib
Version: 0.1
Summary: Ebook library which can handle EPUB2/EPUB3 and Kindle format
Home-page: https://github.com/aerkalov/ebooklib
Author: Aleksandar Erkalovic
Author-email: aerkalov@gmail.com
License: LICENSE.txt
Description: About EbookLib
        ==============
        
        E-book library for Python capable of handling EPUB2/EPUB3 and Kindle format
        
        
        Usage
        =====
        
        Reading
        -------
        
            from ebooklib import epub
        
            book = epub.readEPUB('test.epub')
        
        Writing
        -------
        
            from ebooklib import epub
        
            book = epub.EpubBook()
        
            # set metadata
            book.set_identifier('id123456')
            book.set_title('Sample book')
            book.set_language('en')
        
            book.add_author('Author Authorowski')
            book.add_author('Danko Bananko', file_as='Gospodin Danko Bananko', role='ill', uid='coauthor')
        
            # create chapter
            c1 = epub.EpubHtml(title='Intro', file_name='chap_01.xhtml', lang='hr')
            c1.content=u'<h1>Intro heading</h1><p>Žaba je skočila u baru.</p>'
        
            # add chapter
            book.add_item(c1)
        
            # define Table Of Contents
            book.toc = (epub.Link('chap_01.xhtml', 'Introduction', 'intro'),
                         (epub.Section('Simple book'),
                         (c1, ))
                        )
        
            # add default NCX and Nav file
            book.add_item(epub.EpubNcx())
            book.add_item(epub.EpubNav())
        
            # define CSS style
            style = 'BODY {color: white;}'
            nav_css = epub.EpubItem(uid="style_nav", file_name="style/nav.css", media_type="text/css", content=style)
        
            # add CSS file
            book.add_item(nav_css)
        
            # basic spine
            book.spine = ['nav', c1]
        
            # write to the file
            epub.writeEPUB('test.epub', book, {})
        
        
        
        License
        =======
        
        EbookLib is licensed under the AGPL license.
        
        
        Authors
        =======
        * Aleksandar Erkalovic <aerkalov@gmail.com>
        * Borko Jandras <bjandras@gmail.com>
        
        
        
        
        
Keywords: ebook,epub,kindle
Platform: UNKNOWN
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Developers
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 2
Classifier: Topic :: Software Development :: Libraries :: Python Modules
