faker.providers.addressΒΆ

fake.street_name()
# 'Angela Flats'

fake.street_suffix()
# 'Ranch'

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

fake.latitude()
# Decimal('-41.7165045')

fake.random_digit_or_empty()
# 0

fake.country()
# 'Western Sahara'

fake.zipcode()
# '88376'

fake.state_abbr()
# 'VT'

fake.military_apo()
# 'PSC 5399, Box 8566'

fake.postcode()
# '21203'

fake.zipcode_plus4()
# '37478-2505'

fake.lexify(text="????")
# 'xPCW'

fake.random_digit_not_null_or_empty()
# ''

fake.building_number()
# '32887'

fake.longitude()
# Decimal('164.519577')

fake.military_state()
# 'AA'

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

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

fake.military_dpo()
# 'Unit 7133 Box 0448'

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

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

fake.random_digit()
# 9

fake.secondary_address()
# 'Apt. 441'

fake.city_suffix()
# 'land'

fake.city()
# 'Herreramouth'

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

fake.street_address()
# '006 Scott Shoals'

fake.postalcode_plus4()
# '71032-8646'

fake.city_prefix()
# 'South'

fake.country_code()
# 'PH'

fake.state()
# 'South Carolina'

fake.military_ship()
# 'USS'

fake.random_digit_not_null()
# 2

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

fake.postalcode()
# '92657'

fake.bothify(text="## ??")
# '68 hi'

fake.random_letter()
# 'o'

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

fake.address()
# '906 Olson Flat\nThompsonberg, MI 96497'