Language en_AU¶
faker.providers.address
¶
fake.state_abbr()
# u'NT'
fake.latitude()
# Decimal('-71.048482')
fake.street_name()
# u'Cynthia Plateau'
fake.address()
# u'523 Drake Range\nNew Brian, QLD, 2908'
fake.street_address()
# u'7 Kristie Loop'
fake.postcode()
# u'3264'
fake.country_code(representation="alpha-2")
# u'IQ'
fake.longitude()
# Decimal('120.278583')
fake.country()
# u'Jersey'
fake.geo_coordinate(center=None, radius=0.001)
# Decimal('-72.937345')
fake.secondary_address()
# u'Suite 521'
fake.street_suffix()
# u'Little'
fake.city_prefix()
# u'New'
fake.city_suffix()
# u'berg'
fake.building_number()
# u'53'
fake.city()
# u'West Kennethberg'
fake.state()
# u'Tasmania'
faker.providers.automotive
¶
fake.license_plate()
# u'681 OCG'
faker.providers.bank
¶
fake.bban()
# 'ICHG1281136454046'
fake.bank_country()
# 'GB'
fake.iban()
# 'GB02XCDS0124042234543'
faker.providers.barcode
¶
fake.ean(length=13)
# u'7772767208342'
fake.ean13()
# u'7765897847635'
fake.ean8()
# u'31301756'
faker.providers.color
¶
fake.rgb_css_color()
# u'rgb(231,241,114)'
fake.color_name()
# u'LemonChiffon'
fake.rgb_color()
# u'30,43,148'
fake.safe_hex_color()
# u'#556600'
fake.safe_color_name()
# u'olive'
fake.hex_color()
# u'#33a47f'
faker.providers.company
¶
fake.company()
# u'Green LLC'
fake.company_suffix()
# u'Group'
fake.catch_phrase()
# u'Automated asymmetric matrix'
fake.bs()
# u'redefine proactive technologies'
faker.providers.credit_card
¶
fake.credit_card_security_code(card_type=None)
# u'7544'
fake.credit_card_provider(card_type=None)
# u'VISA 13 digit'
fake.credit_card_full(card_type=None)
# u'VISA 13 digit\nKathryn Hanson\n4065473587508 01/21\nCVC: 248\n'
fake.credit_card_expire(start="now", end="+10y", date_format="%m/%y")
# '03/20'
fake.credit_card_number(card_type=None)
# u'370352825226571'
faker.providers.currency
¶
fake.cryptocurrency_code()
# 'DASH'
fake.currency_code()
# 'CRC'
fake.currency_name()
# 'Tanzanian shilling'
fake.cryptocurrency_name()
# 'Dogecoin'
fake.cryptocurrency()
# ('DASH', 'Dash')
fake.currency()
# ('COP', 'Colombian peso')
faker.providers.date_time
¶
fake.future_datetime(end_date="+30d", tzinfo=None)
# datetime.datetime(2018, 8, 29, 14, 42, 50)
fake.time_series(start_date="-30d", end_date="now", precision=None, distrib=None, tzinfo=None)
# <generator object time_series at 0xf5c2be18>
fake.date_between_dates(date_start=None, date_end=None)
# datetime.date(2018, 8, 17)
fake.date_time_between(start_date="-30y", end_date="now", tzinfo=None)
# datetime.datetime(1988, 9, 23, 11, 45, 21)
fake.date_this_decade(before_today=True, after_today=False)
# datetime.date(2011, 5, 14)
fake.date_time_this_month(before_now=True, after_now=False, tzinfo=None)
# datetime.datetime(2018, 8, 13, 4, 55, 41)
fake.past_date(start_date="-30d", tzinfo=None)
# datetime.date(2018, 7, 24)
fake.day_of_week()
# 'Sunday'
fake.date_time_this_decade(before_now=True, after_now=False, tzinfo=None)
# datetime.datetime(2011, 7, 21, 19, 52, 19)
fake.date_between(start_date="-30y", end_date="today")
# datetime.date(2011, 4, 21)
fake.date_time_this_century(before_now=True, after_now=False, tzinfo=None)
# datetime.datetime(2018, 7, 3, 3, 27, 53)
fake.date(pattern="%Y-%m-%d", end_datetime=None)
# '1985-07-21'
fake.am_pm()
# 'AM'
fake.date_time_between_dates(datetime_start=None, datetime_end=None, tzinfo=None)
# datetime.datetime(2018, 8, 17, 8, 10, 40)
fake.date_object(end_datetime=None)
# datetime.date(1980, 6, 12)
fake.date_this_year(before_today=True, after_today=False)
# datetime.date(2018, 3, 21)
fake.iso8601(tzinfo=None, end_datetime=None)
# '1986-12-18T20:21:03'
fake.future_date(end_date="+30d", tzinfo=None)
# datetime.date(2018, 9, 15)
fake.date_this_century(before_today=True, after_today=False)
# datetime.date(2011, 4, 25)
fake.month()
# '09'
fake.year()
# '2016'
fake.day_of_month()
# '06'
fake.unix_time(end_datetime=None, start_datetime=None)
# 1242738669
fake.timezone()
# u'America/El_Salvador'
fake.century()
# u'I'
fake.date_of_birth(tzinfo=None, minimum_age=0, maximum_age=115)
# datetime.date(1976, 1, 7)
fake.time_object(end_datetime=None)
# datetime.time(0, 59, 10)
fake.date_time_this_year(before_now=True, after_now=False, tzinfo=None)
# datetime.datetime(2018, 4, 7, 11, 40, 48)
fake.date_time(tzinfo=None, end_datetime=None)
# datetime.datetime(2016, 10, 22, 17, 21, 39)
fake.time(pattern="%H:%M:%S", end_datetime=None)
# '17:42:37'
fake.date_this_month(before_today=True, after_today=False)
# datetime.date(2018, 8, 4)
fake.past_datetime(start_date="-30d", tzinfo=None)
# datetime.datetime(2018, 8, 1, 6, 42, 26)
fake.month_name()
# 'December'
fake.date_time_ad(tzinfo=None, end_datetime=None, start_datetime=None)
# datetime.datetime(1564, 12, 19, 2, 13, 54)
fake.time_delta(end_datetime=None)
# datetime.timedelta(10482, 20434)
faker.providers.file
¶
fake.unix_device(prefix=None)
# u'/dev/vdk'
fake.mime_type(category=None)
# u'application/EDIFACT'
fake.file_path(depth=1, category=None, extension=None)
# u'/ratione/ab.html'
fake.unix_partition(prefix=None)
# u'/dev/sdj6'
fake.file_name(category=None, extension=None)
# u'ex.jpg'
fake.file_extension(category=None)
# u'mp3'
faker.providers.internet
¶
fake.ascii_free_email(*args, **kwargs)
# 'danielporter@yahoo.com'
fake.image_url(width=None, height=None)
# u'https://dummyimage.com/500x807'
fake.tld()
# u'com.au'
fake.email(*args, **kwargs)
# u'harrisbrian@jacobs-dixon.edu.au'
fake.url(schemes=None)
# u'http://www.arnold.biz/'
fake.ipv4_private(network=False, address_class=None)
# '172.17.40.30'
fake.user_name(*args, **kwargs)
# u'leahpage'
fake.uri_extension()
# u'.asp'
fake.uri_page()
# u'index'
fake.free_email_domain(*args, **kwargs)
# u'hotmail.com'
fake.safe_email(*args, **kwargs)
# u'phyllissullivan@example.org'
fake.ascii_email(*args, **kwargs)
# 'michael95@walker-dunn.com'
fake.ipv4_network_class()
# u'c'
fake.ipv4_public(network=False, address_class=None)
# '60.221.69.236'
fake.ascii_company_email(*args, **kwargs)
# 'lindafrank@ford.com'
fake.domain_name(*args, **kwargs)
# u'johnston.org.au'
fake.ipv4(network=False, address_class=None, private=None)
# '144.49.48.206'
fake.domain_word(*args, **kwargs)
# u'beasley-reynolds'
fake.slug(*args, **kwargs)
# u'quidem-deserunt'
fake.uri_path(deep=None)
# u'category/list/list'
fake.company_email(*args, **kwargs)
# u'smithtyler@reynolds-delgado.edu'
fake.uri()
# u'http://harvey.net.au/posts/main/search/privacy/'
fake.ipv6(network=False)
# '8316:c02f:a4e5:7396:276a:1203:cf2d:c67e'
fake.free_email(*args, **kwargs)
# u'jessica18@hotmail.com'
fake.ascii_safe_email(*args, **kwargs)
# 'zedwards@example.net'
fake.mac_address()
# u'49:85:7f:77:ad:d4'
faker.providers.isbn
¶
fake.isbn10(separator="-")
# u'0-7025-4097-8'
fake.isbn13(separator="-")
# u'978-0-87501-048-9'
faker.providers.job
¶
fake.job()
# 'Youth worker'
faker.providers.lorem
¶
fake.text(max_nb_chars=200, ext_word_list=None)
# u'Assumenda corporis molestiae consectetur inventore iusto nobis. Molestias consectetur reiciendis natus repellat fugit. Molestias consequatur nihil numquam et sint.'
fake.paragraphs(nb=3, ext_word_list=None)
# [ u'Perspiciatis animi minus. Maiores fugit deleniti quas quidem ducimus accusantium.',
# u'Commodi corporis voluptatibus dolorem saepe. Excepturi modi laudantium nisi labore. Neque iste dolores minus illum dicta magnam.',
# u'Sunt earum recusandae accusantium.']
fake.words(nb=3, ext_word_list=None)
# [u'facilis', u'nulla', u'animi']
fake.sentences(nb=3, ext_word_list=None)
# [ u'Sapiente eligendi minus impedit non ab corrupti.',
# u'Omnis quo minima illum error.',
# u'Dignissimos laborum harum nam.']
fake.word(ext_word_list=None)
# u'nulla'
fake.paragraph(nb_sentences=3, variable_nb_sentences=True, ext_word_list=None)
# u'Natus id iure magni deleniti voluptas. Officia natus adipisci omnis ipsa.'
fake.sentence(nb_words=6, variable_nb_words=True, ext_word_list=None)
# u'Natus quam laboriosam aliquam harum.'
faker.providers.misc
¶
fake.password(length=10, special_chars=True, digits=True, upper_case=True, lower_case=True)
# u'%km3aPSm0F'
fake.locale()
# u'ms_MY'
fake.binary(length=1048576)
# bytearray(b'\x0e \x98\xd4\x17E\xcb\x1b\x1a\x88\x9b\xfa-A$\x89\xf1\x085W\xaa\nz9\xac\x97.\x80\x95\xbcQ3\xdc\xe4\x7f\xda\xbe\xcb\xf6\xd6\x12\x81\x13\xb6\xfe\x0br\xc0\xf0\x01\xe5!\xafM\x8a\xd4EO\xfaIJb\xfdq\xef\x91&\x89l\tt\x8cg\x90\x05\x19hL\xbeNB\t\xaf{1\xa5T\xe8\x9e\xecG\x8d\x9e\x878{25\x87%\x13i;\r\xd9\x81\xa6\xdd\xd6\xfd\xd7}\x16\xd6$%\xc2\x0c\xedk>\x84\xdc"\xd4U\x8c\xe9+\xe3\x99\x1d\xd1%\'h>\xfe\x0bOJ\xbf\xa3*J\xa3\x9b\xf0Z\x19\x1d#\x99\xb4[\xf6+Y\x8d\x93\x18W\x85f\x16k\xbb\x06D\xb8\x1e$\xcecC\xa6\x02\xdbt\xc2\x7f=\xe5\xa0\xf8\x808\x8a9\xe1x\xad\xb4n\x1c\x930\x95\xc0\xc9c(`Pm\xb3\xf0\x01\xe9>\xf4\xf6\xd1\xe2\xe3\xcea\xed\x828`?\x13d\x9a\xf4\xda(\x1b\x07\xd4\x0e\x07i\x84M\xb9|]\x89\xc6\xd9D\xec\xee\xd5q3\xc1K\x0f\xc7\xc4\r\xa2t\xae=KVV\x8c{N\xd7;\x8d\x06\xf7\xaf\xb3vd\xfc\x8b\xadFE\xe88g\x88A\xc6\t\xdbrm\xa8\xd8^\xea=\xf0&`\xc4*\xdb\xf0f\x9b\x13\xd8\x98_\x88q8\xb0\x94\xdd\x81\xfd\xbb\x0b\xa3\x83\xf7)\x89\xcf\xce\xe2\xf0E\x15k\x05\x90\x86\xf5\x90\x0c\xd6m\xe6\xb3\x94^\xd4N\x17\xbe\xc2\x0br\xfc\xfd&=\xad{Ly#\xcd\x03Rid6\x86\x01s\x05\xb2\xb0\xf1i\xb1\x1cAT\x9d\x9bwir-\xa0\xad>\xe8/)\x9d\x04}\xc2\x1b\xa5\xe3\xc3\xba\x9e\x15(\x07\x05\x91k{\x96h\xdb3p\xcd\xb8\x0bR\xcf\x8aX&\xbfG0\xcb\xb9_\x92H\x04\x91\x1al\n\xfb\x06L\xa4\xecu\x8a\x0c\xba\x8190\x04\x07\xa3\xaac9$\xb2W\xd05\xe2~\r\n\x86\xf3Sg\xe5AOdw\xa7\xb2\xe0\x92u=\xbaC\xa2\x03.\xa5\x18\xaf\x15\xe3\xfbz\xfet\xff\xf4B8E\xafl\x15\xda\xfeGch\x8e\xc2\x0e"\xfca\xad\xc6\xeb\x91\xb7\xc2Mt\xd5JX<\xb4\x19\x02\x18\xa9d\xdd\x8bc1G\x11\x8c\xc9\xea\xc2\r?\x9b.\xf8\xdc\xca0\x17o\xc4\x1d"\xd5\x8b:\x8f}\xd38\xb0\xdc\x11\xea\x04\xcd\xf0x\xb4<\xb4\xa5I\xafnf\x80\x8c_\xce\xfa\xfe\xa6\x8a~\xe0\xe3\x95\xba.\xfc\x04\xa6PH\x17\x05\xc80l\xfc\xb6\xc6"\xe7\x8d\xe8\xeb\t\x13\xe2F6N:m\xfb\xb2!\x04\x9a\x1a\x89\xabM\xdb\xe3y\xa9\xd2\xedo\xd6\xe6f\x84\x8e\xd2d:\x18"\x84\xe1&\xc0\xda\xabI\x9c\xacP\xe1\xd9\x16u0\xbc\xfe\xc9\x9a\xca\xec\x00;k\xfe\xb5B\xe5\x19X\xf2\xc7\xe3\x00ol\x92\x90,\xb4\x8c^\t\xdd\x11K\xe8\x85\xbc\x85\x104A\x12\xb6\xf2\xa5,<T&0\x9bk&7x\xa1g\xfb\x83\xc9NE\xadh|i\xb9\xa9\x88+.\xe6\t`\xa6!)\xda\x82\x94\xa57=\tmf^\x1d\xb3P\xc2\xa7t\x8e!K\xce\x8bo\xa5\xdcp,)[e\xafUr\xc6\xda\x01\x1c\xce[\x98\xe0=\xc7/\x0bRzv@\x8e.v\xcd\x15%\xc0A_H\xcc:\x95$\x91\x9cn\xc1S\xa5\xea\xf7B\x084\x9ak\x83Q0F7\xab@5\x06\xf3\xc9\x81\x9a\xc0J\x03{\xcf\x91)3\xdcJ+\'s\xb9\x9a\xa5\x8f\xfeY\xc4\xa8omK\r\x8e\xe1\xd1|\xe9\x97\x92\x1e\xd6%\x17\xf0?\xcc F\x06\xf1\xcb\xb3\xee\xb6\xa4+\x9c\xfa\x1c\x0c\x03"\x13\x94\xd9\xc0%d\xbf\xfaq}0\xe4\xa9\xa7Y?\x7f;.\x02\xf8\x1c\xa24?\xfc4\x9f\t\x07\x81\x04\x8b\xa5Aew#\xfft\x90\xee\x886b\x8c5\x8b\x12z8\xf0\x8b\x05\xa9=\xc5`Ea\xde\xe6\x06\xb2y\xfe6\nyy\xeax\xb9\xdb\xa1\xa8\x8c\xfa\x07\xaf`\xa5\xda\x88D\x16\xbe\x84\xf0L\xb3\xcd\xa4\xca\xa9\xfe\x9c\xc2}3\x83\x02\x12i\xbe2\x13\x852\xb5\xc1l\xba\xfb7\xbe(\x85W\xa7F\xe6\x98\'\xc2I7*\xeeh\'\xa8\xf0\x01\xabE\x8c\xec\xc4\x11\x1f\xf8Q\n\xa6\x95\xf9+1\xf4\x16\xbc\xe8*\x99\x14[B')
fake.md5(raw_output=False)
# 'dacd1333a7ded0a506109253fbb5d1fb'
fake.sha1(raw_output=False)
# 'a657fddf939549c563cd9eb5d4c6727f949fdc03'
fake.null_boolean()
# None
fake.sha256(raw_output=False)
# '90c457f3d72fbe0072cff1d02d353a8d56931f0b52d0d868f37eb3719418ba85'
fake.uuid4()
# '5caccfed-cc6a-c3e6-57cd-e42dac8702d9'
fake.language_code()
# u'raj'
fake.boolean(chance_of_getting_true=50)
# True
faker.providers.person
¶
fake.last_name_male()
# u'Cruz'
fake.name_female()
# u'Tara Foster'
fake.prefix_male()
# u'Dr.'
fake.prefix()
# u'Mrs.'
fake.name()
# u'Jennifer Short'
fake.suffix_female()
# u'MD'
fake.name_male()
# u'Zachary Yu'
fake.first_name()
# u'Joseph'
fake.suffix_male()
# u'Jr.'
fake.suffix()
# u'MD'
fake.first_name_male()
# u'Edward'
fake.first_name_female()
# u'Kari'
fake.last_name_female()
# u'Hoffman'
fake.last_name()
# u'Burke'
fake.prefix_female()
# u'Ms.'
faker.providers.phone_number
¶
fake.area_code()
# u'8'
fake.msisdn()
# '4189617666400'
fake.phone_number()
# u'4272.2477'
faker.providers.profile
¶
fake.simple_profile(sex=None)
# { 'address': u'3 Oliver Route\nTonyburgh, ACT, 2452',
# 'birthdate': datetime.date(1921, 6, 19),
# 'mail': u'melinda84@yahoo.com.au',
# 'name': u'Victoria Taylor',
# 'sex': 'F',
# 'username': u'bishopmatthew'}
fake.profile(fields=None, sex=None)
# { 'address': u'Apt. 931\n 07 Paula Distributor\nEast Heathermouth, WA, 2715',
# 'birthdate': datetime.date(1924, 1, 24),
# 'blood_group': '0-',
# 'company': u'Moore PLC',
# 'current_location': (Decimal('65.997962'), Decimal('-8.693951')),
# 'job': 'Market researcher',
# 'mail': u'kimberly91@yahoo.com',
# 'name': u'Leslie Turner',
# 'residence': u'1 /\n 4 Alyssa Lees\nEast Maryton, ACT, 6756',
# 'sex': 'F',
# 'ssn': u'710-31-7648',
# 'username': u'lcaldwell',
# 'website': [ u'http://johnson-andrade.net.au/',
# u'http://www.bell-simmons.com.au/']}
faker.providers.python
¶
fake.pyiterable(nb_elements=10, variable_nb_elements=True, *value_types)
# ( 4576,
# datetime.datetime(1975, 5, 9, 0, 44, 26),
# u'bddGSVYklcvzLJbnTFuJ',
# datetime.datetime(1982, 12, 18, 13, 14, 8),
# u'LoHAfyfCtNlApIjcgPzU',
# u'hicksrhonda@hotmail.com',
# -1840882183.414,
# Decimal('39111446110.2'),
# u'https://www.hudson.net.au/explore/main/')
fake.pystr(min_chars=None, max_chars=20)
# u'NhBdAbojuXPsavaEaGFY'
fake.pystruct(count=10, *value_types)
# ( [ u'phicks@moore.org.au',
# u'jason11@hill.edu',
# u'andersontimothy@brown.net',
# -79518056063948.4,
# datetime.datetime(2008, 4, 10, 21, 57, 5),
# Decimal('76812.5382'),
# u'DPVqwQxyIqTXPXWTXtzk',
# u'gibsonkimberly@hood.edu.au',
# u'https://www.knapp.com.au/search/category.php',
# 2943],
# { u'doloremque': u'https://sweeney-parker.edu/list/search/terms/',
# u'doloribus': u'CqUBcrKPEyaauVkHgXFp',
# u'illo': u'uXrdPSZMGZYBJCpkaQHl',
# u'neque': 296,
# u'nisi': u'IAkZQttkRVDclxSxNGzG',
# u'numquam': u'OmCbcmNJaOggMWGyvGKT',
# u'optio': u'EpsYYSEggZkmhYQbYnJD',
# u'perspiciatis': u'https://nelson-smith.net/main/',
# u'voluptate': u'xNiYscdUZsgXUaDQIfTn',
# u'voluptatem': datetime.datetime(1970, 3, 15, 6, 30, 52)},
# { u'ab': { 1: u'GOttXoHrwSXVrNiOjkuI',
# 2: [197, u'OlYlWXQMMPjdmyxqcLMH', 2290],
# 3: { 1: datetime.datetime(1978, 5, 11, 18, 52, 7),
# 2: Decimal('47969738745.2'),
# 3: [814, u'VSgYeZuXkvHSDQRZyepH']}},
# u'corporis': { 3: u'http://www.reynolds.edu.au/author/',
# 4: [ u'GgrxgPamZdsYLfmDRaEO',
# u'YWSZyCFHhmwdcmridFgr',
# u'kandrade@solis.info'],
# 5: { 3: u'http://www.martin-clark.com.au/blog/search/home/',
# 4: u'dHgmoQmJzexQcNpBbwpR',
# 5: [ u'http://jackson.net.au/',
# u'http://thompson.net/index/']}},
# u'delectus': { 8: u'oQOgsKbtuIUoRcuGJYja',
# 9: [ u'http://adams.info/register/',
# 3138,
# u'KwstUYaQsSXCgelOSOMA'],
# 10: { 8: 4847,
# 9: 2959,
# 10: [ datetime.datetime(2008, 3, 28, 17, 55, 38),
# Decimal('70876027.87')]}},
# u'eius': { 9: Decimal('2082.70454'),
# 10: [6178, u'XnYMVnpFoxtGBzvhqTEN', 111],
# 11: { 9: 6343,
# 10: u'ExutvjUFhSwRMSmdjNGg',
# 11: [ u'qUALDMGrIYbbsTFStgzY',
# u'bNyEKlGcgEMVvWVmXrNT']}},
# u'fugiat': { 5: datetime.datetime(1990, 8, 30, 16, 53, 21),
# 6: [ u'rUxbgilLVgMIqgkewptp',
# u'HRqJflNgfDYFUERVlpQA',
# u'http://johnson.biz/main.htm'],
# 7: { 5: 9447,
# 6: u'VDsIXLjMGCAgNSNFgznT',
# 7: [ Decimal('8.07281568116E+12'),
# u'nPBxLFMMqzumxRoNEMso']}},
# u'harum': { 6: u'pJudBbtfGIEuxngWMAZx',
# 7: [ u'ttucker@baker.net.au',
# u'hesterwesley@ball-ray.com',
# u'ueMusHeHdCTJmxlOrDHL'],
# 8: { 6: u'jOSYTfwyYnJQxlBSmhMI',
# 7: u'donald69@gmail.com',
# 8: [7549, 4467]}},
# u'natus': { 0: u'http://www.diaz.net.au/',
# 1: [ Decimal('18348.1920924'),
# u'EhjpGbNnDLJeFxSDFdRl',
# 8961],
# 2: { 0: u'bHoLIgGQmwkOAxXtjraS',
# 1: u'AQOCUzZBxQUEnrEVKlNK',
# 2: [ datetime.datetime(1990, 5, 2, 10, 55, 24),
# Decimal('-2.14149522649E+12')]}},
# u'porro': { 7: u'kkxTYvnzztMJfWoWZDsJ',
# 8: [ Decimal('850406232393'),
# Decimal('40788.5598801'),
# 344],
# 9: { 7: -7991.3969793701,
# 8: u'ILwhJpvSitLxeyKnXblK',
# 9: [ datetime.datetime(1982, 1, 13, 11, 39, 26),
# datetime.datetime(2017, 2, 5, 18, 55, 11)]}},
# u'reprehenderit': { 2: u'https://www.alexander.edu/post.htm',
# 3: [ u'vOaEosUOOdyxMLYbrumJ',
# Decimal('73702511.8544'),
# datetime.datetime(1981, 1, 19, 14, 7, 32)],
# 4: { 2: u'http://www.jenkins.net/tags/category/wp-content/login/',
# 3: u'bWgHHTsTqgwXEYMPKmbP',
# 4: [ u'https://smith.com/privacy.asp',
# 6130]}},
# u'suscipit': { 4: 85762.3137534,
# 5: [ u'zaDKwqYfYqdsQVSraFpF',
# datetime.datetime(2003, 3, 19, 5, 58, 6),
# Decimal('567272964847')],
# 6: { 4: -40289409738.822,
# 5: 1381,
# 6: [5128, Decimal('-87127038.8')]}}})
fake.pyfloat(left_digits=None, right_digits=None, positive=False)
# -719212366480.95
fake.pydecimal(left_digits=None, right_digits=None, positive=False)
# Decimal('70.0')
fake.pylist(nb_elements=10, variable_nb_elements=True, *value_types)
# [ 8110,
# Decimal('7.14831460515E+12'),
# u'nmcdonald@hotmail.com.au',
# 3325,
# 177.2327282,
# -90133944695.2663,
# 1394,
# u'davidwashington@yahoo.com',
# u'shernandez@hotmail.com',
# u'https://choi.com/terms.asp']
fake.pytuple(nb_elements=10, variable_nb_elements=True, *value_types)
# ( u'baxtererica@coleman-berry.edu.au',
# u'gERADfgLqRNzxeJFBBbz',
# datetime.datetime(1977, 5, 24, 12, 54, 15),
# 9238,
# u'http://www.harris-torres.net.au/register/',
# 4158)
fake.pybool()
# True
fake.pyset(nb_elements=10, variable_nb_elements=True, *value_types)
# set([u'SXcrgkpluIEGiikuuuGT', 8840, u'lzWwHXFZLSUhRYnhnpVW', u'BGdvdfbTrknDBdxSYnaf', u'ViVZVARFiyMtWxXQxQSS', 73726.4, u'https://www.adams.net/index.html', u'wjjfKUVtWnscuUrSLsia'])
fake.pydict(nb_elements=10, variable_nb_elements=True, *value_types)
# { u'assumenda': u'XKrRTsuLnUBgzNfYehgv',
# u'blanditiis': u'qAmdMwfIHLqnVYhDdhtV',
# u'cupiditate': u'randall38@hotmail.com',
# u'facere': datetime.datetime(1985, 6, 16, 6, 45, 58),
# u'facilis': u'dAsnVLFsawJweCVrwjrL',
# u'fuga': 2455,
# u'mollitia': u'ZGsfYPRNAqYowkusAutP',
# u'quam': 3850,
# u'rerum': datetime.datetime(2015, 6, 30, 10, 30, 4),
# u'voluptates': u'vKMzjznHukQHZnyGvYeD'}
fake.pyint()
# 2723
faker.providers.ssn
¶
fake.ssn(taxpayer_identification_number_type="SSN")
# u'405-98-6617'
fake.ein()
# u'32-3060130'
fake.itin()
# u'915-88-3181'
faker.providers.user_agent
¶
fake.mac_processor()
# u'U; PPC'
fake.firefox()
# u'Mozilla/5.0 (X11; Linux x86_64; rv:1.9.5.20) Gecko/2018-04-21 00:13:20 Firefox/3.6.14'
fake.linux_platform_token()
# u'X11; Linux i686'
fake.opera()
# u'Opera/8.66.(Windows NT 5.0; mhr-RU) Presto/2.9.161 Version/11.00'
fake.windows_platform_token()
# u'Windows NT 5.2'
fake.internet_explorer()
# u'Mozilla/5.0 (compatible; MSIE 8.0; Windows NT 4.0; Trident/4.0)'
fake.user_agent()
# u'Mozilla/5.0 (iPod; U; CPU iPhone OS 4_1 like Mac OS X; ky-KG) AppleWebKit/534.15.4 (KHTML, like Gecko) Version/3.0.5 Mobile/8B114 Safari/6534.15.4'
fake.linux_processor()
# u'x86_64'
fake.chrome(version_from=13, version_to=63, build_from=800, build_to=899)
# u'Mozilla/5.0 (Windows NT 5.1) AppleWebKit/5322 (KHTML, like Gecko) Chrome/18.0.802.0 Safari/5322'
fake.mac_platform_token()
# u'Macintosh; U; Intel Mac OS X 10_11_4'
fake.safari()
# u'Mozilla/5.0 (Windows; U; Windows NT 4.0) AppleWebKit/533.43.4 (KHTML, like Gecko) Version/5.0 Safari/533.43.4'