This software module provides functionality to handle ISBNs that are 10 and 13 digits long.
It's worth noting that all ISBNs must be input as str types. While it may seem reasonable to accept some int forms, English speaking countries use 0 for their group identifier. If ISBNs beginning with 0 were input as int types, Python would treat them as octal representations, leading to inaccurate results. While it may be feasible to allow some cases as non-str types, the complexity in design and potential for errors isn't worth the minimal benefit it would provide.
In addition to its core features, the pyisbn module also supports 9-digit SBNs. This is a great feature for anyone with older books in their collection that use this format. Overall, the pyisbn module is a solid choice for anyone who needs to handle ISBNs in their software.
Version 0.5.1: N/A