faker.providers.addressΒΆ

fake.random_digit()
# 4

fake.random_lowercase_letter()
# 'u'

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

fake.postcode()
# '81315'

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

fake.random_digit_or_empty()
# 6

fake.military_dpo()
# 'Unit 0639 Box 7002'

fake.street_suffix()
# 'Junctions'

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

fake.state()
# 'Arizona'

fake.building_number()
# '103'

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

fake.postalcode()
# '99445'

fake.secondary_address()
# 'Apt. 871'

fake.zipcode_plus4()
# '52134-7051'

fake.random_uppercase_letter()
# 'Z'

fake.zipcode()
# '64744'

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

fake.random_letters(length=16)
# ['s', 'P', 'f', 'H', 'Y', 'v', 'R', 's', 'I', 'g', 'C', 'p', 'p', 'z', 'o', 'I']

fake.random_digit_not_null_or_empty()
# ''

fake.postalcode_plus4()
# '16733-6916'

fake.street_name()
# 'Daniel Trail'

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

fake.street_address()
# '3527 Alex Fields'

fake.random_letter()
# 'r'

fake.address()
# '287 Bailey Mountain Apt. 443\nCoxfort, KS 11137'

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

fake.country()
# 'Saint Pierre and Miquelon'

fake.bothify(text="## ??", letters="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ")
# '41 YQ'

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

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

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

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

fake.city_prefix()
# 'West'

fake.military_state()
# 'AA'

fake.city_suffix()
# 'mouth'

fake.random_digit_not_null()
# 1

fake.military_apo()
# 'PSC 1693, Box 5885'

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

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

fake.military_ship()
# 'USNS'

fake.city()
# 'East Krystal'

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

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