faker.providers.addressΒΆ

fake.address()
# '8387 Patrick Loaf\nWebsterhaven, SD 05706'

fake.bothify(text="## ??", letters="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ")
# '26 Nu'

fake.building_number()
# '56785'

fake.city()
# 'North Kimberlyland'

fake.city_prefix()
# 'Lake'

fake.city_suffix()
# 'stad'

fake.country()
# 'Seychelles'

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

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

fake.language_code()
# 'bo'

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

fake.locale()
# 'hr_HR'

fake.military_apo()
# 'PSC 8873, Box 8282'

fake.military_dpo()
# 'Unit 7143 Box 5549'

fake.military_ship()
# 'USCGC'

fake.military_state()
# 'AA'

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

fake.postalcode()
# '47898'

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

fake.postalcode_plus4()
# '81004-2028'

fake.postcode()
# '35029'

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

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

fake.random_digit()
# 6

fake.random_digit_not_null()
# 8

fake.random_digit_not_null_or_empty()
# ''

fake.random_digit_or_empty()
# ''

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

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

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

fake.random_letter()
# 'y'

fake.random_letters(length=16)
# ['n', 'j', 'V', 'C', 'X', 'H', 'y', 'u', 'D', 'l', 'q', 'K', 'w', 'f', 'X', 'J']

fake.random_lowercase_letter()
# 'f'

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

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

fake.random_uppercase_letter()
# 'M'

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

fake.secondary_address()
# 'Apt. 881'

fake.state()
# 'New Mexico'

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

fake.street_address()
# '3894 Beth Roads Apt. 376'

fake.street_name()
# 'Lance Neck'

fake.street_suffix()
# 'Rapids'

fake.zipcode()
# '00841'

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

fake.zipcode_plus4()
# '25076-4258'