faker.providers.addressΒΆ

fake.military_apo()
# 'PSC 1307, Box 4621'

fake.state()
# 'Arizona'

fake.secondary_address()
# 'Apt. 585'

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

fake.building_number()
# '417'

fake.military_dpo()
# 'Unit 9780 Box 1762'

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

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

fake.postalcode()
# '79209'

fake.country_code()
# 'LT'

fake.street_suffix()
# 'Bridge'

fake.city_prefix()
# 'West'

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

fake.postcode()
# '04452-0618'

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

fake.postalcode_plus4()
# '72149-6526'

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

fake.random_letter()
# 'p'

fake.country()
# 'Norfolk Island'

fake.random_digit_not_null()
# 8

fake.random_digit_or_empty()
# 3

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

fake.zipcode()
# '29016'

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

fake.street_name()
# 'Parker Manors'

fake.city_suffix()
# 'stad'

fake.military_state()
# 'AP'

fake.state_abbr()
# 'AS'

fake.military_ship()
# 'USS'

fake.random_digit_not_null_or_empty()
# ''

fake.street_address()
# '19777 Mora Burgs Suite 173'

fake.zipcode_plus4()
# '14303-2518'

fake.address()
# '8211 Carlson Forge\nPhillipmouth, CO 95527-4861'

fake.city()
# 'East Grant'

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

fake.random_digit()
# 2

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

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

fake.bothify(text="## ??", letters="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ")
# '24 MG'