faker.providers.barcodeΒΆ

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

fake.ean13()
# '9349500264118'

fake.ean8()
# '23762077'