faker.providers.addressΒΆ

fake.address()
# '545 Kimberly Dam\nBennettville, IA 67221'

fake.bothify(text="## ??", letters="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ")
# '46 OZ'

fake.building_number()
# '4700'

fake.city()
# 'Marcusport'

fake.city_prefix()
# 'North'

fake.city_suffix()
# 'side'

fake.country()
# 'Haiti'

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

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

fake.language_code()
# 'dv'

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

fake.locale()
# 'hi_IN'

fake.military_apo()
# 'PSC 7257, Box 2877'

fake.military_dpo()
# 'Unit 1187 Box 3102'

fake.military_ship()
# 'USNV'

fake.military_state()
# 'AP'

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

fake.postalcode()
# '02227'

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

fake.postalcode_plus4()
# '80470-9092'

fake.postcode()
# '73909'

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

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

fake.random_digit()
# 9

fake.random_digit_not_null()
# 8

fake.random_digit_not_null_or_empty()
# 9

fake.random_digit_or_empty()
# ''

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

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

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

fake.random_letter()
# 'a'

fake.random_letters(length=16)
# ['o', 'u', 'Y', 'h', 'A', 'G', 'D', 'k', 'X', 'm', 'X', 'F', 'n', 'R', 'd', 'U']

fake.random_lowercase_letter()
# 'q'

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

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

fake.random_uppercase_letter()
# 'S'

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

fake.secondary_address()
# 'Suite 474'

fake.state()
# 'Alabama'

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

fake.street_address()
# '7303 Rowe Squares Suite 762'

fake.street_name()
# 'Leah Crest'

fake.street_suffix()
# 'Stream'

fake.zipcode()
# '33270'

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

fake.zipcode_plus4()
# '19877-2403'