Best used for cleaning records on Open Library
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.


Best used for cleaning records on Open Library. If you are ready to do so, you need a bot account on
The author's VacuumBot is

VacuumBot is mostly a collection of methods for specific cleaning tasks written in Python, that call the Open Library Python client API. Hence you also need the Open Library API client.

Create an object from a separate script using the bot's credentials and call the methods that perform the desired actions.

Example usage:

# Login
vb = VacuumBot("user", "pass")

# Replace the book format "pepperbek" by "Paperback" and trim punctuation
#  in the pagination field.
vb.replace_formats_clean_pagination2("pepperbek", "Paperback")