skillfed

isbnlib

Extract, clean, transform, hyphenate and metadata for ISBNs (International Standard Book Number).

isbnlib v3.10.14 167.8K downloads/30d#10,460 on PyPI279
Copyleft license LGPL v3 DORMANT released

What it is and what it does

isbnlib is a pure Python library for working with ISBN (International Standard Book Number) identifiers. It provides core functions to validate ISBNs (both ISBN-10 and ISBN-13 formats), convert between them, extract ISBN-like strings from text, and normalize or mask ISBNs for display. Beyond validation, it retrieves bibliographic metadata—title, author, publisher, year—from multiple free web services (Google Books, Wikipedia, Open Library) and can format results as BibTeX, CSL-JSON, EndNote, RefWorks, or other citation formats. The library is designed for developers building book-related applications, metadata scrapers, or citation tools.

The package has no external runtime dependencies, making it lightweight to install. It supports Python 2.7 and Python 3.6 through 3.11. The library is extensible via a plugin system for adding new metadata providers or bibliographic formatters. However, the project is dormant—the last release was in April 2023 and last commit in August 2024—so while it is marked Production/Stable, it receives no active maintenance, meaning API changes in external services may break metadata retrieval without fixes.

Use it for:

  • Validate and clean ISBN strings from user input or scraped book data before storing in a database.
  • Extract ISBNs from unstructured text and retrieve their metadata automatically.
  • Convert ISBN-10 identifiers to ISBN-13 format for standardization or compatibility with modern book databases.
  • Generate BibTeX or CSL-JSON citations from an ISBN for bibliography management or academic publishing workflows.
  • Rename or organize book files using metadata extracted from ISBNs in filenames.

Worth the install?

AI-flagged interpretation of the facts on this page — verify before relying

isbnlib validates, cleans, transforms, and retrieves metadata for ISBN strings in both ISBN-10 and ISBN-13 formats, with support for multiple metadata providers including Google Books, Wikipedia, and Open Library.

Yes, if you need lightweight ISBN validation and metadata lookup without external dependencies. The zero-dependency design and Production/Stable status make it reliable for core ISBN operations. However, be aware that the project is dormant—metadata retrieval may fail if external services change their APIs. Best suited for internal tools, batch processing, or applications where occasional metadata failures are acceptable; not recommended for mission-critical production systems requiring active maintenance.

Install

isbnlib on PyPI

pip

pip install isbnlib

uv

uv add isbnlib

poetry

poetry add isbnlib

Installing isbnlib

Before you install

Installation is straightforward with no runtime dependencies. The package is dormant (last release 2023-04-26, last commit 2024-08-01) but marked Production/Stable; no active maintenance signals concern for bug fixes or security updates.

License in practice

Licensed under LGPL v3 (copyleft), which requires derivative works to be distributed under the same license and grants access to source code. This is permissive for private use but constrains redistribution in proprietary software.

Quickstart

pip install isbnlib

from isbnlib import is_isbn13, meta

if is_isbn13('9780321534965'):
    metadata = meta('9780321534965', service='goob')
    print(metadata)

Verify before relying

  • Whether metadata retrieval functions work reliably with current Google Books, Wikipedia, and Open Library APIs (services can change without library updates).
  • Whether the throttling mechanism (one call per second per service) is adequate for production workloads.
  • Current state of plugin ecosystem and availability of third-party metadata providers.

Package facts

License LGPL v3 (copyleft)
Python support not specified
Install friction low — pure-Python wheel
Runtime dependencies none
Maintenance dormant — 1,206 days since the last release
Last repo commit
First released
Downloads 167,769/month — #10,460 on PyPI (30-day window, as of 2026-08-14)
Known vulnerabilities none known (OSV.dev, checked 2026-08-14)

Evidence: isbnlib-3.10.14-py2.py3-none-any.whl

Keywords: ISBN, metadata, World_Catalogue, Google_Books, Wikipedia, Open_Library, BibTeX, EndNote, RefWorks, MSWord, opf, BibJSON

Development Status :: 5 - Production/StableIntended Audience :: DevelopersLicense :: OSI Approved :: GNU Lesser General Public License v3 (LGPLv3)Operating System :: OS IndependentProgramming Language :: PythonProgramming Language :: Python :: 2Programming Language :: Python :: 2.7Programming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.6Programming Language :: Python :: 3.7Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9Topic :: Software Development :: Libraries :: Python ModulesTopic :: Text Processing :: General

Tags

isbn validation and parsingisbn metadata lookupisbn format conversionisbn cleaning and normalizationisbn to bibtex conversionextract isbn from textisbn book metadata
isbn-validationmetadata-extractioncitation-formatting

More Python Modules packages