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

rero / rero-invenio-thumbnails / 21478008256
96%

Build:
DEFAULT BRANCH: master
Ran 29 Jan 2026 12:24PM UTC
Jobs 1
Files 20
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

29 Jan 2026 12:22PM UTC coverage: 95.464% (-0.9%) from 96.33%
21478008256

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>

442 of 463 relevant lines covered (95.46%)

0.95 hits per line

Uncovered Existing Lines

Lines Coverage ∆ File
2
91.78
0.0% views.py
5
92.96
-7.04% api.py
Jobs
ID Job ID Ran Files Coverage
1 21478008256.1 29 Jan 2026 12:24PM UTC 20
95.46
GitHub Action Run
Source Files on build 21478008256
  • Tree
  • List 20
  • Changed 3
  • Source Changed 0
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #21478008256
  • 5d7def32 on github
  • Prev Build on master (#21354744980)
  • Next Build on master (#21478211019)
  • Delete
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