Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre > Plugins

Notices

Reply
 
Thread Tools Search this Thread
Old 08-25-2026, 11:39 PM   #1
taurins
Junior Member
taurins began at the beginning.
 
Posts: 8
Karma: 10
Join Date: Feb 2018
Device: none
[GUI Plugin] Calibre Awards - Find and add literary awards

Hi everyone,

I've been working on a new Calibre plugin called Calibre Awards, and I've reached the point where I'd like to put the first public beta out for testing.

The idea is pretty simple: while editing the metadata for a book, Calibre Awards adds a Check Awards button. It searches several literary-award sources for the title and author, shows you what it finds, and optionally lets you write selected awards back to a Calibre field.

Current award sources:

• Pulitzer Prizes
• Nebula Awards
• Hugo Awards
• Locus Awards via the Science Fiction Awards Database (SFADB)
• World Fantasy Awards
• Nobel Prize in Literature

The plugin is not limited to winners. Where a source provides an actual numerical placement, you can choose how far down the list you want to consider. The default is the top 5, but the cutoff can be set anywhere from 1 to 100.

For example, if a Locus result says a book placed 19th, a cutoff of 20 will allow that result to qualify. The plugin does not invent rankings from list order.

I've also tried to be deliberately conservative about author matching. For example, if Calibre has:

Allen M. Steele

but the award source has:

Allen Steele

the plugin can show that as a Possible Author Match rather than silently assuming they are the same person. These results start unchecked and require you to confirm them manually. The plugin does not change the author metadata.

Other features include:

• Enable or disable individual award sources
• Configurable award output format
• Optional write-back to a selected Calibre field
• Append or replace write-back modes
• Review results before anything is written
• One source failing does not prevent the other sources from returning results

The output format currently supports:

<placement>
<year>
<award>
<category>

The default is:

<placement> - <year> <award> - <category>

Requirements

Calibre 9.13.0 or later
Windows, macOS, or Linux
An internet connection while checking awards

This is version 0.1.0 and should definitely be considered a beta.

There are still limitations. In particular, Pulitzer.org sometimes blocks automated requests, Hugo numerical placements are available only where official ranking statistics are available, and some categories such as anthology/editor awards are not yet supported.

I'd especially appreciate reports of books where:

• an award should have been found but wasn't
• the wrong book or author was matched
• a placement/category looks incorrect
• one of the award websites has changed and the plugin stops finding results

If reporting a problem, title + author + the award/source involved would be extremely helpful.

GitHub project and documentation:
https://github.com/RealLactar/Calibre-Awards

Latest beta release:
Calibre Awards 0.1.0 Beta

Installation is the usual Calibre plugin process:

Preferences → Plugins → Load plugin from file

Select Calibre-Awards-0.1.0.zip and restart Calibre if requested.

Thanks to anyone willing to give it a try. I'm particularly interested in real-world examples that help identify awards, categories, and edge cases worth adding next.
Attached Files
File Type: zip Calibre-Awards-0.1.0.zip (96.8 KB, 7 views)
taurins is offline   Reply With Quote
Old 08-26-2026, 05:16 AM   #2
BetterRed
null operator (he/him)
BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.
 
Posts: 22,803
Karma: 34252730
Join Date: Mar 2012
Location: Sydney Australia
Device: none
Why min calibre version of 9.13? As at this moment that means ~86% of calibre users couldn't install the plugin, see Most popular versions in calibre - Usage Statistics.

Prize list is very USA centric, 86% of calibre users live outside US, 70+% are from countries outside the Anglosphere. Any thoughts of allowing users to add prizes, e.g. Man Booker, Le Prix Goncourt, Premio Strega, Miles Franklin, India.has 20+ official languages, there are awards for most, probably all, of them… and the dozens of non official languages.

@anyone - Is this the first optional plugin for calibre that operates from within a child window (modal dialogue too); if so, is this something new?

BR

Last edited by BetterRed; 08-26-2026 at 05:56 AM.
BetterRed is offline   Reply With Quote
Old 08-26-2026, 06:06 AM   #3
rantanplan
Weirdo
rantanplan ought to be getting tired of karma fortunes by now.rantanplan ought to be getting tired of karma fortunes by now.rantanplan ought to be getting tired of karma fortunes by now.rantanplan ought to be getting tired of karma fortunes by now.rantanplan ought to be getting tired of karma fortunes by now.rantanplan ought to be getting tired of karma fortunes by now.rantanplan ought to be getting tired of karma fortunes by now.rantanplan ought to be getting tired of karma fortunes by now.rantanplan ought to be getting tired of karma fortunes by now.rantanplan ought to be getting tired of karma fortunes by now.rantanplan ought to be getting tired of karma fortunes by now.
 
Posts: 1,241
Karma: 13516840
Join Date: Nov 2019
Location: Wuppertal, Germany
Device: Kobo Libra 2, Kobo Sage, Kobo Aura H2O, reMarkable PaperPro
I assume that we can just open a GH issue and add sources like https://www.deutscher-buchpreis.de, correct?
rantanplan is offline   Reply With Quote
Old 08-26-2026, 08:33 AM   #4
taurins
Junior Member
taurins began at the beginning.
 
Posts: 8
Karma: 10
Join Date: Feb 2018
Device: none
You're very correct about the prize list currently being US centric. I'm from the US so I initially worked with what I knew. However my plans are to definitely expand the list to international award lists. Part of this beta release is to solicit ideas of what award lists to focus on next.

As far as versioning, you make a valid point. I have only tested against 9.13. I'll put testing against earlier versions top of my list right now. Thanks.

Response to your "@anyone" question:

That's a good question. I honestly don't know enough about the history of Calibre plugins to say whether this is the first one to do it.

What Calibre Awards does is a little unusual in that the Check Awards button is added directly to Calibre's existing Edit Metadata window rather than opening a separate plugin window from the main Calibre screen.

There isn't a new Calibre plugin API that specifically allows this. The plugin hooks into the existing Edit Metadata dialog after Calibre creates it and adds the button there.

I haven't come across another optional plugin that works this way, but that certainly doesn't mean one hasn't existed. If anyone knows of another example I'd be interested to hear about it.

The only downside is that this does rely on part of Calibre's internal Edit Metadata interface, so if that changes in a future Calibre release I may have to adjust the plugin.
taurins is offline   Reply With Quote
Old 08-26-2026, 08:34 AM   #5
taurins
Junior Member
taurins began at the beginning.
 
Posts: 8
Karma: 10
Join Date: Feb 2018
Device: none
Absolutely! That's one of the main purposes of this beta release is to facilitate awards lists to go after next.
taurins is offline   Reply With Quote
Old 08-26-2026, 09:29 AM   #6
PeterT
Grand Sorcerer
PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.
 
Posts: 14,081
Karma: 83429614
Join Date: Nov 2007
Location: Toronto
Device: Libra H2O, Libra Colour
If you're developing on Windows, just install a few of the Portable Calibre packages; each into their own directory.

That way you can easily test your plugin against any version of calibre, each with their own independent configuration and eBook library. Sure you can only run one instance at a time but that's a minor issue. Be sure to launch portable ones from their own launcher (I forget if the installer makes a batch file for you. Don't launch them via the standard execution of calibre.exe).
PeterT is offline   Reply With Quote
Old 08-26-2026, 02:42 PM   #7
taurins
Junior Member
taurins began at the beginning.
 
Posts: 8
Karma: 10
Join Date: Feb 2018
Device: none
Quick update on the Calibre version requirement.

When I released 0.1.0 I listed Calibre 9.13 as the minimum version because that was the version I had developed and tested the plugin against. After the question was raised here, I went back and did a compatibility audit and then installed Calibre 6.0.0 Portable to test it directly.

Everything worked as expected, including installation, configuration, the Check Awards button inside Edit Metadata, live award lookups, write-back to a custom column, duplicate handling and canceling a lookup.

So version 0.1.1 is now available and officially supports Calibre 6.0.0 or later.

Thanks for pointing this out. It ended up opening the plugin up to quite a few more Calibre users.
taurins is offline   Reply With Quote
Old 08-26-2026, 06:51 PM   #8
PeterT
Grand Sorcerer
PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.
 
Posts: 14,081
Karma: 83429614
Join Date: Nov 2007
Location: Toronto
Device: Libra H2O, Libra Colour
As an aside to my previous post on calibre portable and different versions on Windows one can replicate the idea on Linux.

Here are two scripts I've used in the past; one to install a given version and a second to execute it.

Install
Code:
#!/bin/sh
#
wget -nv -O- https://download.calibre-ebook.com/linux-installer.sh | sh /dev/stdin version=7.26.0 install_dir=/home/peterjt/calibre_726/ isolated=y

### ./calibre_post_install.sh
Run
Code:
#!/bin/sh

ver=726
bin=~/calibre_${ver}/calibre/
config=~/calibre_${ver}/config/
eBooks=~/calibre_${ver}/eBooks/

if ! test -d ${config} ; then mkdir ${config} ; fi
if ! test -d ${eBooks} ; then mkdir ${eBooks} ; fi

if pidof calibre ; then echo Shutting down calibre; CALIBRE_CONFIG_DIRECTORY=${config} ${bin}/calibre -s ; fi

CALIBRE_CONFIG_DIRECTORY=${config} ${bin}/calibre --with-library ${eBooks}
PeterT is offline   Reply With Quote
Old 08-26-2026, 07:22 PM   #9
BetterRed
null operator (he/him)
BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.
 
Posts: 22,803
Karma: 34252730
Join Date: Mar 2012
Location: Sydney Australia
Device: none
Quote:
Originally Posted by PeterT View Post
If you're developing on Windows, just install a few of the Portable Calibre packages; each into their own directory.

That way you can easily test your plugin against any version of calibre, each with their own independent configuration and eBook library. Sure you can only run one instance at a time but that's a minor issue. Be sure to launch portable ones from their own launcher (I forget if the installer makes a batch file for you. Don't launch them via the standard execution of calibre.exe).
No need for 'launchers' on Windows, just run the calibre-portable.exe from wherever you parked it. This is what I have:

Click image for larger version

Name:	calibre - portables.jpg
Views:	12
Size:	179.1 KB
ID:	225463

The Miller columns come from a recently discovered utility that plugs into the Windows File Explorer context menu (very handy) ==>> GitHub: ChromaFiler - Column-based file manager for Windows

BR
BetterRed is offline   Reply With Quote
Old 08-26-2026, 07:32 PM   #10
PeterT
Grand Sorcerer
PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.
 
Posts: 14,081
Karma: 83429614
Join Date: Nov 2007
Location: Toronto
Device: Libra H2O, Libra Colour
I couldn't remember the name to launch it and I was not at home...
PeterT is offline   Reply With Quote
Old 08-26-2026, 07:59 PM   #11
BetterRed
null operator (he/him)
BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.
 
Posts: 22,803
Karma: 34252730
Join Date: Mar 2012
Location: Sydney Australia
Device: none
Quote:
Originally Posted by taurins View Post
...

The only downside is that this does rely on part of Calibre's internal Edit Metadata interface, so if that changes in a future Calibre release I may have to adjust the plugin.
The Edit Metadata feature is very stable, Kovid doesn't make changes based on what's in this month's Vogue or on the latest glitz from Cuperutino.

I suspect the ability to add plugins to the Edit metadata individually dialogue is a consequence of adding the Data Files button to that dialogue… Manage Data Files is a factory fitted plugin.

BR
BetterRed is offline   Reply With Quote
Reply

Tags
awards, calibre, literary awards, metadata, plugin


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Book awards metadata plugin would be nice! ehead Calibre 1 08-26-2026 08:43 AM
[GUI Plugin] Goodreads Awards dunhill Plugins 1 03-04-2026 03:16 PM
2015 Nebula Awards and Bram Stoker Awards Announced Dazrin News 22 05-31-2016 10:47 PM
Arthur Ellis 2011 Awards - Crime Writers of Canada Awards SensualPoet Reading Recommendations 2 06-02-2011 07:25 PM
Do literary awards (Hugo, Pulitzer, etc.) influence your reading habits? Dr. Drib Reading Recommendations 26 06-19-2009 05:21 PM


All times are GMT -4. The time now is 01:03 PM.


MobileRead.com is a privately owned, operated and funded community.