faker.providers.addressΒΆ

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

fake.random_digit()
# 8

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

fake.state()
# 'Massachusetts'

fake.secondary_address()
# 'Suite 464'

fake.state_abbr()
# 'KS'

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

fake.street_name()
# 'Andrew Estate'

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

fake.street_suffix()
# 'Green'

fake.longitude()
# Decimal('-74.055758')

fake.street_address()
# '64131 Vanessa Terrace'

fake.military_apo()
# 'PSC 7963, Box 3241'

fake.zipcode_plus4()
# '51230-1747'

fake.random_digit_or_empty()
# 0

fake.country()
# 'Ghana'

fake.address()
# '93649 Hernandez Gardens\nSaraland, HI 21416-9328'

fake.bothify(text="## ??", letters="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ")
# '10 PF'

fake.military_dpo()
# 'Unit 3263 Box 6949'

fake.city_suffix()
# 'view'

fake.military_state()
# 'AE'

fake.postcode()
# '58526-4323'

fake.postalcode_plus4()
# '90979-0713'

fake.city()
# 'Kellyberg'

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

fake.random_digit_not_null()
# 3

fake.country_code()
# 'ET'

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

fake.military_ship()
# 'USNS'

fake.random_letter()
# 'n'

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

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

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

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

fake.building_number()
# '918'

fake.random_digit_not_null_or_empty()
# ''

fake.city_prefix()
# 'West'

fake.zipcode()
# '78867'

fake.postalcode()
# '86842'