faker.providers.addressΒΆ

fake.address()
# '4236 Taylor Trail\nLake Williamhaven, NH 65943'

fake.bothify(text="## ??", letters="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ")
# '99 Hf'

fake.building_number()
# '632'

fake.city()
# 'West Wayneshire'

fake.city_prefix()
# 'New'

fake.city_suffix()
# 'burgh'

fake.country()
# 'Guinea'

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

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

fake.language_code()
# 'ln'

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

fake.locale()
# 'nso_ZA'

fake.military_apo()
# 'PSC 5372, Box 8829'

fake.military_dpo()
# 'Unit 4473 Box 9088'

fake.military_ship()
# 'USCGC'

fake.military_state()
# 'AP'

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

fake.postalcode()
# '59634'

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

fake.postalcode_plus4()
# '23340-2418'

fake.postcode()
# '00512'

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

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

fake.random_digit()
# 7

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', 'b', 'a']

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

fake.random_letter()
# 'z'

fake.random_letters(length=16)
# ['e', 'r', 'i', 'I', 'G', 'h', 'v', 'w', 'Z', 'F', 'x', 'z', 't', 'B', 'h', 'S']

fake.random_lowercase_letter()
# 'v'

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

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

fake.random_uppercase_letter()
# 'Z'

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

fake.secondary_address()
# 'Apt. 281'

fake.state()
# 'Nebraska'

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

fake.street_address()
# '92479 Nicholas Fords'

fake.street_name()
# 'Michael Gardens'

fake.street_suffix()
# 'Manor'

fake.zipcode()
# '82513'

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

fake.zipcode_plus4()
# '89416-5965'