Language en_GB¶
faker.providers.address
¶
fake.latitude()
# Decimal('49.428448')
fake.street_name()
# u'Alexander inlet'
fake.address()
# u'Studio 55d\nKing village\nHillshire\nB63 6XP'
fake.street_address()
# u'382 Field harbors'
fake.postcode()
# u'CM48 1GR'
fake.country_code(representation="alpha-2")
# u'ME'
fake.longitude()
# Decimal('64.199814')
fake.country()
# u'Hong Kong'
fake.geo_coordinate(center=None, radius=0.001)
# Decimal('-137.838774')
fake.secondary_address()
# u'Studio 58I'
fake.street_suffix()
# u'drive'
fake.city_prefix()
# u'Lake'
fake.city_suffix()
# u'haven'
fake.building_number()
# u'87'
fake.city()
# u'Smithland'
faker.providers.automotive
¶
fake.license_plate()
# u'CY68NRJ'
faker.providers.bank
¶
fake.bban()
# 'LEKX7766206273897'
fake.bank_country()
# 'GB'
fake.iban()
# 'GB81BCWR1425741543483'
faker.providers.barcode
¶
fake.ean(length=13)
# u'3630628176060'
fake.ean13()
# u'8453151924428'
fake.ean8()
# u'83765322'
faker.providers.color
¶
fake.rgb_css_color()
# u'rgb(200,219,0)'
fake.color_name()
# u'HotPink'
fake.rgb_color()
# u'78,229,117'
fake.safe_hex_color()
# u'#55dd00'
fake.safe_color_name()
# u'white'
fake.hex_color()
# u'#a0ac52'
faker.providers.company
¶
fake.company()
# u'Wong, Lane and Taylor'
fake.company_suffix()
# u'LLC'
fake.catch_phrase()
# u'Vision-oriented logistical artificial intelligence'
fake.bs()
# u'transform out-of-the-box bandwidth'
faker.providers.credit_card
¶
fake.credit_card_security_code(card_type=None)
# u'620'
fake.credit_card_provider(card_type=None)
# u'JCB 16 digit'
fake.credit_card_full(card_type=None)
# u'Mastercard\nDennis Allen\n5191917927099849 04/19\nCVV: 014\n'
fake.credit_card_expire(start="now", end="+10y", date_format="%m/%y")
# '07/25'
fake.credit_card_number(card_type=None)
# u'3505106308216190'
faker.providers.currency
¶
fake.cryptocurrency_code()
# 'DRC'
fake.currency_code()
# 'MXN'
fake.currency_name()
# 'Romanian leu'
fake.cryptocurrency_name()
# 'Zclassic'
fake.cryptocurrency()
# ('AUR', 'Auroracoin')
fake.currency()
# ('BAM', 'Bosnia and Herzegovina convertible mark')
faker.providers.date_time
¶
fake.future_datetime(end_date="+30d", tzinfo=None)
# datetime.datetime(2018, 9, 3, 4, 0, 43)
fake.time_series(start_date="-30d", end_date="now", precision=None, distrib=None, tzinfo=None)
# <generator object time_series at 0xffffaa35bf00>
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(1998, 3, 4, 10, 3, 8)
fake.date_this_decade(before_today=True, after_today=False)
# datetime.date(2014, 1, 5)
fake.date_time_this_month(before_now=True, after_now=False, tzinfo=None)
# datetime.datetime(2018, 8, 6, 21, 48, 38)
fake.past_date(start_date="-30d", tzinfo=None)
# datetime.date(2018, 8, 14)
fake.day_of_week()
# 'Saturday'
fake.date_time_this_decade(before_now=True, after_now=False, tzinfo=None)
# datetime.datetime(2014, 11, 6, 18, 2, 54)
fake.date_between(start_date="-30y", end_date="today")
# datetime.date(1991, 5, 24)
fake.date_time_this_century(before_now=True, after_now=False, tzinfo=None)
# datetime.datetime(2014, 2, 3, 0, 45, 22)
fake.date(pattern="%Y-%m-%d", end_datetime=None)
# '1983-12-29'
fake.am_pm()
# 'PM'
fake.date_time_between_dates(datetime_start=None, datetime_end=None, tzinfo=None)
# datetime.datetime(2018, 8, 16, 10, 58, 33)
fake.date_object(end_datetime=None)
# datetime.date(2016, 5, 11)
fake.date_this_year(before_today=True, after_today=False)
# datetime.date(2018, 2, 11)
fake.iso8601(tzinfo=None, end_datetime=None)
# '2011-05-24T11:12:34'
fake.future_date(end_date="+30d", tzinfo=None)
# datetime.date(2018, 8, 23)
fake.date_this_century(before_today=True, after_today=False)
# datetime.date(2016, 3, 27)
fake.month()
# '04'
fake.year()
# '2001'
fake.day_of_month()
# '06'
fake.unix_time(end_datetime=None, start_datetime=None)
# 728301953
fake.timezone()
# u'Asia/Katmandu'
fake.century()
# u'XII'
fake.date_of_birth(tzinfo=None, minimum_age=0, maximum_age=115)
# datetime.date(1964, 3, 28)
fake.time_object(end_datetime=None)
# datetime.time(11, 3, 59)
fake.date_time_this_year(before_now=True, after_now=False, tzinfo=None)
# datetime.datetime(2018, 1, 7, 13, 3, 42)
fake.date_time(tzinfo=None, end_datetime=None)
# datetime.datetime(1982, 11, 29, 8, 22)
fake.time(pattern="%H:%M:%S", end_datetime=None)
# '09:22:39'
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, 28, 16, 22, 11)
fake.month_name()
# 'March'
fake.date_time_ad(tzinfo=None, end_datetime=None, start_datetime=None)
# datetime.datetime(1790, 6, 18, 13, 58, 49)
fake.time_delta(end_datetime=None)
# datetime.timedelta(583, 37457)
faker.providers.file
¶
fake.unix_device(prefix=None)
# u'/dev/vdf'
fake.mime_type(category=None)
# u'audio/vnd.rn-realaudio'
fake.file_path(depth=1, category=None, extension=None)
# u'/ratione/maxime.mp3'
fake.unix_partition(prefix=None)
# u'/dev/vdu6'
fake.file_name(category=None, extension=None)
# u'pariatur.odp'
fake.file_extension(category=None)
# u'jpeg'
faker.providers.internet
¶
fake.ascii_free_email(*args, **kwargs)
# 'greenross@yahoo.com'
fake.image_url(width=None, height=None)
# u'https://dummyimage.com/117x343'
fake.tld()
# u'com'
fake.email(*args, **kwargs)
# u'barbaralewis@yahoo.com'
fake.url(schemes=None)
# u'https://www.chan.com/'
fake.ipv4_private(network=False, address_class=None)
# '192.168.68.73'
fake.user_name(*args, **kwargs)
# u'brownjacqueline'
fake.uri_extension()
# u'.asp'
fake.uri_page()
# u'main'
fake.free_email_domain(*args, **kwargs)
# u'gmail.com'
fake.safe_email(*args, **kwargs)
# u'joshua82@example.org'
fake.ascii_email(*args, **kwargs)
# 'richardsonjanice@barnes.com'
fake.ipv4_network_class()
# u'b'
fake.ipv4_public(network=False, address_class=None)
# '198.78.59.63'
fake.ascii_company_email(*args, **kwargs)
# 'marywright@porter.net'
fake.domain_name(*args, **kwargs)
# u'williams-smith.biz'
fake.ipv4(network=False, address_class=None, private=None)
# '125.41.120.108'
fake.domain_word(*args, **kwargs)
# u'cox-jones'
fake.slug(*args, **kwargs)
# u'eum-in-voluptates'
fake.uri_path(deep=None)
# u'wp-content'
fake.company_email(*args, **kwargs)
# u'perkinsconor@taylor-parsons.com'
fake.uri()
# u'http://marshall.com/wp-content/app/privacy/'
fake.ipv6(network=False)
# '27be:6a99:a076:a996:e4ca:c530:577c:97e2'
fake.free_email(*args, **kwargs)
# u'thompsonjenna@yahoo.com'
fake.ascii_safe_email(*args, **kwargs)
# 'fosterdenise@example.org'
fake.mac_address()
# u'23:da:04:45:8b:b8'
faker.providers.isbn
¶
fake.isbn10(separator="-")
# u'0-231-60573-0'
fake.isbn13(separator="-")
# u'978-1-5194-2987-2'
faker.providers.job
¶
fake.job()
# 'Occupational therapist'
faker.providers.lorem
¶
fake.text(max_nb_chars=200, ext_word_list=None)
# u'Voluptatum ut reprehenderit eaque odio alias esse. Dicta sunt sed quas.\nArchitecto dolore quia facere. Maxime a commodi officia minima ipsam. Explicabo dolorum possimus in facere alias.'
fake.paragraphs(nb=3, ext_word_list=None)
# [ u'Ipsa at et architecto laboriosam deleniti beatae. Necessitatibus voluptates dolores commodi repudiandae ex.',
# u'Id vel cum laudantium mollitia praesentium. Esse et nesciunt rerum dicta. Quisquam ut sint eum minima repudiandae.',
# u'Minima dolores nostrum dolorum. Harum nihil numquam corrupti numquam earum asperiores animi.']
fake.words(nb=3, ext_word_list=None)
# [u'alias', u'nihil', u'culpa']
fake.sentences(nb=3, ext_word_list=None)
# [ u'Eaque ipsum nisi laborum mollitia ratione.',
# u'Voluptatem aliquam magnam.',
# u'Fugit dolore repellendus eum quod at.']
fake.word(ext_word_list=None)
# u'quaerat'
fake.paragraph(nb_sentences=3, variable_nb_sentences=True, ext_word_list=None)
# u'Tempore minima corporis cupiditate sapiente deserunt molestias molestias. Eveniet numquam corporis qui.'
fake.sentence(nb_words=6, variable_nb_words=True, ext_word_list=None)
# u'Animi hic occaecati placeat labore nulla.'
faker.providers.misc
¶
fake.password(length=10, special_chars=True, digits=True, upper_case=True, lower_case=True)
# u'a_8WMNqd!_'
fake.locale()
# u'fr_CH'
fake.binary(length=1048576)
# bytearray(b',M{\xf9\xbdZ\xb6\xd18\x979\xf0\x82e+\xea\x14B\x84I\xe3\x84g\xd6H\xd0\x7f\xa7^\x17\x83[!\xe19\xae\xb0\xb9\x8d\xf0bl\x0e\xcd\xfb\xa0\x0c\x17\xc7Wd\x02\x15*\xff5%J\tw\xbcN<N.\x15\xbb\xc8\'\xa8\xc2\x1b\xae!\xbb\xa3j=R>b\xd2Id\xd7(n\x170\x96\x8d\x002\x13\\l\xedy,\xe9p-]\x1a\x16y\xf1h\xdcaL\xbejI\x1e\x9fJ\xdd/|\x1bmD\xd4\xa8\xfe\xfe\xbd,1B@Z\xc2L\xf1\xd4\xb41\x91\xb9\xb1\xff\xb1\xf4\xcfh\x13\x12\x1f\xae\xae\xd5)Z\x00\xeeiA\xf5\xb3\x977\xed\xd8})\xfac\xd8\xdfK\xd9Q\'\xc8Q\xbbB0\xb2\xad\x126\xdbB\xea\x1ci(k\xf4\x81\x80@\x1bF(\xe9\x04\x08F\x8b\x83~#\xcb\n\xfasOMv\xab\xe9\xb1\x8a\xd4\x98M\x0eO}\xd4%\x8d[\xef\x9d\x06\xafWqY\xfeT\xddN\xb4\xdd\x81\x11\xcf\xe9\xf2v\x97B\xa1\xc7\x12Y\x0e\xf6\xb3\xdem\x81\xb3\xdd""\r\x9c\xe2\x03\xd53\\w\x85b\xef\xfb\x93\n[\x81\xcc\x8c\xfe\xaa%\x94!\xc9\x9d\x8a\x85\xe4\x11o\xc7\x89\xa7\x80\xe2\x92\xb6-93~\x98\xd3\xb0z\xa5v\xcb\x8d\x9a\xe9M\xd3\xf8\x93hZq_\xa0\x946\x17\x80z2\x07=a\xcf\x9a\xd4\xe2\xb7\xef|8\t?\xb6$ZQ1d\xb82P\xe7O\x87]\x8b\rN2\xdc>\x86\xcc4\x98\x94#*\xb2\x158TLMG:~\x98\x13]\xffb\xb6\'>\x98\x08\x97;\x8f\r\xbf\xbc;\xec!\xd7\x7f5LP\xda\x0c\x82\xfc]36UJ\x9d1P\x94\xf6\x82\xef#\x06\x8d?$\xe4o\xc9mk\xc8\x8f\x0e\xf9\x19AT\x1c\xbaw\xb8\xc5"\x84\x1f$\x90\xfb\xce\x1b\xd1\xda\xa7\x8d/\xd5<\x80bg\xecC\xe0J\xd9\xf2\xff\xed0\xfd\x92\xd4n\xcd\xae\xde\x8a\xaa\xb4\x8b\r\xe2\x0bV\xb5\x8dn)h\x13\xc4\xfbA\xba\x041\x88\xe0\x8d\xe1\xde\xdd\x88\x82N\x8aW,\x1c0M\x8a\xab\xdd\xd0\xfb\xc4gg\xe1E\xa2\xb97s]\x86b\xa7\xecF~\x0b\xb4\x1e\'\xc8\xf6\xc8\xe89\xed\xf6=\xcbN\xe0U\x86\xf0\\;\x01\xa9\xea\x99[\xa6\xb6\x1a\xce\x1f\x8f \x06\x11\xa8\x8fm\xcb\xf7\x81\\d4\x18\xadk\xedl{\x92\x1b\x7fM\xd8\xbc\xe4\xa9iu\xeaQ;\xc2\x11(,\x9b\xb2\xe0\x07\x1aN&1\xc7\xdd\x17\xe5\x976=N\xf9n\x92S\xcf\xa0\xf9\xc5=\x7fU\xe7\x8e\xae\r\xb8\xcfb\xfc\xa69\x12\xb3S\x14\x14\x1a*[\x13\x8c\xab\xa3Y\xf0\xac\xba\xaa\xaa\x86N02"M;\xf5\xed\x0b^\xd5\xadn<\x8d\x07P\xca\x0e\xd6\x81\x7fXi\xcd\x8c\x8f\x80lmw\xe7\xcdj\x15\xf9\x0e\xbb\xae\xda\xef\xbdOB\x08\x86\xa4\t\xb6Yh\xc5\xa1>\xe3\xabS\x0b\xb4a\nR\xcf\x06\xa1\x84n\x9aX\xc5\xc7\x18\x95C\x8cQ(\x92Y\xd5\xb2\x97efU\xac\xe4\xfe\xe9\xf8*\xd1\xe5X\x17k\xc8\xe0t|]\x0e\xc8<$\xb4\xd7\x82\xc0<\xf4\x92\xbdis\x14C\x18\xee\xbb;\xf4(\xfc\x07^\x1a\x9b\x06\x18%rW\xb5\x94X\x90p*\no[\x98\x00\x18\x10\xa5I^\xb3\x82m{\xb4X\xedg\x0f\xfa&\xcb\xe6<.\x13\xc4\xdaj\xfc\x9c\x7f\xc6\xa0\t\x9cI\x85\x8c\xab\x1c\x07zK\x9a\x96\xa2tJ}\xe4o\xda@\xde\xfeQ\x99\xa8\xfc7\x0e%\x95\xaf\x08\xe2\xec\x9c\xf5g\xd1\xda9:R\xbf?J\t\xa8\xbe\xb8\xe6@k:/\x82\xfaY\x11/p\xc4\x9a:\xb2i\x1e\x96\xa2\xd0\x7f3\xb9r\xba\xac\xf0\xe7\x8d\xdf\x8fd!\x19B\x06\xeb\xddV^\xa9\x8b\xe5_J\xf1\x83\xfft\x1fz\xf9\xcf9N\xfd\xc3H\xea\xe4:\rb\xba\x97N\xd0\xf4\xc41\xab\xf4vu;\xa4\xb2\xb6\x96\xa2\x9b\x11V-"\xf8D\x9f\x9cZ\xd4\xfa!\xb0\xf4).\x9a\xc8\xc0\xf6\x11\x1dh\xfb6<\xb9\xc4\xd4H\xdc\x8ci\xd9:Z:\x9ee\xa0\x93\xe7^\xa4\xfe\xa6\x9e\x18\xae\xe5\xb5\xb0\x19~\x16\xc2*\xa4\xe1\x97\xbb\xc3;\x13\xaf\xea\xbd \xcf\xd3.')
fake.md5(raw_output=False)
# '29ab712ada5767261961f4fe8fa6ecd3'
fake.sha1(raw_output=False)
# 'dc7ffcf21a8ee85952dafe582aedc160a675a268'
fake.null_boolean()
# False
fake.sha256(raw_output=False)
# '1eac63213fa50e359f1ee63975c5513af007b54562f889a27e32b063b83f08c8'
fake.uuid4()
# '9d6d99ab-f2c2-1f2e-ecae-cb587bb3217f'
fake.language_code()
# u'az'
fake.boolean(chance_of_getting_true=50)
# True
faker.providers.person
¶
fake.last_name_male()
# u'Thomas'
fake.name_female()
# u'Kim Hughes'
fake.prefix_male()
# u'Dr.'
fake.prefix()
# u'Dr.'
fake.name()
# u'Mr. Ashley Rose'
fake.suffix_female()
# u''
fake.name_male()
# u'Mrs. Chloe Smith'
fake.first_name()
# u'Jasmine'
fake.suffix_male()
# u''
fake.suffix()
# u''
fake.first_name_male()
# u'Brian'
fake.first_name_female()
# u'Jayne'
fake.last_name_female()
# u'Hunt'
fake.last_name()
# u'Baker'
fake.prefix_female()
# u'Miss'
faker.providers.phone_number
¶
fake.phone_number()
# u'(0121) 4960425'
fake.cellphone_number()
# u'+447700 900 239'
fake.msisdn()
# '3143347862694'
faker.providers.profile
¶
fake.simple_profile(sex=None)
# { 'address': u'Studio 17O\nIain key\nWest Henry\nW61 2HX',
# 'birthdate': datetime.date(2011, 10, 15),
# 'mail': u'pwatts@gmail.com',
# 'name': u'Ms. Victoria Bradshaw',
# 'sex': 'F',
# 'username': u'kayleigh01'}
fake.profile(fields=None, sex=None)
# { 'address': u'Flat 90a\nNatasha walk\nSouth Kim\nCB4 4NF',
# 'birthdate': datetime.date(2006, 6, 24),
# 'blood_group': 'AB+',
# 'company': u'Gough LLC',
# 'current_location': (Decimal('40.7124975'), Decimal('-173.582113')),
# 'job': 'Stage manager',
# 'mail': u'declan18@yahoo.com',
# 'name': u'Dr. Ashley Johnson',
# 'residence': u'Flat 06a\nAllan mountains\nWestfurt\nYO5X 5XE',
# 'sex': 'M',
# 'ssn': u'ZZ 537425 T',
# 'username': u'benjamin06',
# 'website': [u'http://www.stone.com/', u'https://www.bryant.info/']}
faker.providers.python
¶
fake.pyiterable(nb_elements=10, variable_nb_elements=True, *value_types)
# [ u'WiaxdYhtdADybGhsvbot',
# u'PhLfTzVoWPncVwifDENh',
# u'VodHDAPQrCuGNFssQKvw',
# datetime.datetime(1988, 2, 27, 4, 43, 9),
# 9646,
# 5901,
# u'jLRLAzsRfGJPQmlhyycb',
# u'abarnes@brown.com',
# -4334829130.8,
# Decimal('5.88070977079E+12')]
fake.pystr(min_chars=None, max_chars=20)
# u'ifxqnfbDfrJGxwtsarYd'
fake.pystruct(count=10, *value_types)
# ( [ u'MKPVXtAtOqcrURpzRQeU',
# Decimal('4754.7'),
# Decimal('-599323747.283'),
# Decimal('8346401522.64'),
# 6045,
# u'iGFfetFMEOvpvrSVcgHa',
# Decimal('-1.52800737882E+13'),
# u'caBSMSyIacQEiqeqcqOS',
# u'https://www.lambert.info/register.html',
# u'QeYcojliYHCHeLvZIpGX'],
# { u'commodi': u'ritawalters@gmail.com',
# u'corrupti': u'ZQXcwYqGVHrLNYPTZhMP',
# u'eveniet': 9393,
# u'nisi': u'BhigtmnxiqlYoVIacVQx',
# u'nobis': u'xrLSicrDanuAdnFrkTdj',
# u'nulla': u'YhIRSaBEIfYWPTMqxZwv',
# u'quis': u'jxbXpWYsFoNnDkYpjBpR',
# u'veritatis': datetime.datetime(1992, 8, 13, 10, 52, 44),
# u'vero': datetime.datetime(2002, 10, 27, 13, 13, 21)},
# { u'amet': { 8: u'aYZuUgEkMLbhugJlZnln',
# 9: [ u'YcXrMxStTdzjjuHQWgEU',
# datetime.datetime(2004, 3, 1, 5, 29, 50),
# 6390],
# 10: { 8: u'wiKlekcIOWaNOncMTrUi',
# 9: datetime.datetime(2018, 6, 8, 22, 33, 46),
# 10: [5340, u'https://jennings.org/main.html']}},
# u'id': { 5: u'aTFLffceAXfRYhHoLePZ',
# 6: [ u'https://dickinson.com/homepage.htm',
# Decimal('-71.7'),
# u'hXfakrJwgeFaKFhIGsZy'],
# 7: { 5: Decimal('-936251215891'),
# 6: datetime.datetime(1975, 8, 18, 6, 30, 9),
# 7: [ u'RSJtGSCcmDdDgqxcpyrn',
# u'VLVZDHLUlVjlufACyQLv']}},
# u'in': { 6: datetime.datetime(1989, 11, 16, 14, 22, 24),
# 7: [ 822004.663491,
# u'LnHvExCBWnTEXWCaCRAl',
# u'wlkPcirWjWzpyLHgTOIm'],
# 8: { 6: 42590696257.0,
# 7: 7126,
# 8: [ datetime.datetime(1999, 6, 17, 6, 6, 43),
# u'http://www.miller-williams.com/login.html']}},
# u'iusto': { 7: Decimal('-761.14109902'),
# 8: [ u'RiShQTTIKmxpStCcURKt',
# 4182,
# u'https://griffiths-briggs.info/home.php'],
# 9: { 7: u'fWMUaGqXXwzVmrhJjhjh',
# 8: u'AfpbndazSoGViyeMZTIZ',
# 9: [ -1081919.7262659,
# u'baldwinfiona@hotmail.com']}},
# u'perferendis': { 9: Decimal('-6.28491166389E+12'),
# 10: [ u'MtwJWxKnxMPLTzQfwJtz',
# 4263,
# u'BRGYnWNEmyCDZnKzFagH'],
# 11: { 9: u'fpUvNWrbvtaBPBFRekFI',
# 10: u'tZZeMPIENXFDHsyyugzI',
# 11: [9942, u'bbdXzNiDxOYcQAiJyiOU']}},
# u'ratione': { 4: u'PoiIUrPyvLaJNwKINZhW',
# 5: [ u'https://dennis-taylor.com/main.asp',
# u'KGdcuAIlVFtDxMdZMfRL',
# u'FVrHHsHgWuuMCKbkMGGh'],
# 6: { 4: datetime.datetime(2002, 5, 23, 14, 51, 50),
# 5: u'UDxtRinsmqWALeZUxxRp',
# 6: [ datetime.datetime(1991, 9, 11, 12, 2, 35),
# u'IAHJiEPTAArBOefNLmjt']}},
# u'temporibus': { 3: u'mqRZHPmZKvRTKAESYkWI',
# 4: [ u'BLWnNmCnFJsqMsggEwzU',
# u'vRsTFjDpTIykUyspRUXC',
# u'http://ellis-russell.com/explore/tag/homepage/'],
# 5: { 3: u'yxSNpNjkGeuWSpMoMGUH',
# 4: datetime.datetime(1976, 12, 28, 9, 18, 41),
# 5: [u'qChpqwFHvkiAczreNoay', 5463]}},
# u'tenetur': { 2: u'RkgXRWhkurwcCzmcyYrz',
# 3: [ u'bradyvictor@hotmail.com',
# u'xGtOZtPdPGBYiPnnTgVa',
# u'xtznNLjbuxlOBMGEENCf'],
# 4: { 2: u'xlsvBSLFnGXzJdIePQVC',
# 3: 5700,
# 4: [Decimal('-9.5493656842'), 3026]}},
# u'voluptatem': { 1: u'https://www.roberts.org/homepage/',
# 2: [Decimal('-2.9084'), 6008, 5157],
# 3: { 1: u'zJZNyjROFQloQQgvRJbD',
# 2: -66173.69685,
# 3: [ u'PNvUrCMvHhnmHBpkLoAW',
# u'http://kent.biz/wp-content/wp-content/homepage/']}},
# u'voluptatibus': { 0: 7788,
# 1: [ u'HjjnirMNelFdqPoeMvQg',
# u'janice89@hotmail.com',
# u'LiTmTAlmmWgHieQEVxxw'],
# 2: { 0: u'RBseKjGZqjzAgGgJFVgn',
# 1: u'whoward@hotmail.com',
# 2: [ u'https://www.allen.org/index.php',
# datetime.datetime(1991, 3, 20, 6, 29, 5)]}}})
fake.pyfloat(left_digits=None, right_digits=None, positive=False)
# 94.87219512196
fake.pydecimal(left_digits=None, right_digits=None, positive=False)
# Decimal('75587320.8707')
fake.pylist(nb_elements=10, variable_nb_elements=True, *value_types)
# [ u'https://mann-robinson.info/about.html',
# u'cnJmCUlAxLPPZvFlQhCe',
# u'carl04@mcdonald-turner.com',
# u'https://greenwood-john.com/author/',
# 219,
# datetime.datetime(1991, 9, 11, 19, 59, 6),
# -9539367594.88]
fake.pytuple(nb_elements=10, variable_nb_elements=True, *value_types)
# ( u'yferguson@faulkner-hart.com',
# Decimal('-3539982375.2'),
# 5381,
# 3974,
# datetime.datetime(1985, 7, 31, 1, 15, 12),
# 9761840788372.6,
# 7410,
# u'qFWjogFbIKTEbFBjuuSD',
# datetime.datetime(2004, 2, 15, 6, 2, 23),
# u'EgEziNJzOsbOxmAuThCb',
# u'VNhTeyEJOzeBatdqPNHY',
# u'bsZFaTUZfvlXsMLDosOG')
fake.pybool()
# False
fake.pyset(nb_elements=10, variable_nb_elements=True, *value_types)
# set([Decimal('87040.0'), Decimal('841344.43'), -962837464.0, u'https://payne-butler.org/author/', u'hamiltonjames@hotmail.com', u'robertsonjanet@gmail.com', u'hakTeoxnBaxUMXUIrFTt'])
fake.pydict(nb_elements=10, variable_nb_elements=True, *value_types)
# { u'ad': 4145,
# u'dolorem': -420713880059.618,
# u'error': u'nKhdMZdELLfrfnsiCJab',
# u'nobis': u'RwAvGnApkYpHOberSkXQ',
# u'officia': u'kparkes@gmail.com',
# u'possimus': u'heomdCtIRHieeIHwVwob',
# u'ratione': u'zCFwGPVcMTNtUpLXMUCh',
# u'reprehenderit': datetime.datetime(1994, 3, 16, 23, 14, 13)}
fake.pyint()
# 5293
faker.providers.ssn
¶
fake.ssn()
# u'ZZ 534027 T'
faker.providers.user_agent
¶
fake.mac_processor()
# u'U; Intel'
fake.firefox()
# u'Mozilla/5.0 (Windows CE; lo-LA; rv:1.9.1.20) Gecko/2012-12-07 22:07:13 Firefox/3.6.19'
fake.linux_platform_token()
# u'X11; Linux x86_64'
fake.opera()
# u'Opera/9.50.(Windows NT 5.01; mt-MT) Presto/2.9.162 Version/11.00'
fake.windows_platform_token()
# u'Windows NT 6.0'
fake.internet_explorer()
# u'Mozilla/5.0 (compatible; MSIE 7.0; Windows NT 5.01; Trident/5.1)'
fake.user_agent()
# u'Mozilla/5.0 (Windows NT 5.2) AppleWebKit/5331 (KHTML, like Gecko) Chrome/27.0.823.0 Safari/5331'
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; Intel Mac OS X 10_8_2) AppleWebKit/5351 (KHTML, like Gecko) Chrome/28.0.875.0 Safari/5351'
fake.mac_platform_token()
# u'Macintosh; U; PPC Mac OS X 10_10_7'
fake.safari()
# u'Mozilla/5.0 (Windows; U; Windows NT 4.0) AppleWebKit/535.14.3 (KHTML, like Gecko) Version/4.0.1 Safari/535.14.3'