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

rero / rero-invenio-thumbnails / 21478211019
96%

Build:
DEFAULT BRANCH: master
Ran 29 Jan 2026 12:30PM 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: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

Uncovered Existing Lines

Lines Coverage ∆ File
1
97.14
0.08% contrib/files/api.py
2
93.06
0.1% api.py
2
91.89
0.11% views.py
3
96.05
0.05% contrib/utils.py
4
90.0
0.26% contrib/bnf/api.py
Jobs
ID Job ID Ran Files Coverage
1 21478211019.1 29 Jan 2026 12:30PM UTC 20
95.56
GitHub Action Run
Source Files on build 21478211019
  • Tree
  • List 20
  • Changed 10
  • Source Changed 0
  • Coverage Changed 10
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #21478211019
  • bf2af319 on github
  • Prev Build on master (#21478008256)
  • Next Build on master (#21708459890)
  • 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