faker.providers.addressΒΆ

fake.random_digit_not_null()
# 6

fake.building_number()
# u'014'

fake.street_address()
# u'66993 Funk Mission'

fake.zipcode()
# u'84533'

fake.postalcode_plus4()
# u'48325-4853'

fake.random_digit_not_null_or_empty()
# ''

fake.city_prefix()
# u'North'

fake.military_ship()
# u'USS'

fake.country_code()
# u'BI'

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

fake.city()
# u'East Ernsthaven'

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

fake.zipcode_plus4()
# u'52317-6820'

fake.state_abbr()
# u'GU'

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

fake.street_suffix()
# u'Centers'

fake.bothify(text="## ??")
# '73 QZ'

fake.random_number(digits=None)
# 370

fake.city_suffix()
# u'stad'

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

fake.random_digit_or_empty()
# 6

fake.military_dpo()
# u'Unit 8604 Box 9385'

fake.country()
# u'British Indian Ocean Territory (Chagos Archipelago)'

fake.secondary_address()
# u'Apt. 811'

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

fake.postalcode()
# u'84209'

fake.address()
# u'Unit 4118 Box 3324\nDPO AA 49364-8380'

fake.street_name()
# u'Grady Springs'

fake.state()
# u'Iowa'

fake.military_state()
# u'AA'

fake.randomize_nb_elements(number=10, le=False, ge=False)
# 7

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

fake.random_letter()
# 'k'

fake.random_digit()
# 7

fake.lexify(text="????")
# 'wodX'

fake.postcode()
# u'87754'

fake.military_apo()
# u'PSC 3617, Box 4225'

Previous topic

Providers

Next topic

faker.providers.barcode

This Page