Skip to main content

EpubParser

Parses epub files (wrapper around ebooklib package). Extract chapter titles and their corresponding texts. Can also extract the cover image.

Installation

You can install epubparser via pip:

pip install epubparser

Usage

epubparser input.epub output.txt 

You can apply some arguments:

--skip-toc Skip chapters whose titles match common Table of Contents variants.

--skip-license Skip chapters whose titles match common License variants.

The arguments above may not be perfect, since it depends on regex an language.

--extract-cover extracts cover to covers directory. If this argument is passed, output file must be specified as None

License

This project is licensed under the MIT License.

Metadata

Release files for epubparser 0.1.7

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for epubparser 0.1.7
File Size Uploaded
epubparser-0.1.7.tar.gz 6.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for epubparser 0.1.7
File Interpreter ABI Platform
epubparser-0.1.7-py3-none-any.whl Python 3 none any Details

Total release size: 13.9 kB

Release files / epubparser-0.1.7.tar.gz

Download URL epubparser-0.1.7.tar.gz
Size 6.9 kB
Tags Source
SHA-256 checksum
How to use checksums
32fc79e63a6bca938d4331071ea26502c009f33ff3e0009e7bbd74cd9775df26
BLAKE2b-256 checksum
How to use checksums
694330fb44599071bdbd28e45e52918be2dc4fb4984b3ca7dd9ea9e8894bccd5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.2

Release files / epubparser-0.1.7-py3-none-any.whl

Download URL epubparser-0.1.7-py3-none-any.whl
Size 7.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
817c1a10e4f48be61d8ec29042661e5e5f8d415fc4212944eb9d0bd1281cc81e
BLAKE2b-256 checksum
How to use checksums
b68a1324ffd3bc5522a49d9aef93ecf76da98a090a3e44f539ba3a09325ac54b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.2

Release history Release notifications | RSS feed

This release

0.1.7 This release

2 release files

0.1.6

2 release files

0.1.5

2 release files

0.1.4

2 release files

0.1.3

2 release files

0.1.2

2 release files

0.1.1

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page