faker.providers.addressΒΆ

fake.address()
# '6421 Lewis Stravenue Suite 115\nAndersonborough, DC 13184'

fake.bothify(text="## ??", letters="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ")
# '41 XF'

fake.building_number()
# '230'

fake.city()
# 'Port Gary'

fake.city_prefix()
# 'North'

fake.city_suffix()
# 'ville'

fake.country()
# 'Northern Mariana Islands'

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

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

fake.language_code()
# 'mni'

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

fake.locale()
# 'mr_IN'

fake.military_apo()
# 'PSC 5670, Box 3967'

fake.military_dpo()
# 'Unit 8807 Box 6131'

fake.military_ship()
# 'USNS'

fake.military_state()
# 'AE'

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

fake.postalcode()
# '41355'

fake.postalcode_in_state(state_abbr=None)
# '57778'

fake.postalcode_plus4()
# '82738-4424'

fake.postcode()
# '91481'

fake.postcode_in_state(state_abbr=None)
# '20040'

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

fake.random_digit()
# 6

fake.random_digit_not_null()
# 3

fake.random_digit_not_null_or_empty()
# ''

fake.random_digit_or_empty()
# ''

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

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

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

fake.random_letter()
# 'i'

fake.random_letters(length=16)
# ['v', 'h', 'O', 'K', 'v', 'h', 'G', 't', 'q', 'J', 'B', 'A', 'r', 'P', 'r', 'C']

fake.random_lowercase_letter()
# 'j'

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

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

fake.random_uppercase_letter()
# 'U'

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

fake.secondary_address()
# 'Apt. 881'

fake.state()
# 'Virginia'

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

fake.street_address()
# '025 Chan Plains'

fake.street_name()
# 'Montes Squares'

fake.street_suffix()
# 'Knoll'

fake.zipcode()
# '25934'

fake.zipcode_in_state(state_abbr=None)
# '02888'

fake.zipcode_plus4()
# '06320-7503'