Questions tagged [isbnlib]

isbnlib is a (pure) python library that provides several useful methods and functions to validate, clean, transform, hyphenate and get metadata for ISBN strings.

Install

  • pip install isbnlib

Documentation

5 questions
1
vote
2 answers

How to handle returned errors from applying isbnlib.meta with pandas

I'm using isbnlib.meta which pulls metadata (book title, author, year publisher, etc.) when you enter in an isbn. I have a dataframe with 482,000 isbns (column title: isbn13). When I run the function, I'll get an error like NotValidISBNError which…
CIHAnalytics
  • 143
  • 1
  • 10
1
vote
2 answers

Apply a function to a dataframe and only return part of the dictionary in Python

I have a df with an "isbn13" column. I also have a function called "isbnlib.meta". This function is from the library isbnlib. I would like to run the function on each row of the "isbn13" column. I'm using the apply function to do…
CIHAnalytics
  • 143
  • 1
  • 10
1
vote
1 answer

How to limit returns on an edition search using isbnlib library in Python?

Right now I have: editions = isbnlib.editions(isbn) print(editions) This returns about 100 similar isbns to the one entered within the parentheses. The problem is, this really slows down my program unnecessarily, as I only want 4 or 5 results. Is…
0
votes
2 answers

how to catch an error using the python ISBNLIB meta method and continue

I have a simple application using FLASK and the ISBNLIB library the application obtains barcode and isbn numbers, searches for the ISBN and inserts the information into a DB. The isbnlib meta method searches for the ISBN and then inserts it into my…
Ivan
  • 45
  • 9
0
votes
2 answers

Why PyPI(Python Package Index) search result doesn't contain latest version?

Latest version of isbnlib is 3.5.8 according to google search result, and that version fully accessible on official PyPI site with this link. but pip search and manual search on PyPI site result only give me up to one version before, 3.5.7. Please…