faker.providers.addressΒΆ

fake.address()
# '8681 Diaz Squares Suite 817\nNew Heatherview, HI 37790'

fake.bothify(text="## ??", letters="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ")
# '91 FQ'

fake.building_number()
# '920'

fake.city()
# 'New Tanya'

fake.city_prefix()
# 'North'

fake.city_suffix()
# 'land'

fake.country()
# 'Guyana'

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

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

fake.language_code()
# 'tk'

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

fake.locale()
# 'en_US'

fake.military_apo()
# 'PSC 4533, Box 3372'

fake.military_dpo()
# 'Unit 9136 Box 8486'

fake.military_ship()
# 'USS'

fake.military_state()
# 'AA'

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

fake.postalcode()
# '45221'

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

fake.postalcode_plus4()
# '68405-8531'

fake.postcode()
# '75798'

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

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

fake.random_digit()
# 2

fake.random_digit_not_null()
# 5

fake.random_digit_not_null_or_empty()
# 3

fake.random_digit_or_empty()
# ''

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

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

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

fake.random_letter()
# 'b'

fake.random_letters(length=16)
# ['i', 'g', 'p', 'N', 'K', 'Q', 'w', 'x', 'r', 'B', 'p', 'w', 'U', 'd', 'h', 'C']

fake.random_lowercase_letter()
# 'm'

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

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

fake.random_uppercase_letter()
# 'J'

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

fake.secondary_address()
# 'Suite 822'

fake.state()
# 'Delaware'

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

fake.street_address()
# '7932 Le Estate Apt. 096'

fake.street_name()
# 'Erin Fork'

fake.street_suffix()
# 'Road'

fake.zipcode()
# '98199'

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

fake.zipcode_plus4()
# '47130-2641'