faker.providers.addressΒΆ

fake.random_digit_not_null()
# 9

fake.building_number()
# u'632'

fake.street_address()
# u'2479 Early Lodge'

fake.zipcode()
# u'96439'

fake.postalcode_plus4()
# u'51715-1412'

fake.random_digit_not_null_or_empty()
# ''

fake.city_prefix()
# u'South'

fake.military_ship()
# u'USNS'

fake.country_code()
# u'KM'

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

fake.city()
# u'Busterton'

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

fake.zipcode_plus4()
# u'93927-0721'

fake.state_abbr()
# u'DE'

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

fake.street_suffix()
# u'Glens'

fake.bothify(text="## ??")
# '13 xW'

fake.random_number(digits=None)
# 29

fake.city_suffix()
# u'fort'

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

fake.random_digit_or_empty()
# 6

fake.military_dpo()
# u'Unit 5910 Box 4666'

fake.country()
# u'Isle of Man'

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

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

fake.postalcode()
# u'41242'

fake.address()
# u'USCGC Hauck\nFPO AA 79415'

fake.street_name()
# u'Odin Branch'

fake.state()
# u'Hawaii'

fake.military_state()
# u'AP'

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

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

fake.random_letter()
# 's'

fake.random_digit()
# 7

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

fake.postcode()
# u'79898-3549'

fake.military_apo()
# u'PSC 0537, Box 0809'

Previous topic

Providers

Next topic

faker.providers.barcode

This Page