Language nl_BE¶
faker.providers.address
¶
fake.latitude()
# Decimal('-23.6112445')
fake.street_name()
# u'Jeanettering'
fake.address()
# u'Davidboulevard 51\n5085\nOllignies'
fake.street_address()
# u'Davidsteeg 465'
fake.postcode()
# u'9344'
fake.country_code(representation="alpha-2")
# u'PL'
fake.longitude()
# Decimal('127.239798')
fake.country()
# u'Micronesia'
fake.province()
# u'Oost-Vlaanderen'
fake.geo_coordinate(center=None, radius=0.001)
# Decimal('125.036890')
fake.city_suffix()
# u'Ville'
fake.building_number()
# u'26'
fake.street_suffix()
# u'straat'
fake.city()
# u'Beauraing'
faker.providers.automotive
¶
fake.license_plate()
# u'PZ-9594'
faker.providers.bank
¶
fake.bban()
# 'FLMZ0348885001188'
fake.bank_country()
# 'GB'
fake.iban()
# 'GB41CVAF0644543744150'
faker.providers.barcode
¶
fake.ean(length=13)
# u'5084629147365'
fake.ean13()
# u'2609479677096'
fake.ean8()
# u'61749160'
faker.providers.color
¶
fake.rgb_css_color()
# u'rgb(164,93,233)'
fake.color_name()
# u'PaleVioletRed'
fake.rgb_color()
# u'254,89,213'
fake.safe_hex_color()
# u'#ff5500'
fake.safe_color_name()
# u'white'
fake.hex_color()
# u'#3c1344'
faker.providers.company
¶
fake.company()
# u'Hernandez-Serrano'
fake.company_suffix()
# u'Group'
fake.catch_phrase()
# u'Cloned methodical ability'
fake.bs()
# u'e-enable clicks-and-mortar bandwidth'
faker.providers.credit_card
¶
fake.credit_card_security_code(card_type=None)
# u'109'
fake.credit_card_provider(card_type=None)
# u'Maestro'
fake.credit_card_full(card_type=None)
# u'Maestro\nGina Ferguson\n676293456221 11/25\nCVV: 149\n'
fake.credit_card_expire(start="now", end="+10y", date_format="%m/%y")
# '11/23'
fake.credit_card_number(card_type=None)
# u'4411766533527405'
faker.providers.currency
¶
fake.cryptocurrency_code()
# 'EOS'
fake.currency_code()
# 'KMF'
fake.currency_name()
# 'Nepalese rupee'
fake.cryptocurrency_name()
# 'PotCoin'
fake.cryptocurrency()
# ('BCN', 'Bytecoin')
fake.currency()
# ('GBP', 'Pound sterling')
faker.providers.date_time
¶
fake.future_datetime(end_date="+30d", tzinfo=None)
# datetime.datetime(2018, 8, 31, 13, 59, 50)
fake.time_series(start_date="-30d", end_date="now", precision=None, distrib=None, tzinfo=None)
# <generator object time_series at 0x7f6bca17c230>
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(2008, 2, 25, 6, 26, 38)
fake.date_this_decade(before_today=True, after_today=False)
# datetime.date(2016, 11, 5)
fake.date_time_this_month(before_now=True, after_now=False, tzinfo=None)
# datetime.datetime(2018, 8, 15, 5, 55, 30)
fake.past_date(start_date="-30d", tzinfo=None)
# datetime.date(2018, 8, 3)
fake.day_of_week()
# 'Sunday'
fake.date_time_this_decade(before_now=True, after_now=False, tzinfo=None)
# datetime.datetime(2010, 9, 26, 18, 52, 15)
fake.date_between(start_date="-30y", end_date="today")
# datetime.date(1996, 12, 28)
fake.date_time_this_century(before_now=True, after_now=False, tzinfo=None)
# datetime.datetime(2017, 8, 16, 5, 22, 19)
fake.date(pattern="%Y-%m-%d", end_datetime=None)
# '1988-04-26'
fake.am_pm()
# 'AM'
fake.date_time_between_dates(datetime_start=None, datetime_end=None, tzinfo=None)
# datetime.datetime(2018, 8, 16, 9, 28, 17)
fake.date_object(end_datetime=None)
# datetime.date(1976, 8, 13)
fake.date_this_year(before_today=True, after_today=False)
# datetime.date(2018, 3, 11)
fake.iso8601(tzinfo=None, end_datetime=None)
# '2018-03-13T04:07:04'
fake.future_date(end_date="+30d", tzinfo=None)
# datetime.date(2018, 9, 14)
fake.date_this_century(before_today=True, after_today=False)
# datetime.date(2013, 7, 7)
fake.month()
# '01'
fake.year()
# '1994'
fake.day_of_month()
# '16'
fake.unix_time(end_datetime=None, start_datetime=None)
# 258537273
fake.timezone()
# u'Asia/Seoul'
fake.century()
# u'XIX'
fake.date_of_birth(tzinfo=None, minimum_age=0, maximum_age=115)
# datetime.date(1922, 5, 16)
fake.time_object(end_datetime=None)
# datetime.time(7, 17, 26)
fake.date_time_this_year(before_now=True, after_now=False, tzinfo=None)
# datetime.datetime(2018, 7, 16, 13, 45, 17)
fake.date_time(tzinfo=None, end_datetime=None)
# datetime.datetime(1988, 8, 3, 7, 53, 59)
fake.time(pattern="%H:%M:%S", end_datetime=None)
# '06:05:16'
fake.date_this_month(before_today=True, after_today=False)
# datetime.date(2018, 8, 3)
fake.past_datetime(start_date="-30d", tzinfo=None)
# datetime.datetime(2018, 8, 14, 6, 10, 22)
fake.month_name()
# 'May'
fake.date_time_ad(tzinfo=None, end_datetime=None, start_datetime=None)
# datetime.datetime(1078, 2, 2, 14, 27, 46)
fake.time_delta(end_datetime=None)
# datetime.timedelta(8089, 27130)
faker.providers.file
¶
fake.unix_device(prefix=None)
# u'/dev/sdp'
fake.mime_type(category=None)
# u'model/x3d+xml'
fake.file_path(depth=1, category=None, extension=None)
# u'/vitae/repellat.wav'
fake.unix_partition(prefix=None)
# u'/dev/sdw1'
fake.file_name(category=None, extension=None)
# u'magnam.mp3'
fake.file_extension(category=None)
# u'tiff'
faker.providers.internet
¶
fake.ascii_free_email(*args, **kwargs)
# 'maria94@yahoo.com'
fake.image_url(width=None, height=None)
# u'https://dummyimage.com/778x670'
fake.tld()
# u'com'
fake.email(*args, **kwargs)
# u'johnsonmichele@hotmail.com'
fake.url(schemes=None)
# u'http://www.vasquez.info/'
fake.ipv4_private(network=False, address_class=None)
# '172.25.100.236'
fake.user_name(*args, **kwargs)
# u'kfischer'
fake.uri_extension()
# u'.php'
fake.uri_page()
# u'search'
fake.free_email_domain(*args, **kwargs)
# u'yahoo.com'
fake.safe_email(*args, **kwargs)
# u'dustingreene@example.com'
fake.ascii_email(*args, **kwargs)
# 'gary15@smith.com'
fake.ipv4_network_class()
# u'b'
fake.ipv4_public(network=False, address_class=None)
# '145.231.165.215'
fake.ascii_company_email(*args, **kwargs)
# 'awoods@small.com'
fake.domain_name(*args, **kwargs)
# u'vaughn-moore.com'
fake.ipv4(network=False, address_class=None, private=None)
# '247.224.143.88'
fake.domain_word(*args, **kwargs)
# u'dudley'
fake.slug(*args, **kwargs)
# u'autem-inventore-ex'
fake.uri_path(deep=None)
# u'app'
fake.company_email(*args, **kwargs)
# u'jeffreyayala@davis.com'
fake.uri()
# u'http://washington-contreras.biz/category/'
fake.ipv6(network=False)
# '782a:f8fc:820b:5503:6dfe:24b3:9da2:1089'
fake.free_email(*args, **kwargs)
# u'megangill@gmail.com'
fake.ascii_safe_email(*args, **kwargs)
# 'francospencer@example.net'
fake.mac_address()
# u'2c:21:c0:20:ab:68'
faker.providers.isbn
¶
fake.isbn10(separator="-")
# u'1-06-409258-6'
fake.isbn13(separator="-")
# u'978-1-06-254839-6'
faker.providers.job
¶
fake.job()
# 'Paediatric nurse'
faker.providers.lorem
¶
fake.text(max_nb_chars=200, ext_word_list=None)
# u'Modi ab assumenda ullam consequuntur tenetur expedita. Numquam tenetur modi fugiat nostrum. Quam quo a beatae similique voluptatem.'
fake.paragraphs(nb=3, ext_word_list=None)
# [ u'Molestiae dolore ipsum illo delectus dicta ullam fugiat. Provident cupiditate occaecati dolore.',
# u'Illum numquam fugiat saepe laboriosam. Recusandae possimus quam sit asperiores.',
# u'Molestiae architecto itaque sunt corporis voluptates. Repudiandae nihil repellendus ducimus.']
fake.words(nb=3, ext_word_list=None)
# [u'sapiente', u'ullam', u'officiis']
fake.sentences(nb=3, ext_word_list=None)
# [ u'Cupiditate facere consequatur voluptatibus.',
# u'Repellat voluptatem dolorem quas sed nulla.',
# u'Sunt dolorum impedit accusantium ipsa necessitatibus.']
fake.word(ext_word_list=None)
# u'id'
fake.paragraph(nb_sentences=3, variable_nb_sentences=True, ext_word_list=None)
# u'Dignissimos provident quo ab quisquam. Molestias eaque eos aspernatur. Voluptate eius nostrum commodi ad.'
fake.sentence(nb_words=6, variable_nb_words=True, ext_word_list=None)
# u'Enim magnam harum in maiores quaerat quo.'
faker.providers.misc
¶
fake.password(length=10, special_chars=True, digits=True, upper_case=True, lower_case=True)
# u'AU589Tbj9*'
fake.locale()
# u'sk_SK'
fake.binary(length=1048576)
# bytearray(b'\xd3\x0b2\x04\xc5\x08w\xa8\xca\xb0\x8ayH\xed\x8d-h;\x92\xfaq&\x08\xe45,\x9cr\xeb\x1d\x8a>s\x16\xa5\x10\xa4\'\xc3\x1c\xa9\xebh\xed\xde$\x865\xeb\x92\x14\x19\x13\xe5\xa58\x9a\xf8\x9b\xb2\x06/<\xc0\xddQ\xee\xc2\x97\xde\x86M\x0e\x07\xb9\'Ei\xa3Z\x1f\xcbu\x17\xa1g\xe8L\x91\xdbV+\xd7\x9b\xaa\xf4h\xed\xfcR\x03\xa1\x05\x8bS\xde\x19\x03hw\xa3\xeb\xc0>\xdb<&\xdbn.\xa7\xa2\xcb!Vx\x9dE&6\xbd\x0b\x08\xc1\xebK\xb2\x07^\x13\xb3\xb9\x86\xfd\xaa\xb1\xa9h\xef\x8b\x17\x86\x9f\x1f\xf2\xc1\x90\xf5\x15\xb6av_\xf7\x0f\x17\xa4HQa\xb4\xea\xe2@\x02k\x96\tF\x87\xfbP\xe5\xe4A\x0cI\x07\xba\xd1\x88\xdbA\xa9\xc9\xf0q\x00\xd5\xa6\xa5"\xc8\xb2\xb7\x00\x9aABC\xa0\x97m=\xc3G\x93\xe9\xa0\xd6;9\x89`\xcb[\xa4?\x861\xf6\x8e"\xa4\x9bd\xf5\xf7\x1f\x97f\xf7\x18\xc9zy~\rl/\xe7i\xc6\xa8\xd4tFXX\x17?\x8b%p\xc6f\x08\x10\x97\xb9\x07\x81R(\xdeI\xb6A\x14\x7fa\x0e\x11\x1a$#\xd0\x0bm\x0b\xbc\x1bv]1R\xec\x82ZO2o\x87\xb4\t%\xe8\xe2\xdc\xd4\tF%\x16\x88\xd9VS*=\x92!e\xb1\xec\xee\x17\xc9l\x1c" \xd6\x84\xd8m\x9c\xb5\xd8W\xb2\x97"\x9b 5\xe7\x01Q\x0c\x16\xa4\r\x01\xc4\x9e+\xa5\xdeUk\xe2j\xe8x\xf4\xaeOT&j\xe0g^h]\xc9\x9d\x02~\x97\x9e\xaa\xe1\xbc\xdeO\x89"\x9eRTSd\xb2b\xde\x06JD\x7f\x87\xe8\xec\x9b\x1d\xfc\xca\xd4\xac\xe0\xb3X6V2\xcezq\x03\\@ z=V\xd9Hv4ZY\xed/\xa8!_\xfd\xa6\x9e\xa59;G\x1aU-L4\xdcG\x85\xd9^\xfd*J\xf5\x92:\xe2\xa1D\x1c\n\xc9\xb6,H\xf1\xf1p9\xc4\xea\xc13\x0e=\x90{\xdf\x97\xd5\xcf\x06\x12I\x81\x84\xb9\xa0\x12\x84\x8c\x86\x8e\x85\xdc\xf7q\xd9\xc3\xccC\xe5\xe5U\xb9at\x8eL\x1a[<d\xdd\xfc+\x19\xea\xa9\x90Z\xc5k|\xf3\x8c\x04L\x050,\x9d0\xd3\x94\x16._\xc3:\x90uHm\t\xde\x8a\x1fH\xcf\xf1/Q~\xb5-\x04\x8b\x97\x12\x7f\x1f\xbe\xd4\xf4#\xda\xf6\xf3 \x8c\xdc\x1c\xccw\x03;U\x9cfJ\xa8\xffS\xbe\xd1\xa23&\xa1\xca\xe5\x8f\xc1O8@\xc0\xfd\xa2\x88\xb3i\xc1\xef\xb4\'a\xfc\x81\xfb\x13\x81\xa9\xf8\xef\x82\xda\xa7\xc4|\xd8\x10f9\xd8C\x1d\xb9]\xcdX:\xfd\xa2\xcc\x8e\xe3\xfe\x8cP\xee!N\x92\xcc\xde\x1c\x8b\xa7\x0f\xce\x9d\xbc\xe9|RmN\x0f\x8bD\xba\x9c\xdd\xd05l\xc4\x08\xa4\xb1\x05YZK\xcb\xc1\xb1&\x83|\xbf\x8c\x84\xc6S\xa7\x9f\t\xb2\x05\xdc\x07\xe9`g\x05\x91\xfc\x98\x08i\xf6a\x18\x91\x1f:0\xe2w\x8d\xf7u\x93\xc4\x9c\xda\xe2\xf7\x00\xb4\xef1\xf4\x8a\x1e\xa5\xc6eM\x06\x03\xd3 \xa8\xd8\xbcca\x90X\x993\xaf\xab\xde4V\x80\x9e\x8dA,!.\xf2\xb1\xcb\x1a\x9e1\x07Q\xac|\xef\xf9\xb4J\r\xe4\x89\xc1\xf7\xa9v\xa8\xfa_\xf72\xf9\x94\xa0\x9aSZ\xbc\xcb\xb0?\xcbaL\x12\n\x8bFjz,\x9c\x86\xd2\xd8(q\xbdr\xc8S\xbf\xfc,\x0c\xd2\xac\xdc\xc6A\xbc\xdf\x82^\xf2\xdb\x94\x9e&\xb4\x04\xdf%\xa1s\x8b\xc3\x07\xeb\x831)o?\xa8\xc9\xde\x06\x9a8\xe6\xe6[\x13Jc\xde\xab\xdf\xa7\xfa\xe2\xcd\x95\x0e_M\xaa\xbae3m\x97\xb3\x0c=\xbc!\x06E\xfa4C\xf2\x1e\x9c,\x08\xb6\xdc\x0f\xc7\x08\'\xd3\x9e\xaf#\xccN\t\x95\xad\xc9o\xcb\xef\x11\xfa\xff\xb9\xb5\xf5\xcf\xc0\r\x1bQ\xf0\xb9\x9c\xb28,#\x07\x0f\x14\xe4\xbc-u\x82O\xc2\xec\x9c\xd0\x14\xd9\xc3\xad)q\x89\x81\xd0\xa1\x8e\x9a\xe6\x0b\x17\xd2#\xaf\xa0\x14\xd5\xedy\xbae\x06\xfdB\x06\x0b[\xeb\xf5\xd0\x7f\xa3\x8f\xc1\xc6T\xd7\x97\xfe{=\xd8\xf0Q+.S4\xb9\x07\xf5\x1d\x0c\xcc*\xc7i\xb8\xb8\xb6%h\x1br\x05\xad~\xab\xa2\x91R~\xba\xa9$\xbf')
fake.md5(raw_output=False)
# 'b0ddf2744f3f259d5cbed59d8a9938b9'
fake.sha1(raw_output=False)
# 'c91426d8e9bc0c03afd48f4039a58510d9fbf637'
fake.null_boolean()
# None
fake.sha256(raw_output=False)
# '7bce455ece66a7983d7ebe1a426416dc66c0b04df143027937a4209d29171381'
fake.uuid4()
# 'dbbc79af-ae77-a08b-fa20-73ad50c4b40b'
fake.language_code()
# u'szl'
fake.boolean(chance_of_getting_true=50)
# False
faker.providers.person
¶
fake.last_name_male()
# u'Gonzalez'
fake.name_female()
# u'Leslie Johnson'
fake.prefix_male()
# u'Mr.'
fake.prefix()
# u'Dr.'
fake.name()
# u'Christopher Davis'
fake.suffix_female()
# u'DVM'
fake.name_male()
# u'Christopher Fuentes'
fake.first_name()
# u'Darlene'
fake.suffix_male()
# u'Jr.'
fake.suffix()
# u'III'
fake.first_name_male()
# u'Thomas'
fake.first_name_female()
# u'Pamela'
fake.last_name_female()
# u'Davis'
fake.last_name()
# u'Bentley'
fake.prefix_female()
# u'Mrs.'
faker.providers.phone_number
¶
fake.phone_number()
# u'+32(0)08 9787344'
fake.msisdn()
# '1818201465459'
faker.providers.profile
¶
fake.simple_profile(sex=None)
# { 'address': u'Kevinsingel 5\n9973\nYves-Gomez\xe9e',
# 'birthdate': datetime.date(1930, 4, 17),
# 'mail': u'aknight@gmail.com',
# 'name': u'Michael Thomas',
# 'sex': 'M',
# 'username': u'nfrazier'}
fake.profile(fields=None, sex=None)
# { 'address': u'Shelleyboulevard 027\n4422\nLigne',
# 'birthdate': datetime.date(1964, 12, 13),
# 'blood_group': 'A+',
# 'company': u'Burton-West',
# 'current_location': (Decimal('89.5864235'), Decimal('-87.868623')),
# 'job': 'Paediatric nurse',
# 'mail': u'oroberts@yahoo.com',
# 'name': u'Mr. Sean Brown Jr.',
# 'residence': u'Sophiahof 77\n3624\nSint-Katherina-Lombeek',
# 'sex': 'M',
# 'ssn': u'08030260835',
# 'username': u'sandypotter',
# 'website': [u'https://www.rose.com/']}
faker.providers.python
¶
fake.pyiterable(nb_elements=10, variable_nb_elements=True, *value_types)
# [ u'ZjWZFKrqvLLGzwhpzJER',
# -3112597.852,
# u'JCfCQXqBgjYJGaqLdzwf',
# 345627373040837.0,
# u'baaKbHQzpBqafCiRKtAJ',
# u'lisa82@gmail.com',
# datetime.datetime(1973, 12, 25, 2, 22, 49),
# 586475834224049.0]
fake.pystr(min_chars=None, max_chars=20)
# u'nqLVfDWQnKPTFeAvHdSO'
fake.pystruct(count=10, *value_types)
# ( [ u'xYeaTtDKStiOxufTJnMs',
# u'tonyawilcox@yahoo.com',
# 8283,
# u'qQaSauSLHybFsdijSUuO',
# u'vkhgALgnPdJSXwxWDzhF',
# u'JHPWldSmkSdOpfXSUDOA',
# u'InHurgrkUvvBgSfOoMVn',
# u'jlewis@miller.com',
# u'AdZdOcEuQIlMwfmtXPDx',
# u'ujZrnyeldLkOSUlnCoIi'],
# { u'consequuntur': Decimal('-9.86674607017E+13'),
# u'culpa': u'http://www.norris.com/tag/blog/search/register.html',
# u'ea': datetime.datetime(1989, 10, 9, 0, 12, 2),
# u'illo': u'SPzBCgWxmHDcweHPglDt',
# u'ipsum': 9643,
# u'provident': Decimal('693.42842'),
# u'sequi': 35814741355.8,
# u'temporibus': -38388162.0},
# { u'amet': { 8: u'fHUJCFIDYUbwxmjXDNAy',
# 9: [ u'PanfGAxkWQwNuKJgqUWl',
# datetime.datetime(1978, 8, 1, 20, 59, 7),
# 49],
# 10: { 8: 3750,
# 9: u'https://johnson.com/posts/blog/category/',
# 10: [ u'https://www.carter-bell.com/list/register.html',
# Decimal('-33.8640318154')]}},
# u'aperiam': { 4: u'TKQkUSjgILMzcLFJCdfA',
# 5: [ u'victoria80@yahoo.com',
# -2524226375.5,
# u'https://nicholson-lyons.com/'],
# 6: { 4: datetime.datetime(1985, 7, 15, 22, 30, 6),
# 5: u'kqPzHxqnkqAwuBXsvHfS',
# 6: [3687, u'GCXhokFJmprCOVbIgLDD']}},
# u'atque': { 9: u'vodlbZlfyZhrUuhCANtL',
# 10: [ u'agkrRkqUxVntYGRgJtEl',
# u'zdHLDSTaDlXfpGOBKTGh',
# 4379],
# 11: { 9: datetime.datetime(2003, 9, 23, 9, 57, 3),
# 10: u'http://www.palmer-riley.com/category/category/tag/privacy.jsp',
# 11: [ -889963656075018.0,
# u'jennifertucker@simpson.com']}},
# u'corrupti': { 5: u'lAlAJdIWoqYWtZoOseaj',
# 6: [ u'jHXYTBjlpRVZTnXQbPHc',
# u'EEvxsrFfpOSHTlTbTzfy',
# 881181948.0],
# 7: { 5: 117.212676244,
# 6: 22985515799.212,
# 7: [u'nOyfLzerhKwpxgPHrHjL', 5890]}},
# u'deserunt': { 7: u'jessica02@hotmail.com',
# 8: [ u'amymcconnell@williams.com',
# u'hSZYNHgcFigpqjsZLhVK',
# u'bymPcbKGwYKFVrRkefVD'],
# 9: { 7: 1685,
# 8: u'http://roth-wilson.biz/login/',
# 9: [u'https://www.estrada.com/', 8965]}},
# u'sapiente': { 2: u'HGTxcLoVlysCjAqpSTCp',
# 3: [ u'KwbfBKYFKQaFhOEyKbMN',
# u'ifwFVljFPoGjCIazXeiI',
# 81839.782583],
# 4: { 2: 6426,
# 3: 897,
# 4: [ 29311794.0,
# u'http://www.quinn-walls.com/search/category/privacy.php']}},
# u'sint': { 3: -25.6066372541,
# 4: [ datetime.datetime(1998, 3, 27, 11, 57, 30),
# u'xoDLWyfxGdxZUVSqsSpk',
# datetime.datetime(1971, 11, 1, 7, 59, 54)],
# 5: { 3: u'lFnXtfABzfSnISMtrOaY',
# 4: 4850,
# 5: [ datetime.datetime(2017, 11, 7, 2, 27, 7),
# Decimal('-5.81815097393E+12')]}},
# u'tenetur': { 1: 4315435788.108,
# 2: [ u'dlLuBfsojmqUYQWdZOze',
# u'JRRNIQCeuIiDbEpRdxIr',
# u'NFOraRDRPOvjvFOKOmtb'],
# 3: { 1: u'SRhaJNeCfFUwaimcfNxy',
# 2: 7959746298414.7,
# 3: [4979, 8270]}},
# u'totam': { 6: datetime.datetime(1999, 1, 23, 14, 6, 4),
# 7: [ 55.9530024571,
# u'https://huber.com/tags/tag/categories/post.html',
# u'https://cameron.com/category/category.html'],
# 8: { 6: u'CVwOBhLfBrETdaEyDyBV',
# 7: 8313,
# 8: [ u'JZxesojVBvOTOUUTXSsZ',
# u'nofAazIfQWrfkVFtiwqq']}},
# u'voluptatem': { 0: 7438,
# 1: [ u'https://www.aguirre.com/',
# datetime.datetime(1993, 10, 21, 18, 28, 43),
# u'kHFcyfLlphfjgWRrCjaS'],
# 2: { 0: u'xWzcBIIsQHYyYYIFSnOd',
# 1: u'sarah19@brown.com',
# 2: [ -401295268931.6,
# Decimal('-87.6874004264')]}}})
fake.pyfloat(left_digits=None, right_digits=None, positive=False)
# -3351141.78
fake.pydecimal(left_digits=None, right_digits=None, positive=False)
# Decimal('-5.9615573658E+14')
fake.pylist(nb_elements=10, variable_nb_elements=True, *value_types)
# [ Decimal('79.69407'),
# u'ZqvPjYXcaAVtwaNuWeRx',
# -13817.73853,
# datetime.datetime(1977, 7, 4, 7, 44, 20),
# Decimal('-1.98647854'),
# 2910,
# datetime.datetime(2017, 11, 22, 8, 28, 10),
# u'defFMTODtePOFhxcMaYL',
# 5536,
# 5405,
# 5198,
# u'xYoPdqxZFoEkukILrGkU',
# u'dinAPzUqoduEpeuSjVcK',
# 4450]
fake.pytuple(nb_elements=10, variable_nb_elements=True, *value_types)
# ( -39.3252914261,
# 6150,
# u'http://www.moyer.com/tags/faq.jsp',
# datetime.datetime(1999, 6, 22, 19, 35, 33),
# u'https://walton.org/tags/list/home.htm',
# u'erica36@boone.net',
# -4202159073369.0,
# u'veAsIEVVppzqrSzFnaDj',
# u'vuWPZJqMiEHIuoclSrib')
fake.pybool()
# True
fake.pyset(nb_elements=10, variable_nb_elements=True, *value_types)
# set([u'EDhFhgBBCIgZXaSAjumy', u'andersonalicia@graham-hayes.net', Decimal('3.11451'), 2246, Decimal('22284029.683'), u'http://www.sellers.info/posts/index.html', u'wgillespie@hotmail.com'])
fake.pydict(nb_elements=10, variable_nb_elements=True, *value_types)
# { u'consectetur': u'HwzBRnLFvDTcnAEreZxf',
# u'debitis': 7010,
# u'doloremque': u'kjpFtynGdWPMELKdnMEQ',
# u'eaque': u'RQMWtDxodwEdUaSpRwEs',
# u'eligendi': Decimal('-422164856946'),
# u'illum': u'dvvScKKiZvtCobTtDzOx',
# u'libero': u'QMQFgJjpFjxKxuzkwzQO',
# u'mollitia': 4928,
# u'tempore': u'http://www.yates.info/main.asp',
# u'voluptatum': u'ZsFsLlTtwbERunpagAFp'}
fake.pyint()
# 7586
faker.providers.ssn
¶
fake.ssn()
# u'88072292818'
faker.providers.user_agent
¶
fake.mac_processor()
# u'Intel'
fake.firefox()
# u'Mozilla/5.0 (Macintosh; PPC Mac OS X 10_12_2; rv:1.9.6.20) Gecko/2016-10-15 17:25:43 Firefox/3.6.11'
fake.linux_platform_token()
# u'X11; Linux x86_64'
fake.opera()
# u'Opera/9.42.(Windows NT 6.1; he-IL) Presto/2.9.188 Version/10.00'
fake.windows_platform_token()
# u'Windows NT 5.2'
fake.internet_explorer()
# u'Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 5.2; Trident/4.0)'
fake.user_agent()
# u'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_7_2) AppleWebKit/5321 (KHTML, like Gecko) Chrome/32.0.804.0 Safari/5321'
fake.linux_processor()
# u'i686'
fake.chrome(version_from=13, version_to=63, build_from=800, build_to=899)
# u'Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_12_5) AppleWebKit/5350 (KHTML, like Gecko) Chrome/63.0.869.0 Safari/5350'
fake.mac_platform_token()
# u'Macintosh; Intel Mac OS X 10_12_4'
fake.safari()
# u'Mozilla/5.0 (iPod; U; CPU iPhone OS 4_2 like Mac OS X; mt-MT) AppleWebKit/533.6.3 (KHTML, like Gecko) Version/4.0.5 Mobile/8B113 Safari/6533.6.3'