Extract html library from .epub file.
$ pip install html_from_epub
Command line tool script will install along with Python package.
$ html-from-epub path_to_file.epub
Use in code:
>>> from html_from_epub import convert
>>> convert('path_to_file.epub')
Go ahead:
$ git clone https://github.com/casperlehmann/html_from_epub.git
$ cd html_from_epub
$ pip install -r requirements.txt