# EbookLib — card for AI agents

Reads and writes EPUB2 and EPUB3 ebooks in Python.

Category: Files, images and media · PyPI package `ebooklib` · latest version 0.20 (checked 2026-11-01)
Install: `pip install ebooklib`
License: AGPL-3.0-or-later (network-copyleft)

In your own product (generator, app, hosted service): **conditions**. Network copyleft (AGPL): people who use a hosted service built with it are owed the source of the whole service.

## Warnings
- The license is network copyleft (AGPL-3.0-or-later): read it before shipping closed-source software or a hosted service.

## Numbers (AgentGid data)
- Gid Score: 40.4 (#3086 of all tools, 203 of 281 in its category)
- Used in 9 public projects set up for AI coding agents (0.1%)
- Downloads last week: 259,236 (as of 2026-11-24), +7.8% over 4 weeks
- GitHub stars: 1,825 (as of 2026-11-24)
- Last push: 2026-11-01

## Often used with
python-dotenv 77.1%, Pydantic 74.3%, Beautiful Soup 71.4%, Pillow 71.4%, PyYAML 68.6%, Uvicorn 65.7%

## Links
- AgentGid page: https://agentgid.com/tools/ebooklib/
- Homepage: https://github.com/aerkalov/ebooklib
- Repository: https://github.com/aerkalov/ebooklib

---
AgentGid's catalog is curated: every entry was checked against the maker's official pages (registry, repository, license and pricing pages) on the date shown; a license value shows the quote it stands on wherever AgentGid has one. Usage numbers come from AgentGid's own scan of public repositories set up for AI coding agents. Claims by makers are reported, not tested by AgentGid.
