faker.providers.addressΒΆ

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

fake.postcode()
# '08589-4486'

fake.zipcode()
# '71133'

fake.random_digit_not_null()
# 5

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

fake.random_digit()
# 0

fake.secondary_address()
# 'Apt. 793'

fake.bothify(text="## ??", letters="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ")
# '84 ZS'

fake.street_name()
# 'James Circle'

fake.postalcode_plus4()
# '58287-7918'

fake.random_digit_not_null_or_empty()
# 9

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

fake.random_lowercase_letter()
# 'p'

fake.country()
# 'Bouvet Island (Bouvetoya)'

fake.military_apo()
# 'PSC 1316, Box 1711'

fake.state()
# 'Hawaii'

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

fake.street_suffix()
# 'Valleys'

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

fake.city()
# 'Carlsonbury'

fake.street_address()
# '805 Tammy Throughway'

fake.address()
# 'USNS Miller\nFPO AP 92756'

fake.military_ship()
# 'USNS'

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

fake.postalcode()
# '75794'

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

fake.random_letter()
# 'j'

fake.military_dpo()
# 'Unit 1113 Box 1812'

fake.military_state()
# 'AP'

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

fake.zipcode_plus4()
# '20716-8370'

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

fake.city_prefix()
# 'North'

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

fake.random_uppercase_letter()
# 'H'

fake.state_abbr()
# 'FM'

fake.city_suffix()
# 'burgh'

fake.building_number()
# '1166'

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

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

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

fake.random_digit_or_empty()
# ''