aerkalov/ebooklib
A versatile Python library for EPUB2/EPUB3 manipulation and processing. observed · 2026-08-28
Health v2 · maintenance only
81/100
- Activity 94
- Release rhythm 54
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: 0
- age_days: 4869
- days_rel: 311
- days_push: 37
- n_releases_24m: 8
Adoption not part of the score
1808 stars · 259 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
EbookLib is a Python library for reading and writing EPUB2/EPUB3 ebook files programmatically. It supports covers, table of contents, spine, guide, metadata, SMIL, and page breaks with a simple API.
Use cases
- read and extract images from an epub file
- generate epub ebooks programmatically in python
- convert html content into an epub book
- edit epub metadata like title, author, and language
- build an ebook pipeline for epub2 and epub3
- extract text and resources from epub for conversion to audiobook
When to choose
- you need to create or parse EPUB files in Python
- you want control over EPUB structure like spine, TOC, and metadata
- you need a widely used library with packages in Debian/Ubuntu
When to avoid
- you need lossless round-trip editing of existing EPUBs (output is opinionated and may differ from input)
- you need MOBI parsing or conversion
- you need a permissive license (it is AGPL-3.0)
Facets
library · maturity active
parser file-system sdk files developer-tools python cross-platform epub ebook epub2 epub3 ebook-processing publishing automation
4 sources
- readme: https://github.com/aerkalov/ebooklib · fetched 2026-08-28 · c2a952cf2aa0
- homepage: https://ebooklib.readthedocs.io/ · fetched 2026-08-29 · 853755f72a48
- site_page: http://docs.sourcefabric.org/projects/ebooklib/en/latest/faq.html · fetched 2026-08-29 · 471fe74f9cb2
- registry_pypi: https://pypi.org/pypi/ebooklib/json · fetched 2026-08-29 · 43cc9dc0d968
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| aerkalov/ebooklib | main | 81 |
For agents
markdown · JSON · MCP: product_card(name="aerkalov/ebooklib")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem