faker.providers.addressΒΆ

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

fake.country()
# 'Tokelau'

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

fake.random_digit_not_null_or_empty()
# ''

fake.zipcode()
# '56266'

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

fake.military_state()
# 'AA'

fake.military_ship()
# 'USS'

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

fake.city_suffix()
# 'haven'

fake.random_digit()
# 3

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

fake.street_suffix()
# 'Lodge'

fake.secondary_address()
# 'Suite 854'

fake.state()
# 'Indiana'

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

fake.street_address()
# '06768 Garcia Vista Apt. 185'

fake.building_number()
# '61591'

fake.random_int(min=0, max=9999)
# 6262

fake.random_digit_not_null()
# 3

fake.military_dpo()
# 'Unit 8230 Box 4116'

fake.bothify(text="## ??", letters="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ")
# '35 LP'

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

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

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

fake.street_name()
# 'Cox Track'

fake.zipcode_plus4()
# '37785-5067'

fake.random_digit_or_empty()
# ''

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

fake.city_prefix()
# 'West'

fake.city()
# 'Perezhaven'

fake.address()
# '3342 Danielle Mount Suite 200\nKellytown, ME 84246'

fake.random_uppercase_letter()
# 'Y'

fake.random_letter()
# 'j'

fake.postalcode()
# '71014'

fake.random_letters(length=16)
# ['H', 's', 'L', 's', 'O', 'a', 'h', 'G', 'S', 'y', 'q', 'k', 'V', 'G', 'k', 'G']

fake.military_apo()
# 'PSC 2608, Box 8050'

fake.postalcode_plus4()
# '22048-9861'

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

fake.random_lowercase_letter()
# 'k'

fake.postcode()
# '93069'