User:GeertivpBot/Pywikibot/Scripts/create isbn edition.py
create_isbn_edition.py is a bot to register book editions into Wikidata, based on a booklib reference.
Extremely easy to use. It is not overwriting existing data.
Metadata
editIt uses data from a booklib reference database, with a source reference when creating new items.
Usage
editpwb create_isbn_edition
followed by a list of ISBN number (using regex extraction) in stdin
Parameters
editP1: digital library (default wiki "-")
P2: ISO 639-1 language code
P3 P4...: additional P/Q value pairs
stdin: list of ISBN numbers (identification is done via an ISBN regex expression.extraction of the International standard book number; version 10 or 13).
Free text is accepted (e.g. from a Wikipedia references list, or publication list).
Algorithm
editData is extracted from the booklib reference database and augmented into Wikidata.
Code
editMore information about its functionality, error handling, and algorithm is available in the code header.