faker.providers.sbn

class faker.providers.sbn.Provider(generator: Any)

Bases: BaseProvider

Generates fake SBNs. These are the precursor to the ISBN and are largely similar to ISBN-10.

See https://www.isbn-international.org/content/what-isbn for the format of ISBNs. SBNs have no EAN prefix or Registration Group.

sbn9(separator: str = '-') str
Examples:

>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.sbn9()
...
'660-48764-3'
'7593-8242-9'
'19-489241-2'
'15-781565-5'
'938778-40-2'