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

rero / rero-invenio-thumbnails
95%

Build:
DEFAULT BRANCH: master
Repo Added 15 Jan 2026 10:24AM UTC
Token rMD3qnf1us2PQLUeaSL4yX8SeClzQKlQp regen
Build 11 Last
Files 17
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

LAST BUILD ON BRANCH master
branch: SELECT
CHANGE BRANCH
x
Sync Branches
  • No branch selected
  • master

15 Jan 2026 05:41PM UTC coverage: 95.333% (+9.3%) from 86.0%
21040694972

push

github

rerowep
feat(initial): initial commit - RERO Invenio Thumbnails module

Complete implementation of a multi-provider thumbnail retrieval system for RERO Invenio.

Implemented Features:
- Multi-provider architecture with chainable providers (Amazon, Google Books, Google API, Open Library, Files)
- Local file storage provider (FilesProvider) with configurable directory
- HTTP endpoint for serving thumbnails via Flask blueprint
- Comprehensive provider implementations with exception handling
- Full test suite with 50+ test cases across all providers
- Proper Invenio extension initialization and configuration
- Retry logic with exponential backoff for HTTP requests

Providers:
- AmazonProvider: ISBN-13 to ISBN-10 conversion, 14 country codes, 5 image sizes
- GoogleApiProvider: Query Google Books API by ISBN
- GoogleBooksProvider: JSONP-based Google Books preview endpoint
- OpenLibraryProvider: Open Library Covers API integration
- FilesProvider: Local file storage with .jpg/.jpeg/.png support

Configuration:
- RERO_INVENIO_THUMBNAILS_PROVIDERS: List of active providers
- RERO_INVENIO_THUMBNAILS_FILES_DIR: Local directory for thumbnails
- RERO_INVENIO_THUMBNAILS_CACHE: Redis cache configuration

Testing:
- Comprehensive test coverage for all providers
- HTTP endpoint testing with real file operations
- API function testing with mocked providers
- Shared pytest fixtures in conftest.py

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

286 of 300 new or added lines in 11 files covered. (95.33%)

286 of 300 relevant lines covered (95.33%)

0.95 hits per line

Relevant lines Covered
Build:
Build:
300 RELEVANT LINES 286 COVERED LINES
0.95 HITS PER LINE
Source Files on master
  • Tree
  • List 17
  • Changed 3
  • Source Changed 0
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
21040694972 master feat(initial): initial commit - RERO Invenio Thumbnails module Complete implementation of a multi-provider thumbnail retrieval system for RERO Invenio. Implemented Features: - Multi-provider architecture with chainable providers (Amazon, Google ... push 15 Jan 2026 05:42PM UTC rerowep github
95.33
21040159242 master feat(initial): initial commit - RERO Invenio Thumbnails module Complete implementation of a multi-provider thumbnail retrieval system for RERO Invenio. Implemented Features: - Multi-provider architecture with chainable providers (Amazon, Google ... push 15 Jan 2026 05:23PM UTC rerowep github
86.0
21039705865 master feat(initial): initial commit - RERO Invenio Thumbnails module Complete implementation of a multi-provider thumbnail retrieval system for RERO Invenio. Implemented Features: - Multi-provider architecture with chainable providers (Amazon, Google ... push 15 Jan 2026 05:07PM UTC rerowep github
82.97
21039510761 master feat(initial): initial commit - RERO Invenio Thumbnails module Complete implementation of a multi-provider thumbnail retrieval system for RERO Invenio. Implemented Features: - Multi-provider architecture with chainable providers (Amazon, Google ... push 15 Jan 2026 04:59PM UTC rerowep github
82.92
21034793856 master feat(initial): initial commit - RERO Invenio Thumbnails module Complete implementation of a multi-provider thumbnail retrieval system for RERO Invenio. Implemented Features: - Multi-provider architecture with chainable providers (Amazon, Google ... push 15 Jan 2026 02:28PM UTC rerowep github
89.66
21033126204 master feat(initial): initial commit - RERO Invenio Thumbnails module Complete implementation of a multi-provider thumbnail retrieval system for RERO Invenio. Implemented Features: - Multi-provider architecture with chainable providers (Amazon, Google ... push 15 Jan 2026 01:33PM UTC rerowep github
89.43
21031250376 master feat(initial): initial commit - RERO Invenio Thumbnails module Complete implementation of a multi-provider thumbnail retrieval system for RERO Invenio. Implemented Features: - Multi-provider architecture with chainable providers (Amazon, Google ... push 15 Jan 2026 12:27PM UTC rerowep github
88.74
21028950577 master feat(initial): initial commit - RERO Invenio Thumbnails module Complete implementation of a multi-provider thumbnail retrieval system for RERO Invenio. Implemented Features: - Multi-provider architecture with chainable providers (Amazon, Google ... push 15 Jan 2026 11:01AM UTC rerowep github
88.74
21028619976 master feat(initial): initial commit - RERO Invenio Thumbnails module Complete implementation of a multi-provider thumbnail retrieval system for RERO Invenio. Implemented Features: - Multi-provider architecture with chainable providers (Amazon, Google ... push 15 Jan 2026 10:49AM UTC rerowep github
83.33
21028449063 master feat(initial): initial commit - RERO Invenio Thumbnails module Complete implementation of a multi-provider thumbnail retrieval system for RERO Invenio. Implemented Features: - Multi-provider architecture with chainable providers (Amazon, Google ... push 15 Jan 2026 10:44AM UTC rerowep github
83.33
See All Builds (11)

Badge your Repo: rero-invenio-thumbnails

We detected this repo isn’t badged! Grab the embed code to the right, add it to your repo to show off your code coverage, and when the badge is live hit the refresh button to remove this message.

Could not find badge in README.

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

Refresh
  • Settings
  • Repo on GitHub
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