faker.providers.addressΒΆ

fake.address()
# '68772 Leon Ports\nSouth Markfurt, PA 73343'

fake.bothify(text="## ??", letters="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ")
# '75 pn'

fake.building_number()
# '63977'

fake.city()
# 'Marystad'

fake.city_prefix()
# 'North'

fake.city_suffix()
# 'borough'

fake.country()
# 'Comoros'

fake.country_code(representation="alpha-2")
# 'AD'

fake.hexify(text="^^^^", upper=False)
# '4887'

fake.language_code()
# 'ku'

fake.lexify(text="????", letters="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ")
# 'IlOp'

fake.locale()
# 'ks_IN'

fake.military_apo()
# 'PSC 2280, Box 0935'

fake.military_dpo()
# 'Unit 1242 Box 6611'

fake.military_ship()
# 'USS'

fake.military_state()
# 'AA'

fake.numerify(text="###")
# '323'

fake.postalcode()
# '56714'

fake.postalcode_in_state(state_abbr=None)
# '98260'

fake.postalcode_plus4()
# '93519-2508'

fake.postcode()
# '83347'

fake.postcode_in_state(state_abbr=None)
# '29508'

fake.random_choices(elements=('a', 'b', 'c'), length=None)
# ['c']

fake.random_digit()
# 3

fake.random_digit_not_null()
# 8

fake.random_digit_not_null_or_empty()
# ''

fake.random_digit_or_empty()
# 2

fake.random_element(elements=('a', 'b', 'c'))
# 'c'

fake.random_elements(elements=('a', 'b', 'c'), length=None, unique=False)
# ['c', 'a', 'b']

fake.random_int(min=0, max=9999, step=1)
# 5754

fake.random_letter()
# 'x'

fake.random_letters(length=16)
# ['D', 'G', 'h', 'R', 'E', 'k', 'B', 'k', 'N', 'm', 'v', 'j', 'V', 'm', 'p', 'a']

fake.random_lowercase_letter()
# 'e'

fake.random_number(digits=None, fix_len=False)
# 75874661

fake.random_sample(elements=('a', 'b', 'c'), length=None)
# ['a', 'b', 'c']

fake.random_uppercase_letter()
# 'N'

fake.randomize_nb_elements(number=10, le=False, ge=False, min=None, max=None)
# 7

fake.secondary_address()
# 'Suite 710'

fake.state()
# 'Wisconsin'

fake.state_abbr(include_territories=True)
# 'AZ'

fake.street_address()
# '7390 Justin Brooks'

fake.street_name()
# 'Ochoa Trail'

fake.street_suffix()
# 'Extension'

fake.zipcode()
# '05539'

fake.zipcode_in_state(state_abbr=None)
# '97477'

fake.zipcode_plus4()
# '55972-3165'