faker.providers.barcodeΒΆ

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

fake.ean13(leading_zero=None)
# '2788769244948'

fake.ean8()
# '34696354'

fake.upc_a(upc_ae_mode=False, base=None, number_system_digit=None)
# '284304280621'

fake.upc_e(base=None, number_system_digit=None, safe_mode=True)
# '04209603'