Skip to content

oubiwann/epub

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

152 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

EPub Library for Python

This project merges two efforts:

The revision histories for all three sources are preservied in git.

In all honesty, both project seem to be a bit of a mess; I'm just trying to put something together that suites my needs. This code needs a lot of work.

Downloading

You can use pip to install the Epub library:

$ pip install https://github.com/oubiwann/epub/archive/master.zip

Or, you could clone the git repo:

$ git clone https://github.com/oubiwann/epub.git
$ cd epub
$ python setup.py install

Documentation

EPub Reader

from epub.reader import content

mybook = content.open_epub('path/to/my/book.epub')

for item in mybook.opf.manifest.values():
    # read the content
    data = mybook.read_item(item)

EPub Writer

from epub.writer import book

(more soon ...)

About

exirel's epub reading library merged with the python-epub-builder library

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages