Yes, the Count Pages plugin would be a good example for this. It already iterates over the selected books, does some processing on them in a background and then passes the result back to the foreground for updating into a column.
But, I don't know what the point of calculating a checksum for the books in the library is. There are plenty of things you can do that will change the files in a way to invalidate the checksum (edit, convert, polish, update metadata). And if you send the book outside the library calibre updates the metadata, including the cover, and that won't match the checksum.
|