faker.providers.barcodeΒΆ

fake.ean(length=13)
# '7868172488551'

fake.ean13()
# '3781492705037'

fake.ean8()
# '23222649'