faker.providers.addressΒΆ

fake.random_digit_or_empty()
# 1

fake.city_suffix()
# 'land'

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

fake.postcode()
# '03621'

fake.military_state()
# 'AP'

fake.country_code()
# 'ST'

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

fake.military_apo()
# 'PSC 9497, Box 3706'

fake.random_digit()
# 7

fake.postalcode_plus4()
# '25357-5480'

fake.random_digit_not_null_or_empty()
# 7

fake.state()
# 'North Dakota'

fake.random_digit_not_null()
# 5

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

fake.country()
# 'Bermuda'

fake.building_number()
# '41810'

fake.military_ship()
# 'USS'

fake.random_letter()
# 'Z'

fake.street_suffix()
# 'Harbors'

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

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

fake.city()
# 'Christianland'

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

fake.street_name()
# 'Scott Key'

fake.city_prefix()
# 'North'

fake.zipcode()
# '25685'

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

fake.state_abbr()
# 'NV'

fake.street_address()
# '844 Henry Mews'

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

fake.zipcode_plus4()
# '93669-2528'

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

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

fake.bothify(text="## ??", letters="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ")
# '83 Su'

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

fake.postalcode()
# '84651'

fake.military_dpo()
# 'Unit 5050 Box 9591'

fake.secondary_address()
# 'Apt. 093'

fake.address()
# '241 Kimberly Fall\nVictoriatown, MS 34560'