• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

rero / rero-invenio-thumbnails / 21478211019

29 Jan 2026 12:30PM UTC coverage: 95.56% (+0.1%) from 95.464%
21478211019

push

github

rerowep
initial: add rero-invenio-thumbnails extension

Lightweight Invenio extension for discovering book thumbnail URLs from multiple providers.

Features:
- Multi-provider architecture with fallback chain
- 6 built-in providers: Files, OpenLibrary, BNF, DNB, GoogleBooks, GoogleAPI
- Plugin-based system via entry points for custom providers
- Redis-based caching with configurable TTL
- RESTful JSON API: GET /thumbnails-url/<isbn>
- HTTP retry logic with exponential backoff
- Comprehensive test suite: 112 tests, 97% coverage

Providers:
- FilesProvider: Serve from local filesystem directory
- OpenLibraryProvider: Community-driven book cover database
- BnfProvider: Bibliothèque nationale de France covers
- GoogleBooksProvider: Google Books preview service
- GoogleApiProvider: Official Google Books API

Architecture:
- URL discovery only (no image serving/manipulation)
- Chainable provider pattern with first-match-wins strategy
- Configurable provider order and retry behavior
- Full Sphinx documentation with API reference

Co-Authored-by: Peter Weber <peter.weber@rero.ch>

452 of 473 relevant lines covered (95.56%)

0.96 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

93.06
/api.py


Source Not Available

STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc