Language en_AU¶
faker.providers.address
¶
fake.state_abbr()
# u'TAS'
fake.latitude()
# Decimal('-37.540636')
fake.street_name()
# u'Morgan Access'
fake.address()
# u'Apt. 238\n 751 Roberts Lower\nLarsenbury, NSW, 2610'
fake.street_address()
# u'806 /\n 417 Wyatt Cul-de-sac'
fake.postcode()
# u'2619'
fake.country_code(representation="alpha-2")
# u'AG'
fake.longitude()
# Decimal('-77.385281')
fake.country()
# u'American Samoa'
fake.geo_coordinate(center=None, radius=0.001)
# Decimal('3.345797')
fake.secondary_address()
# u'2 /'
fake.street_suffix()
# u'Highroad'
fake.city_prefix()
# u'New'
fake.city_suffix()
# u'port'
fake.building_number()
# u'40'
fake.city()
# u'Ericville'
fake.state()
# u'South Australia'
faker.providers.automotive
¶
fake.license_plate()
# u'7B AB329'
faker.providers.bank
¶
fake.bban()
# 'GRWS4513326947396'
fake.bank_country()
# 'GB'
fake.iban()
# 'GB63ATDN2382169545526'
faker.providers.barcode
¶
fake.ean(length=13)
# u'7959131217395'
fake.ean13()
# u'1565386971355'
fake.ean8()
# u'15599568'
faker.providers.color
¶
fake.rgb_css_color()
# u'rgb(155,237,225)'
fake.color_name()
# u'PaleVioletRed'
fake.rgb_color()
# u'169,243,43'
fake.safe_hex_color()
# u'#558800'
fake.safe_color_name()
# u'blue'
fake.hex_color()
# u'#3abc79'
faker.providers.company
¶
fake.company()
# u'Alvarado LLC'
fake.company_suffix()
# u'LLC'
fake.catch_phrase()
# u'Mandatory non-volatile matrix'
fake.bs()
# u'leverage e-business models'
faker.providers.credit_card
¶
fake.credit_card_security_code(card_type=None)
# u'559'
fake.credit_card_provider(card_type=None)
# u'American Express'
fake.credit_card_full(card_type=None)
# u'VISA 16 digit\nEdward Hudson\n4244083032600854 11/24\nCVC: 666\n'
fake.credit_card_expire(start="now", end="+10y", date_format="%m/%y")
# '03/26'
fake.credit_card_number(card_type=None)
# u'3515921410114051'
faker.providers.currency
¶
fake.cryptocurrency_code()
# 'XDN'
fake.currency_code()
# 'CRC'
fake.currency_name()
# 'Bangladeshi taka'
fake.cryptocurrency_name()
# 'Bitcoin Cash'
fake.cryptocurrency()
# ('NEO', 'NEO')
fake.currency()
# ('GIP', 'Gibraltar pound')
faker.providers.date_time
¶
fake.future_datetime(end_date="+30d", tzinfo=None)
# datetime.datetime(2018, 8, 29, 21, 33, 34)
fake.time_series(start_date="-30d", end_date="now", precision=None, distrib=None, tzinfo=None)
# <generator object time_series at 0x7f6bca1c0640>
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(2009, 10, 8, 15, 19, 21)
fake.date_this_decade(before_today=True, after_today=False)
# datetime.date(2010, 8, 6)
fake.date_time_this_month(before_now=True, after_now=False, tzinfo=None)
# datetime.datetime(2018, 8, 15, 19, 44, 7)
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(2015, 8, 28, 7, 18, 5)
fake.date_between(start_date="-30y", end_date="today")
# datetime.date(1998, 6, 11)
fake.date_time_this_century(before_now=True, after_now=False, tzinfo=None)
# datetime.datetime(2007, 10, 7, 11, 6, 50)
fake.date(pattern="%Y-%m-%d", end_datetime=None)
# '2010-08-22'
fake.am_pm()
# 'AM'
fake.date_time_between_dates(datetime_start=None, datetime_end=None, tzinfo=None)
# datetime.datetime(2018, 8, 16, 9, 28, 14)
fake.date_object(end_datetime=None)
# datetime.date(1997, 5, 13)
fake.date_this_year(before_today=True, after_today=False)
# datetime.date(2018, 5, 6)
fake.iso8601(tzinfo=None, end_datetime=None)
# '1994-03-02T17:48:14'
fake.future_date(end_date="+30d", tzinfo=None)
# datetime.date(2018, 9, 13)
fake.date_this_century(before_today=True, after_today=False)
# datetime.date(2014, 2, 26)
fake.month()
# '04'
fake.year()
# '1989'
fake.day_of_month()
# '11'
fake.unix_time(end_datetime=None, start_datetime=None)
# 634063176
fake.timezone()
# u'Africa/Libreville'
fake.century()
# u'XVIII'
fake.date_of_birth(tzinfo=None, minimum_age=0, maximum_age=115)
# datetime.date(1904, 6, 12)
fake.time_object(end_datetime=None)
# datetime.time(12, 13, 1)
fake.date_time_this_year(before_now=True, after_now=False, tzinfo=None)
# datetime.datetime(2018, 6, 12, 11, 57, 30)
fake.date_time(tzinfo=None, end_datetime=None)
# datetime.datetime(1992, 5, 11, 6, 44, 3)
fake.time(pattern="%H:%M:%S", end_datetime=None)
# '23:07:06'
fake.date_this_month(before_today=True, after_today=False)
# datetime.date(2018, 8, 10)
fake.past_datetime(start_date="-30d", tzinfo=None)
# datetime.datetime(2018, 7, 17, 20, 0, 16)
fake.month_name()
# 'November'
fake.date_time_ad(tzinfo=None, end_datetime=None, start_datetime=None)
# datetime.datetime(1697, 4, 3, 3, 58, 23)
fake.time_delta(end_datetime=None)
# datetime.timedelta(6555, 66744)
faker.providers.file
¶
fake.unix_device(prefix=None)
# u'/dev/sdu'
fake.mime_type(category=None)
# u'multipart/encrypted'
fake.file_path(depth=1, category=None, extension=None)
# u'/quaerat/amet.bmp'
fake.unix_partition(prefix=None)
# u'/dev/xvdj8'
fake.file_name(category=None, extension=None)
# u'nam.mp3'
fake.file_extension(category=None)
# u'avi'
faker.providers.internet
¶
fake.ascii_free_email(*args, **kwargs)
# 'steventownsend@yahoo.com.au'
fake.image_url(width=None, height=None)
# u'https://www.lorempixel.com/984/272'
fake.tld()
# u'biz'
fake.email(*args, **kwargs)
# u'janice46@hoffman.com.au'
fake.url(schemes=None)
# u'http://espinoza.com.au/'
fake.ipv4_private(network=False, address_class=None)
# '10.201.58.241'
fake.user_name(*args, **kwargs)
# u'coopernicole'
fake.uri_extension()
# u'.php'
fake.uri_page()
# u'about'
fake.free_email_domain(*args, **kwargs)
# u'yahoo.com'
fake.safe_email(*args, **kwargs)
# u'sarah71@example.org'
fake.ascii_email(*args, **kwargs)
# 'nicolejohnson@lee.com.au'
fake.ipv4_network_class()
# u'b'
fake.ipv4_public(network=False, address_class=None)
# '35.102.39.46'
fake.ascii_company_email(*args, **kwargs)
# 'amanda23@flynn.org.au'
fake.domain_name(*args, **kwargs)
# u'chapman.org'
fake.ipv4(network=False, address_class=None, private=None)
# '105.190.193.238'
fake.domain_word(*args, **kwargs)
# u'phelps-davis'
fake.slug(*args, **kwargs)
# u'ipsa-laudantium'
fake.uri_path(deep=None)
# u'wp-content/category'
fake.company_email(*args, **kwargs)
# u'andersonkristen@griffith-nguyen.info'
fake.uri()
# u'http://www.johnson.edu/author.php'
fake.ipv6(network=False)
# '4c2f:5074:2771:3aae:fd35:1c78:2fd7:ff60'
fake.free_email(*args, **kwargs)
# u'kevincampbell@gmail.com'
fake.ascii_safe_email(*args, **kwargs)
# 'bmitchell@example.net'
fake.mac_address()
# u'89:d0:1a:41:23:b9'
faker.providers.isbn
¶
fake.isbn10(separator="-")
# u'1-221-11244-9'
fake.isbn13(separator="-")
# u'978-1-4708-5542-0'
faker.providers.job
¶
fake.job()
# 'Operational investment banker'
faker.providers.lorem
¶
fake.text(max_nb_chars=200, ext_word_list=None)
# u'Aspernatur rem facilis facilis molestias laudantium non aliquid. Optio consequuntur velit ut nisi necessitatibus iusto. Magni hic iure quidem sed. Aut quasi placeat voluptates at incidunt voluptates.'
fake.paragraphs(nb=3, ext_word_list=None)
# [ u'Quam eveniet quisquam ut ab atque perferendis. Recusandae quae neque vitae voluptatibus. Est ducimus laborum.',
# u'Fugit deserunt aperiam ducimus eaque harum provident. Veritatis velit doloremque ullam. Cupiditate magni ipsa error perferendis.',
# u'Explicabo impedit nulla id consectetur iusto laborum. Omnis ut quaerat. Odit commodi eum sint voluptate. Adipisci aperiam deserunt voluptates.']
fake.words(nb=3, ext_word_list=None)
# [u'numquam', u'officiis', u'aut']
fake.sentences(nb=3, ext_word_list=None)
# [ u'Iusto eveniet laborum repellendus minima nulla.',
# u'Aliquam placeat delectus atque et.',
# u'Maxime error accusantium molestiae exercitationem laudantium.']
fake.word(ext_word_list=None)
# u'autem'
fake.paragraph(nb_sentences=3, variable_nb_sentences=True, ext_word_list=None)
# u'Nesciunt accusamus voluptate. Facere nisi commodi dolor.'
fake.sentence(nb_words=6, variable_nb_words=True, ext_word_list=None)
# u'Sunt excepturi alias hic assumenda velit.'
faker.providers.misc
¶
fake.password(length=10, special_chars=True, digits=True, upper_case=True, lower_case=True)
# u'J#7AI4f$ug'
fake.locale()
# u'sk_SK'
fake.binary(length=1048576)
# bytearray(b'\x12\xcf5\xeb\xba\xd6\x9f\xba}\x90/\'\x00\xaa+\x903\xd8\xbb\xad\x1fN\n\xc6\x93\\+1\x064\x08\xc12-\\\x8c\xed\xc8jAD*z}\xcbNU:\x18\xac2F\x98_$>\x06\x90\xfc\xa4\xe66\xdc[6\xd2U\x7f\xf7V\xec$\xc4Y\x1bJ\xb6\t\xeeSX\xf3\x0e\xd6\xc1\x8eF\xfd\xc9g\xc9Fw\xf3\xa59\xc3{\x89\x80p\xaa\x82\xd4\xecmD\xa7b\xec\xcef\xef*\x98F\xaa\x84NL\xd7\xef\xf8\'d\xd8%\xfbg\x13\xfc!/\xb6r-\xeaQ\xb3\xa4?\xf6\xbb\x0e\x04]\x1f\xff\x9cm7g\xa7\x98\x84\x8cO\xb7\x9f%X\x0e\xf3\xd4\x05\x07f\x05\xb2\x1f\xef\x91K\xa3Wh#\xc6\xa9\r\xc7\x9bv\x87\xe8\xf8\x13\x93l\x0b\xbd\xe5\'\xd6^e\xf7\x1cb\x83C\xcc\xf8\xa7hH\x962\xb0\xb6"\x1b \xb9\xfc\x00\xf8a\x12\x04\x9b\x04\x1f\x16|\xb1\xf12,6\xec\x7f\xf3\xf4\x19\xfa\xb3\xe7i\xd4un\x18\xa6Ro_\xe0\x96\xdfg\xfc\xac\x9a\xb9\x81}\x154\t\xee\x1e]-\x08\xd4\xc9B\x1f\xd9\xa1\xe7ai\x03\x88\xc8<}\x8c\xebG\x0en\xfa_\xf1W(\xd2\x08o\x8bZ\x84_\x9e\x9bz\xb2\xf5\xe0A\x1c\xeet\xe5\xbbV4\xad\xbb\xb2i\x0c\xd2^\xe0\xc9\x12\xb5\xf1/\xc9\x04\x1e\xc9\xa0\x1b\x11a\x8dg\x1d\xecm\xe9\xae\xaa\xae^\xcc\xe7\xdc\x05\xa3L\x88\x84\xc9\x9c\xba\xab\xa3\xba\x98\x12\x1c\xea\n\xfd\x12\x8d\xb5\xe8\x9d9J\xf7\xc2\xdd\xe5\x91h\x8e\xf4\xc8\x8e{>\xb1\xff\x95\xbb\xb5|x,r \xcd^b\xf4\xd4\x80ME\x01#\x8a#\xd3\xe8\x19\xf0\'f=\x15E\x0cv\x11!k\xcd\x03)\xa6\xf7\xe6K\xdd\x10\xc9<2\x89\xe5*G\x06\xd2]\x80jW\x1d-s\x97\x16\xd7\x81\xd9\xf7\x90\xd7\xcd"\xbb,\x8d\xac\x1d\xf7W+X\x98\xfc\x80z\xf2\xfb{\x012\xfc\xfco\xe0?\x1d\xc6Lo\x10\x99\x94\xb2cM\x01\x98\xa2%\xa6dY\xc1\xf6\xd5\xeb\x01B3\xf5\xdc\xf5\x89\xf1\xe1\rq\x040\xcd3\xdb\xe5&\xcb\xd9\x8d\x95O\x11t\x0ef\xab\\\xa9\x1a\xa0.\xe2\x87b\xee\xe2\xd98"\xee$\x84\x8e\x15\xbd\x1e\xd7_,\xb4\xc7*\xa9\xde\xe0\x99\x82\x00\x13\x91iZ\xae\x16V\xc6\xa4bZ\xe6\xabP\x9f\xa2^\x1a\x9a\x9a)~\xd3\xa4.\x9d\xec\x0c\x94J\x92M\xc8x\xf4\x80\x82!\xf4\x0f\x90J\x15%<\x9ft\xddp\x92\x8a\xdc\xa0\xfb\x88K\xea8\xc2\xd0\x1b\xe7\x98\xd4o\x8a\xd9\x10\x8d\x17<\x9a\xe3\xd5 \xbf\x8d\xe8\xeb\x1a\xf2`\x93u\xcf\xb7\x11\x9b\xabz9H\x04\x00\xf5\xebk\x8ep\xd5GK\xdd\xe9#UQ\x912\x10\xc9|\xf4\x1b\xf0\xb8\xa4H\x9b\xfeW\xdd\xdf\xb7~$\xc7\xa8\xeb\xf4\r\xae\xed\xa9\x18}Y\x0b\x93\xad\x079,\xd0G\x91\x95K6\xa2\x02\xbe\xba\xb2\xd2/\xd3\\M\xfbq6\x15\xe8-\xb3\xb3\x12\xaf\t\x08r\x82\xcb\x7f\xc4\x95Wcg:\xe5\x1fx6z\xec\xb3[\xfb\xb6\x0c\xfc\r\xb9\xd3\x98}\xfc\x13\t\x8e\xdf\xb19o\x91\xa6\\\x13\x19o\xf7\xf9X\x0e\x88h\xe0)\xf6\xfc$v\x7f\x14t\xcc\xfc\x1fp\xca\xf41\xb7\x04/\xf5\xebA\xc0\xde\xb3#Ta\xe0\xe4<\xec\xfcIv\xe134\x1c\nV\x05\x14\xca-\xa5=\xe3%f\x1c:\x9c?M\xc3\x83Qi\xfe\xc4\x80\xcd\xaa\xd4\x17\x84\xd2\xcd\x92\xbd\xad\xbf\xf4\xfe\x82\x1b\xf7Gi\xfe \x17\xa4\x9f\x9azc\x95\xadF%\xe1\xae\xba\x90sE.4(\xcd\xe7&\x1d^(Q\xca\xb9\x1b[\xec\x89\xdbV%F\x00\xd8u\xaa<\xea\xd6h\x1d\xc7\x0c<n+\xea\x91\x97+\xa7\xb3\xcev\xb7\x10\xf3\xca\xd6X\xb6\xc8\xd7\x81{F\x7fH\'B\xc8\t\xd5\xcb\x1f\xbb\xb4\xafDCx\xb17\x9a\x00@\xd1\xa0\'\xa0s0?\x87Ge*W\x87\xd2\x07\xf6yXa\xa34y\xeb~>\xf4\x97we[V\xee\x9c\xcc0Q3@\xc1<;\xd6\xe5\x1a\xb3R\xa5\xd2z\x93\xa3K\xff\x86L\x07\xf9\xc3ZzJ\xe7\xe7\x01\x83^[;\xa5=\x0f\x82\x07\x04\xb6}\xf6.p')
fake.md5(raw_output=False)
# '67a226f7633a643ed8c7444555b00616'
fake.sha1(raw_output=False)
# 'a07b42db7604da3005e559beb968c28c80d207f1'
fake.null_boolean()
# True
fake.sha256(raw_output=False)
# 'dc549d83040fa64b6dd4aa852f0c89e8215938533a9f39b3187cb1d067014eac'
fake.uuid4()
# '01e63257-36d5-25a5-a695-dab685095f3a'
fake.language_code()
# u'ti'
fake.boolean(chance_of_getting_true=50)
# False
faker.providers.person
¶
fake.last_name_male()
# u'Boone'
fake.name_female()
# u'Crystal Green'
fake.prefix_male()
# u'Dr.'
fake.prefix()
# u'Mrs.'
fake.name()
# u'Nicholas Dodson'
fake.suffix_female()
# u'MD'
fake.name_male()
# u'Eric Wright'
fake.first_name()
# u'Stephanie'
fake.suffix_male()
# u'DDS'
fake.suffix()
# u'MD'
fake.first_name_male()
# u'Jeremy'
fake.first_name_female()
# u'Michelle'
fake.last_name_female()
# u'Li'
fake.last_name()
# u'Wilson'
fake.prefix_female()
# u'Mrs.'
faker.providers.phone_number
¶
fake.area_code()
# u'2'
fake.msisdn()
# '3070864547599'
fake.phone_number()
# u'60509865'
faker.providers.profile
¶
fake.simple_profile(sex=None)
# { 'address': u'2 Wagner Road\nLatashastad, SA, 2677',
# 'birthdate': datetime.date(1940, 10, 2),
# 'mail': u'edward80@hotmail.com',
# 'name': u'Charles Kramer',
# 'sex': 'M',
# 'username': u'cantrelllisa'}
fake.profile(fields=None, sex=None)
# { 'address': u'6 /\n 681 Long Motorway\nFigueroafurt, WA, 2968',
# 'birthdate': datetime.date(2001, 6, 3),
# 'blood_group': 'B-',
# 'company': u'Wade-Dawson',
# 'current_location': (Decimal('76.3499895'), Decimal('-73.840786')),
# 'job': 'Ceramics designer',
# 'mail': u'aoconnell@hotmail.com.au',
# 'name': u'Brittany Carlson DVM',
# 'residence': u'Flat 30\n 586 Brian Hill\nMelaniebury, WA, 2968',
# 'sex': 'F',
# 'ssn': u'828-77-9965',
# 'username': u'brownjohn',
# 'website': [u'https://www.klein-burton.net.au/']}
faker.providers.python
¶
fake.pyiterable(nb_elements=10, variable_nb_elements=True, *value_types)
# ( u'gmorris@harrison-mcbride.edu.au',
# u'mklkTTbHGhTtWqVnGDkK',
# u'mZDYPKOcbSCGqTsgkFuR',
# 905566693.15677,
# 5067,
# u'https://www.harris-gonzalez.net/about.html',
# u'bakershane@sims.biz',
# datetime.datetime(2014, 2, 1, 2, 42, 1),
# u'fIDAVAkoVxbbOFRXTsHU',
# u'wdNhDCnrbWcplKfWnixr',
# 4734)
fake.pystr(min_chars=None, max_chars=20)
# u'MFEnLXQLAgBLrrOvjRuG'
fake.pystruct(count=10, *value_types)
# ( [ Decimal('-72121.582'),
# u'KDWLWYJRutXNdxPRDbCM',
# Decimal('3.20416212711E+13'),
# 2169599.2,
# u'sKwYfzXmhhGxPzaHqVLM',
# Decimal('-872807079.0'),
# u'nicholas66@hotmail.com.au',
# u'http://osborne-wood.com.au/about/',
# u'https://www.archer-young.net/category.asp',
# u'lMqUKCjXXJmaWFiGWpkX'],
# { u'alias': u'xLFgnElHhAPWDntyEMRz',
# u'architecto': 4074,
# u'delectus': -830030195298.54,
# u'enim': 972,
# u'fugiat': u'http://www.potter-james.edu.au/search/posts/tag/homepage.php',
# u'iure': -47.211968888,
# u'natus': -1.57571322655,
# u'occaecati': 2153595645.0,
# u'quam': u'XcvtrqndTtKrQCdZXPwG',
# u'vel': u'glennhill@yahoo.com.au'},
# { u'beatae': { 4: u'fenNfheGArNprlUPJuGd',
# 5: [ datetime.datetime(2001, 1, 7, 21, 3, 44),
# Decimal('-9344041.0'),
# 597],
# 6: { 4: datetime.datetime(2001, 5, 13, 21, 27, 39),
# 5: u'garzatimothy@andrews.net.au',
# 6: [ -531825141183925.0,
# Decimal('-11342276.73')]}},
# u'consectetur': { 5: 2369,
# 6: [ u'nicoleruiz@weiss.org.au',
# 3876,
# datetime.datetime(1985, 10, 15, 0, 23, 53)],
# 7: { 5: Decimal('-50.9134'),
# 6: u'LojNpnGDsaneTDzloxAS',
# 7: [ -59546089.3065839,
# u'twtfQsDJPyJadprzQDsg']}},
# u'corrupti': { 7: datetime.datetime(1975, 8, 31, 10, 5, 3),
# 8: [ datetime.datetime(1986, 9, 2, 6, 13, 26),
# datetime.datetime(2007, 3, 7, 12, 58, 33),
# 3317],
# 9: { 7: u'EyQlOrorTpGvKQvQvTlQ',
# 8: u'jenkinsjustin@yahoo.com',
# 9: [ u'iyu@case-barnes.info',
# Decimal('78514083.48')]}},
# u'delectus': { 6: u'aguilarmichelle@hotmail.com.au',
# 7: [ u'UhAuumtjXzUyQLhShGbz',
# u'wfhTvwFauTDgmcKBXVmp',
# 24916080155786.0],
# 8: { 6: u'xoqCxeNlFMunPHUkpXnx',
# 7: 6245.2627007,
# 8: [ u'http://hoffman.info/tag/search/',
# u'aZidDkQjGtHwdldvisnz']}},
# u'dignissimos': { 1: 7811,
# 2: [ -1293277017586.3,
# u'mRTevobCLRGqlabpdeRg',
# -8951.90471],
# 3: { 1: u'https://www.wilson.org/register.jsp',
# 2: datetime.datetime(2003, 11, 30, 10, 57, 24),
# 3: [ u'yqwGZwnazUgbLsxmRGuk',
# u'KaaEBrXFZYKKzBvqRoiO']}},
# u'dolore': { 3: u'connie31@yahoo.com',
# 4: [ u'vsCTJQfXVXBPnvtOxGjX',
# u'yzoaHSpcFqgSIFyjWyIO',
# 9194],
# 5: { 3: 9874,
# 4: 4399,
# 5: [9750, u'mRBrkKBeAJeXIPRXawhM']}},
# u'fugit': { 2: datetime.datetime(2003, 9, 26, 13, 21, 38),
# 3: [2281, 5877, Decimal('-49900.513')],
# 4: { 2: u'TWFUZZWNOyrKVgWmspwt',
# 3: u'keqMVCCqnbbdzialrFBq',
# 4: [u'bJAYOOXLDYAJOCaGDXUV', 6323]}},
# u'illum': { 0: u'maurice86@hotmail.com',
# 1: [ u'mYbUCBUinISCyXAKRFNG',
# Decimal('353.60114798'),
# u'fosternathan@wilson.info'],
# 2: { 0: u'cLGUQiKylDEKalWvqfqH',
# 1: u'tsluqQPSPuQmiKEyXcVM',
# 2: [9958, Decimal('-8805.6228')]}},
# u'neque': { 9: u'UiVMXDzVmkoiZTwftkAB',
# 10: [ Decimal('419107.378634'),
# 5948,
# u'http://www.cannon.com/blog/main/tags/home/'],
# 11: { 9: 8059,
# 10: -3791293061.3,
# 11: [ u'anthonyeverett@rodriguez.com',
# u'http://www.martinez.org.au/']}},
# u'veniam': { 8: Decimal('-501716.7213'),
# 9: [ u'https://brewer.info/app/tag/category/terms/',
# datetime.datetime(1983, 6, 2, 14, 27, 55),
# u'vlUJPWoBdHBMxjJeRdPI'],
# 10: { 8: datetime.datetime(2014, 10, 21, 16, 45, 24),
# 9: Decimal('5.54327859612E+13'),
# 10: [ -43848656265296.2,
# Decimal('875119380.0')]}}})
fake.pyfloat(left_digits=None, right_digits=None, positive=False)
# -338.29065650828
fake.pydecimal(left_digits=None, right_digits=None, positive=False)
# Decimal('-725198672198')
fake.pylist(nb_elements=10, variable_nb_elements=True, *value_types)
# [ -307475424042.0,
# 3179,
# Decimal('-4.983'),
# Decimal('-7.47645494757'),
# Decimal('-4.0'),
# u'https://charles.org.au/main/',
# datetime.datetime(1972, 6, 21, 6, 31, 24)]
fake.pytuple(nb_elements=10, variable_nb_elements=True, *value_types)
# ( 353,
# 6014921.7940802,
# u'poVnNsWGggZXzjvOtazt',
# Decimal('58606224907.0'),
# u'gdcpEMxwQZYUZNTuLkey',
# u'https://www.matthews-kerr.biz/register/',
# u'dtyler@gmail.com',
# datetime.datetime(1977, 9, 6, 23, 25, 7),
# 985747518429.62)
fake.pybool()
# True
fake.pyset(nb_elements=10, variable_nb_elements=True, *value_types)
# set([u'oXdGqGHWLyGEAMhxIVCz', datetime.datetime(2000, 12, 19, 9, 21, 43), u'pCxhkKVItYRTdCOUdqRm', 3331, u'vGpYFYjrRqNKCWMcvVrl', u'melissaortiz@morgan-diaz.org.au', u'SMMDknPMCrHYgwfKDKGO', u'michaelblankenship@yahoo.com.au', u'jQTuaaudvaivdVVcArhm', datetime.datetime(1992, 11, 27, 21, 0, 35), 7813166.96716194, u'lqZtFohgMBOQIuLWULcZ', Decimal('3532.3268936')])
fake.pydict(nb_elements=10, variable_nb_elements=True, *value_types)
# { u'facere': u'DaKrFKLFsSLwhgXymgEt',
# u'id': u'IJImpHLgWUfcmsZIbWIM',
# u'iusto': 7060,
# u'nemo': u'ABnyQbLzCQHDqystgUoz',
# u'nihil': datetime.datetime(2012, 3, 18, 23, 58, 31),
# u'perferendis': u'BArdoZwhEYXWsdfCyutQ',
# u'soluta': u'http://www.fernandez-lopez.com.au/faq/',
# u'ullam': 5341}
fake.pyint()
# 5976
faker.providers.ssn
¶
fake.ssn(taxpayer_identification_number_type="SSN")
# u'395-54-4496'
fake.ein()
# u'80-3968285'
fake.itin()
# u'920-77-5782'
faker.providers.user_agent
¶
fake.mac_processor()
# u'U; PPC'
fake.firefox()
# u'Mozilla/5.0 (Windows NT 6.2; az-IN; rv:1.9.0.20) Gecko/2015-08-04 19:21:02 Firefox/3.6.5'
fake.linux_platform_token()
# u'X11; Linux x86_64'
fake.opera()
# u'Opera/9.22.(X11; Linux x86_64; de-LI) Presto/2.9.163 Version/11.00'
fake.windows_platform_token()
# u'Windows 98; Win 9x 4.90'
fake.internet_explorer()
# u'Mozilla/5.0 (compatible; MSIE 8.0; Windows NT 6.2; Trident/5.1)'
fake.user_agent()
# u'Mozilla/5.0 (Windows NT 5.1; sr-RS; rv:1.9.2.20) Gecko/2010-08-22 22:40:45 Firefox/3.6.3'
fake.linux_processor()
# u'i686'
fake.chrome(version_from=13, version_to=63, build_from=800, build_to=899)
# u'Mozilla/5.0 (X11; Linux i686) AppleWebKit/5332 (KHTML, like Gecko) Chrome/26.0.807.0 Safari/5332'
fake.mac_platform_token()
# u'Macintosh; Intel Mac OS X 10_9_6'
fake.safari()
# u'Mozilla/5.0 (iPod; U; CPU iPhone OS 4_1 like Mac OS X; ml-IN) AppleWebKit/534.9.3 (KHTML, like Gecko) Version/3.0.5 Mobile/8B113 Safari/6534.9.3'