Language en_US¶
faker.providers.address
¶
fake.longitude()
# Decimal('-99.620844')
fake.building_number()
# u'632'
fake.street_address()
# u'076 Davis Tunnel'
fake.postalcode_plus4()
# u'94284-9033'
fake.city_prefix()
# u'North'
fake.military_ship()
# u'USS'
fake.city()
# u'Tonyborough'
fake.zipcode_plus4()
# u'75246-7190'
fake.state_abbr()
# u'FL'
fake.latitude()
# Decimal('-78.1909215')
fake.street_suffix()
# u'Common'
fake.city_suffix()
# u'ville'
fake.military_dpo()
# u'Unit 8959 Box 3496'
fake.country_code(representation="alpha-2")
# u'FR'
fake.country()
# u'South Georgia and the South Sandwich Islands'
fake.secondary_address()
# u'Suite 965'
fake.geo_coordinate(center=None, radius=0.001)
# Decimal('-26.040357')
fake.postalcode()
# u'87425'
fake.address()
# u'25683 Samantha Mission Apt. 574\nWilliamsonshire, AK 17655'
fake.state()
# u'Minnesota'
fake.military_state()
# u'AA'
fake.street_name()
# u'Thompson Fall'
fake.zipcode()
# u'38240'
fake.postcode()
# u'04852-1448'
fake.military_apo()
# u'PSC 4262, Box 5615'
faker.providers.automotive
¶
fake.license_plate()
# u'235-ONC2AK 455'
faker.providers.bank
¶
fake.bban()
# 'UVAF7249068669027'
fake.bank_country()
# 'GB'
fake.iban()
# 'GB24CNFE5873413918601'
faker.providers.barcode
¶
fake.ean(length=13)
# u'8152786641181'
fake.ean13()
# u'4907247666005'
fake.ean8()
# u'69082238'
faker.providers.color
¶
fake.rgb_css_color()
# u'rgb(49,68,201)'
fake.color_name()
# u'White'
fake.rgb_color()
# u'20,73,218'
fake.safe_hex_color()
# u'#eeff00'
fake.safe_color_name()
# u'yellow'
fake.hex_color()
# u'#230cf0'
faker.providers.company
¶
fake.company()
# u'Hines PLC'
fake.company_suffix()
# u'and Sons'
fake.catch_phrase()
# u'Persevering scalable archive'
fake.bs()
# u'strategize out-of-the-box users'
faker.providers.credit_card
¶
fake.credit_card_security_code(card_type=None)
# u'752'
fake.credit_card_provider(card_type=None)
# u'JCB 16 digit'
fake.credit_card_full(card_type=None)
# u'JCB 16 digit\nTammy Rocha\n3585561731577548 03/21\nCVC: 266\n'
fake.credit_card_expire(start="now", end="+10y", date_format="%m/%y")
# '04/28'
fake.credit_card_number(card_type=None)
# u'2221014467071155'
faker.providers.currency
¶
fake.cryptocurrency_code()
# 'NEO'
fake.currency_code()
# 'TJS'
fake.currency_name()
# 'Bermudian dollar'
fake.cryptocurrency_name()
# 'Feathercoin'
fake.cryptocurrency()
# ('POT', 'PotCoin')
fake.currency()
# ('USD', 'United States dollar')
faker.providers.date_time
¶
fake.future_datetime(end_date="+30d", tzinfo=None)
# datetime.datetime(2018, 8, 27, 20, 38, 28)
fake.time_series(start_date="-30d", end_date="now", precision=None, distrib=None, tzinfo=None)
# <generator object time_series at 0xf5d5039c>
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(1997, 2, 19, 15, 27, 24)
fake.date_this_decade(before_today=True, after_today=False)
# datetime.date(2016, 12, 11)
fake.date_time_this_month(before_now=True, after_now=False, tzinfo=None)
# datetime.datetime(2018, 8, 9, 12, 14, 51)
fake.past_date(start_date="-30d", tzinfo=None)
# datetime.date(2018, 8, 11)
fake.day_of_week()
# 'Wednesday'
fake.date_time_this_decade(before_now=True, after_now=False, tzinfo=None)
# datetime.datetime(2010, 9, 21, 16, 10, 1)
fake.date_between(start_date="-30y", end_date="today")
# datetime.date(1996, 10, 12)
fake.date_time_this_century(before_now=True, after_now=False, tzinfo=None)
# datetime.datetime(2014, 6, 30, 17, 41, 22)
fake.date(pattern="%Y-%m-%d", end_datetime=None)
# '1999-08-09'
fake.am_pm()
# 'PM'
fake.date_time_between_dates(datetime_start=None, datetime_end=None, tzinfo=None)
# datetime.datetime(2018, 8, 16, 9, 31, 45)
fake.date_object(end_datetime=None)
# datetime.date(1993, 11, 3)
fake.date_this_year(before_today=True, after_today=False)
# datetime.date(2018, 1, 8)
fake.iso8601(tzinfo=None, end_datetime=None)
# '1990-06-05T03:44:45'
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, 4, 17)
fake.month()
# '04'
fake.year()
# '1971'
fake.day_of_month()
# '27'
fake.unix_time(end_datetime=None, start_datetime=None)
# 119196424
fake.timezone()
# u'Asia/Damascus'
fake.century()
# u'VIII'
fake.date_of_birth(tzinfo=None, minimum_age=0, maximum_age=115)
# datetime.date(1945, 11, 5)
fake.time_object(end_datetime=None)
# datetime.time(12, 51, 30)
fake.date_time_this_year(before_now=True, after_now=False, tzinfo=None)
# datetime.datetime(2018, 4, 10, 16, 31, 41)
fake.date_time(tzinfo=None, end_datetime=None)
# datetime.datetime(1977, 4, 11, 15, 40, 15)
fake.time(pattern="%H:%M:%S", end_datetime=None)
# '07:09:07'
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, 7, 26, 11, 40, 9)
fake.month_name()
# 'March'
fake.date_time_ad(tzinfo=None, end_datetime=None, start_datetime=None)
# datetime.datetime(884, 11, 14, 0, 43, 26)
fake.time_delta(end_datetime=None)
# datetime.timedelta(4786, 81721)
faker.providers.file
¶
fake.unix_device(prefix=None)
# u'/dev/vdp'
fake.mime_type(category=None)
# u'audio/mp4'
fake.file_path(depth=1, category=None, extension=None)
# u'/nor/wind.mp3'
fake.unix_partition(prefix=None)
# u'/dev/xvdn1'
fake.file_name(category=None, extension=None)
# u'less.json'
fake.file_extension(category=None)
# u'ppt'
faker.providers.internet
¶
fake.ascii_free_email(*args, **kwargs)
# 'williamnewman@hotmail.com'
fake.image_url(width=None, height=None)
# u'https://www.lorempixel.com/467/625'
fake.tld()
# u'biz'
fake.email(*args, **kwargs)
# u'troywilson@yahoo.com'
fake.url(schemes=None)
# u'http://www.perry.com/'
fake.ipv4_private(network=False, address_class=None)
# '10.97.138.244'
fake.user_name(*args, **kwargs)
# u'thomas20'
fake.uri_extension()
# u'.html'
fake.uri_page()
# u'main'
fake.free_email_domain(*args, **kwargs)
# u'yahoo.com'
fake.safe_email(*args, **kwargs)
# u'uchaney@example.org'
fake.ascii_email(*args, **kwargs)
# 'yatesdana@yahoo.com'
fake.ipv4_network_class()
# u'c'
fake.ipv4_public(network=False, address_class=None)
# '198.254.179.35'
fake.ascii_company_email(*args, **kwargs)
# 'michael99@sanders-webb.com'
fake.domain_name(*args, **kwargs)
# u'hernandez-cox.com'
fake.ipv4(network=False, address_class=None, private=None)
# '64.199.53.71'
fake.domain_word(*args, **kwargs)
# u'knox'
fake.slug(*args, **kwargs)
# u'speak-song-answer'
fake.uri_path(deep=None)
# u'main/categories/blog'
fake.company_email(*args, **kwargs)
# u'stephen44@maldonado-smith.com'
fake.uri()
# u'https://www.kelly-schultz.biz/faq/'
fake.ipv6(network=False)
# '746c:3c66:ce35:688b:39de:6420:edea:8d1a'
fake.free_email(*args, **kwargs)
# u'kyleshaw@gmail.com'
fake.ascii_safe_email(*args, **kwargs)
# 'gortiz@example.org'
fake.mac_address()
# u'6c:46:1d:34:74:dd'
faker.providers.isbn
¶
fake.isbn10(separator="-")
# u'0-9614333-1-0'
fake.isbn13(separator="-")
# u'978-0-86183-889-9'
faker.providers.job
¶
fake.job()
# 'Engineer, biomedical'
faker.providers.lorem
¶
fake.text(max_nb_chars=200, ext_word_list=None)
# u'Tax make theory action heart newspaper. Out toward item myself mind kid of. Manage person option green skin teacher.'
fake.paragraphs(nb=3, ext_word_list=None)
# [ u'Concern far quite establish smile bring million. Fire project send perform heart. Require them deep growth cold like floor.',
# u'Campaign box million fire never other there. Effect window road wait pass question save.',
# u'Occur street set development energy. Carry week onto different carry you. Baby last give.']
fake.words(nb=3, ext_word_list=None)
# [u'listen', u'no', u'trade']
fake.sentences(nb=3, ext_word_list=None)
# [ u'Owner point turn product student.',
# u'Contain somebody public space.',
# u'Expect seat happen before stuff return carry.']
fake.word(ext_word_list=None)
# u'it'
fake.paragraph(nb_sentences=3, variable_nb_sentences=True, ext_word_list=None)
# u'Likely pay bill itself resource stay. Future center reflect speech blue myself would. Wear action everything.'
fake.sentence(nb_words=6, variable_nb_words=True, ext_word_list=None)
# u'Statement return say everything federal investment.'
faker.providers.misc
¶
fake.password(length=10, special_chars=True, digits=True, upper_case=True, lower_case=True)
# u'(7EJ0EFdjv'
fake.locale()
# u'fy_DE'
fake.binary(length=1048576)
# bytearray(b'5A\x90@\xe0\xcfaWV\xe2\xfb?|V\xc8BC*\x8ca\xe5\x03\xfaDK\xc2\x99m\xf8Q\xe4\xabP\x89\xf9!pZ\x1b\x18\x14\x90Ei\xfc\xfe\x0bx(\xf0\x1f\xf7\xf9^\x00\xf3M\x90=s\xc3\xf6Hv\xca\xf1{j\x95m\xf9\x02X^\x93\xc5\xc9\x83\xf1\x15\xa6\xab\xe9\xd9Lw\xd8\x97\xe7\xd3\xd8_\x95>\x18v\xde`\x81u(\x00\x96\xaf\x82F\x0f\xd4j\xaad\xe0\xd2\x89n\x97S\xa0\xb1~U\xd5\xd4\xfa\x05\xdd,\xa4m8\x93M\x8b\xab\xd9\x10\xf2\xb0\x900\x81\x01_\x18Thaj\xebf\xbb8\xf57*\xad\x8c\xe1l\xd5\xdb\xea\x1c\xba\xf8\x13\x15\x1c\x0b\xed\x05{\x17\xe2\xb2\xa7\xe1\xef\xe6\x15\xe7\xced\x06a\x0c\xacH\xee\xd4\xa7\x82\xa6\xdb\xadQF\x05`\xfaI\x10\x7fS\xcc\x17\xc8\xc7\x02v%\x15\xdfFE\x8c*\xd2\x9at\xea\x8e\xb2\xf2\xa9>,X>\xfdz\xcd\x1c\x02\n\x96.\xa4)\x15\xdc\x82]7<\xa2\x85v\xd7\xd4\x0b\x03\r\xb2\xe0?;x\xcf\x1e\x902\x17\xc9d&\x90:(\xd3\x16h\xf122\xa6\x9e\x04\x7f\x88k\x87\xd7\x81e\x9a2\x9eT\x95\xf0\x0c\xddr\x00)y\x10\xb2\x94\xe8$\xc7V\xfd\x8f\xd7\x9d1\xb7_\xa6\xe3c\xd4c\x07Tf\xff\x8c\x7f\x05\xf3K-\xba\x86@\xea\x7f\xa7i\x1d\xd1\xe0\x02\xebx#\xb9\xa3\xba!\xaa\xbd>)\xf7z\xce\x7f\xc6\xf4\xec0\x8a\x8a\x8a\xc1\xddj;(U\xa4\x1a\x14\xee\xda\xc8h4M\x81\xe4\x92\x11\x91.l\xc4\x01\x14\x83x\xbc\xc3\xff\xa2\x84\xf6\x00y\x93\x14K{\xd9\xbf\xeb\xf1\xf7K\xe5ujJ\xfa\xc0\x91Ce\x82\xa7\xf5\x1c\xf4\t\xc0l\xe9\x05y)\x07\x024\xc9\x97\xf3\xf2\xcd\xe2\x8c!\xfe(\x9c\xc5\xfbn4\xaf\x88\x9b\x8ct\x18\x8a\xdei\xf2\xd7\x0f\xa6\xda\xd3D\xa2\x00\x04C\x15\xa9\x06*\x13\xaa\xb7\x8ej\x88*\x86fy\xdd\xa2)\xfdOf\x87\xdf\xc0K\x18\xd8\xe8\xc7\xb4"\x11\xeee[~{d\x97\xad\x9585\x01\x91\xcf\xa8\xde\xea\xcd\xc9\xaf&O\xca\x83\x9d,j*\x84\xbcM\x85o\x04\x96\xbc\x94\\\xc9\x9c\xf71\xd9L\xb2^Q\x9af\xb8\xfb4z+\xe2\x0c\xc6\x9c)\xda[wZ\xee\xc2\xcc\xb78\x8d@\x98\x19!\x14\xf9\xb39a2l\xd9\xec4\x9a\x07\x0cv\xf7h\xcf\xbd\xab\x06\x1a(o\x0bl\xcf2n\x9a\xef\xc6FZ\xd9c[\x1fU\xb5\xd4\x89\xca\x92M\xf7`\xa1\xc0\x0bE|\xca\x1f\xa0\xe1\xb7\xfa\xc0\x05\x0bb\x14\xff\x01\x80\xcd\xa2\xed\x14F.\xf7j\xa8c\xd20s:\xbe\x9a\xa5\x95\x0b\xa3\xae9\xd6\xbb\xc2\xe5\x1a\xac\x85w\xd0\x08bnc\\R\xd6\x00\x95\xd5\x14v\x7f\xe9\xe2\xdb\x83\x87\xe1b\xb3r\xa2x\xad&|y\xa2h\x19\xbaN\xdeD\r\xbf\xcdd}\xbav\x8a\xbb\xb8\xb1\xb50^\xcbQ\xfa\x067&x\xd93\x00|y\x9f_h5\x9dJmi\t\x12\x10\xcf\xda\xe9\x01,\x8f\x0c\xc8+\x16\xcb|\xa6\x97\xba\xb7\xe2CY\x90\x9f\xf9\xb3Q\xd6$\xa1\xff\xc2\xcb\xea\xbf\xf5$\n\'\x82\xa4\xbaZ\xd4(\x0f\xcc\x84\xd5\xfcS\xbcg _*^\xaf\x88 \xa5#\x85\xab\x00\xba"?\xf9d\xdct\xd0\x9a\xa0\xee(<#\x14\x9f\xf6ob\xce\xe1\xc8\xd24\x9b\x90JC\x1f\xd6\xa9\x1c\x19\x81\xdc\x1f/\xaf\xc6)\x07Y\xaf\xab\x19\x8ec1\xb6v\x97\xbc\x98\xebk\x114\x16\xcd\xb8\'G \xbd\xa4Z\x83\x16\xbdY\x04\x17x\xfci\xc1\x088\xd0\x98Z\xf5W\xb9`\xe2\xcb\xe2\xb9\xa01\xbb\x1e4\xc6T\xa8\xb0X{O\x94\x90\x82\xe7\x1d\xec\xa7\xd6\xf5\xee\xd5k\x03\x94\xb3\xe7\xeb,\x1b@\xd9,\xdfVZJ:\x01\xe8\xf1\xb6w\x1a\xd3M\xbbl\x95W\xf1\x10l\x17\xa3c\xfd9\xfb9 \xe7\xb8\xdb\n\n\x068\xf8\x80\xa6&\xcfO\xefn\xe1m\x14\xa6\xaaG\xa6\xd0\x97[\x93\xf0b\xb3k/v\xf0\xe2n\x16Uo\xff\xb4\xb1\x9b\x1d\xe5\xb0\x83\xff\xce~\xb0\xc2ziPn\xe5\xcch\x14s\xc0\xa2\x9f\xe3\x15e6\xcc\xff7Pi7\xa0\x8aL')
fake.md5(raw_output=False)
# '396c07ad305d4c7752ab12ce941d9be3'
fake.sha1(raw_output=False)
# '9831b9d5eb7243e9c13cb8d485fe4ff18ba40f4d'
fake.null_boolean()
# True
fake.sha256(raw_output=False)
# 'f58d79db80de443e0f09a14a4e0fe2dcb0156088be82dac8b123c9cef1ddca00'
fake.uuid4()
# 'c95b78e3-463a-cd85-d70b-846d348b9185'
fake.language_code()
# u'iw'
fake.boolean(chance_of_getting_true=50)
# True
faker.providers.person
¶
fake.last_name_male()
# u'Knight'
fake.name_female()
# u'Tami Jackson'
fake.prefix_male()
# u'Mr.'
fake.prefix()
# u'Dr.'
fake.name()
# u'Kelly Smith'
fake.suffix_female()
# u'MD'
fake.name_male()
# u'Justin Kirby'
fake.first_name()
# u'Scott'
fake.suffix_male()
# u'MD'
fake.suffix()
# u'DDS'
fake.first_name_male()
# u'Bradley'
fake.first_name_female()
# u'Kimberly'
fake.last_name_female()
# u'Harris'
fake.last_name()
# u'Allen'
fake.prefix_female()
# u'Mrs.'
faker.providers.phone_number
¶
fake.phone_number()
# u'899-570-1474x97787'
fake.msisdn()
# '6809594301797'
faker.providers.profile
¶
fake.simple_profile(sex=None)
# { 'address': u'504 Ashley Cape\nNorth Corymouth, MP 54529',
# 'birthdate': datetime.date(1960, 11, 1),
# 'mail': u'jasonblackburn@hotmail.com',
# 'name': u'Michael Spence',
# 'sex': 'M',
# 'username': u'murphymelissa'}
fake.profile(fields=None, sex=None)
# { 'address': u'568 Mark Haven Apt. 890\nEast Johnborough, HI 69935',
# 'birthdate': datetime.date(1945, 5, 13),
# 'blood_group': '0+',
# 'company': u'Smith, Smith and Adams',
# 'current_location': (Decimal('-84.5327385'), Decimal('56.417962')),
# 'job': 'Multimedia programmer',
# 'mail': u'suzannesavage@yahoo.com',
# 'name': u'Donald Hayes',
# 'residence': u'294 Jonathan Spurs Suite 848\nSusanshire, MT 78373',
# 'sex': 'M',
# 'ssn': u'771-85-5464',
# 'username': u'phillipselizabeth',
# 'website': [ u'http://deleon-scott.net/',
# u'http://miranda-taylor.com/',
# u'http://smith.com/']}
faker.providers.python
¶
fake.pyiterable(nb_elements=10, variable_nb_elements=True, *value_types)
# [ u'ptPiCmvRXvDzShUZyfmp',
# 7963,
# u'MbWnOefqDMcDmkANtSod',
# u'sscPyeBylZXczbmhhMrX',
# Decimal('-4300381.196'),
# u'aPBoEKXTMjNDqiniHuZP',
# u'AGJfzOvAOJQAFdGrhWxn',
# 8031,
# 1176,
# u'LmUkbwQlvmqRvWFdKDgZ']
fake.pystr(min_chars=None, max_chars=20)
# u'olLhWPcVVbfeCArLUTjg'
fake.pystruct(count=10, *value_types)
# ( [ datetime.datetime(1997, 7, 19, 17, 16, 45),
# u'qWuoiXpEsgrJqATCFJxp',
# u'YEaCwqXTIVvlvuCoHfVH',
# u'oboUdcjcfMhlXIpJgpgL',
# datetime.datetime(2013, 3, 4, 4, 34, 21),
# u'igarcia@hotmail.com',
# 5.708787129207,
# Decimal('65931902315.6'),
# u'uyIEEgzmIaHKDpRbDjsY',
# u'qHfHcpsdeCxyLVvRiVyp'],
# { u'Republican': 3657,
# u'bank': u'qwvTKgbjwRymLjYsOhSN',
# u'determine': 5273,
# u'discuss': u'ttTwDmNlUpJESHcbYEoY',
# u'drive': u'https://lopez.net/category.html',
# u'future': 3128,
# u'imagine': datetime.datetime(1982, 8, 22, 1, 23, 16),
# u'purpose': 3924,
# u'senior': datetime.datetime(2018, 4, 17, 14, 25, 44),
# u'very': u'mccalldean@savage.com'},
# { u'bar': { 3: Decimal('-89.53273'),
# 4: [ Decimal('-834224.66329'),
# u'mpxnnhIPLpWAznkbgQlM',
# u'naFPSOdTdaVCJoQqBcBq'],
# 5: { 3: u'https://www.gillespie.net/wp-content/posts/home.html',
# 4: 8256,
# 5: [u'RkLVCqGNWnOgOQNvXkTa', 9685]}},
# u'car': { 9: u'carrollanthony@yahoo.com',
# 10: [ datetime.datetime(2015, 6, 7, 11, 32, 25),
# u'rPQfEuWuTCzNFCRisHJl',
# u'jeffreyweaver@yahoo.com'],
# 11: { 9: u'AHqnFrNUhzbffPPSsbYa',
# 10: u'pwoods@hotmail.com',
# 11: [Decimal('0.993734378'), 6291258598.0]}},
# u'cell': { 2: Decimal('-3.08450167073E+14'),
# 3: [ datetime.datetime(1988, 1, 1, 8, 59, 46),
# u'ybarnett@smith.com',
# -6.2],
# 4: { 2: u'https://johnson-jimenez.com/',
# 3: u'https://www.miller.info/tags/register.html',
# 4: [ datetime.datetime(1999, 11, 12, 20, 41, 25),
# u'ZIQzxgaMYbwmIPFJIQAh']}},
# u'main': { 5: 7207,
# 6: [u'heather24@stone.net', 9303, -5272259460.48],
# 7: { 5: -65489335.9,
# 6: u'https://www.jones.info/homepage.asp',
# 7: [u'riceaustin@yahoo.com', -18.47]}},
# u'mother': { 6: u'mcQMsRharNAsrlXuTolr',
# 7: [ datetime.datetime(2012, 2, 24, 15, 51, 22),
# datetime.datetime(1993, 12, 13, 11, 6, 46),
# u'yqqxUrxKSXrVoZKZICid'],
# 8: { 6: Decimal('-9.06237580411E+14'),
# 7: u'robertwhite@gmail.com',
# 8: [ datetime.datetime(1977, 6, 5, 17, 56, 47),
# 2589]}},
# u'operation': { 8: u'GCDFVuveedGhZkfsvZEi',
# 9: [ u'laurasullivan@gill.com',
# u'hernandezbryan@powers.com',
# -50125.6],
# 10: { 8: u'larry76@yahoo.com',
# 9: Decimal('2139545.13'),
# 10: [9676, u'SBpWmNEIwqiDryNfcEMY']}},
# u'relate': { 0: u'NBKZNjDBbjbTzAgmGLGh',
# 1: [ u'TVDPOQiHUdBBfunxMmjh',
# datetime.datetime(1982, 2, 19, 18, 10, 20),
# u'http://www.barton.info/tags/privacy.asp'],
# 2: { 0: datetime.datetime(2009, 4, 25, 11, 12, 42),
# 1: u'http://tran-hanna.biz/tags/about.htm',
# 2: [1232, u'MDGsEtvTWMHAwxhKNYKe']}},
# u'school': { 1: u'YuPNcSNgEhBqVwyBqxHJ',
# 2: [ 8963,
# u'bKAifiRHbSAUHYWdhxol',
# datetime.datetime(1979, 7, 16, 10, 55, 58)],
# 3: { 1: 1812,
# 2: Decimal('8220.634804'),
# 3: [ u'http://www.wilson-bailey.biz/terms/',
# 6638]}},
# u'send': { 7: u'joseph40@hotmail.com',
# 8: [ u'UUliyAPfZmkPJogEngbn',
# datetime.datetime(1998, 4, 27, 21, 55, 2),
# u'jBdqqSEvHYQFBpqmAPCY'],
# 9: { 7: -564.36534,
# 8: u'http://www.tate-barron.org/register.html',
# 9: [u'ilgdANnqSGhlOkmBaMeI', -52877429909081.2]}},
# u'upon': { 4: datetime.datetime(1978, 10, 20, 15, 9, 44),
# 5: [ 2514,
# datetime.datetime(1989, 5, 9, 17, 45, 52),
# u'ihardin@hotmail.com'],
# 6: { 4: 4520,
# 5: u'GDROpKYlZccGPREQovCl',
# 6: [2855, u'lopezkaren@wright.com']}}})
fake.pyfloat(left_digits=None, right_digits=None, positive=False)
# 3626321495.567
fake.pydecimal(left_digits=None, right_digits=None, positive=False)
# Decimal('15186.0')
fake.pylist(nb_elements=10, variable_nb_elements=True, *value_types)
# [ u'michael96@pierce.com',
# u'holtcatherine@yahoo.com',
# u'robert11@sandoval.com',
# Decimal('-7.86860467603E+14'),
# u'MUNAxmUxNUIiLufTcsCU',
# u'cLeWtAmTnLDVoSRvprwV',
# datetime.datetime(2008, 2, 18, 12, 55, 8),
# datetime.datetime(1980, 3, 28, 19, 3, 38),
# u'xSpiTpYvunsWrletisGg',
# Decimal('64457.3351877')]
fake.pytuple(nb_elements=10, variable_nb_elements=True, *value_types)
# ( u'https://www.clark.net/tags/category.html',
# u'http://graham.com/tags/explore/wp-content/register.htm',
# 5705,
# u'LuJoQpXLecMcJWTYAUpo',
# u'lvWMMchzoQIpuqLlyabx',
# u'culywYXKjRJFzDALXUTO',
# Decimal('-2701524559.87'),
# u'nCzqWacdvSfaCbcNsKaH',
# u'JjZTOVlLStraEXwXRZYg')
fake.pybool()
# True
fake.pyset(nb_elements=10, variable_nb_elements=True, *value_types)
# set([u'https://miller-oconnor.com/main.php', u'juPxhCDJGtGesOshztby', u'YTfThoJuWCUTRTvXRawb', datetime.datetime(1988, 2, 16, 7, 43, 6), u'http://www.gomez.com/category/about.html', 8120, u'FLdsrcSLOoDqjXyLLFIU'])
fake.pydict(nb_elements=10, variable_nb_elements=True, *value_types)
# { u'above': u'vDROdmtMuJwMVprgWNZb',
# u'actually': u'JgkKEhdGQsGSXOAksqzD',
# u'appear': u'http://www.solis-johnston.com/about.html',
# u'before': u'ele@yahoo.com',
# u'brother': datetime.datetime(2008, 7, 17, 4, 51, 10),
# u'dream': u'https://www.larsen.org/author.html',
# u'gun': u'nHXiWlRaDypTQPlYdowz',
# u'long': u'UjppQkdzsTbXHlhMpgOr',
# u'memory': -231988405595617.0,
# u'sit': u'https://peterson-pitts.com/',
# u'whom': u'http://www.cox-campbell.com/category/search/register.asp'}
fake.pyint()
# 4651
faker.providers.ssn
¶
fake.ssn(taxpayer_identification_number_type="SSN")
# u'779-73-2973'
fake.ein()
# u'73-8271252'
fake.itin()
# u'957-72-3034'
faker.providers.user_agent
¶
fake.mac_processor()
# u'PPC'
fake.firefox()
# u'Mozilla/5.0 (Macintosh; PPC Mac OS X 10_6_9; rv:1.9.6.20) Gecko/2010-01-05 11:36:29 Firefox/3.6.17'
fake.linux_platform_token()
# u'X11; Linux i686'
fake.opera()
# u'Opera/8.41.(X11; Linux x86_64; ff-SN) Presto/2.9.175 Version/12.00'
fake.windows_platform_token()
# u'Windows NT 6.0'
fake.internet_explorer()
# u'Mozilla/5.0 (compatible; MSIE 8.0; Windows NT 6.2; Trident/4.1)'
fake.user_agent()
# u'Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_5_7 rv:3.0; id-ID) AppleWebKit/531.11.1 (KHTML, like Gecko) Version/4.1 Safari/531.11.1'
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/58.0.887.0 Safari/5332'
fake.mac_platform_token()
# u'Macintosh; U; Intel Mac OS X 10_5_6'
fake.safari()
# u'Mozilla/5.0 (iPod; U; CPU iPhone OS 4_0 like Mac OS X; ss-ZA) AppleWebKit/531.5.4 (KHTML, like Gecko) Version/4.0.5 Mobile/8B114 Safari/6531.5.4'