Language en_AU¶
faker.providers.address
¶
fake.state_abbr()
# u'SA'
fake.latitude()
# Decimal('-0.8642725')
fake.street_name()
# u'Arnold Beach'
fake.address()
# u'0 Weeks Row\nFitzgeraldbury, ACT, 2993'
fake.street_address()
# u'55 Stephanie Cutting'
fake.postcode()
# u'2619'
fake.country_code(representation="alpha-2")
# u'NO'
fake.longitude()
# Decimal('132.399080')
fake.country()
# u'Guyana'
fake.geo_coordinate(center=None, radius=0.001)
# Decimal('-94.386245')
fake.secondary_address()
# u'827 /'
fake.street_suffix()
# u'Cul-de-sac'
fake.city_prefix()
# u'East'
fake.city_suffix()
# u'view'
fake.building_number()
# u'61'
fake.city()
# u'Keithmouth'
fake.state()
# u'Queensland'
faker.providers.automotive
¶
fake.license_plate()
# u'694ABJ'
faker.providers.bank
¶
fake.bban()
# 'FXVX6421112484897'
fake.bank_country()
# 'GB'
fake.iban()
# 'GB59DBSN3524977585889'
faker.providers.barcode
¶
fake.ean(length=13)
# u'9900655534862'
fake.ean13()
# u'3038289114122'
fake.ean8()
# u'18304725'
faker.providers.color
¶
fake.rgb_css_color()
# u'rgb(81,112,68)'
fake.color_name()
# u'RosyBrown'
fake.rgb_color()
# u'244,183,152'
fake.safe_hex_color()
# u'#ee1100'
fake.safe_color_name()
# u'gray'
fake.hex_color()
# u'#27ad25'
faker.providers.company
¶
fake.company()
# u'Liu, Harrison and White'
fake.company_suffix()
# u'LLC'
fake.catch_phrase()
# u'Intuitive directional initiative'
fake.bs()
# u'repurpose ubiquitous infrastructures'
faker.providers.credit_card
¶
fake.credit_card_security_code(card_type=None)
# u'956'
fake.credit_card_provider(card_type=None)
# u'VISA 16 digit'
fake.credit_card_full(card_type=None)
# u'VISA 16 digit\nLinda Thomas\n4170476606721775 06/24\nCVC: 511\n'
fake.credit_card_expire(start="now", end="+10y", date_format="%m/%y")
# '03/22'
fake.credit_card_number(card_type=None)
# u'6011813282871029'
faker.providers.currency
¶
fake.cryptocurrency_code()
# 'EMC'
fake.currency_code()
# 'PYG'
fake.currency_name()
# 'Iranian rial'
fake.cryptocurrency_name()
# 'Titcoin'
fake.cryptocurrency()
# ('ADA', 'Cardano')
fake.currency()
# ('UAH', 'Ukrainian hryvnia')
faker.providers.date_time
¶
fake.future_datetime(end_date="+30d", tzinfo=None)
# datetime.datetime(2018, 9, 3, 12, 19, 36)
fake.time_series(start_date="-30d", end_date="now", precision=None, distrib=None, tzinfo=None)
# <generator object time_series at 0xf5d69b6c>
fake.date_between_dates(date_start=None, date_end=None)
# datetime.date(2018, 8, 16)
fake.date_time_between(start_date="-30y", end_date="now", tzinfo=None)
# datetime.datetime(2002, 1, 6, 20, 37, 35)
fake.date_this_decade(before_today=True, after_today=False)
# datetime.date(2011, 10, 23)
fake.date_time_this_month(before_now=True, after_now=False, tzinfo=None)
# datetime.datetime(2018, 8, 14, 6, 24, 46)
fake.past_date(start_date="-30d", tzinfo=None)
# datetime.date(2018, 7, 31)
fake.day_of_week()
# 'Tuesday'
fake.date_time_this_decade(before_now=True, after_now=False, tzinfo=None)
# datetime.datetime(2017, 11, 9, 16, 11, 19)
fake.date_between(start_date="-30y", end_date="today")
# datetime.date(2005, 1, 10)
fake.date_time_this_century(before_now=True, after_now=False, tzinfo=None)
# datetime.datetime(2000, 5, 25, 5, 28, 32)
fake.date(pattern="%Y-%m-%d", end_datetime=None)
# '1987-09-02'
fake.am_pm()
# 'PM'
fake.date_time_between_dates(datetime_start=None, datetime_end=None, tzinfo=None)
# datetime.datetime(2018, 8, 16, 9, 31, 44)
fake.date_object(end_datetime=None)
# datetime.date(1975, 10, 29)
fake.date_this_year(before_today=True, after_today=False)
# datetime.date(2018, 2, 8)
fake.iso8601(tzinfo=None, end_datetime=None)
# '1992-08-27T04:17:46'
fake.future_date(end_date="+30d", tzinfo=None)
# datetime.date(2018, 9, 12)
fake.date_this_century(before_today=True, after_today=False)
# datetime.date(2001, 7, 1)
fake.month()
# '07'
fake.year()
# '2001'
fake.day_of_month()
# '30'
fake.unix_time(end_datetime=None, start_datetime=None)
# 146588616
fake.timezone()
# u'Africa/Nairobi'
fake.century()
# u'XX'
fake.date_of_birth(tzinfo=None, minimum_age=0, maximum_age=115)
# datetime.date(1975, 7, 31)
fake.time_object(end_datetime=None)
# datetime.time(5, 11, 13)
fake.date_time_this_year(before_now=True, after_now=False, tzinfo=None)
# datetime.datetime(2018, 7, 6, 2, 42, 26)
fake.date_time(tzinfo=None, end_datetime=None)
# datetime.datetime(2001, 4, 2, 10, 2, 14)
fake.time(pattern="%H:%M:%S", end_datetime=None)
# '02:34:23'
fake.date_this_month(before_today=True, after_today=False)
# datetime.date(2018, 8, 14)
fake.past_datetime(start_date="-30d", tzinfo=None)
# datetime.datetime(2018, 7, 25, 14, 19, 19)
fake.month_name()
# 'April'
fake.date_time_ad(tzinfo=None, end_datetime=None, start_datetime=None)
# datetime.datetime(1358, 12, 27, 1, 45, 59)
fake.time_delta(end_datetime=None)
# datetime.timedelta(1026, 69068)
faker.providers.file
¶
fake.unix_device(prefix=None)
# u'/dev/sde'
fake.mime_type(category=None)
# u'model/iges'
fake.file_path(depth=1, category=None, extension=None)
# u'/delectus/molestias.avi'
fake.unix_partition(prefix=None)
# u'/dev/sdd7'
fake.file_name(category=None, extension=None)
# u'libero.mov'
fake.file_extension(category=None)
# u'mp3'
faker.providers.internet
¶
fake.ascii_free_email(*args, **kwargs)
# 'grogers@hotmail.com.au'
fake.image_url(width=None, height=None)
# u'https://www.lorempixel.com/945/1003'
fake.tld()
# u'org.au'
fake.email(*args, **kwargs)
# u'cynthiabailey@taylor-morrison.biz'
fake.url(schemes=None)
# u'https://morgan-montgomery.info/'
fake.ipv4_private(network=False, address_class=None)
# '192.168.64.177'
fake.user_name(*args, **kwargs)
# u'wrighterika'
fake.uri_extension()
# u'.php'
fake.uri_page()
# u'home'
fake.free_email_domain(*args, **kwargs)
# u'hotmail.com.au'
fake.safe_email(*args, **kwargs)
# u'lovekrista@example.com'
fake.ascii_email(*args, **kwargs)
# 'yrose@hotmail.com.au'
fake.ipv4_network_class()
# u'a'
fake.ipv4_public(network=False, address_class=None)
# '157.172.191.13'
fake.ascii_company_email(*args, **kwargs)
# 'justinpeck@brown.org.au'
fake.domain_name(*args, **kwargs)
# u'torres.biz'
fake.ipv4(network=False, address_class=None, private=None)
# '70.189.94.255'
fake.domain_word(*args, **kwargs)
# u'buchanan'
fake.slug(*args, **kwargs)
# u'voluptatem-quo'
fake.uri_path(deep=None)
# u'wp-content/wp-content/category'
fake.company_email(*args, **kwargs)
# u'teresashelton@cuevas.info'
fake.uri()
# u'https://leblanc.net.au/'
fake.ipv6(network=False)
# 'bd99:4ce1:a8c3:fda6:5507:b528:c412:6f14'
fake.free_email(*args, **kwargs)
# u'jamiecarter@yahoo.com.au'
fake.ascii_safe_email(*args, **kwargs)
# 'marycooper@example.org'
fake.mac_address()
# u'f6:94:22:d9:bf:25'
faker.providers.isbn
¶
fake.isbn10(separator="-")
# u'1-4517-2567-1'
fake.isbn13(separator="-")
# u'978-1-4765-8282-5'
faker.providers.job
¶
fake.job()
# 'Transport planner'
faker.providers.lorem
¶
fake.text(max_nb_chars=200, ext_word_list=None)
# u'Aut nulla unde totam. Mollitia et neque autem. Optio necessitatibus vel at.'
fake.paragraphs(nb=3, ext_word_list=None)
# [ u'Eligendi sint nesciunt voluptatem officia praesentium labore. A itaque praesentium sunt ullam eligendi. Laudantium atque sed aliquid labore hic.',
# u'Quidem minus perspiciatis. Dignissimos voluptate quia nesciunt possimus perferendis ut.',
# u'Iusto quis recusandae reiciendis voluptas culpa amet repellat.']
fake.words(nb=3, ext_word_list=None)
# [u'eum', u'libero', u'eius']
fake.sentences(nb=3, ext_word_list=None)
# [ u'Quae aut quidem deserunt ipsa.',
# u'Sint maxime quasi illum nulla temporibus.',
# u'Fuga voluptatem laudantium iusto delectus.']
fake.word(ext_word_list=None)
# u'fuga'
fake.paragraph(nb_sentences=3, variable_nb_sentences=True, ext_word_list=None)
# u'Doloremque delectus suscipit voluptatum nulla dolor. Odit veniam nulla rem assumenda impedit. Temporibus ullam neque possimus rerum.'
fake.sentence(nb_words=6, variable_nb_words=True, ext_word_list=None)
# u'Architecto error possimus.'
faker.providers.misc
¶
fake.password(length=10, special_chars=True, digits=True, upper_case=True, lower_case=True)
# u'Ih%zIQi#!0'
fake.locale()
# u'nds_NL'
fake.binary(length=1048576)
# bytearray(b'%\x98?\xb3?>\x12\r\xd6a\xeew\xb9gx\xe1\xbf7,h\xa6\x9e\x05\t\xd3\x1bM\xfd\xd1}\xb0\xfb:\x85\x87}\x1f\xa0\x0fX\xad\xb8\x10\x10!\xab\x1a\x98q%\x021G\xd8"\xb38v\xfa+\xe1e\xfde\xfa\xbf:\xce\x88)\x8c\xbf\xff\x9b{\xcb\xc3AO\xf8\xeb\x88\xb2\x19\x92\xbf\xd3`\x0b\x0e\xf1\xb4\x80s\xdb<O\xa01+F\x17z\x80\x1a\xcaxV\xfb6\x04_%\x12M\x02\x0f\xce\x96\x03w\x9b\xebM\xfd\xcaB\xe0\xf2\xe8\x92\xee\xd6\'i\x00\x94f\'\xe3O1\x01\xdcL0\xbf\xe2WV\x0e\x01\xf5\x0b>\xfe\x1d\xc9\xd3\xf0L\xc9\x85x\n\x9f\xfef\xdf\x178\xcf^\x13\x0f*0\xbf}\x88\xf9\xbd/\x80\x13r\xcd\xfd7:\xef\xae4\xddR\xb9\x99\xe1\xc8\x8ecKqc\xd43jc\xc9\xc0\xda\xb0\xbd\xce\x95\xcbIwR\xd3`=\xe9\x13K\xf9\x9e~Q,\xc0WH\x9784\xf7I=\xee\xab\x99\xde\xd3%\x18\xd9:n\x14E\x86<\xfc\x90\x05r\x0egU\xca\xc5[\xcb\x10|_\x9ce\xbb\x95\x1c\xef\x9a\xfau\xddz\xad\xd0\xc4\xe31\x9c\xb1\x0b;S4w\xb1m\x1d\x95\xb5j\xbdx\xd8\xd8\x03\xc6\x19\x90\x96\x86\xde\xa6_\x00\xf9\x03\xf6\x1d\xb3v\x96\xd1\x86`\xdf\x85\xa2\x8b\xff\x04\\|\x82\xcc_\xcb\xc4L]o\xe0r"\x85\xcb\xdf\xc5bi\xa7}\xc2cr\x0em\x8fS\x18I\x89\x08\x16\xf7\xe7=\x08Y/\xa8\xea\xce\xcb\xd4\x0f\x9d\xb6\xc1\x10!uumIc\xc2\xc4Ov9\xfa/\xf6\xe8B[@\x9e\\r\xd0\x04\xfcc\x99`\x8e\xc6\xd1\x87\x9c\x01\xaf\xf0R\x1ca\xd7\xff\x1d\xaa:\xe7\xd9\x1c9\xbdXr\x01L\xd9l\xfb\x86k\xb2\tJz\x0b\xf3\xa1\x9a\x10\x11\xcf\x1e\t\x8d\x93\xf0\xbd\xca\xef\xc3x\xeb\xaa\x98.\xe4p\x1e\xf1\x08.\x87\x11\x89\xb1\xefc\x1b\x0f1E&\xf2u\xf8\x85\xc1\x04\xd5\xdbD\xa3\x05\xf276\x06\xd1\xe2\x10\x8aNk\xd9\xff\x1dr\xa1\x9b\x92\x0e\xb7\xe0K\xf7\xab\xaf\xf8U\xf02\xee\xa4\\\xb0f\x80Y\xca\xaf\xa5v\xe0\xd6\xac\x87\xb5\xda;.\xd6\xc5f\x97\xe1\x92U\xe3\xe1`\xbf\xa2\x14\r\xaa\xd3\x9f\xc9\x9d\xaa\xa38\x0c\xcaV\x1e,\x8c\xf0f{\x93\\&\xbaM\xdc\xb2Q\xae\x07\xfb\'O\xebV\xf3\xa7{\xe2\xfe\xe4\x92(=\xf5\x85\xfc\xc3\x81s\xb2-\xf2\xef\xee?\x0e>`\x19\x1fdk\xaf\xe4\x8dV\xd1\x17KiMT7c+t\xb3S\t\x86{{F\x86\xa5~A\xbb\xbf\x07\xee\x87\xe4Q\xdc\xd5\x8bI\x9d\xe1|\r\x8b4\xd8\xb7\xee<\xf2\x89\x9d?\t_\xb7\x07\x11\x81\xba\x077\x9e\xd6\xb4q\xe5F\xd3Z\xdas\xd3E\x81-\xf6\x03\xa2\xa6\x86\xd5>\xc6D\x8fx\x86\xc9u\xbcK\x05\xa5\x8a_Z\x9d\xd9\x1e\xa3mHq\xf6\xb6\xff\xe4i\r\x83d\xd8q\x8a\x8fT\xc2\xb2\xf7\xb4\x8b&\x130p$\xa1Ba\xafQ\x7f9\xdd\xd1\x8cZ\x85\xd3\xda\xf6@\x17\x07\xd4E\xc4\x9b\xe6\xed\xdd\xa1~\xcex\xfa\x8e\\S\xd3\r\xefB\xa4\tqV\xe3\x16\xc4t\xc0o\xdd4l\xde_\xc4\xc5\xcd\xfb\xcc]\xac\x8a\x1f-\xdb\xaf5\xf2w\xe8\xa4\x12\x88\x81S\x11\x9d\xf4\nn\\\xbb\xc0\x8a\x1d\xf3Q\x85PV\n\x19&\xd9\xb3-uU\xda\xe1\x84\xf5\xf5Q\xbf\xb7\x9c\x9eB\x96\xe3t{CA\xe2\xde\xa0\xa5n\xbc\xc5\x03 9\\\x0c\xd9<\xc2,\x97\xfeO\x1255CX\x0c\xbaZ\x89\xae\x93\xddZ\x9a\x7f\xdc(\x8d\xc2\xad\xa6c?p F\x92Q\xb0\xe6,\x95O\xfbSp\xec\t`Z\xe2\x80\xcfQ\x9c\x1c%\x05dA\xa7\xf0s\xa3z\xa3 \x8a\xea\xf9\xae$\x0c\x96\xcc\x1c\x0e`\xfaKpCW\xd7B\x8b\xda\x14J\xf4\xe5\xd7k\xda\xaa\xce\x02\xcd,W\xf7I\x96m\xc5j\x9e\x8b\xd1\x8d\n0\xcejG\x01F\xbb\x96qw\x0c\xcd@\xe5\xea8)g\xc8p\xc9F}\x02Zl\x86c\xb5CG\xc6w\x94\xbe_\xf4]\xf4\x7fC\xfa Z\x81\x18\x864\x93\x8d\xe6\x13\x1bF\xb2\xe6\xd7\xa9S*\x8c')
fake.md5(raw_output=False)
# '2c83877dad1511319e8f62f968d3b477'
fake.sha1(raw_output=False)
# '0d446ee193ff27b4500f55a4bf244d21a77d881c'
fake.null_boolean()
# None
fake.sha256(raw_output=False)
# '49ddfe492b3a911e05bb57f0ed2c6bf36b81d809c1a2c73a94e94a25c6631de3'
fake.uuid4()
# '8ecb1cb5-dcd6-58b4-e965-21e65d02160c'
fake.language_code()
# u'dv'
fake.boolean(chance_of_getting_true=50)
# False
faker.providers.person
¶
fake.last_name_male()
# u'Weber'
fake.name_female()
# u'Melody Waller'
fake.prefix_male()
# u'Mr.'
fake.prefix()
# u'Mr.'
fake.name()
# u'William Kim'
fake.suffix_female()
# u'MD'
fake.name_male()
# u'Luke Clark'
fake.first_name()
# u'Adrian'
fake.suffix_male()
# u'PhD'
fake.suffix()
# u'PhD'
fake.first_name_male()
# u'Robert'
fake.first_name_female()
# u'Linda'
fake.last_name_female()
# u'Jenkins'
fake.last_name()
# u'Shelton'
fake.prefix_female()
# u'Dr.'
faker.providers.phone_number
¶
fake.area_code()
# u'3'
fake.msisdn()
# '2649412790094'
fake.phone_number()
# u'2254 1192'
faker.providers.profile
¶
fake.simple_profile(sex=None)
# { 'address': u'Unit 19\n 779 Harrison Ramp\nLake Eduardomouth, TAS, 2464',
# 'birthdate': datetime.date(1964, 3, 24),
# 'mail': u'samuel74@hotmail.com',
# 'name': u'Debra Hernandez',
# 'sex': 'F',
# 'username': u'zacharymendoza'}
fake.profile(fields=None, sex=None)
# { 'address': u'44 Melissa Wade\nPort Nicholasborough, TAS, 2916',
# 'birthdate': datetime.date(2002, 11, 27),
# 'blood_group': '0-',
# 'company': u'Williams Group',
# 'current_location': (Decimal('14.2238745'), Decimal('-38.629667')),
# 'job': 'Civil Service fast streamer',
# 'mail': u'aprilfields@yahoo.com.au',
# 'name': u'Karen Smith',
# 'residence': u'03 /\n 751 Flowers Ring\nRichardsview, SA, 2770',
# 'sex': 'F',
# 'ssn': u'332-70-0516',
# 'username': u'weaverjason',
# 'website': [u'https://www.phillips-larson.org.au/']}
faker.providers.python
¶
fake.pyiterable(nb_elements=10, variable_nb_elements=True, *value_types)
# set([Decimal('-489189054479'), u'https://garcia-stanton.org/list/homepage/', Decimal('6.65358096049E+14'), Decimal('5.33532688192E+13'), 8556, datetime.datetime(1978, 8, 27, 18, 34, 43), u'twBZrcIPbFacxfjpLdNW', u'WgnsVwnfRRTiAxorueBq', 2288, u'http://perez.info/list/posts/main.html', u'LLgXuuOSafjMmalHtIeY'])
fake.pystr(min_chars=None, max_chars=20)
# u'SYYRxZlegqWHTPiSTMSH'
fake.pystruct(count=10, *value_types)
# ( [ Decimal('-1556.349'),
# 1385,
# u'heather53@pitts-rodriguez.edu.au',
# -6767836715.57,
# 5892,
# u'jdean@payne.net.au',
# 2702,
# datetime.datetime(1985, 4, 30, 23, 22, 42),
# u'RGoCgPdIWBWBKEhKJIml',
# datetime.datetime(1979, 8, 27, 9, 22, 34)],
# { u'aliquid': u'RSFIAZCyLNBgBxxNZgVV',
# u'dicta': u'UVOlCFFGdTnuHurGWcwQ',
# u'eligendi': u'zSBKGncAOOZkiJGKmYkE',
# u'incidunt': u'ODSblYbbDbvBpDBDgWRC',
# u'laboriosam': u'axBWAyDvFXWpPluTAzUS',
# u'minus': u'ovxmjdABvuswsEZRKkbk',
# u'quo': u'https://www.lewis.org.au/',
# u'recusandae': datetime.datetime(2006, 11, 15, 3, 14, 5),
# u'sequi': 52340592287894.0,
# u'tenetur': datetime.datetime(1978, 1, 5, 6, 27, 10)},
# { u'asperiores': { 7: u'yueTBgRuxDAQJqGrgijn',
# 8: [ u'WAtDYAFPIhBXrfGDrJWR',
# -52241904.761,
# u'http://thompson.org.au/login/'],
# 9: { 7: Decimal('-17822.9'),
# 8: -308940250009.0,
# 9: [ u'http://smith.com.au/search/',
# u'qyUYAoFORERpBHcqcybB']}},
# u'at': { 0: u'carolynrobbins@yahoo.com.au',
# 1: [8619, 2836, u'cIPUqjbMkFHsgRHZMxiy'],
# 2: { 0: u'wJWuOiVkyngYVgSwZLTx',
# 1: 7734,
# 2: [ u'https://www.taylor.org/category.html',
# u'eUXRevJpyrJhzHYVQjaE']}},
# u'est': { 8: 2496,
# 9: [ datetime.datetime(1975, 2, 4, 8, 19, 8),
# 70736177681947.4,
# 1124],
# 10: { 8: u'xpQlXNrNLiIRKeJlByra',
# 9: u'gavinrussell@yahoo.com',
# 10: [u'oViMgApEOwKgceUuRdzR', 7501]}},
# u'illo': { 4: u'lwddHgXyOwvAOTGBhTwC',
# 5: [ Decimal('-3.428'),
# u'OmnmeOGLaYcZzfTfBfzt',
# u'IdzBZLIOBckDNZGGdOnD'],
# 6: { 4: u'iuNkZIscCSADMcgxpoqT',
# 5: u'XOrXTdLFYnQJHJApWVbR',
# 6: [ datetime.datetime(1998, 7, 20, 23, 14, 51),
# 4175]}},
# u'laborum': { 1: u'dKpEeQaoUzmDzFrwoydM',
# 2: [ u'debramitchell@yahoo.com.au',
# u'https://rodriguez.org.au/list/category/index.jsp',
# datetime.datetime(1973, 12, 17, 14, 35, 29)],
# 3: { 1: u'EvIVGGASmRAFDahOQfxi',
# 2: u'YbLHyUUvjUXoRNQoEkpY',
# 3: [ u'VDlEmHKmrdAVzcMFvZSa',
# u'uDpPstQUfAEEPOftaYJD']}},
# u'perspiciatis': { 2: 2426,
# 3: [2575, 4120, Decimal('93950590008.4')],
# 4: { 2: u'dCmzJxRXZYTbLtAGGqWd',
# 3: u'afRZDZvxUnoFCmHDDOuZ',
# 4: [ -77739116522419.0,
# u'https://www.sparks-tucker.com/blog/wp-content/blog/login.html']}},
# u'quos': { 5: u'pamelahenderson@hotmail.com',
# 6: [ u'EHCmELqEcxBWDjXDTYpw',
# u'IXKUiJguuGQkXyWnZgNJ',
# -911971784.699],
# 7: { 5: Decimal('87243.1'),
# 6: u'bmdKdDWRinTjtFyzzycd',
# 7: [u'pUaLovKALyDygQBSNdnv', 7371]}},
# u'repellat': { 9: u'alexander01@white-taylor.biz',
# 10: [ 39.410052968731,
# u'MXgrovLnFgyFIFxPGLln',
# Decimal('-94.98930323')],
# 11: { 9: u'ralphball@hotmail.com.au',
# 10: datetime.datetime(1984, 12, 3, 7, 48, 25),
# 11: [ 1400726.5,
# datetime.datetime(2017, 3, 17, 4, 16, 35)]}},
# u'saepe': { 6: u'https://cooper-anderson.org.au/list/post.html',
# 7: [ datetime.datetime(2003, 9, 26, 22, 59, 35),
# u'oacevedo@love-johnson.biz',
# Decimal('159329236569')],
# 8: { 6: 71,
# 7: 86,
# 8: [ u'rIehgHGtGaSTnvGpMffH',
# u'https://www.martinez.net/category/blog/search/']}}})
fake.pyfloat(left_digits=None, right_digits=None, positive=False)
# -196837511292.3
fake.pydecimal(left_digits=None, right_digits=None, positive=False)
# Decimal('5518739392.49')
fake.pylist(nb_elements=10, variable_nb_elements=True, *value_types)
# [ datetime.datetime(1994, 7, 15, 4, 25, 52),
# 8993,
# u'XceFoTCpdkGoHFnVfklL',
# u'cOGBnbXFDwxonztsVZmk',
# u'cxKUgYWGiCKoltjtqiIq',
# u'OoPKzRZHBQwfXkGttEzb']
fake.pytuple(nb_elements=10, variable_nb_elements=True, *value_types)
# ( datetime.datetime(1984, 11, 21, 2, 43, 30),
# u'NPpXoVvGruCndrOZsVrL',
# u'https://www.lopez-swanson.net/',
# Decimal('880771.0'),
# 9190,
# 3809,
# u'mkOUSvHvbtvECExguOuC',
# u'iIXroAEzaskSZtLCIsVs',
# 9492,
# u'rothjeffrey@gmail.com',
# u'wsQMynlrtbwPMxLbLMaz',
# -33692051540.1)
fake.pybool()
# True
fake.pyset(nb_elements=10, variable_nb_elements=True, *value_types)
# set([8641, Decimal('25505148157.0'), u'haley94@edwards.com.au', 7076, 7152, 40, u'ALukXAjgYIUMiXnAnrgM', 6461, u'teresaroth@meyer.info', 5304, 6799, u'kristen10@yahoo.com', u'http://www.davis-rivera.com.au/faq.php'])
fake.pydict(nb_elements=10, variable_nb_elements=True, *value_types)
# { u'aliquid': u'johnrichardson@hotmail.com',
# u'aperiam': u'tLxueABpxjDuAlTEOnJY',
# u'assumenda': u'AFaZjtOzUkhemgASRiuN',
# u'beatae': u'FCytnGIzmVIAhcScdEJv',
# u'debitis': u'hpUERcdRegttbDIEukfe',
# u'eius': Decimal('67768.606'),
# u'neque': datetime.datetime(2015, 11, 27, 23, 0, 41),
# u'numquam': Decimal('568.30907509'),
# u'praesentium': u'rMHAXNOgcJoXMnewEUTw',
# u'quis': u'JBQTHeQCtwDYSLfhLnOI'}
fake.pyint()
# 7751
faker.providers.ssn
¶
fake.ssn(taxpayer_identification_number_type="SSN")
# u'755-33-5399'
fake.ein()
# u'25-5580069'
fake.itin()
# u'906-77-4607'
faker.providers.user_agent
¶
fake.mac_processor()
# u'Intel'
fake.firefox()
# u'Mozilla/5.0 (Windows NT 5.0; os-RU; rv:1.9.0.20) Gecko/2012-04-20 06:48:49 Firefox/9.0'
fake.linux_platform_token()
# u'X11; Linux x86_64'
fake.opera()
# u'Opera/8.15.(X11; Linux i686; ik-CA) Presto/2.9.163 Version/12.00'
fake.windows_platform_token()
# u'Windows NT 5.01'
fake.internet_explorer()
# u'Mozilla/5.0 (compatible; MSIE 5.0; Windows NT 5.2; Trident/4.0)'
fake.user_agent()
# u'Mozilla/5.0 (iPod; U; CPU iPhone OS 3_1 like Mac OS X; id-ID) AppleWebKit/534.26.2 (KHTML, like Gecko) Version/4.0.5 Mobile/8B111 Safari/6534.26.2'
fake.linux_processor()
# u'i686'
fake.chrome(version_from=13, version_to=63, build_from=800, build_to=899)
# u'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_4) AppleWebKit/5321 (KHTML, like Gecko) Chrome/55.0.849.0 Safari/5321'
fake.mac_platform_token()
# u'Macintosh; PPC Mac OS X 10_7_6'
fake.safari()
# u'Mozilla/5.0 (Macintosh; PPC Mac OS X 10_6_1 rv:4.0; ku-TR) AppleWebKit/533.25.3 (KHTML, like Gecko) Version/4.0.2 Safari/533.25.3'