Language ar_SA¶
faker.providers.address
¶
fake.longitude()
# Decimal('-111.454548')
fake.building_number()
# u'3703'
fake.street_address()
# u'939 \u0627\u0644\u062e\u0631\u0627\u0641\u064a Mills'
fake.postalcode_plus4()
# u'55733-2578'
fake.city_prefix()
# u'New'
fake.military_ship()
# u'USNS'
fake.city()
# u'\u0628\u0644\u0645\u0627\u0621bury'
fake.zipcode_plus4()
# u'39900-6997'
fake.state_abbr()
# u'OH'
fake.latitude()
# Decimal('13.254709')
fake.street_suffix()
# u'Isle'
fake.city_suffix()
# u'view'
fake.military_dpo()
# u'Unit 4704 Box 4899'
fake.country_code(representation="alpha-2")
# u'SV'
fake.country()
# u'United States Virgin Islands'
fake.secondary_address()
# u'Suite 193'
fake.geo_coordinate(center=None, radius=0.001)
# Decimal('27.885606')
fake.postalcode()
# u'72350'
fake.address()
# u'886 \u0643\u0627\u0646\u0648 Manor\nSouth \u0641\u0627\u064a\u062f, NY 67160-6984'
fake.state()
# u'Florida'
fake.military_state()
# u'AE'
fake.street_name()
# u'\u0646\u0648\u0631\u0647 Spurs'
fake.zipcode()
# u'33787'
fake.postcode()
# u'27874'
fake.military_apo()
# u'PSC 4096, Box 5791'
faker.providers.automotive
¶
fake.license_plate()
# (u'5150 BLV', u'\u0649 \u0644 \u0628 \u0665\u0661\u0665\u0660')
fake.license_plate_en()
# u'6396 DUS'
fake.license_plate_ar()
# u'\u0628 \u0639 \u0644 \u0664\u0668\u0663\u0667'
faker.providers.bank
¶
fake.bban()
# 'SNKW4622574101272'
fake.bank_country()
# 'GB'
fake.iban()
# 'GB76SZVK9062768763196'
faker.providers.barcode
¶
fake.ean(length=13)
# u'1890584679841'
fake.ean13()
# u'4722557626347'
fake.ean8()
# u'99342883'
faker.providers.color
¶
fake.rgb_css_color()
# u'rgb(72,122,225)'
fake.color_name()
# u'PeachPuff'
fake.rgb_color()
# u'226,71,41'
fake.safe_hex_color()
# u'#770000'
fake.safe_color_name()
# u'maroon'
fake.hex_color()
# u'#a89d53'
faker.providers.company
¶
fake.company()
# u'\u0622\u0644 \u0631\u0641\u064a\u0639 PLC'
fake.company_suffix()
# u'PLC'
fake.catch_phrase()
# u'Object-based background info-mediaries'
fake.bs()
# u're-intermediate user-centric portals'
faker.providers.credit_card
¶
fake.credit_card_security_code(card_type=None)
# u'802'
fake.credit_card_provider(card_type=None)
# u'VISA 16 digit'
fake.credit_card_full(card_type=None)
# u'VISA 16 digit\n\u0623\u0631\u0648\u0649 \u0622\u0644 \u062d\u0633\u064a\u0646\n4544795118862606 03/25\nCVC: 625\n'
fake.credit_card_expire(start="now", end="+10y", date_format="%m/%y")
# '09/27'
fake.credit_card_number(card_type=None)
# u'180018486104130'
faker.providers.currency
¶
fake.cryptocurrency_code()
# 'XDN'
fake.currency_code()
# 'NIS'
fake.currency_name()
# 'Cambodian riel'
fake.cryptocurrency_name()
# 'Lisk'
fake.cryptocurrency()
# ('ZCL', 'Zclassic')
fake.currency()
# ('BND', 'Brunei dollar')
faker.providers.date_time
¶
fake.future_datetime(end_date="+30d", tzinfo=None)
# datetime.datetime(2018, 9, 3, 11, 2, 36)
fake.time_series(start_date="-30d", end_date="now", precision=None, distrib=None, tzinfo=None)
# <generator object time_series at 0xf5c67b20>
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(2018, 4, 7, 3, 4, 6)
fake.date_this_decade(before_today=True, after_today=False)
# datetime.date(2011, 2, 10)
fake.date_time_this_month(before_now=True, after_now=False, tzinfo=None)
# datetime.datetime(2018, 8, 15, 10, 4, 22)
fake.past_date(start_date="-30d", tzinfo=None)
# datetime.date(2018, 8, 12)
fake.day_of_week()
# 'Friday'
fake.date_time_this_decade(before_now=True, after_now=False, tzinfo=None)
# datetime.datetime(2011, 7, 21, 20, 22, 45)
fake.date_between(start_date="-30y", end_date="today")
# datetime.date(1993, 6, 21)
fake.date_time_this_century(before_now=True, after_now=False, tzinfo=None)
# datetime.datetime(2000, 8, 22, 5, 14, 35)
fake.date(pattern="%Y-%m-%d", end_datetime=None)
# '1977-03-05'
fake.am_pm()
# 'AM'
fake.date_time_between_dates(datetime_start=None, datetime_end=None, tzinfo=None)
# datetime.datetime(2018, 8, 17, 8, 10, 39)
fake.date_object(end_datetime=None)
# datetime.date(2013, 1, 10)
fake.date_this_year(before_today=True, after_today=False)
# datetime.date(2018, 5, 28)
fake.iso8601(tzinfo=None, end_datetime=None)
# '1985-04-05T09:36:42'
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(2003, 8, 27)
fake.month()
# '11'
fake.year()
# '2010'
fake.day_of_month()
# '11'
fake.unix_time(end_datetime=None, start_datetime=None)
# 589576733
fake.timezone()
# u'Europe/Bratislava'
fake.century()
# u'XI'
fake.date_of_birth(tzinfo=None, minimum_age=0, maximum_age=115)
# datetime.date(1920, 11, 12)
fake.time_object(end_datetime=None)
# datetime.time(5, 49, 17)
fake.date_time_this_year(before_now=True, after_now=False, tzinfo=None)
# datetime.datetime(2018, 2, 24, 12, 46, 13)
fake.date_time(tzinfo=None, end_datetime=None)
# datetime.datetime(1974, 8, 17, 22, 35, 2)
fake.time(pattern="%H:%M:%S", end_datetime=None)
# '17:56:17'
fake.date_this_month(before_today=True, after_today=False)
# datetime.date(2018, 8, 11)
fake.past_datetime(start_date="-30d", tzinfo=None)
# datetime.datetime(2018, 8, 12, 9, 35, 14)
fake.month_name()
# 'November'
fake.date_time_ad(tzinfo=None, end_datetime=None, start_datetime=None)
# datetime.datetime(1258, 6, 19, 4, 53, 18)
fake.time_delta(end_datetime=None)
# datetime.timedelta(13796, 67271)
faker.providers.file
¶
fake.unix_device(prefix=None)
# u'/dev/sdk'
fake.mime_type(category=None)
# u'audio/L24'
fake.file_path(depth=1, category=None, extension=None)
# u'/odit/similique.mp3'
fake.unix_partition(prefix=None)
# u'/dev/sdb4'
fake.file_name(category=None, extension=None)
# u'nam.html'
fake.file_extension(category=None)
# u'mov'
faker.providers.internet
¶
fake.ascii_free_email(*args, **kwargs)
# 'lqylhndy@yahoo.com'
fake.image_url(width=None, height=None)
# u'https://dummyimage.com/368x904'
fake.tld()
# u'com'
fake.email(*args, **kwargs)
# u'yal-jfr@al.com'
fake.url(schemes=None)
# u'http://bw.com/'
fake.ipv4_private(network=False, address_class=None)
# '10.16.120.214'
fake.user_name(*args, **kwargs)
# u'zhral-bn-zfr'
fake.uri_extension()
# u'.htm'
fake.uri_page()
# u'faq'
fake.free_email_domain(*args, **kwargs)
# u'yahoo.com'
fake.safe_email(*args, **kwargs)
# u'yqwthjr@example.org'
fake.ascii_email(*args, **kwargs)
# 'yhy13@hotmail.com'
fake.ipv4_network_class()
# u'a'
fake.ipv4_public(network=False, address_class=None)
# '9.35.136.235'
fake.ascii_company_email(*args, **kwargs)
# 'trysal-hsyn@fsyl.com'
fake.domain_name(*args, **kwargs)
# u'lmshwl-bn.net'
fake.ipv4(network=False, address_class=None, private=None)
# '78.53.93.135'
fake.domain_word(*args, **kwargs)
# u'al'
fake.slug(*args, **kwargs)
# u'pariatur'
fake.uri_path(deep=None)
# u'categories/category'
fake.company_email(*args, **kwargs)
# u'pal-tf@knw-lqyl.org'
fake.uri()
# u'https://www.knw.info/login.html'
fake.ipv6(network=False)
# 'ed38:d27e:3f58:377:e175:81a6:3bf4:1aa3'
fake.free_email(*args, **kwargs)
# u'rstmal-bn-lfy@gmail.com'
fake.ascii_safe_email(*args, **kwargs)
# 'yzyd61@example.com'
fake.mac_address()
# u'cc:26:12:8f:00:0f'
faker.providers.isbn
¶
fake.isbn10(separator="-")
# u'1-03-836078-1'
fake.isbn13(separator="-")
# u'978-1-06-936882-9'
faker.providers.job
¶
fake.job()
# 'Radiographer, therapeutic'
faker.providers.lorem
¶
fake.text(max_nb_chars=200, ext_word_list=None)
# u'Maxime consequatur corporis dicta. Hic quasi expedita sapiente. Aspernatur autem cupiditate vero. Voluptate eligendi aspernatur quam ipsam ipsa.'
fake.paragraphs(nb=3, ext_word_list=None)
# [ u'Minus unde libero nam. Ad modi nam quas et tempora nemo quia. Impedit quos error sed voluptatibus cupiditate ab.',
# u'Veritatis molestias minus libero nihil. Nam dolore minus harum id.',
# u'Aliquid ullam quis. Consequatur iste ducimus.']
fake.words(nb=3, ext_word_list=None)
# [u'eaque', u'quas', u'itaque']
fake.sentences(nb=3, ext_word_list=None)
# [ u'Ipsum placeat cum sapiente dolores eveniet placeat.',
# u'Repellat labore numquam.',
# u'Enim impedit sed velit.']
fake.word(ext_word_list=None)
# u'sint'
fake.paragraph(nb_sentences=3, variable_nb_sentences=True, ext_word_list=None)
# u'Deleniti earum consequuntur nam dolorem eum recusandae illum. Perferendis possimus hic provident repudiandae fugit.'
fake.sentence(nb_words=6, variable_nb_words=True, ext_word_list=None)
# u'A amet earum.'
faker.providers.misc
¶
fake.password(length=10, special_chars=True, digits=True, upper_case=True, lower_case=True)
# u'_1Fzcreb9g'
fake.locale()
# u'gu_IN'
fake.binary(length=1048576)
# bytearray(b'P\t\x95"\x86\x11\x9f\xc4\xe4@\x1d\xbe/k\x89\x01\x9b\xed(\x11-\xce\xeb\x02K{[S\xf5^\xfa\x13\xd1H\xd9\xda\x16\x8eB\xd8\xd9\xec\x0e\xe3\xa4\xea\xe2\xa0\xb8.\x8a,\x95U\xc9\xdc\xa4\xea\x82\xeeK\x16\xf6\x0f\xd6w\xc9&j3h\xc8\xf4\xd3H\xc7\xb5\x00\xf9K\x7fwV\x0e\x1fj&Vq_\xe6_\xcc\xea\xab#M\x84\xd4\xf1J\x9dk\xab\xd1K."\x90\xdd\xc4U\x94\x95\xa7H\x15\x0f\xffw~\xd9\xd9\xa0y\x9ab\x99)\x94\xcd\xb3?\xcd\xa3.zP\xee\xc5\xf2NLP\xbb\x19G[s\x84C\xe3\xfcy\xf0\xc2\xab\xa5&4\xb9\x87\x04V\xaf\x02\x89\x11\xaa!UH\xe7\xe53\x07w[5|T\xc1\xd6Sl+w7\x0e!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xc8\x03\xf9\x1bGr\x8cG\xe2\x0e\xb9\x1b\xc9f\x1f\xca\x8e_A\x87Z\xbdHo+t\xd9]qo\xc3\xf1\xb2\xa1n\xbe\xdb&\xac&\xaa\xe4<\xfb\xdb\x12\x0cq=\xbcQt\x01\x19\x9b\x91\xe1\x1b\xcf\xa0')
fake.md5(raw_output=False)
# '7944d0c44a5e6915db9e590030886e3d'
fake.sha1(raw_output=False)
# 'eee755e6345cd8479e587fc5740fe2d2a2f7e4de'
fake.null_boolean()
# True
fake.sha256(raw_output=False)
# '064bea349b5482b5ec6d5687e37656dd735e2de47113963e58b1b4f24629a772'
fake.uuid4()
# '41125614-1514-8939-70f9-56e72a1b6ad0'
fake.language_code()
# u'bem'
fake.boolean(chance_of_getting_true=50)
# False
faker.providers.person
¶
fake.last_name_male()
# u'\u0622\u0644 \u0635\u0641\u0648\u0627\u0646'
fake.name_female()
# u'\u0627\u0644\u0645\u0647\u0646\u062f\u0633\u0629 \u062a\u0627\u0644\u0627 \u0622\u0644 \u0627\u0644\u0639\u0633\u0643\u0631\u064a'
fake.prefix_male()
# u'\u0627\u0644\u0633\u064a\u062f'
fake.prefix()
# u'\u0627\u0644\u0622\u0646\u0633\u0629'
fake.name()
# u'\u0622\u0644\u0627\u0621 \u0627\u0644\u0645\u0634\u0627\u0648\u0644\u0629'
fake.suffix_female()
# u''
fake.name_male()
# u'\u0627\u0644\u0645\u0647\u0646\u062f\u0633 \u0630\u0631\u064a\u0639 \u0622\u0644 \u0642\u0635\u064a\u0631'
fake.first_name()
# u'\u0639\u0632\u0651\u0627\u0644\u062f\u0651\u064a\u0646'
fake.suffix_male()
# u''
fake.suffix()
# u''
fake.first_name_male()
# u'\u0639\u0628\u062f \u0627\u0644\u0625\u0644\u0647'
fake.first_name_female()
# u'\u0645\u0627\u064a\u0627'
fake.last_name_female()
# u'\u0622\u0644 \u0645\u062d\u0645\u062f \u0628\u0646 \u0639\u0644\u064a \u0628\u0646 \u062c\u0645\u0627\u0632'
fake.last_name()
# u'\u0622\u0644 \u0633\u0639\u0648\u062f'
fake.prefix_female()
# u'\u0627\u0644\u0633\u064a\u062f\u0629'
faker.providers.phone_number
¶
fake.phone_number()
# u'05525299296'
fake.msisdn()
# '4578191022107'
faker.providers.profile
¶
fake.simple_profile(sex=None)
# { 'address': u'53471 \u0622\u0644 \u0633\u0644\u0637\u0627\u0646 Drive Suite 619\nNorth \u0639\u0627\u062a\u0628, IA 63698-9336',
# 'birthdate': datetime.date(1903, 6, 24),
# 'mail': u'vljbr@yahoo.com',
# 'name': u'\u0645\u0627\u064a\u0627 \u0622\u0644 \u0633\u0639\u0648\u062f',
# 'sex': 'F',
# 'username': u'bd-lqdr72'}
fake.profile(fields=None, sex=None)
# { 'address': u'4949 \u062c\u0627\u0633\u0645 Knoll\nWest \u062a\u0645\u0627\u0645, WV 20940',
# 'birthdate': datetime.date(1989, 12, 24),
# 'blood_group': 'B+',
# 'company': u'\u0627\u0644\u0639\u0644\u064a\u0627\u0646-\u0623\u0628\u0648 \u062f\u0627\u0648\u0648\u062f',
# 'current_location': (Decimal('-80.194794'), Decimal('-10.972016')),
# 'job': 'Art gallery manager',
# 'mail': u'rb-lkhyl@hotmail.com',
# 'name': u'\u0644\u0648\u0644\u064a\u0627 \u062d\u062c\u0627\u0631',
# 'residence': u'746 \u0622\u0644 \u0633\u0639\u0648\u062f Extension\n\u0622\u0644 \u0631\u0641\u064a\u0639view, KS 57308-8286',
# 'sex': 'F',
# 'ssn': u'025-05-8260',
# 'username': u'ulmgwl',
# 'website': [u'https://www.ljfly.com/', u'http://www.al.biz/']}
faker.providers.python
¶
fake.pyiterable(nb_elements=10, variable_nb_elements=True, *value_types)
# ( u'vkQgzXdFeyMxdfIPmcUG',
# u'http://mhn.com/',
# u'KhWPqWzEwEavJTRsElTR',
# u'yuwrHWSyCmhNwDbVCCUf',
# u'nJQFEfevOtqUOMeinizD',
# 9682,
# u'https://www.hnbwly-knw.com/faq.asp',
# u'qftWMYrRxPfnZhNDZPkG')
fake.pystr(min_chars=None, max_chars=20)
# u'KMWVxwtEIFYdfKjnQYcG'
fake.pystruct(count=10, *value_types)
# ( [ u'xBZnsFUKAMrrYwmZuGGW',
# u'http://lmshwl.com/',
# u'nsOgNCAFVQqQLgWIvvBU',
# -938651904172781.0,
# u'http://al.com/',
# 8716,
# datetime.datetime(1988, 4, 27, 5, 51, 59),
# u'oknw@al.com',
# u'GPdvNEFvxelNsCQSDLWy',
# u'jNOUxHKqFUuxWoNowKlU'],
# { u'aut': u'cBfpnautfbcWGWEkafmC',
# u'beatae': Decimal('459.1724656'),
# u'delectus': u'ouOnPEFRTYdBZZCvldrQ',
# u'dicta': 4271,
# u'error': u'lyn77@ljbr.com',
# u'ex': 4733,
# u'fugit': 407,
# u'inventore': datetime.datetime(1983, 4, 2, 11, 58, 55),
# u'possimus': u'BGsrnwlvsanzuGaxczTT',
# u'provident': u'VqIPwFLecyYBpsFGYGkE'},
# { u'consequatur': { 2: u'qnMGdxkeXwTKmtJjwUiG',
# 3: [ u'EGgAnSjhrxVwJoVNDtyY',
# u'GEYoAYmNYPLnbXbyygXX',
# u'mrFzNveAXKLFnysgUEJs'],
# 4: { 2: 5,
# 3: Decimal('-3.50226273716E+13'),
# 4: [ u'http://www.al.org/blog/category/terms.html',
# u'OSBuavVOIUWDCTevHLsH']}},
# u'eligendi': { 3: u'MUdTmFEMkElNcIQwoJHl',
# 4: [ 44056218161070.0,
# -91984790.0,
# Decimal('-1.30269275634E+12')],
# 5: { 3: u'DUFNeKJRpnBatfDeZGCi',
# 4: u'http://www.llyn.info/posts/privacy.asp',
# 5: [1636, u'fyOYScbWdfAyJCsNBXNM']}},
# u'exercitationem': { 8: Decimal('-539286510.173'),
# 9: [ 2332,
# datetime.datetime(1984, 8, 7, 23, 1, 17),
# u'diYdjTgaDmHSmOwJpSYd'],
# 10: { 8: u'rGiwaRTsatPbUfQTNPIF',
# 9: 8307,
# 10: [3661, u'iCBKkAYpvrUrYOUcExPG']}},
# u'mollitia': { 5: 9925,
# 6: [ 5206,
# u'yosDdPwfjBNajyHUWrXs',
# u'https://fsyl.com/'],
# 7: { 5: Decimal('77329359.718'),
# 6: 445941426.99239,
# 7: [ u'http://www.al.net/wp-content/list/tag/about/',
# u'https://al.com/category/blog/home/']}},
# u'omnis': { 7: u'jXFfakILHmHCfDHVtVTZ',
# 8: [ Decimal('4.52755177387E+13'),
# u'pBLpuHxCElEbYmsbKMvI',
# u'qWxoHKnXWvAtBbMDIuVD'],
# 9: { 7: u'eivceiqiLnXiIcjsxRSp',
# 8: datetime.datetime(1993, 11, 2, 22, 33, 20),
# 9: [ 178899.778622439,
# Decimal('-5961662.93307')]}},
# u'provident': { 9: u'hiiyhTUdprSaPASjKktD',
# 10: [ 9349,
# u'AXahOzvMrGXMNFRDneAV',
# u'ZieoLMnSvOInrISFApXl'],
# 11: { 9: 7906,
# 10: 7107,
# 11: [3607, u'nsOtVqbaDUoFSTGTAkUZ']}},
# u'rerum': { 4: u'tGlPlvLhupmLzxvDZWhl',
# 5: [ u'http://www.lrshd-lhjr.org/categories/category.php',
# datetime.datetime(2011, 9, 11, 2, 17, 51),
# u'UWJHrOHrpcHvrWkUTUtx'],
# 6: { 4: 912331.87,
# 5: 7.2972198,
# 6: [-6640164.298001, u'bLylAkMaNcKXjeDsCSbq']}},
# u'tempore': { 0: u'fnLYCmziwXrMmzWgJSOl',
# 1: [ u'https://www.lmhn.net/homepage.php',
# u'http://lmhn.com/',
# 2263],
# 2: { 0: Decimal('7.75135096286E+12'),
# 1: u'ixXMSdxvgNyrhpWGLXQZ',
# 2: [ u'PzpXaooYTMPCGJdYdIWc',
# u'kGMvWeFrQUdPknekKwOh']}},
# u'tenetur': { 1: u'wEZgNsVNnvINDnMzjZdC',
# 2: [ 98343382750145.3,
# datetime.datetime(1992, 5, 13, 4, 14, 36),
# Decimal('-4.74281540577E+12')],
# 3: { 1: 5832.71969409,
# 2: 8860,
# 3: [u'lObwJSLxINcQTbFQjVrr', 240410446.4]}},
# u'voluptatum': { 6: u'ELWJtpELLUbvdWBiUktA',
# 7: [ u'http://al.com/category/posts/categories/index/',
# u'YyxoMfPNBpLygWmsokpY',
# Decimal('-134.26709')],
# 8: { 6: u'EkCnbaqTZmGVgDxGytAY',
# 7: 8268,
# 8: [ u'wtmHWVLBifhPsiqCzInK',
# u'ARORjCmyIbELYdOjqrln']}}})
fake.pyfloat(left_digits=None, right_digits=None, positive=False)
# -11961.773195
fake.pydecimal(left_digits=None, right_digits=None, positive=False)
# Decimal('72516028302.2')
fake.pylist(nb_elements=10, variable_nb_elements=True, *value_types)
# [ Decimal('-8.52654707201E+12'),
# 1833,
# 6993,
# u'mATqFkaVijoUNUhJkmaq',
# u'http://al.biz/',
# u'VciatfdfOnGYKqfxoibd',
# datetime.datetime(2006, 7, 24, 4, 35, 23),
# u'faAAYDXuMFhbPvYMEvdT',
# u'https://ljln-al.com/']
fake.pytuple(nb_elements=10, variable_nb_elements=True, *value_types)
# ( u'xMZvyAoVtyESSUQRnEKJ',
# datetime.datetime(1976, 2, 24, 23, 37, 32),
# datetime.datetime(2010, 1, 6, 11, 4, 27),
# 5506271104734.1,
# u'pjuPoGhtkSnPKSvdWjZj',
# 5562,
# 9655.546833)
fake.pybool()
# True
fake.pyset(nb_elements=10, variable_nb_elements=True, *value_types)
# set([3042, u'http://al.biz/terms.html', u'blkhrfy@al.org', u'hnbwlynwwr@fsyl.biz', u'hlshy@al.net', u'jQREoMBqqSGVtIYWtNeK', Decimal('3.6124253474E+14'), 7165, u'knGVDNwYXKATMLevVKhN', -728750330786.78, 3257, u'JZuikgTYZBlTklgWPGaB', u'rFqXZQRYJyoHFQdCupyt', 2430])
fake.pydict(nb_elements=10, variable_nb_elements=True, *value_types)
# { u'cupiditate': u'http://lkhrfy.biz/',
# u'debitis': 6583,
# u'mollitia': u'aewBkmWiPQxjqxSLIKhZ',
# u'nihil': u'YhPpKTGiSefBKLVpAPBL',
# u'quas': u'hzQMJlAemjgWvJGuZCFk',
# u'vel': u'TOtSjIwmRUhzbDqXJbUe',
# u'veritatis': datetime.datetime(2013, 3, 29, 11, 7, 19)}
fake.pyint()
# 471
faker.providers.ssn
¶
fake.ssn(taxpayer_identification_number_type="SSN")
# u'817-13-8409'
fake.ein()
# u'45-8310062'
fake.itin()
# u'998-80-1876'
faker.providers.user_agent
¶
fake.mac_processor()
# u'Intel'
fake.firefox()
# u'Mozilla/5.0 (X11; Linux x86_64; rv:1.9.7.20) Gecko/2013-02-13 18:56:12 Firefox/3.8'
fake.linux_platform_token()
# u'X11; Linux x86_64'
fake.opera()
# u'Opera/9.84.(Windows 98; Win 9x 4.90; tr-CY) Presto/2.9.163 Version/10.00'
fake.windows_platform_token()
# u'Windows NT 6.2'
fake.internet_explorer()
# u'Mozilla/5.0 (compatible; MSIE 6.0; Windows 98; Win 9x 4.90; Trident/3.1)'
fake.user_agent()
# u'Mozilla/5.0 (Windows 98; Win 9x 4.90; sw-TZ; rv:1.9.1.20) Gecko/2011-06-02 06:43:51 Firefox/3.8'
fake.linux_processor()
# u'i686'
fake.chrome(version_from=13, version_to=63, build_from=800, build_to=899)
# u'Mozilla/5.0 (Windows NT 6.1) AppleWebKit/5312 (KHTML, like Gecko) Chrome/45.0.812.0 Safari/5312'
fake.mac_platform_token()
# u'Macintosh; PPC Mac OS X 10_6_4'
fake.safari()
# u'Mozilla/5.0 (iPod; U; CPU iPhone OS 4_1 like Mac OS X; az-AZ) AppleWebKit/532.17.5 (KHTML, like Gecko) Version/3.0.5 Mobile/8B115 Safari/6532.17.5'