SEDOL number (Stock Exchange Daily Official List number).

The SEDOL number is a security identifier used in the United Kingdom and Ireland assigned by the London Stock Exchange. A SEDOL is seven characters in length consisting of six alphanumeric digits, followed by a check digit.

>>> validate('B15KXQ8')
>>> validate('B15KXQ7')
Traceback (most recent call last):
InvalidChecksum: ...
>>> to_isin('B15KXQ8')

Calculate the check digits for the number.

Convert the number to the minimal representation. This strips the number of any valid separators and removes surrounding whitespace.

Check if the number is valid.

Convert the number to an ISIN.

Check if the number is valid. This checks the length and check digit.