Language en_GB¶
faker.providers.address¶
fake.latitude()
# Decimal('86.0272035')
fake.street_name()
# u'Ashley freeway'
fake.address()
# u'Studio 35d\nVictor ports\nSouth Carole\nG6S 7FA'
fake.street_address()
# u'95 Clark stravenue'
fake.postcode()
# u'S3A 3NH'
fake.country_code(representation="alpha-2")
# u'MW'
fake.longitude()
# Decimal('-8.465109')
fake.country()
# u'Cook Islands'
fake.geo_coordinate(center=None, radius=0.001)
# Decimal('140.703762')
fake.secondary_address()
# u'Studio 32r'
fake.street_suffix()
# u'ports'
fake.city_prefix()
# u'Lake'
fake.city_suffix()
# u'chester'
fake.building_number()
# u'348'
fake.city()
# u'East Richard'
faker.providers.automotive¶
fake.license_plate()
# u'JI33 XDH'
faker.providers.bank¶
fake.bban()
# 'HRCZ3633783661383'
fake.bank_country()
# 'GB'
fake.iban()
# 'GB28ZELF4903398014851'
faker.providers.barcode¶
fake.ean(length=13)
# u'6459122390805'
fake.ean13()
# u'6254017994072'
fake.ean8()
# u'17499262'
faker.providers.color¶
fake.rgb_css_color()
# u'rgb(203,135,161)'
fake.color_name()
# u'LightGoldenRodYellow'
fake.rgb_color()
# u'234,145,240'
fake.safe_hex_color()
# u'#33aa00'
fake.safe_color_name()
# u'yellow'
fake.hex_color()
# u'#c042cf'
faker.providers.company¶
fake.company()
# u'Fisher, King and Thomas'
fake.company_suffix()
# u'Inc'
fake.catch_phrase()
# u'Enhanced non-volatile Local Area Network'
fake.bs()
# u'benchmark dynamic portals'
faker.providers.credit_card¶
fake.credit_card_security_code(card_type=None)
# u'332'
fake.credit_card_provider(card_type=None)
# u'VISA 16 digit'
fake.credit_card_full(card_type=None)
# u'Maestro\nColin Robinson\n630483657627 03/23\nCVV: 293\n'
fake.credit_card_expire(start="now", end="+10y", date_format="%m/%y")
# '03/29'
fake.credit_card_number(card_type=None)
# u'30521440075314'
faker.providers.currency¶
fake.cryptocurrency_code()
# 'BTC'
fake.currency_code()
# 'LAK'
fake.currency_name()
# 'Angolan kwanza'
fake.cryptocurrency_name()
# 'Zclassic'
fake.cryptocurrency()
# ('EOS', 'EOS.IO')
fake.currency()
# ('SEK', 'Swedish krona')
faker.providers.date_time¶
fake.future_datetime(end_date="+30d", tzinfo=None)
# datetime.datetime(2019, 6, 2, 15, 45, 26)
fake.time_series(start_date="-30d", end_date="now", precision=None, distrib=None, tzinfo=None)
# <generator object time_series at 0x7fff968eec80>
fake.date_between_dates(date_start=None, date_end=None)
# datetime.date(2019, 5, 15)
fake.date_time_between(start_date="-30y", end_date="now", tzinfo=None)
# datetime.datetime(2014, 12, 6, 7, 38, 1)
fake.date_this_decade(before_today=True, after_today=False)
# datetime.date(2011, 1, 21)
fake.date_time_this_month(before_now=True, after_now=False, tzinfo=None)
# datetime.datetime(2019, 5, 8, 5, 11, 56)
fake.past_date(start_date="-30d", tzinfo=None)
# datetime.date(2019, 4, 26)
fake.day_of_week()
# 'Saturday'
fake.date_time_this_decade(before_now=True, after_now=False, tzinfo=None)
# datetime.datetime(2017, 3, 17, 7, 18, 9)
fake.date_between(start_date="-30y", end_date="today")
# datetime.date(1991, 8, 10)
fake.date_time_this_century(before_now=True, after_now=False, tzinfo=None)
# datetime.datetime(2015, 9, 5, 21, 9, 54)
fake.date(pattern="%Y-%m-%d", end_datetime=None)
# '2012-06-02'
fake.am_pm()
# 'PM'
fake.date_time_between_dates(datetime_start=None, datetime_end=None, tzinfo=None)
# datetime.datetime(2019, 5, 15, 4, 21, 17)
fake.date_object(end_datetime=None)
# datetime.date(1981, 6, 10)
fake.date_this_year(before_today=True, after_today=False)
# datetime.date(2019, 1, 8)
fake.iso8601(tzinfo=None, end_datetime=None)
# '1977-03-31T05:37:14'
fake.future_date(end_date="+30d", tzinfo=None)
# datetime.date(2019, 5, 30)
fake.date_this_century(before_today=True, after_today=False)
# datetime.date(2018, 12, 5)
fake.month()
# '08'
fake.year()
# '1970'
fake.day_of_month()
# '31'
fake.unix_time(end_datetime=None, start_datetime=None)
# 66997417
fake.timezone()
# u'Europe/Brussels'
fake.century()
# u'XIII'
fake.date_of_birth(tzinfo=None, minimum_age=0, maximum_age=115)
# datetime.date(1929, 3, 23)
fake.time_object(end_datetime=None)
# datetime.time(16, 13, 51)
fake.date_time_this_year(before_now=True, after_now=False, tzinfo=None)
# datetime.datetime(2019, 4, 28, 15, 46, 31)
fake.date_time(tzinfo=None, end_datetime=None)
# datetime.datetime(1993, 2, 21, 17, 30, 15)
fake.time(pattern="%H:%M:%S", end_datetime=None)
# '19:33:08'
fake.date_this_month(before_today=True, after_today=False)
# datetime.date(2019, 5, 3)
fake.past_datetime(start_date="-30d", tzinfo=None)
# datetime.datetime(2019, 5, 11, 1, 43, 39)
fake.month_name()
# 'December'
fake.date_time_ad(tzinfo=None, end_datetime=None, start_datetime=None)
# datetime.datetime(880, 2, 9, 17, 33, 17)
fake.time_delta(end_datetime=None)
# datetime.timedelta(14184, 64449)
faker.providers.file¶
fake.unix_device(prefix=None)
# u'/dev/sdc'
fake.mime_type(category=None)
# u'image/jpeg'
fake.file_path(depth=1, category=None, extension=None)
# u'/illum/assumenda.mov'
fake.unix_partition(prefix=None)
# u'/dev/sds3'
fake.file_name(category=None, extension=None)
# u'et.txt'
fake.file_extension(category=None)
# u'css'
faker.providers.internet¶
fake.ascii_free_email(*args, **kwargs)
# 'freid@gmail.com'
fake.image_url(width=None, height=None)
# u'https://placeholdit.imgix.net/~text?txtsize=55&txt=130x572&w=130&h=572'
fake.tld()
# u'com'
fake.email(*args, **kwargs)
# u'walkerrebecca@davies-knight.info'
fake.url(schemes=None)
# u'https://www.williams.com/'
fake.ipv4_private(network=False, address_class=None)
# '172.23.7.198'
fake.user_name(*args, **kwargs)
# u'eparker'
fake.uri_extension()
# u'.php'
fake.uri_page()
# u'main'
fake.free_email_domain(*args, **kwargs)
# u'yahoo.com'
fake.safe_email(*args, **kwargs)
# u'tbutcher@example.org'
fake.ascii_email(*args, **kwargs)
# 'holdenkaren@yahoo.com'
fake.ipv4_network_class()
# u'c'
fake.ipv4_public(network=False, address_class=None)
# '6.224.159.233'
fake.ascii_company_email(*args, **kwargs)
# 'june51@burton.com'
fake.domain_name(*args, **kwargs)
# u'dawson.org'
fake.ipv4(network=False, address_class=None, private=None)
# '124.244.112.253'
fake.domain_word(*args, **kwargs)
# u'howard-williams'
fake.slug(*args, **kwargs)
# u'inventore-quis-ut'
fake.uri_path(deep=None)
# u'search/search'
fake.company_email(*args, **kwargs)
# u'jasonhudson@atkins.info'
fake.uri()
# u'https://ball.biz/terms/'
fake.ipv6(network=False)
# '4c76:e2fb:2a:193b:8acc:ff8:151c:2e8d'
fake.free_email(*args, **kwargs)
# u'seanbrown@yahoo.com'
fake.ascii_safe_email(*args, **kwargs)
# 'kentryan@example.com'
fake.mac_address()
# u'41:da:2f:0a:e7:bb'
faker.providers.isbn¶
fake.isbn10(separator="-")
# u'0-618-36005-0'
fake.isbn13(separator="-")
# u'978-0-06-487990-3'
faker.providers.job¶
fake.job()
# 'Accountant, chartered public finance'
faker.providers.lorem¶
fake.text(max_nb_chars=200, ext_word_list=None)
# u'Tempore reiciendis quam iste dolores unde voluptatibus. Recusandae dicta fugiat rerum ipsa impedit suscipit.'
fake.paragraphs(nb=3, ext_word_list=None)
# [ u'Ad quia illum minima quaerat deleniti. Dolore eos sed. Vero expedita est laudantium accusamus quidem.',
# u'Commodi repellendus eligendi ut corrupti error. Consectetur omnis nam facere.',
# u'Esse quod quam adipisci numquam ex accusantium incidunt. Magnam repellendus quidem at. Sunt iusto quibusdam laudantium magnam ipsam. Minus laborum eius quod laboriosam autem autem.']
fake.words(nb=3, ext_word_list=None)
# [u'quaerat', u'veniam', u'iure']
fake.sentences(nb=3, ext_word_list=None)
# [ u'Enim sed perferendis dolor qui reiciendis sit nemo.',
# u'Ducimus esse porro nobis esse.',
# u'Itaque a blanditiis iusto beatae molestiae porro unde.']
fake.word(ext_word_list=None)
# u'qui'
fake.paragraph(nb_sentences=3, variable_nb_sentences=True, ext_word_list=None)
# u'Quae impedit voluptatibus sapiente. Consequuntur magnam quae necessitatibus ex eaque autem nam. Officia provident delectus similique rem provident quas. Ullam quidem et quis sunt quia temporibus.'
fake.sentence(nb_words=6, variable_nb_words=True, ext_word_list=None)
# u'Cupiditate consectetur reiciendis possimus quidem.'
faker.providers.misc¶
fake.password(length=10, special_chars=True, digits=True, upper_case=True, lower_case=True)
# u'%gYLJkAls3'
fake.locale()
# u'bem_ZM'
fake.binary(length=1048576)
# bytearray(b'\x16\x05iK\xc0 \x8a\x12\xf8\xabL\x18I$t3O\x8f\x16R\xfe\x08\xc4\x94\xa0\x05\xeen\xe4YT\xc5k*\xc1\xdc${@\xcac\xe3L;\xb1\x89ZN\xb0\x85H\x80\xb4\xb5\x12\x86UYS\x18\x81\xb97k6m:\x14\x9fn\x8b\x16\xe9\x97}\xad\xffz\x80\x87\x86\x1b\xeb\x9a\x8e\x86 L0\x1b\xd9\xc8j\xbc\x8e\xb1\x0f\xde\xb6P\x0c\x1b\xdeV\xe6\xa4\xfay\x82>\xab\x1b2}w3E\x97I\xb5\x03\x1a\xdap\t@DBH\x91\x1f\xf9nX\x94(b\xc0\r\xdb\xe6\x0ck\x94\x96\xff\xb7\xd1(&|\t\x94O\xe3\xba_{\x86$\xe9(\xee4\r\xecz\x04\xce:l,\x02\x85\xbf\xdeS\x9a\xf1\x95\xfb\xcd\x99\x16\xe6Z]\x0e\x12\xd5u\x82/\xf3\x01)\x9e\x19\x97c\xc3uS\xb8\x84\xa4\xdd\xfc\xdb\xca\xbcV\x98\x0f\xe0h,\xc39\x97\xdf\xba\x12\xaeqVO\x0e\xe7\x17\x06\x10\xda;\xbc\xb4\xbe1(FeE.\x12\x9fde\xa4\x8cg\x92\xcb\xad\xed\xd4\x8f\xf3\xee\xb1+\x08\xccbdY\xf9\'\xa7|O\x9f\x86\xc0 \x00\xce\x8a\xb0\x10\x0bt\xa5|_S\x8am7V\x9d>\x88*\x1c\xd1O#\xe5\xc6_\x1d:}\xea?\xb4J`g[6u\x10d\xaes\xf3\xd7G\xfa\xb5\x10\xe0\xdf\xdaZ\xc6\xe5\x80-\xe9QU\xe7}C\xb4\xdb\x03\xa9\xa5nh\x95\xd3\x06&\x18\xc8\x1e\x0e\xdc\xd5U\xf8\x9f&\x98\xdf\xe6\x08\x14\xad\x8bB}+\xa4\x01_\xb7\xda\xbc\xa1^\xff\xc2\xe0\x1cl+\x95\x00\x96\xd8C\xf6\xda\xb6\xaa>\xb2\x82oN\xf7h\xac\x9dS\xb4Q \xbb\x88\xc5wOxV\x1d\xfd\xf0\xfb\xcaa\x08\x9a]V\x88\x84\xc8\xdb\x0e\xf8\xb1\xe1\r`!\xf7\xcf\x80Xz+\x18\x16\xffE\x1c\x8dK\x87\xca\x16\x1c\xaf\x1d\x84=#\xba?b\x9f\x17b\t\x86\x86\xcaz\x04O\xc0#\x02sn\xe0|\x1b1"4Y\x9b~3\x0f\xaf8\xbc\x04\xb1\xcc\xd8\xd2p\x01I\r\xa3\x1b\t\xee\xed\xe9\xa2`\xb0\xd7\x85t\xda\xd1f\x91\x86\xff04\xee\x0c\x82\x07\xe7\xd2\xa6\xe8{?\x91\x96\x95\xe4\xd3\x05\xd8H.\x1arN\xc8\x9d\xee\x03\xb5\n\x99\x99\xc5\xd3\xaf\xfb\xafQN\x01i\xf4i\xd1!&k\xc8\x0e\xc1\x1b\x17\x13\x1fZ\xca:\x07\xd9\x1c\x8eO\\\xa6\xec\x8d\x94a5\xa8g\xa2~I\xac\t\x8a1\x96\xac\xf5? \xa3\xa4\xacN2\xe2\xa8|\x12n\xd3p>_\xfdH\xbes\xf5?SXu\x13\xe5\x80\xd2\'\'\x06\x91\xeb\xc9\xa88\xe1\xee_\x014{B\x05\xa5t\x1e\xd1\x86\xf89\xa9UK\xcf\xfa)\x83\x94\xfd\xad\x1fv\xd7\xe2\x01i!\xb3%\xf3\xe6\xf6\x08+(\xc0Z=\x913G\x1e\xc2<\xa07\x12\x07\x11o\xc4\x81\xb4\xf6\xc1\x9d\x1f\x1a\xd0\xe9\xdbR\x13\xb6\x0c\x81\xf5\x19<\xcf\xafWx\x12Lw$\xfe\x86"l\x9b\xb6\xdc\xe0\xae\xe3$\xd5\x0e\x89\x13\xc5!\xe6\xcfk\x8f=R\xd4\xa0\xfej\xf65\xa2\xcf\x8c\x8fQ\n>\xb6\xc2\x9d\xa0x]\xf92K\xd3\xa9/Kc\x04\x1eE\xd2\x1c\xd8\xaf\xfe2w\x91\xe5fjc\x08/\xbe\x86\xaa\xd3\xbd2\xb6^\x91\x14G\x9aj\r\x1d\x10\x07F\xa4\r\x08Y\x91/H8\xea\x12\x97\x99\xcb\x1ddw5\x15\x0f\xa3\x99;\x0cZ\xaa&\t\xdb\xdc\xa1\n\xb5\xa4\xb9&\x9bI\xda\xdd\xd3\xc21\x8eL9V.<AD\xe4j\xb5\x0f\x9e\x17\xda\x98\x87\xeecQ\x03\x94\xd7\x99\xe3\x0c\xf5\xd6Ce(2\xb9\xf9\xaffu2(\xb7\xfbk\xc8%\xd7T\xe1\xe7;\xcc\xa2\xb1m\xd9@e\xe0\xe3\xfc\xfe\xaa>\xdf\xcb.\xe1\xad\xf1\x9f\xcbC\xa0G\x9cy\xb7\x0bg&\x81\xa6NY\xa3\xb1\xe5\x99|\x9b\x05\x17\xb1\xf7\xfe\xe4\x8c\xd8\x85\xf3\x97@#\x17\xf2V\x13>\x80K\x06\xf6\xd5,\x18\x08P\xf9\xc6\xf0J\x8b \xefz`\x11\xddP\xef^\xf4\xe8H\x0c}\nd\xab\xa5\t\xc7S\x10\x9f\xb3\xf6\x05m*;\xc4=#\x16\xd3\x87\xd6\xf6\x0b\xf8\xc7\t\x06:R\x8b,\xf45N<\x138l\x1c\\\xda\x9bCg/\x95/MK')
fake.md5(raw_output=False)
# '232c47003a5a9e8a982010c1177275be'
fake.sha1(raw_output=False)
# '30d6036a1c66462c613a9b888e6b3267dcdefb4c'
fake.null_boolean()
# False
fake.sha256(raw_output=False)
# '576549c69760a206d293c1167fe55f6b40041616b33d9771fe9e5056d53b4e81'
fake.uuid4()
# '8739a831-c20e-3221-efea-818af6aa6b01'
fake.language_code()
# u'hr'
fake.boolean(chance_of_getting_true=50)
# True
faker.providers.person¶
fake.last_name_male()
# u'Austin'
fake.name_female()
# u'Josephine Spencer'
fake.prefix_male()
# u'Dr.'
fake.prefix()
# u'Ms.'
fake.name()
# u'Jodie Jones'
fake.suffix_female()
# u''
fake.name_male()
# u'Dr. Brian Harrison'
fake.first_name()
# u'Jemma'
fake.suffix_male()
# u''
fake.suffix()
# u''
fake.first_name_male()
# u'Lewis'
fake.first_name_female()
# u'Kim'
fake.last_name_female()
# u'Hussain'
fake.last_name()
# u'Allen'
fake.prefix_female()
# u'Miss'
faker.providers.phone_number¶
fake.phone_number()
# u'(0141) 4960456'
fake.cellphone_number()
# u'+447700 900 179'
fake.msisdn()
# '8386794334977'
faker.providers.profile¶
fake.simple_profile(sex=None)
# { 'address': u'798 Adams walk\nLake Christopherland\nM1F 7DZ',
# 'birthdate': datetime.date(1947, 11, 20),
# 'mail': u'clarkraymond@hotmail.com',
# 'name': u'Jason Kelly-Morris',
# 'sex': 'M',
# 'username': u'kathryn88'}
fake.profile(fields=None, sex=None)
# { 'address': u'609 Day plaza\nStonechester\nW04 4QF',
# 'birthdate': datetime.date(1944, 12, 27),
# 'blood_group': 'A+',
# 'company': u'Rowley, Martin and Barnett',
# 'current_location': (Decimal('-29.0579885'), Decimal('39.605023')),
# 'job': 'Geologist, wellsite',
# 'mail': u'justin26@yahoo.com',
# 'name': u'Billy Young',
# 'residence': u'1 Franklin shores\nChelseamouth\nW43 6JX',
# 'sex': 'F',
# 'ssn': u'ZZ 030185 T',
# 'username': u'charlesellis',
# 'website': [u'https://dunn-lewis.biz/']}
faker.providers.python¶
fake.pyiterable(nb_elements=10, variable_nb_elements=True, *value_types)
# set([-391069839040.0, u'LUMReUTEHNyNEyDSvvFT', u'hfhmdcgPeufSjdRzAhCB', u'NholrQGJPAVwnZRjzCCF', u'terence49@yahoo.com', u'tYRUPhvVDencEJCzHYFm', u'glen53@gmail.com', datetime.datetime(1970, 11, 18, 7, 15, 9), u'BkDwHkvlppoIPeaFLxIo', u'smithjay@gmail.com'])
fake.pystr(min_chars=None, max_chars=20)
# u'nGXFBOAPdygDSyCVLCSQ'
fake.pystruct(count=10, *value_types)
# ( [ 3413,
# Decimal('-58.7072443949'),
# 5296,
# 5770,
# 7814,
# u'vzootlrWlXeEeinkOMWC',
# u'XbbdjMFtbLmKcsuBkfxq',
# u'fELuhELzwDMAfMnHYard',
# u'https://www.taylor.org/about.htm',
# u'fDTRWatekTiPQSuCrGnl'],
# { u'cumque': u'http://www.gardiner-smith.com/login/',
# u'doloremque': 9284,
# u'eum': datetime.datetime(2006, 10, 27, 21, 15, 31),
# u'ipsam': Decimal('9.33097869974E+12'),
# u'maxime': u'GhLWvswklIaBAElALWtW',
# u'nostrum': Decimal('-88.0'),
# u'odit': 7138774574.6,
# u'placeat': 8247,
# u'possimus': u'PZWbHMmbJpuuVnUDrTHf'},
# { u'adipisci': { 2: -2.768,
# 3: [ datetime.datetime(1978, 9, 4, 13, 33, 55),
# u'LMuHXSRDnKyokqqEBTwg',
# datetime.datetime(1988, 5, 21, 9, 7, 11)],
# 4: { 2: Decimal('-460393414.0'),
# 3: -20835803451.44,
# 4: [ u'DECkzlzvTTEAfuWZRUFb',
# 157290541091.2]}},
# u'assumenda': { 0: -63904.649066,
# 1: [38265364821.2715, 9482, 491],
# 2: { 0: 360,
# 1: u'http://www.jones.net/login/',
# 2: [ u'IBsqnlzdZInJwvWpNAkA',
# datetime.datetime(1971, 9, 18, 15, 10, 40)]}},
# u'dolorem': { 4: u'mandyduffy@hotmail.com',
# 5: [ u'fhhCuEjVjfDkRvrJOdes',
# u'DoTyvryyPQdSTQqxwwTO',
# 4088],
# 6: { 4: u'ISvDsxoDzHUHkCuxcOAl',
# 5: Decimal('-522799592.517'),
# 6: [ u'baileysandra@hotmail.com',
# u'WQNImixDhdRrxEvsqQit']}},
# u'error': { 9: 67,
# 10: [ -7654074081.60123,
# u'http://www.stewart-robertson.com/author/',
# u'YOxpQRxAYWVWFVgBkptf'],
# 11: { 9: u'https://harding.org/terms.php',
# 10: u'CLaGyDZJNloHmuCsBWms',
# 11: [ datetime.datetime(2017, 1, 5, 0, 35, 56),
# 6267]}},
# u'esse': { 6: u'yGFeSAxjXKWJfHDSmFel',
# 7: [ u'ZuySJEZaEVEODQZPkomH',
# u'claresmith@boyle.info',
# u'UyJlAKerMooRxUfiHsJL'],
# 8: { 6: Decimal('-867.6'),
# 7: Decimal('602181.1'),
# 8: [ -2538116143112.71,
# datetime.datetime(2013, 5, 17, 15, 35, 11)]}},
# u'eum': { 3: 493,
# 4: [ u'http://carpenter-brooks.com/author/',
# datetime.datetime(1985, 12, 3, 3, 12, 40),
# 1152],
# 5: { 3: u'lZhevCmLqdwkSZxNFlQz',
# 4: u'garrybarker@metcalfe.net',
# 5: [u'lnYrctYfGdqQnAAgwAsz', 5640]}},
# u'impedit': { 8: 683193263375846.0,
# 9: [ 6211.6667972501,
# u'psmith@yahoo.com',
# datetime.datetime(1976, 7, 27, 20, 54, 31)],
# 10: { 8: u'http://hughes.org/explore/tag/about/',
# 9: 910855841353688.0,
# 10: [ Decimal('-84106363.678'),
# Decimal('3.5558488153E+12')]}},
# u'iure': { 7: u'hjImLrJpzmXZVHzqqQTj',
# 8: [ -31343967384406.0,
# u'QnIIzqdPPrxkBLCCJdmm',
# u'NACETtAJeBgYuMFhaGbl'],
# 9: { 7: u'smithgemma@hotmail.com',
# 8: u'WzTTKTcIyklYegmamthJ',
# 9: [u'wSWUrdGiBCEfzRpJAAIA', 8466]}},
# u'saepe': { 5: 5697,
# 6: [ u'gveoOgComcFgcruufShS',
# datetime.datetime(1984, 6, 18, 20, 43, 23),
# 8336],
# 7: { 5: u'bDtEBlGfLwKanJRtvlAD',
# 6: u'adrian27@fowler.biz',
# 7: [ u'dXODKtJghlsuZZjqRPHE',
# u'https://www.taylor.com/category.html']}},
# u'veniam': { 1: u'ATBtaUalTOnOYCAYOtIJ',
# 2: [ datetime.datetime(2010, 9, 14, 6, 14, 3),
# 603513151.40476,
# 7359],
# 3: { 1: u'tUfxclVYkXQxQiibUWxB',
# 2: 2524,
# 3: [2494, u'gyLKVYDTaEOuDhxtQbXA']}}})
fake.pyfloat(left_digits=None, right_digits=None, positive=False)
# 28398940.5
fake.pydecimal(left_digits=None, right_digits=None, positive=False)
# Decimal('1.58053038752E+13')
fake.pylist(nb_elements=10, variable_nb_elements=True, *value_types)
# [ u'dzZRgsNdfWdYjDjNVjsL',
# 3175,
# u'wardjanice@hotmail.com',
# u'hcqFPXdoBCnUDwtEZxFZ',
# u'http://west-chandler.com/terms.html',
# u'https://godfrey.com/main.php',
# datetime.datetime(1984, 2, 4, 13, 8, 6),
# u'UJJhZwIQpsoPNpDkIudN',
# u'https://www.singh.org/category.htm',
# datetime.datetime(1995, 5, 28, 8, 59, 51),
# datetime.datetime(1970, 9, 25, 14, 20, 27)]
fake.pytuple(nb_elements=10, variable_nb_elements=True, *value_types)
# ( 2178,
# Decimal('11643.3637001'),
# datetime.datetime(2008, 9, 22, 6, 32, 47),
# 83727557.490296,
# 2394,
# u'hGhakdHnvnssngiSIjlH',
# Decimal('-278122517.43'),
# datetime.datetime(1987, 9, 15, 2, 10, 25))
fake.pybool()
# False
fake.pyset(nb_elements=10, variable_nb_elements=True, *value_types)
# set([7372, u'lGuovVrrAGLMTvTVeLRk', u'http://white.com/homepage/', u'OLlJkJAEdIeFZBnntBET', datetime.datetime(1981, 1, 2, 11, 11, 4), u'QpUwihgczuDZwmEyWFBN'])
fake.pydict(nb_elements=10, variable_nb_elements=True, *value_types)
# { u'accusantium': u'LaHnNkJpWMyQmAsGYgZD',
# u'beatae': u'OPSyqQXHnGavykPtSqWi',
# u'delectus': 5996,
# u'enim': 2171,
# u'explicabo': u'ePxODOrHuaJpZwZQLZFI',
# u'magnam': u'YGZMDwaWwHkyVgfdleBK',
# u'pariatur': u'DYkaQEsQVZxHJBYpLRjV',
# u'sed': 3999}
fake.pyint()
# 7081
faker.providers.ssn¶
fake.ssn()
# u'ZZ704092T'
faker.providers.user_agent¶
fake.mac_processor()
# u'U; Intel'
fake.firefox()
# u'Mozilla/5.0 (X11; Linux x86_64; rv:1.9.7.20) Gecko/2017-11-22 14:40:47 Firefox/3.8'
fake.linux_platform_token()
# u'X11; Linux i686'
fake.opera()
# u'Opera/8.53.(X11; Linux x86_64; lzh-TW) Presto/2.9.183 Version/12.00'
fake.windows_platform_token()
# u'Windows NT 6.1'
fake.internet_explorer()
# u'Mozilla/5.0 (compatible; MSIE 6.0; Windows CE; Trident/3.0)'
fake.user_agent()
# u'Mozilla/5.0 (Windows NT 6.1; sid-ET; rv:1.9.1.20) Gecko/2016-08-11 06:03:53 Firefox/3.8'
fake.linux_processor()
# u'x86_64'
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_9) AppleWebKit/5330 (KHTML, like Gecko) Chrome/49.0.892.0 Safari/5330'
fake.mac_platform_token()
# u'Macintosh; U; PPC Mac OS X 10_7_9'
fake.safari()
# u'Mozilla/5.0 (iPod; U; CPU iPhone OS 4_0 like Mac OS X; lo-LA) AppleWebKit/535.10.3 (KHTML, like Gecko) Version/4.0.5 Mobile/8B118 Safari/6535.10.3'