Via Pythonware’s Daily Python-URL, isbn.py is an ISBN formatter. It also allows you to strip non-ISBN characters, verify that a list of numbers is a valid ISBN, and also verify the check digit. See the authors entry for other open source code dealing with ISBNs.