All formats

EPUB libraries for Python

Pick EbookLib to work with the EPUB structure (XHTML files, metadata, manifest) and PyMuPDF to get page-based text or images. Both are AGPL: check the license before using them in a closed-source network service.