faker.providers.isbnΒΆ

fake.isbn10(separator='-')
# '0-295-99590-4'

fake.isbn13(separator='-')
# '978-0-03-987142-0'