Language ar_PS¶
faker.providers.address
¶
fake.longitude()
# Decimal('-147.601564')
fake.building_number()
# u'33089'
fake.street_address()
# u'6340 \u0627\u0644\u0646\u0634\u0627\u0634\u064a\u0628\u064a Skyway'
fake.postalcode_plus4()
# u'02192-6620'
fake.city_prefix()
# u'South'
fake.military_ship()
# u'USNV'
fake.city()
# u'\u0628\u062f\u0631land'
fake.zipcode_plus4()
# u'93295-6088'
fake.state_abbr()
# u'TX'
fake.latitude()
# Decimal('61.429145')
fake.street_suffix()
# u'Viaduct'
fake.city_suffix()
# u'view'
fake.military_dpo()
# u'Unit 4245 Box 0539'
fake.country_code(representation="alpha-2")
# u'+970'
fake.country()
# u'Liechtenstein'
fake.secondary_address()
# u'Apt. 825'
fake.geo_coordinate(center=None, radius=0.001)
# Decimal('-153.489053')
fake.postalcode()
# u'75799'
fake.address()
# u'46298 \u0628\u062f\u0631 Alley\nWest \u0642\u0635\u064a, PA 70479-6097'
fake.state()
# u'Pennsylvania'
fake.military_state()
# u'AE'
fake.street_name()
# u'\u0637\u0648\u0642\u0627\u0646 Plaza'
fake.zipcode()
# u'20051'
fake.postcode()
# u'28287'
fake.military_apo()
# u'PSC 7849, Box 9586'
faker.providers.automotive
¶
fake.license_plate()
# u'8-2799-77'
fake.district()
# u'1'
faker.providers.bank
¶
fake.bban()
# 'DLRF0664294926061'
fake.bank_country()
# 'GB'
fake.iban()
# 'GB34HHEP2193796011231'
faker.providers.barcode
¶
fake.ean(length=13)
# u'0352288482215'
fake.ean13()
# u'1117389859811'
fake.ean8()
# u'45349997'
faker.providers.color
¶
fake.rgb_css_color()
# u'rgb(113,83,161)'
fake.color_name()
# u'\u0644\u0648\u0632\u064a'
fake.rgb_color()
# u'72,163,132'
fake.safe_hex_color()
# u'#ddaa00'
fake.safe_color_name()
# u'\u0623\u0632\u0631\u0642'
fake.hex_color()
# u'#1ca912'
faker.providers.company
¶
fake.company()
# u'\u062a\u0631\u0627\u0628\u064a\u0646-\u0627\u0644\u0625\u063a\u0628\u0627\u0631\u064a'
fake.company_suffix()
# u'Group'
fake.catch_phrase()
# u'Customizable non-volatile open system'
fake.bs()
# u'transition integrated paradigms'
faker.providers.credit_card
¶
fake.credit_card_security_code(card_type=None)
# u'430'
fake.credit_card_provider(card_type=None)
# u'Diners Club / Carte Blanche'
fake.credit_card_full(card_type=None)
# u'Discover\n\u0639\u0631\u0628\u064a \u0647\u0627\u0634\u0645\n6011608288481744 07/22\nCVC: 314\n'
fake.credit_card_expire(start="now", end="+10y", date_format="%m/%y")
# '09/24'
fake.credit_card_number(card_type=None)
# u'4146134124620661'
faker.providers.currency
¶
fake.cryptocurrency_code()
# 'MSC'
fake.currency_code()
# 'KGS'
fake.currency_name()
# 'Netherlands Antillean guilder'
fake.cryptocurrency_name()
# 'Litecoin'
fake.cryptocurrency()
# ('LTC', 'Litecoin')
fake.currency()
# ('PKR', 'Pakistani rupee')
faker.providers.date_time
¶
fake.future_datetime(end_date="+30d", tzinfo=None)
# datetime.datetime(2018, 9, 7, 7, 4, 57)
fake.time_series(start_date="-30d", end_date="now", precision=None, distrib=None, tzinfo=None)
# <generator object time_series at 0x7f6bca24a5f0>
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(1994, 3, 1, 14, 52, 32)
fake.date_this_decade(before_today=True, after_today=False)
# datetime.date(2015, 11, 23)
fake.date_time_this_month(before_now=True, after_now=False, tzinfo=None)
# datetime.datetime(2018, 8, 13, 8, 41, 23)
fake.past_date(start_date="-30d", tzinfo=None)
# datetime.date(2018, 7, 28)
fake.day_of_week()
# 'Sunday'
fake.date_time_this_decade(before_now=True, after_now=False, tzinfo=None)
# datetime.datetime(2010, 11, 20, 1, 0, 40)
fake.date_between(start_date="-30y", end_date="today")
# datetime.date(1998, 7, 23)
fake.date_time_this_century(before_now=True, after_now=False, tzinfo=None)
# datetime.datetime(2006, 11, 23, 18, 19, 28)
fake.date(pattern="%Y-%m-%d", end_datetime=None)
# '1971-08-17'
fake.am_pm()
# 'AM'
fake.date_time_between_dates(datetime_start=None, datetime_end=None, tzinfo=None)
# datetime.datetime(2018, 8, 16, 9, 28, 13)
fake.date_object(end_datetime=None)
# datetime.date(2007, 8, 5)
fake.date_this_year(before_today=True, after_today=False)
# datetime.date(2018, 5, 13)
fake.iso8601(tzinfo=None, end_datetime=None)
# '1998-02-26T14:22:14'
fake.future_date(end_date="+30d", tzinfo=None)
# datetime.date(2018, 9, 12)
fake.date_this_century(before_today=True, after_today=False)
# datetime.date(2012, 7, 17)
fake.month()
# '11'
fake.year()
# '1984'
fake.day_of_month()
# '04'
fake.unix_time(end_datetime=None, start_datetime=None)
# 1347148617
fake.timezone()
# u'Pacific/Ponape'
fake.century()
# u'VI'
fake.date_of_birth(tzinfo=None, minimum_age=0, maximum_age=115)
# datetime.date(1960, 7, 11)
fake.time_object(end_datetime=None)
# datetime.time(7, 6, 15)
fake.date_time_this_year(before_now=True, after_now=False, tzinfo=None)
# datetime.datetime(2018, 6, 20, 4, 44, 30)
fake.date_time(tzinfo=None, end_datetime=None)
# datetime.datetime(1998, 3, 15, 19, 25, 13)
fake.time(pattern="%H:%M:%S", end_datetime=None)
# '08:06:50'
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, 7, 15, 12, 36)
fake.month_name()
# 'May'
fake.date_time_ad(tzinfo=None, end_datetime=None, start_datetime=None)
# datetime.datetime(539, 10, 8, 23, 52, 29)
fake.time_delta(end_datetime=None)
# datetime.timedelta(15098, 64673)
faker.providers.file
¶
fake.unix_device(prefix=None)
# u'/dev/sdg'
fake.mime_type(category=None)
# u'audio/ogg'
fake.file_path(depth=1, category=None, extension=None)
# u'/esse/delectus.mp4'
fake.unix_partition(prefix=None)
# u'/dev/sdx8'
fake.file_name(category=None, extension=None)
# u'aliquam.js'
fake.file_extension(category=None)
# u'mp4'
faker.providers.internet
¶
fake.ascii_free_email(*args, **kwargs)
# 'mhnwdlslhy@gmail.com'
fake.image_url(width=None, height=None)
# u'https://dummyimage.com/193x7'
fake.tld()
# u'com'
fake.email(*args, **kwargs)
# u'vlzydny@hotmail.com'
fake.url(schemes=None)
# u'https://www.qrd-jrr.com/'
fake.ipv4_private(network=False, address_class=None)
# '192.168.223.60'
fake.user_name(*args, **kwargs)
# u'thmn19'
fake.uri_extension()
# u'.asp'
fake.uri_page()
# u'register'
fake.free_email_domain(*args, **kwargs)
# u'hotmail.com'
fake.safe_email(*args, **kwargs)
# u'lkhmshzyd@example.org'
fake.ascii_email(*args, **kwargs)
# 'nzmyslyb@gmail.com'
fake.ipv4_network_class()
# u'c'
fake.ipv4_public(network=False, address_class=None)
# '198.49.116.105'
fake.ascii_company_email(*args, **kwargs)
# 'cshhyn@lkhmsh.com'
fake.domain_name(*args, **kwargs)
# u'bdr.net'
fake.ipv4(network=False, address_class=None, private=None)
# '101.133.31.146'
fake.domain_word(*args, **kwargs)
# u'ldgm'
fake.slug(*args, **kwargs)
# u'modi-maiores'
fake.uri_path(deep=None)
# u'wp-content/explore'
fake.company_email(*args, **kwargs)
# u'lnshshybyfwd@hshm.com'
fake.uri()
# u'http://www.lkhmsh.com/login/'
fake.ipv6(network=False)
# '2f91:ae97:b9df:ced9:98fb:66f9:f95:a1f'
fake.free_email(*args, **kwargs)
# u'dntrbyn@yahoo.com'
fake.ascii_safe_email(*args, **kwargs)
# 'zlkhyt@example.net'
fake.mac_address()
# u'4d:ec:1b:34:c7:4b'
faker.providers.isbn
¶
fake.isbn10(separator="-")
# u'0-285-44079-9'
fake.isbn13(separator="-")
# u'978-0-9850013-3-9'
faker.providers.job
¶
fake.job()
# 'Leisure centre manager'
faker.providers.lorem
¶
fake.text(max_nb_chars=200, ext_word_list=None)
# u'Ab iure laboriosam. Error voluptatibus doloremque cumque quasi fugit repudiandae. Dolorem rerum impedit hic tempora incidunt doloribus odio.\nProvident quam voluptatibus quas.'
fake.paragraphs(nb=3, ext_word_list=None)
# [ u'Maiores molestias aut ullam rem. Velit sit earum sint quam nemo velit placeat. Consequatur dolores sequi similique provident ex tempora sint.',
# u'Ea a expedita nisi fugit. Vitae voluptates itaque.',
# u'Assumenda iure voluptatem. Voluptatum quidem aperiam quisquam alias minima ipsa numquam.']
fake.words(nb=3, ext_word_list=None)
# [u'pariatur', u'sequi', u'repudiandae']
fake.sentences(nb=3, ext_word_list=None)
# [ u'Odit possimus maiores tempora aut voluptatibus.',
# u'Officiis molestiae illum sint architecto ad ullam quo.',
# u'Odit reiciendis eaque odio iure quas nam eligendi.']
fake.word(ext_word_list=None)
# u'repellat'
fake.paragraph(nb_sentences=3, variable_nb_sentences=True, ext_word_list=None)
# u'Reprehenderit nam velit iste repellat minima fugit. Exercitationem eligendi ducimus sunt quam.'
fake.sentence(nb_words=6, variable_nb_words=True, ext_word_list=None)
# u'Repellendus doloribus commodi porro.'
faker.providers.misc
¶
fake.password(length=10, special_chars=True, digits=True, upper_case=True, lower_case=True)
# u'^+W6uBOoR('
fake.locale()
# u'ha_NG'
fake.binary(length=1048576)
# bytearray(b'w\xb5\xeb&L!~9d\xd6\x8d\xb8\xbb\x9c"2\xef\xb36k-\xf0\x03\xdeiE\x8d\xf4\x8bk\x8b \xab\x8c\xa4\x0f\x9d\x9cn\xaf\xddR\x01\x89\x1b\xacw\xf5W\xd40\xdfr\xe9\xc7\xb5\xc7\x89\xa0\xd5\x13u\x19\xfeG\t\xbfb\xa8lD\xa0R\x99zM\xea\x1f\x1e\xc7\xa2]\'\x10\x95\x9b\xd3^6\xd7V\x08\xc4\x0bZ$\xa3c\xe2\x16\x95\xca\xa4\xeb8\xe8\x18*\xe9]\x97\xddX\xb2\x1e\x812\xb8^\x87\xabO\xe8\x070x\xf6\x06\xb4\xf4\xb7\x96u\x04\x15\x93D\xb3\x8c\xc9d\xf2\xed\xef8\xde\x15\xa5H\x9c\x87y\x12\x0fX\x1c{"\xdfZ\xc7{\xe9\xa2\xc1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x9a\xd2\xc2\xeb\xb6a\r\xfe1\x08\x98\xa9\xfa\x97\xa9,\x96\xa2m\xf8^\x15_\xb0h\xb0\xbb\x1b\xf5y\x0f|\xda\xe8W]S\xa4\xfd\xdc\xf4\x0b\x1dV\xd0\xb1B\xc7\x1c4\x1b\n\n\xf7\xfa\x01\xdd\xd6\xf7\x10\x1b\x8e-\x98')
fake.md5(raw_output=False)
# 'a5ef4d52e2837ada140fed27f81ec5f2'
fake.sha1(raw_output=False)
# '1080da972285833ea41c80676b38bce9f41743f4'
fake.null_boolean()
# True
fake.sha256(raw_output=False)
# 'bc5db03c9e2e34cdf95c0b10574b517f39d44b3c42bc010a0c1c2d3aa9784dac'
fake.uuid4()
# '76543a55-c092-09fa-5041-fd69b4df0487'
fake.language_code()
# u'tn'
fake.boolean(chance_of_getting_true=50)
# True
faker.providers.person
¶
fake.last_name_male()
# u'\u0627\u0644\u0633\u0643\u0627\u0643\u064a\u0646\u064a'
fake.name_female()
# u'\u0627\u0644\u0622\u0646\u0633\u0629 \u0628\u0647\u064a\u0629 \u0637\u0648\u0642\u0627\u0646'
fake.prefix_male()
# u'\u0627\u0644\u0633\u064a\u062f'
fake.prefix()
# u'\u0627\u0644\u0633\u064a\u062f'
fake.name()
# u'\u063a\u0627\u0645\u062f \u0646\u0633\u064a\u0628\u0629'
fake.suffix_female()
# u''
fake.name_male()
# u'\u0644\u0642\u0645\u0627\u0646 \u0627\u0644\u062e\u0645\u0627\u0634'
fake.first_name()
# u'\u0639\u0632\u0645\u064a'
fake.suffix_male()
# u''
fake.suffix()
# u''
fake.first_name_male()
# u'\u0645\u0634\u0641\u0642'
fake.first_name_female()
# u'\u0632\u0647\u0631\u0629'
fake.last_name_female()
# u'\u0623\u0628\u0648 \u0642\u0645\u0631'
fake.last_name()
# u'\u0645\u0631\u0645\u0634'
fake.prefix_female()
# u'\u0627\u0644\u0645\u0647\u0646\u062f\u0633\u0629'
faker.providers.phone_number
¶
fake.phone_number()
# u'022946410'
fake.cellphone_number()
# u'059 141 4044'
fake.service_phone_number()
# u'101'
fake.msisdn()
# '3406372484796'
fake.toll_number()
# u'1-800-146-828'
fake.telephone_number()
# u'00970 8 209 6585'
fake.provider_code()
# u'56'
faker.providers.profile
¶
fake.simple_profile(sex=None)
# { 'address': u'1157 \u0634\u0627\u0637\u0631 Shoal Apt. 399\nNew \u0645\u0634\u0631\u0642, MO 20847',
# 'birthdate': datetime.date(2008, 11, 8),
# 'mail': u'lbrgwthyqys@gmail.com',
# 'name': u'\u0627\u0644\u0623\u0633\u062a\u0627\u0630\u0629 \u062c\u0648\u0644\u064a\u0627 \u0645\u0647\u064a\u0627\u0631',
# 'sex': 'F',
# 'username': u'lm35'}
fake.profile(fields=None, sex=None)
# { 'address': u'1085 \u0627\u0644\u0625\u063a\u0628\u0627\u0631\u064a Stravenue Apt. 218\n\u0634\u0647\u0628haven, CO 64506',
# 'birthdate': datetime.date(2013, 4, 17),
# 'blood_group': 'AB-',
# 'company': u'\u0642\u0631\u0627\u062f\u0629 and Sons',
# 'current_location': (Decimal('88.132918'), Decimal('-119.261939')),
# 'job': 'Astronomer',
# 'mail': u'bd-lmhyy05@gmail.com',
# 'name': u'\u0645\u064a\u0633\u0648\u0646 \u062d\u0645\u0627\u0645\u064a',
# 'residence': u'030 \u062e\u0648\u0631\u064a Circle\nLake \u064a\u0627\u0633\u0631, SD 38962',
# 'sex': 'F',
# 'ssn': u'024-54-4887',
# 'username': u'bd-lhyw25',
# 'website': [ u'http://twqn.com/',
# u'https://dlsh-ltrkmn.com/',
# u'https://www.bw.net/']}
faker.providers.python
¶
fake.pyiterable(nb_elements=10, variable_nb_elements=True, *value_types)
# set([datetime.datetime(1996, 3, 2, 7, 31, 29), datetime.datetime(1974, 9, 25, 5, 24, 46), datetime.datetime(1998, 8, 25, 8, 34, 2), u'https://ltrkmn.com/homepage.php', u'http://www.dgmsh.net/tags/categories/search/terms.html', u'yaUTjfEczLkfbWDcYuqN', u'irQHTsIakaXziPadDkoe', datetime.datetime(2004, 10, 13, 15, 33, 28), datetime.datetime(2015, 3, 24, 15, 22, 11), 7574, 8570, u'pjuolrEaPSHTiNaniDQV', u'CgXwwqvooWUeUCnQDeSq'])
fake.pystr(min_chars=None, max_chars=20)
# u'hvDqnSKqqeHyqwiJihet'
fake.pystruct(count=10, *value_types)
# ( [ u'dbdbyxzkzjefbBSywqnb',
# u'nljnydy@lslhy.info',
# u'hMaKjDboPqfooUqoHogn',
# 341,
# u'qnDsfsfgtXcSmgVIpbzY',
# 8984,
# Decimal('-86780209.7867'),
# u'yRZQsnyjYHFGmOBmTHZk',
# 9587,
# u'ZlWjENQjXYnmcPkgqyKs'],
# { u'dolore': u'lkhznyn@yahoo.com',
# u'eos': 8648,
# u'hic': u'http://www.ftyr.com/author/',
# u'id': u'CCnenZSbKUtpNbYhBxdJ',
# u'laudantium': 4910,
# u'praesentium': u'iqbUoPEHLUIujcFnMFyX',
# u'provident': u'iFTwSbPTqBxopXTlijau',
# u'qui': u'lm94@styty-lgbry.com',
# u'repudiandae': u'https://lhsyny.com/tags/login/',
# u'voluptates': 6844},
# { u'animi': { 1: u'sRNUccuiPWdhJbAjURKC',
# 2: [3061, u'rrJOHkTLmbitXpprnluD', 83638372.4],
# 3: { 1: u'lJuwdKqseOhShKAAvVpD',
# 2: datetime.datetime(2005, 11, 20, 3, 25, 45),
# 3: [ u'khlyl55@styty.com',
# datetime.datetime(1983, 1, 16, 15, 8, 22)]}},
# u'blanditiis': { 2: u'KWZNeqGyLbFQboQTlLzQ',
# 3: [ u'fr31@hshm.info',
# u'GcyIAdRZSKSJLotoWboj',
# u'ObIOmyOufeYhZGFTJUme'],
# 4: { 2: datetime.datetime(2011, 3, 20, 22, 12, 15),
# 3: u'https://www.dlsh.com/tags/privacy/',
# 4: [ Decimal('888289119.64'),
# datetime.datetime(2003, 5, 5, 20, 55, 3)]}},
# u'doloremque': { 4: 900,
# 5: [ -6918.74045266,
# u'XePHiyblsLHJsqMunAnw',
# 5827],
# 6: { 4: datetime.datetime(1991, 5, 8, 0, 55, 33),
# 5: u'hcqCKTryLkZBbkNHVgQy',
# 6: [ u'MNWSvUSDHmWzzExAMmKp',
# u'http://www.bdr.com/search/']}},
# u'eius': { 3: u'ZSijZcrZTwKWyVjjomXb',
# 4: [ u'ltwf45@lnnysh-hmmy.com',
# u'KxRkgQndcLPJSsNHDMaO',
# u'atEsJCBySkslAzTcfoAx'],
# 5: { 3: datetime.datetime(1999, 4, 22, 6, 49, 27),
# 4: u'sbhy72@yahoo.com',
# 5: [7663, 1384]}},
# u'enim': { 8: u'UNAXdEreGIPEksuqELDx',
# 9: [ 9381,
# u'https://bdr.info/terms/',
# u'HLoBVZmWAUTtCuzjhNag'],
# 10: { 8: u'http://styty.com/home.htm',
# 9: u'ckburUWwzbTjJIypwwVN',
# 10: [ u'KTFeJFdgHUbgFHVfHFCc',
# u'http://mrmsh.net/']}},
# u'exercitationem': { 9: u'CJDogymsLkjAfFxnNHFd',
# 10: [ 8544,
# 381390433958.86,
# u'FBDYmgPKdwYPKZPRCzif'],
# 11: { 9: 6638736.1647,
# 10: u'AoEOjTDZUHOBMUfTuWly',
# 11: [ u'IhuOcfpbBRIvghpzIccj',
# u'XrbgDnWwngMVQUqKhaBX']}},
# u'iure': { 5: datetime.datetime(1980, 2, 19, 20, 33, 22),
# 6: [ datetime.datetime(2006, 7, 11, 6, 31, 44),
# u'rdgmsh@lnnysh.com',
# datetime.datetime(1989, 9, 6, 2, 9, 59)],
# 7: { 5: u'fthdlsh@gmail.com',
# 6: u'http://www.lhnbly.com/faq.php',
# 7: [ u'bkwdaTRtExWgLmawNTgG',
# Decimal('-118042.508405')]}},
# u'libero': { 6: Decimal('-2.0'),
# 7: [ u'ybyCmhZExDCZbMRjwcQe',
# 3641,
# u'BUGlblXmmToBjkhhiaCp'],
# 8: { 6: u'qMOPAsDvdiVlHxqWCVWx',
# 7: u'WdhAslSZRRpKpzSXddBW',
# 8: [ 12708.1981191,
# u'https://bw.com/register/']}},
# u'neque': { 0: 2316,
# 1: [ u'uQRzseczhKpRYccCTUCw',
# 2535,
# u'kwthrhws@ftyr.info'],
# 2: { 0: Decimal('-62165913.2486'),
# 1: -243396.454,
# 2: [6563, u'ZvmkROelhWAdubVKwxEA']}},
# u'officia': { 7: u'https://lhsyny-mrmsh.info/tags/category/homepage.asp',
# 8: [ u'https://ltmymy-lnnysh.com/blog/tag/category/category.html',
# u'jzrhywn@gmail.com',
# u'NCvcTcxtuIylJEmgdAGT'],
# 9: { 7: u'http://www.lzydny-ltmymy.net/blog/category/register/',
# 8: Decimal('-408297503.1'),
# 9: [ Decimal('-998.14141'),
# u'JXkVyUedtPSkanpzweKn']}}})
fake.pyfloat(left_digits=None, right_digits=None, positive=False)
# -79450355330.912
fake.pydecimal(left_digits=None, right_digits=None, positive=False)
# Decimal('59892243.0')
fake.pylist(nb_elements=10, variable_nb_elements=True, *value_types)
# [ u'ooLiWKQekBWiUHiOXLku',
# 1579,
# u'NSaiolsRvdXLgiugJAYr',
# u'shkybbw-glywn@lzytwy.org',
# u'ppEHUUXDzxMicLaHdyxJ',
# u'ORDzmqJuohrZneRAtHgJ',
# u'https://mhyr.net/search/',
# 1745,
# u'https://www.ldgm.biz/wp-content/blog/tags/author.htm',
# datetime.datetime(1970, 10, 25, 19, 35, 25)]
fake.pytuple(nb_elements=10, variable_nb_elements=True, *value_types)
# ( u'https://www.lslhy.com/',
# datetime.datetime(2014, 7, 12, 8, 57, 41),
# u'http://www.ltrkmn.com/search.jsp',
# datetime.datetime(2001, 11, 2, 6, 25, 7),
# u'GTeHRJQdWbILlwgdGIgf',
# u'UbzyVvKOzehwcPeaHxFn',
# u'SfDaJYbBUIZHGJLGOFKw',
# u'YycEcVoIbcVZChnTEDtg',
# 3063,
# u'https://www.lzydny.com/terms/',
# u'atwqn@slyb.com')
fake.pybool()
# False
fake.pyset(nb_elements=10, variable_nb_elements=True, *value_types)
# set([datetime.datetime(2015, 7, 9, 12, 9, 41), Decimal('1306.7'), datetime.datetime(2008, 1, 30, 13, 10, 50), u'hIJcRoQpsZPCUyjWtmzC', u'ltrkmnshr@gmail.com', 7930, u'hcnTgPMglvJHPgkrSScu'])
fake.pydict(nb_elements=10, variable_nb_elements=True, *value_types)
# { u'atque': -2763700122917.0,
# u'beatae': u'CvZcBBJfJLUFuFzAoHVB',
# u'earum': u'lUlSZvfkHaZEzFAQxltj',
# u'illo': datetime.datetime(1992, 10, 10, 20, 56, 25),
# u'minus': 8902,
# u'placeat': -634830647.2,
# u'quae': -6814.53114215763,
# u'tempore': u'GeGlWNtQfciAqsBuDJnA',
# u'veniam': -3.0,
# u'vitae': 52.1913117612}
fake.pyint()
# 5116
faker.providers.ssn
¶
fake.ssn(taxpayer_identification_number_type="SSN")
# u'403-77-1860'
fake.ein()
# u'68-7283636'
fake.itin()
# u'911-73-9460'
faker.providers.user_agent
¶
fake.mac_processor()
# u'PPC'
fake.firefox()
# u'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_6_3; rv:1.9.5.20) Gecko/2017-02-16 01:16:17 Firefox/3.8'
fake.linux_platform_token()
# u'X11; Linux x86_64'
fake.opera()
# u'Opera/9.42.(X11; Linux i686; zu-ZA) Presto/2.9.187 Version/11.00'
fake.windows_platform_token()
# u'Windows NT 5.2'
fake.internet_explorer()
# u'Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; Trident/4.0)'
fake.user_agent()
# u'Mozilla/5.0 (Windows NT 5.2) AppleWebKit/5340 (KHTML, like Gecko) Chrome/62.0.807.0 Safari/5340'
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 CE) AppleWebKit/5342 (KHTML, like Gecko) Chrome/53.0.839.0 Safari/5342'
fake.mac_platform_token()
# u'Macintosh; U; PPC Mac OS X 10_8_1'
fake.safari()
# u'Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_7_2 rv:4.0; ti-ET) AppleWebKit/533.29.1 (KHTML, like Gecko) Version/5.0 Safari/533.29.1'