faker.providers.addressΒΆ

fake.random_digit_not_null()
# 6

fake.bothify(text="## ??", letters="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ")
# '79 ON'

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

fake.postalcode_plus4()
# '74889-2468'

fake.street_suffix()
# 'Keys'

fake.random_digit_or_empty()
# ''

fake.military_apo()
# 'PSC 7343, Box 9934'

fake.random_lowercase_letter()
# 'x'

fake.military_state()
# 'AA'

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

fake.address()
# '603 Debra Path\nEast Dustinborough, WA 32663'

fake.state()
# 'Montana'

fake.random_uppercase_letter()
# 'M'

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

fake.building_number()
# '64146'

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

fake.street_name()
# 'Estrada Loaf'

fake.military_dpo()
# 'Unit 8430 Box 5388'

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

fake.random_letter()
# 'r'

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

fake.zipcode()
# '25866'

fake.zipcode_plus4()
# '67289-6031'

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

fake.random_digit()
# 7

fake.city_prefix()
# 'East'

fake.military_ship()
# 'USNV'

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

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

fake.country()
# 'Sudan'

fake.street_address()
# '10338 David Curve'

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

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

fake.city_suffix()
# 'haven'

fake.postalcode()
# '26429'

fake.city()
# 'Terryview'

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

fake.secondary_address()
# 'Suite 121'

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

fake.random_letters(length=16)
# ['c', 'r', 'k', 'e', 'w', 'F', 'f', 'a', 'Z', 'h', 'e', 'k', 'e', 'G', 'N', 'f']

fake.postcode()
# '35474'

fake.random_digit_not_null_or_empty()
# ''

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

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