Language ro_RO¶
faker.providers.address
¶
fake.longitude()
# Decimal('-129.948542')
fake.building_number()
# u'5985'
fake.street_address()
# u'87664 Jane Mountains Suite 329'
fake.postalcode_plus4()
# u'80109-1915'
fake.city_prefix()
# u'North'
fake.military_ship()
# u'USNS'
fake.city()
# u'West Jane'
fake.zipcode_plus4()
# u'65868-8644'
fake.state_abbr()
# u'NM'
fake.latitude()
# Decimal('-54.225441')
fake.street_suffix()
# u'Extension'
fake.city_suffix()
# u'fort'
fake.military_dpo()
# u'Unit 4657 Box 5372'
fake.country_code(representation="alpha-2")
# u'PT'
fake.country()
# u'Latvia'
fake.secondary_address()
# u'Apt. 018'
fake.geo_coordinate(center=None, radius=0.001)
# Decimal('178.473970')
fake.postalcode()
# u'70371'
fake.address()
# u'88922 Tudor Pass Suite 156\nPort Janemouth, IN 03647-2334'
fake.state()
# u'North Dakota'
fake.military_state()
# u'AA'
fake.street_name()
# u'John Summit'
fake.zipcode()
# u'45899'
fake.postcode()
# u'33821'
fake.military_apo()
# u'PSC 6889, Box 4433'
faker.providers.automotive
¶
fake.license_plate()
# u'WXR3833'
faker.providers.bank
¶
fake.bban()
# 'EOFB2601975870879'
fake.bank_country()
# 'GB'
fake.iban()
# 'GB46QTHM4677686398504'
faker.providers.barcode
¶
fake.ean(length=13)
# u'8186217657878'
fake.ean13()
# u'1952072230344'
fake.ean8()
# u'53339249'
faker.providers.color
¶
fake.rgb_css_color()
# u'rgb(219,211,86)'
fake.color_name()
# u'Tan'
fake.rgb_color()
# u'209,146,38'
fake.safe_hex_color()
# u'#bb9900'
fake.safe_color_name()
# u'maroon'
fake.hex_color()
# u'#667bef'
faker.providers.company
¶
fake.company()
# u'Eftimie-Popa'
fake.company_suffix()
# u'Inc'
fake.catch_phrase()
# u'Virtual multi-tasking archive'
fake.bs()
# u'seize efficient eyeballs'
faker.providers.credit_card
¶
fake.credit_card_security_code(card_type=None)
# u'293'
fake.credit_card_provider(card_type=None)
# u'American Express'
fake.credit_card_full(card_type=None)
# u'Maestro\nJane Ni\u021b\u0103\n630467061408 01/27\nCVV: 330\n'
fake.credit_card_expire(start="now", end="+10y", date_format="%m/%y")
# '11/23'
fake.credit_card_number(card_type=None)
# u'5522215420018535'
faker.providers.currency
¶
fake.cryptocurrency_code()
# 'SRN'
fake.currency_code()
# 'SAR'
fake.currency_name()
# 'Bermudian dollar'
fake.cryptocurrency_name()
# 'BlackCoin'
fake.cryptocurrency()
# ('FTH', 'Feathercoin')
fake.currency()
# ('MOP', 'Macanese pataca')
faker.providers.date_time
¶
fake.future_datetime(end_date="+30d", tzinfo=None)
# datetime.datetime(2018, 8, 26, 4, 44, 6)
fake.time_series(start_date="-30d", end_date="now", precision=None, distrib=None, tzinfo=None)
# <generator object time_series at 0xffffa9c7b2d0>
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(1989, 6, 12, 7, 58, 48)
fake.date_this_decade(before_today=True, after_today=False)
# datetime.date(2013, 9, 12)
fake.date_time_this_month(before_now=True, after_now=False, tzinfo=None)
# datetime.datetime(2018, 8, 3, 6, 33, 35)
fake.past_date(start_date="-30d", tzinfo=None)
# datetime.date(2018, 8, 3)
fake.day_of_week()
# 'Tuesday'
fake.date_time_this_decade(before_now=True, after_now=False, tzinfo=None)
# datetime.datetime(2014, 2, 8, 17, 43, 29)
fake.date_between(start_date="-30y", end_date="today")
# datetime.date(1992, 3, 4)
fake.date_time_this_century(before_now=True, after_now=False, tzinfo=None)
# datetime.datetime(2015, 6, 18, 10, 38, 30)
fake.date(pattern="%Y-%m-%d", end_datetime=None)
# '1987-03-08'
fake.am_pm()
# 'AM'
fake.date_time_between_dates(datetime_start=None, datetime_end=None, tzinfo=None)
# datetime.datetime(2018, 8, 16, 10, 58, 43)
fake.date_object(end_datetime=None)
# datetime.date(2015, 5, 21)
fake.date_this_year(before_today=True, after_today=False)
# datetime.date(2018, 4, 14)
fake.iso8601(tzinfo=None, end_datetime=None)
# '1974-09-08T03:17:30'
fake.future_date(end_date="+30d", tzinfo=None)
# datetime.date(2018, 8, 25)
fake.date_this_century(before_today=True, after_today=False)
# datetime.date(2010, 12, 27)
fake.month()
# '08'
fake.year()
# '1994'
fake.day_of_month()
# '14'
fake.unix_time(end_datetime=None, start_datetime=None)
# 909547440
fake.timezone()
# u'Asia/Colombo'
fake.century()
# u'VII'
fake.date_of_birth(tzinfo=None, minimum_age=0, maximum_age=115)
# datetime.date(2014, 1, 3)
fake.time_object(end_datetime=None)
# datetime.time(13, 5, 49)
fake.date_time_this_year(before_now=True, after_now=False, tzinfo=None)
# datetime.datetime(2018, 6, 5, 0, 27, 39)
fake.date_time(tzinfo=None, end_datetime=None)
# datetime.datetime(2001, 2, 17, 19, 49, 35)
fake.time(pattern="%H:%M:%S", end_datetime=None)
# '03:45:51'
fake.date_this_month(before_today=True, after_today=False)
# datetime.date(2018, 8, 6)
fake.past_datetime(start_date="-30d", tzinfo=None)
# datetime.datetime(2018, 8, 1, 21, 58, 58)
fake.month_name()
# 'March'
fake.date_time_ad(tzinfo=None, end_datetime=None, start_datetime=None)
# datetime.datetime(36, 10, 27, 12, 14, 19)
fake.time_delta(end_datetime=None)
# datetime.timedelta(11708, 79589)
faker.providers.file
¶
fake.unix_device(prefix=None)
# u'/dev/xvdh'
fake.mime_type(category=None)
# u'model/x3d+xml'
fake.file_path(depth=1, category=None, extension=None)
# u'/dolores/veritatis.wav'
fake.unix_partition(prefix=None)
# u'/dev/sdu6'
fake.file_name(category=None, extension=None)
# u'quae.bmp'
fake.file_extension(category=None)
# u'avi'
faker.providers.internet
¶
fake.ascii_free_email(*args, **kwargs)
# 'janestan@gmail.com'
fake.image_url(width=None, height=None)
# u'https://www.lorempixel.com/137/549'
fake.tld()
# u'net'
fake.email(*args, **kwargs)
# u'john10@toma.biz'
fake.url(schemes=None)
# u'http://www.stancu-georgescu.com/'
fake.ipv4_private(network=False, address_class=None)
# '192.168.224.92'
fake.user_name(*args, **kwargs)
# u'johnnistor'
fake.uri_extension()
# u'.htm'
fake.uri_page()
# u'about'
fake.free_email_domain(*args, **kwargs)
# u'hotmail.com'
fake.safe_email(*args, **kwargs)
# u'jane49@example.org'
fake.ascii_email(*args, **kwargs)
# 'janetoma@toma.com'
fake.ipv4_network_class()
# u'c'
fake.ipv4_public(network=False, address_class=None)
# '192.0.0.42'
fake.ascii_company_email(*args, **kwargs)
# 'fionescu@tabacu-toma.com'
fake.domain_name(*args, **kwargs)
# u'tudor.com'
fake.ipv4(network=False, address_class=None, private=None)
# '164.237.120.182'
fake.domain_word(*args, **kwargs)
# u'voinea-nistor'
fake.slug(*args, **kwargs)
# u'quasi-nostrum-amet'
fake.uri_path(deep=None)
# u'tags'
fake.company_email(*args, **kwargs)
# u'john18@diaconu.net'
fake.uri()
# u'https://stancu.biz/app/tag/explore/terms/'
fake.ipv6(network=False)
# '15ab:6053:3eeb:23b1:607f:b6a2:fd9a:8ae5'
fake.free_email(*args, **kwargs)
# u'stanescujohn@gmail.com'
fake.ascii_safe_email(*args, **kwargs)
# 'jane56@example.net'
fake.mac_address()
# u'2a:23:81:60:19:c7'
faker.providers.isbn
¶
fake.isbn10(separator="-")
# u'1-182-74633-0'
fake.isbn13(separator="-")
# u'978-0-293-23355-2'
faker.providers.job
¶
fake.job()
# 'Photographer'
faker.providers.lorem
¶
fake.text(max_nb_chars=200, ext_word_list=None)
# u'Corrupti perferendis necessitatibus voluptatem asperiores enim. Ducimus itaque corporis voluptatibus atque incidunt.'
fake.paragraphs(nb=3, ext_word_list=None)
# [ u'Impedit veritatis facilis hic. Qui commodi minus exercitationem officiis iusto incidunt.',
# u'Sequi aspernatur quod. Et quo sed voluptates est veritatis.',
# u'Possimus facilis at maxime reiciendis sit praesentium. Pariatur harum asperiores aliquid. Blanditiis minima veritatis expedita omnis. Nam adipisci eveniet ipsum doloribus tempore quam.']
fake.words(nb=3, ext_word_list=None)
# [u'libero', u'non', u'maxime']
fake.sentences(nb=3, ext_word_list=None)
# [ u'Numquam non rem voluptas.',
# u'Saepe voluptatum expedita molestiae et eius.',
# u'Unde saepe nulla doloremque ex ducimus.']
fake.word(ext_word_list=None)
# u'nulla'
fake.paragraph(nb_sentences=3, variable_nb_sentences=True, ext_word_list=None)
# u'Iure et eos quae. Laudantium sit mollitia deserunt sit incidunt totam. Ratione autem vero aliquam sit illo.'
fake.sentence(nb_words=6, variable_nb_words=True, ext_word_list=None)
# u'Aliquid voluptas consequatur officiis.'
faker.providers.misc
¶
fake.password(length=10, special_chars=True, digits=True, upper_case=True, lower_case=True)
# u'R8E^EykS%q'
fake.locale()
# u'wae_CH'
fake.binary(length=1048576)
# bytearray(b'\xd4\xdd\xa2\xb5x\x96\x18\x94\xb3o\x18HL3\x0c\xdfN\xe4\xf0v\xbd\x0f\x16\xe8\xf4C\xdc\x07\xcb\xc6\x0f\xa8PB\xe5>\x8c5\x8d\xd3\x0b\xc3C~!\x9c\xf4\xc4j\xb8\xae\x14\xf2\x17bO\xbbP\x7f\x9a\x83GP7\xaa\xc9\x8e\xe7F1\r\xa4\xb2\xda\x08\xa8\xb1\x12\x93\x8a\x05E\xac\x88\xfe\x02\xfa\x1ewa\x1a\xb2!\x94?\xb2[\x02\x8dbK>!\x83\xf3s\x8f\xc6\xd8mO\xc0\xdcr\xab\x0e|\x9e\xda\x8d\xd2K\x95pu\xfb{\x9dZ\xdau\xdb@\x889\xba\xa7\x87\xf8pZ\xc3c\x96\x12A\xd8\xf8\x16\x8f\xd9\xc3\xc5N\x1b\xbc\xe3i\x7f\x9cDs~\xd4\xf8@,\x94m\xce2\x819\xef\x1e \xacJ6\xc9h\xde\xc6\xbe\xd0\xdf\xdf\xd4\x93\xa6\x9d\'\xa1\xcf\xea\xfd\x1d\x0fn\x80\xbf\xeaZ\x84\r\x19o\xd5\xc8=m\xf8\xee\x06\xe0\xc2\xd7\xf0\xdf(p\x17\xba\x1f\xb6\x14\x07\xdb\x9c\xa5\x03\xf1y\x08\x08\xc1|\xa1\xfe\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OL\xcc\xad\'\x925*\xb5iL\x86\xc2B\xe3\xd8\xe7JJJ\xec~\x06')
fake.md5(raw_output=False)
# '041e198a248220fde7aeed9b1a1decac'
fake.sha1(raw_output=False)
# '8c78868d10ad5e9aa2e366fe0a73167042868b83'
fake.null_boolean()
# True
fake.sha256(raw_output=False)
# 'a4377ab6ef96fbeefc1cf4f7dc2d809598826168f475af39c3ec0b4b3916edba'
fake.uuid4()
# '91ccf253-4952-e599-0c8e-abfe58c24928'
fake.language_code()
# u'doi'
fake.boolean(chance_of_getting_true=50)
# False
faker.providers.person
¶
fake.last_name_male()
# u'Florea'
fake.name_female()
# u'Monalisa Olga Albu'
fake.prefix_male()
# u''
fake.prefix()
# u''
fake.name()
# u'John Stan'
fake.suffix_female()
# u''
fake.name_male()
# u'Gabriel St\u0103nescu'
fake.first_name()
# u'John'
fake.suffix_male()
# u''
fake.suffix()
# u''
fake.first_name_male()
# u'Cristian'
fake.first_name_female()
# u'Vasilica'
fake.last_name_female()
# u'Georgescu'
fake.last_name()
# u'Ni\u021b\u0103'
fake.prefix_female()
# u''
faker.providers.phone_number
¶
fake.phone_number()
# u'(973)084-4391x016'
fake.msisdn()
# '1921735640069'
faker.providers.profile
¶
fake.simple_profile(sex=None)
# { 'address': u'6257 Ene Hill Suite 114\nJaneshire, DE 41941-0697',
# 'birthdate': datetime.date(2013, 8, 22),
# 'mail': u'albujohn@yahoo.com',
# 'name': u'Olimpiu Dumitrescu',
# 'sex': 'M',
# 'username': u'jane37'}
fake.profile(fields=None, sex=None)
# { 'address': u'911 Oprea River\nJaneborough, ID 03597-2978',
# 'birthdate': datetime.date(1982, 9, 16),
# 'blood_group': 'A+',
# 'company': u'Ni\u021b\u0103 Inc',
# 'current_location': (Decimal('34.019196'), Decimal('-128.137062')),
# 'job': 'Quantity surveyor',
# 'mail': u'jane45@yahoo.com',
# 'name': u'Rodica Neme\u0219',
# 'residence': u'87880 Cristea Canyon\nNorth Jane, AK 70182-9863',
# 'sex': 'F',
# 'ssn': u'627-62-3313',
# 'username': u'john70',
# 'website': [ u'https://www.puscasu.info/',
# u'http://www.manole-diaconu.com/',
# u'https://www.dinu.net/',
# u'http://www.aanei-popescu.info/']}
faker.providers.python
¶
fake.pyiterable(nb_elements=10, variable_nb_elements=True, *value_types)
# [ u'http://www.nistor-preda.com/category/categories/login.html',
# u'https://albu-ababei.info/',
# u'https://mazilescu-voinea.com/list/terms.html',
# u'http://gheorghiu-stoica.com/',
# u'YlwDDNiZZTGvEEtRVatk',
# u'wCTIjVOeJdVvLgHOxjli',
# u'janepuscasu@gmail.com']
fake.pystr(min_chars=None, max_chars=20)
# u'ylUvYgrGJqzuCPGnNjwm'
fake.pystruct(count=10, *value_types)
# ( [ u'john48@yahoo.com',
# u'PgjpbubQyglhHmbPzUWD',
# u'xflorea@dinu.info',
# datetime.datetime(2001, 3, 29, 13, 2, 4),
# u'pByRhKfVzmjXgjuDrEXx',
# u'IoYLLBJkJDusLMsvYNrT',
# Decimal('4832728.32008'),
# -2287.3782656,
# u'EJWkxnFncozSTmzeujbp',
# u'upuqdobtBxBwascOrWWW'],
# { u'accusantium': 5487,
# u'adipisci': u'dzxVFAYsOJuEmwLWnpVy',
# u'cumque': u'TbGuAzFYjScriAPQJIoz',
# u'necessitatibus': u'QYmyRbhPjNmcmtANVKKI',
# u'porro': u'john71@gmail.com',
# u'similique': u'FtjIQlWcAEpAPVlvkZbj',
# u'sit': Decimal('875707910.292'),
# u'sunt': 38060.976,
# u'tenetur': u'ZWmClUsMUOxGMMnIGtxS'},
# { u'at': { 6: -203.0,
# 7: [ Decimal('9883599.5818'),
# u'GUWdkIsrgnSsjtsXMMxw',
# u'CXROEryUwskGYMRBcdEC'],
# 8: { 6: u'qZdPErtTppiiGTUQJjRg',
# 7: u'kfekEgjYxZsdVitqmBSU',
# 8: [ u'lvIWiQxIPVZzLkWCXsOT',
# u'fwIonAbXQKBWAqAhTblK']}},
# u'autem': { 9: u'ECHxdrIIRKDiVYnGJDzq',
# 10: [ u'johnmocanu@gmail.com',
# u'YcpiXoTtvQAuUBRsgpWl',
# u'johndobre@georgescu.com'],
# 11: { 9: datetime.datetime(1982, 10, 19, 14, 30, 51),
# 10: u'http://www.dumitrescu.com/register/',
# 11: [ datetime.datetime(2011, 2, 13, 10, 52, 25),
# 1261]}},
# u'dolorem': { 7: Decimal('5.69291856751E+14'),
# 8: [ u'gNYxmYWLdpImjyLBdzpI',
# u'OolAvpoBwuVjuOkFPKQr',
# u'https://mazilescu.info/terms.html'],
# 9: { 7: u'xEAOrTFrKmsBtuYHMisg',
# 8: u'UbXLrnwSpiFKVbtHRxdL',
# 9: [8805, u'EkTooYyGEUoKdkNcdXED']}},
# u'libero': { 4: -91438547.689713,
# 5: [ 9191,
# u'rShCMZsucgbnEBafHAwv',
# u'https://www.diaconescu-ionita.net/'],
# 6: { 4: u'soIakRWwuSkevSKDmHLl',
# 5: u'UKGexYxYETxFdxJywkuW',
# 6: [9776, u'LmpxDepdDGyxHIITGaDg']}},
# u'magni': { 5: -575658.6533,
# 6: [ u'janestancu@yahoo.com',
# -928598764.2,
# u'KwjbckQSHycgLlMZogns'],
# 7: { 5: datetime.datetime(1991, 3, 23, 15, 32, 15),
# 6: u'https://www.mazilescu.com/tags/main/privacy.asp',
# 7: [ u'john80@gmail.com',
# u'http://stanescu.com/terms/']}},
# u'occaecati': { 8: Decimal('-155.255'),
# 9: [ u'bSWSHcFPxvSneVRieSno',
# 977,
# u'aiFLyWdJjgFQqmmxxuYF'],
# 10: { 8: datetime.datetime(1979, 7, 19, 19, 13, 25),
# 9: 9179,
# 10: [ u'zxoylfPirbzePKIoTLxE',
# Decimal('6310488.76133')]}},
# u'quaerat': { 2: u'RcHFNwrFghBtMKxqdBAJ',
# 3: [ u'pYRUZwItyWuTnpCHcsrs',
# 116,
# datetime.datetime(2013, 2, 26, 9, 56, 32)],
# 4: { 2: u'flbVKrTfKsHVRDFyUTgw',
# 3: u'http://www.mocanu.biz/tag/about.jsp',
# 4: [ 1512,
# datetime.datetime(2001, 9, 4, 15, 58, 37)]}},
# u'ullam': { 1: Decimal('-222802863279'),
# 2: [u'rKSnxeLJcqdqlXySOmqv', 8049, 688422.53],
# 3: { 1: u'vxtDjRqaBROJnLyjPMPU',
# 2: u'EjlJLGvQrhFwEKgsFIMk',
# 3: [ Decimal('-786631551.299'),
# u'zkvQMAtDRntBlaCpOLCQ']}},
# u'voluptas': { 0: Decimal('222802592.0'),
# 1: [ u'BlxOKFBmZHwwhzaoJWuj',
# Decimal('-84.5179495391'),
# u'prnxRblXHoEwjbNPjVLV'],
# 2: { 0: u'dgAvRgyZHdQcTbvwrsYr',
# 1: u'aaneijane@yahoo.com',
# 2: [ Decimal('-7959.7'),
# u'jyRPBXaUzPsHDQxxeyJq']}}})
fake.pyfloat(left_digits=None, right_digits=None, positive=False)
# -8736629694.867
fake.pydecimal(left_digits=None, right_digits=None, positive=False)
# Decimal('-800466408.944')
fake.pylist(nb_elements=10, variable_nb_elements=True, *value_types)
# [ 95,
# 9997,
# Decimal('882221.693'),
# datetime.datetime(1981, 2, 4, 21, 23, 55),
# u'zveUxlshpgLgTQMRLlAE',
# u'gbfehhfZQHyibsQrazAr',
# u'http://www.dinu.com/explore/wp-content/app/main.htm',
# u'wdiaconescu@yahoo.com',
# u'johnstanescu@yahoo.com',
# u'rfifEmNVigJLBpVtALPd',
# 490]
fake.pytuple(nb_elements=10, variable_nb_elements=True, *value_types)
# ( u'voqiwJaEuMKauhsiljsk',
# 2947,
# datetime.datetime(2013, 8, 25, 11, 47, 25),
# u'GxRrZWYcCwiEXuXSZYft',
# u'http://tabacu-albu.com/category/wp-content/about/',
# datetime.datetime(1980, 10, 25, 23, 57, 39),
# u'ywutVtdMAKNHqmojhsJX',
# datetime.datetime(1978, 7, 19, 9, 55, 28),
# u'https://www.ionita-albu.com/post/',
# u'janegeorgescu@dochioiu.com')
fake.pybool()
# True
fake.pyset(nb_elements=10, variable_nb_elements=True, *value_types)
# set([u'ObYMoJBArVzSdwoIRacw', Decimal('-9834716.26'), u'https://www.georgescu.biz/wp-content/search/explore/login/', Decimal('9.9272634567E+12'), u'ifxJmZljsZdDnOlehtCu', Decimal('-717658612.65'), Decimal('-9.37611920868E+12'), u'JIWRhRUvzPIyNijkOWQc', u'MBsnONXFAhhcBAEfjnRL', datetime.datetime(1991, 8, 10, 23, 24, 49), datetime.datetime(1984, 9, 13, 13, 19, 58), u'UTXGIkTUeUdadCXHZkoe', u'NHrrVTzUZmzQKxlehiqS'])
fake.pydict(nb_elements=10, variable_nb_elements=True, *value_types)
# { u'distinctio': 7652,
# u'eligendi': u'http://www.toma-nistor.com/categories/app/tags/main/',
# u'fuga': u'AmYDydQEtzNcMtDRMWQi',
# u'possimus': 2111,
# u'quidem': u'MkzRdbPdiSwWFFlVTLkh',
# u'sit': 2790,
# u'veniam': datetime.datetime(1984, 4, 26, 13, 38, 33)}
fake.pyint()
# 8962
faker.providers.ssn
¶
fake.ssn(taxpayer_identification_number_type="SSN")
# u'589-51-8258'
fake.ein()
# u'31-8943644'
fake.itin()
# u'907-82-7125'
faker.providers.user_agent
¶
fake.mac_processor()
# u'PPC'
fake.firefox()
# u'Mozilla/5.0 (X11; Linux i686; rv:1.9.7.20) Gecko/2010-05-03 21:24:15 Firefox/3.8'
fake.linux_platform_token()
# u'X11; Linux x86_64'
fake.opera()
# u'Opera/9.61.(X11; Linux i686; iu-CA) Presto/2.9.188 Version/11.00'
fake.windows_platform_token()
# u'Windows NT 6.0'
fake.internet_explorer()
# u'Mozilla/5.0 (compatible; MSIE 6.0; Windows 95; Trident/4.0)'
fake.user_agent()
# u'Mozilla/5.0 (Macintosh; U; PPC Mac OS X 10_11_1) AppleWebKit/5361 (KHTML, like Gecko) Chrome/20.0.823.0 Safari/5361'
fake.linux_processor()
# u'i686'
fake.chrome(version_from=13, version_to=63, build_from=800, build_to=899)
# u'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_9_9) AppleWebKit/5312 (KHTML, like Gecko) Chrome/21.0.849.0 Safari/5312'
fake.mac_platform_token()
# u'Macintosh; Intel Mac OS X 10_12_5'
fake.safari()
# u'Mozilla/5.0 (Windows; U; Windows CE) AppleWebKit/531.8.5 (KHTML, like Gecko) Version/5.0.2 Safari/531.8.5'