faker.providers.barcodeΒΆ

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

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

fake.ean8()
# '37018894'

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

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