faker.providers.addressΒΆ

fake.secondary_address()
# 'Apt. 871'

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

fake.city_prefix()
# 'South'

fake.military_apo()
# 'PSC 3467, Box 8805'

fake.military_dpo()
# 'Unit 1617 Box 8832'

fake.state()
# 'Florida'

fake.postalcode()
# '19846'

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

fake.country_code()
# 'GT'

fake.random_letter()
# 'a'

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

fake.random_digit_not_null()
# 3

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

fake.postcode()
# '53038'

fake.street_suffix()
# 'Fork'

fake.building_number()
# '864'

fake.street_address()
# '5301 Turner Center Suite 441'

fake.military_state()
# 'AA'

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

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

fake.street_name()
# 'Lopez Village'

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

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

fake.city_suffix()
# 'ville'

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

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

fake.postalcode_plus4()
# '05062-8031'

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

fake.bothify(text="## ??")
# '11 bg'

fake.zipcode()
# '84273'

fake.military_ship()
# 'USNS'

fake.random_digit_not_null_or_empty()
# ''

fake.country()
# 'Solomon Islands'

fake.state_abbr()
# 'WV'

fake.random_digit_or_empty()
# 7

fake.random_digit()
# 1

fake.zipcode_plus4()
# '14342-9048'

fake.address()
# '414 Nguyen Courts Suite 513\nMichelleport, PA 50268'

fake.city()
# 'Douglasview'