faker.providers.addressΒΆ

fake.zipcode_plus4()
# '22348-6578'

fake.secondary_address()
# 'Apt. 439'

fake.military_state()
# 'AA'

fake.street_suffix()
# 'Court'

fake.city_prefix()
# 'East'

fake.zipcode()
# '45736'

fake.latitude()
# Decimal('85.848173')

fake.military_dpo()
# 'Unit 3566 Box 2445'

fake.random_digit_not_null()
# 8

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

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

fake.longitude()
# Decimal('-170.136571')

fake.geo_coordinate(center=None, radius=0.001)
# Decimal('-100.954229')

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

fake.city_suffix()
# 'mouth'

fake.random_digit_or_empty()
# ''

fake.bothify(text="## ??", letters="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ")
# '20 zP'

fake.address()
# '424 John Neck\nLake Christopher, MP 66413-8845'

fake.random_lowercase_letter()
# 't'

fake.country()
# 'Ghana'

fake.country_code()
# 'OM'

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

fake.military_apo()
# 'PSC 7596, Box 6165'

fake.street_address()
# '8300 Beth Fords'

fake.state()
# 'New Hampshire'

fake.random_sample_unique(elements=('a', 'b', 'c'), length=None)
# {'a'}

fake.postalcode_plus4()
# '64325-7327'

fake.building_number()
# '71158'

fake.state_abbr()
# 'MI'

fake.postalcode()
# '20779'

fake.military_ship()
# 'USNS'

fake.street_name()
# 'David Parks'

fake.postcode()
# '01390'

fake.random_digit()
# 8

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

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

fake.random_digit_not_null_or_empty()
# 5

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

fake.random_uppercase_letter()
# 'R'

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

fake.city()
# 'Kathleenview'

fake.random_letter()
# 'r'