Language fr_FR¶
faker.providers.address
¶
fake.latitude()
# Decimal('-42.466407')
fake.department_number()
# u'03'
fake.street_name()
# u'rue Marie Mahe'
fake.address()
# u'53, rue Susan Boutin\n62619 Rollandnec'
fake.department_name()
# u'Hauts-de-Seine'
fake.street_address()
# u'83, boulevard Corinne Hardy'
fake.postcode()
# u'00 315'
fake.country_code(representation="alpha-2")
# u'PT'
fake.longitude()
# Decimal('55.455899')
fake.country()
# u'Ouganda'
fake.geo_coordinate(center=None, radius=0.001)
# Decimal('147.559036')
fake.street_prefix()
# u'chemin'
fake.street_suffix()
# u'Street'
fake.city_prefix()
# u'Sainte'
fake.city_suffix()
# u'boeuf'
fake.building_number()
# u'77'
fake.region()
# u'Saint-Pierre-et-Miquelon'
fake.city()
# u'Sainte \xc9milie'
fake.department()
# (u'33', u'Gironde')
faker.providers.automotive
¶
fake.license_plate()
# u'777C6'
faker.providers.bank
¶
fake.bban()
# '602364205298457611724245'
fake.bank_country()
# 'FR'
fake.iban()
# 'FR70119404636563025497483594'
faker.providers.barcode
¶
fake.ean(length=13)
# u'7384744610668'
fake.ean13()
# u'6363480273352'
fake.ean8()
# u'99173104'
faker.providers.color
¶
fake.rgb_css_color()
# u'rgb(114,218,25)'
fake.color_name()
# u'Vert p\xe2le'
fake.rgb_color()
# u'49,243,112'
fake.safe_hex_color()
# u'#553300'
fake.safe_color_name()
# u'bordeaux'
fake.hex_color()
# u'#e43727'
faker.providers.company
¶
fake.company()
# u'Brun S.A.'
fake.company_suffix()
# u'S.A.'
fake.catch_phrase_verb()
# u"d'avancer"
fake.catch_phrase()
# u"La possibilit\xe9 d'atteindre vos buts de mani\xe8re efficace"
fake.bs()
# u'benchmark extensible web services'
fake.catch_phrase_noun()
# u"l'art"
fake.siren()
# u'825 734 408'
fake.siret(max_sequential_digits=2)
# u'923 858 975 00603'
fake.catch_phrase_attribute()
# u'autrement'
faker.providers.credit_card
¶
fake.credit_card_security_code(card_type=None)
# u'998'
fake.credit_card_provider(card_type=None)
# u'American Express'
fake.credit_card_full(card_type=None)
# u'JCB 15 digit\nNathalie Bourgeois\n180028103909357 10/26\nCVC: 047\n'
fake.credit_card_expire(start="now", end="+10y", date_format="%m/%y")
# '05/24'
fake.credit_card_number(card_type=None)
# u'2229348269905802'
faker.providers.currency
¶
fake.cryptocurrency_code()
# 'POT'
fake.currency_code()
# 'SRD'
fake.currency_name()
# 'Icelandic kr\xc3\xb3na'
fake.cryptocurrency_name()
# 'Gridcoin'
fake.cryptocurrency()
# ('UBQ', 'Ubiq')
fake.currency()
# ('BDT', 'Bangladeshi taka')
faker.providers.date_time
¶
fake.future_datetime(end_date="+30d", tzinfo=None)
# datetime.datetime(2018, 9, 10, 17, 30)
fake.time_series(start_date="-30d", end_date="now", precision=None, distrib=None, tzinfo=None)
# <generator object time_series at 0x7f6bc9e4cd20>
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(2017, 5, 11, 7, 4, 47)
fake.date_this_decade(before_today=True, after_today=False)
# datetime.date(2013, 2, 19)
fake.date_time_this_month(before_now=True, after_now=False, tzinfo=None)
# datetime.datetime(2018, 8, 13, 1, 55, 50)
fake.past_date(start_date="-30d", tzinfo=None)
# datetime.date(2018, 8, 3)
fake.day_of_week()
# u'Dimanche'
fake.date_time_this_decade(before_now=True, after_now=False, tzinfo=None)
# datetime.datetime(2015, 6, 27, 23, 27, 45)
fake.date_between(start_date="-30y", end_date="today")
# datetime.date(2015, 3, 6)
fake.date_time_this_century(before_now=True, after_now=False, tzinfo=None)
# datetime.datetime(2005, 7, 6, 10, 34, 28)
fake.date(pattern="%Y-%m-%d", end_datetime=None)
# '1982-04-24'
fake.am_pm()
# 'PM'
fake.date_time_between_dates(datetime_start=None, datetime_end=None, tzinfo=None)
# datetime.datetime(2018, 8, 16, 9, 28, 15)
fake.date_object(end_datetime=None)
# datetime.date(2007, 12, 10)
fake.date_this_year(before_today=True, after_today=False)
# datetime.date(2018, 5, 21)
fake.iso8601(tzinfo=None, end_datetime=None)
# '1984-02-06T01:05:29'
fake.future_date(end_date="+30d", tzinfo=None)
# datetime.date(2018, 9, 7)
fake.date_this_century(before_today=True, after_today=False)
# datetime.date(2006, 5, 24)
fake.month()
# '11'
fake.year()
# '1979'
fake.day_of_month()
# '10'
fake.unix_time(end_datetime=None, start_datetime=None)
# 207221826
fake.timezone()
# u'Africa/Malabo'
fake.century()
# u'II'
fake.date_of_birth(tzinfo=None, minimum_age=0, maximum_age=115)
# datetime.date(1914, 2, 14)
fake.time_object(end_datetime=None)
# datetime.time(11, 39, 53)
fake.date_time_this_year(before_now=True, after_now=False, tzinfo=None)
# datetime.datetime(2018, 2, 19, 9, 24, 26)
fake.date_time(tzinfo=None, end_datetime=None)
# datetime.datetime(2012, 1, 21, 6, 2, 54)
fake.time(pattern="%H:%M:%S", end_datetime=None)
# '13:29:32'
fake.date_this_month(before_today=True, after_today=False)
# datetime.date(2018, 8, 2)
fake.past_datetime(start_date="-30d", tzinfo=None)
# datetime.datetime(2018, 7, 18, 16, 21, 10)
fake.month_name()
# u'Mars'
fake.date_time_ad(tzinfo=None, end_datetime=None, start_datetime=None)
# datetime.datetime(684, 9, 8, 0, 0, 15)
fake.time_delta(end_datetime=None)
# datetime.timedelta(13041, 55515)
faker.providers.file
¶
fake.unix_device(prefix=None)
# u'/dev/xvdd'
fake.mime_type(category=None)
# u'model/x3d+binary'
fake.file_path(depth=1, category=None, extension=None)
# u'/facere/dolore.wav'
fake.unix_partition(prefix=None)
# u'/dev/xvdz4'
fake.file_name(category=None, extension=None)
# u'enim.css'
fake.file_extension(category=None)
# u'avi'
faker.providers.internet
¶
fake.ascii_free_email(*args, **kwargs)
# 'obouvier@bouygtel.fr'
fake.image_url(width=None, height=None)
# u'https://placeholdit.imgix.net/~text?txtsize=55&txt=255x99&w=255&h=99'
fake.tld()
# u'fr'
fake.email(*args, **kwargs)
# u'glebreton@renaud.org'
fake.url(schemes=None)
# u'https://ruiz.org/'
fake.ipv4_private(network=False, address_class=None)
# '10.18.133.232'
fake.user_name(*args, **kwargs)
# u'droux'
fake.uri_extension()
# u'.html'
fake.uri_page()
# u'about'
fake.free_email_domain(*args, **kwargs)
# u'bouygtel.fr'
fake.safe_email(*args, **kwargs)
# u'efernandez@example.net'
fake.ascii_email(*args, **kwargs)
# 'renaultraymond@ifrance.com'
fake.ipv4_network_class()
# u'a'
fake.ipv4_public(network=False, address_class=None)
# '129.95.142.184'
fake.ascii_company_email(*args, **kwargs)
# 'chevaliercecile@arnaud.org'
fake.domain_name(*args, **kwargs)
# u'gay.fr'
fake.ipv4(network=False, address_class=None, private=None)
# '60.186.229.157'
fake.domain_word(*args, **kwargs)
# u'pages'
fake.slug(*args, **kwargs)
# u'exercitationem'
fake.uri_path(deep=None)
# u'main/app/posts'
fake.company_email(*args, **kwargs)
# u'lenoircelina@pruvost.org'
fake.uri()
# u'https://www.blot.fr/blog/wp-content/terms.php'
fake.ipv6(network=False)
# 'faa7:2205:8d4:e07b:e14e:95e9:e45d:c993'
fake.free_email(*args, **kwargs)
# u'leclerclaurent@noos.fr'
fake.ascii_safe_email(*args, **kwargs)
# 'gmarechal@example.fr'
fake.mac_address()
# u'ea:f0:94:b8:fe:55'
faker.providers.isbn
¶
fake.isbn10(separator="-")
# u'0-603-94853-7'
fake.isbn13(separator="-")
# u'978-0-448-62792-2'
faker.providers.job
¶
fake.job()
# u'Qualiticien'
faker.providers.lorem
¶
fake.text(max_nb_chars=200, ext_word_list=None)
# u'Corrupti cupiditate in sequi nihil minus. Quas quaerat saepe debitis suscipit. Quo ratione dolore maxime ipsa alias.\nAccusamus et ullam quidem blanditiis nihil. Ipsa omnis perspiciatis modi.'
fake.paragraphs(nb=3, ext_word_list=None)
# [ u'Perferendis voluptate vitae aut accusantium unde modi tempora. Aliquid ducimus velit non asperiores dolor eos. Doloremque iste corrupti nemo ratione similique dicta.',
# u'Fugiat asperiores quia reiciendis assumenda ducimus minima dicta. Repellendus ab velit. Pariatur aperiam sed repellendus architecto tempore molestias adipisci.',
# u'Culpa earum nobis incidunt nesciunt placeat nisi. Natus nulla nisi eaque. Reprehenderit fugit nihil harum reiciendis non.']
fake.words(nb=3, ext_word_list=None)
# [u'beatae', u'at', u'adipisci']
fake.sentences(nb=3, ext_word_list=None)
# [ u'Ipsam vitae voluptatibus alias neque ad beatae.',
# u'Quisquam a aut fuga quod in.',
# u'Ut consequuntur soluta quisquam nesciunt eum debitis.']
fake.word(ext_word_list=None)
# u'laudantium'
fake.paragraph(nb_sentences=3, variable_nb_sentences=True, ext_word_list=None)
# u'Ullam dolorem cupiditate est veritatis quia. Tempore libero aperiam. Eaque porro illum.'
fake.sentence(nb_words=6, variable_nb_words=True, ext_word_list=None)
# u'Enim dicta facilis nulla dolorum dolor deleniti.'
faker.providers.misc
¶
fake.password(length=10, special_chars=True, digits=True, upper_case=True, lower_case=True)
# u'yl4Pk1ky9!'
fake.locale()
# u'th_TH'
fake.binary(length=1048576)
# bytearray(b'U\xf8\x19`\xc6\xbf\x1c\x81\xc5\xa6O@\x08\xdf>AN\xe9p4\xbbT\x92\x7f\x87~\xdd\\\x9e1\x8a\xa5y\xe4\xea\xae^\xcc\xf9\x8f]\x06\x08T\xdc\xb2O\xe1\xea\x02\x04\x1a\x95 \x88\x92J\x02e5\xcc\x910\x99\x96_6GD\xcbN\xc8\xc3\xa5\xaa%+\x17\xe4\xca\x1c\xff\xcb\x99\x1e\xb1Wb\x18dX\xad\xe2\x1a(xo\x82^E\xf5\x17\x81p\x9f\xf7|\x17\x89X"K5\x98E\x88\x1aFa\xb5\x0cD\x1c\xa9\xca\xcd\x98\x1f\x18%\x91#3t\x8c\x80\x85\xb5\xa8\xee\xdf2\xcb\xee\xa7&\x9a\x1e\xc55\x00\x98>8b\x04\x94\xf6\x93L\xc7\xc1r.\x96g3\xb9\x88z\xc70M\x1d\x0e<$\xde\xdf;\xad\xde\x9c\xe8iVt\x18\xe6\xacOo\xdc\xe8\xc1\x11\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K\xb1\x85\x9f\x94\n\xf2\xfcGi\xb0\xd6\x03\x12\xa6e\x1d')
fake.md5(raw_output=False)
# '439c22ac226f018fa11c0823d969bb26'
fake.sha1(raw_output=False)
# '2827c4c192938912e8f7e91f872f3a567481022d'
fake.null_boolean()
# False
fake.sha256(raw_output=False)
# '5cae446016539c216620e63be60f482e194e52ba93d856e520fe9e8682a22941'
fake.uuid4()
# '0754be19-ad10-ebbd-8c0e-1613ac3e9369'
fake.language_code()
# u'eo'
fake.boolean(chance_of_getting_true=50)
# False
faker.providers.person
¶
fake.last_name_male()
# u'Roy'
fake.name_female()
# u'Val\xe9rie Toussaint'
fake.prefix_male()
# u'du'
fake.prefix()
# u'de'
fake.name()
# u'Marine Pineau'
fake.suffix_female()
# u''
fake.name_male()
# u'Philippe Riou'
fake.first_name()
# u'Victoire'
fake.suffix_male()
# u''
fake.suffix()
# u''
fake.first_name_male()
# u'Laurent'
fake.first_name_female()
# u'Camille'
fake.last_name_female()
# u'Marion'
fake.last_name()
# u'Ribeiro'
fake.prefix_female()
# u'Le'
faker.providers.phone_number
¶
fake.phone_number()
# u'+33 1 19 41 87 29'
fake.msisdn()
# '4034077857862'
faker.providers.profile
¶
fake.simple_profile(sex=None)
# { 'address': u'rue de Herve\n20 686 Sainte Philippine',
# 'birthdate': datetime.date(1990, 2, 1),
# 'mail': u'richard53@tele2.fr',
# 'name': u'V\xe9ronique Fernandes',
# 'sex': 'F',
# 'username': u'benoitlombard'}
fake.profile(fields=None, sex=None)
# { 'address': u'9, chemin Blanc\n73844 Bernard-les-Bains',
# 'birthdate': datetime.date(1971, 3, 25),
# 'blood_group': '0+',
# 'company': u'Lefort S.A.R.L.',
# 'current_location': (Decimal('-40.612016'), Decimal('-155.148579')),
# 'job': u'Marin p\xeacheur',
# 'mail': u'louiselemaire@voila.fr',
# 'name': u'Pierre-Daniel Perrot',
# 'residence': u'7, boulevard Muller\n17744 Durandboeuf',
# 'sex': 'M',
# 'ssn': u'217-93-4186',
# 'username': u'wmartel',
# 'website': [u'http://lemaitre.fr/']}
faker.providers.python
¶
fake.pyiterable(nb_elements=10, variable_nb_elements=True, *value_types)
# [ 4325,
# -912927529648.458,
# datetime.datetime(1971, 5, 21, 3, 6, 55),
# Decimal('82091.63'),
# 2946,
# u'UvVQHPIOIoyCYOGpdDXZ',
# u'FUQGLQdgKHNKfUqnuwTi',
# u'dKTejELynuDCtIhrGLPq',
# u'dVeoAozxxSwfBXTQTpFE',
# u'SzRIdxnTPlnYOUbozTrr',
# datetime.datetime(1983, 1, 22, 14, 59, 16)]
fake.pystr(min_chars=None, max_chars=20)
# u'hcKJlzcaWYziooSEMdqF'
fake.pystruct(count=10, *value_types)
# ( [ u'ocVrGkrCMReelEOHicfq',
# Decimal('-8.4862191032E+13'),
# u'costazoe@dbmail.com',
# u'KTUwjekdKOvDyBmVUXzV',
# Decimal('2364322.56406'),
# u'http://www.muller.com/',
# u'xnvLBOovbmflqmfKhPgy',
# 781945667770.6,
# u'ELHYYPVpidsmJINUNsig',
# datetime.datetime(2007, 10, 11, 16, 38, 46)],
# { u'at': u'PvPgrYWnzXgsLlbHropm',
# u'corrupti': u'XEDdbgxumAMwsUHlXoGN',
# u'deleniti': -421758.50972458,
# u'distinctio': u'bleroy@club-internet.fr',
# u'harum': u'PzfSiSqWuhyWCFhLqPjI',
# u'libero': 4069203586898.7,
# u'maxime': 5936,
# u'tenetur': u'PrQXhbaKDjCebIpBMaAg',
# u'vel': -531712.99136},
# { u'autem': { 2: u'greniermichel@hotmail.fr',
# 3: [8341, 4454, u'FgIoVylywkrnHGqGnOdX'],
# 4: { 2: u'MmOiwXHhyDvALtzJpGua',
# 3: 3375,
# 4: [ u'SItJzigfoqUlijdQrqtK',
# u'ISUWzLohljvfctorycJa']}},
# u'ex': { 5: u'HqVRvcSzReXbBAzqfetR',
# 6: [ datetime.datetime(1985, 8, 29, 10, 1, 8),
# u'rjHINabUBTRFFxHCGxSp',
# u'qfRUCPTdWkauDbeCWuuH'],
# 7: { 5: u'mbaron@pascal.net',
# 6: u'jFhRVfNSZHRQdsJVIKTK',
# 7: [ 40177.51870654,
# u'http://www.jacob.com/homepage/']}},
# u'hic': { 0: u'ericevrard@yahoo.fr',
# 1: [ Decimal('-33693767347.9'),
# u'fmNTKfYXAnELTTRRqTCM',
# datetime.datetime(2014, 1, 31, 0, 15, 29)],
# 2: { 0: -96766003065315.0,
# 1: u'GrmDyvdMGmMRyhgRasuP',
# 2: [6937, u'arthurrocher@dbmail.com']}},
# u'iste': { 9: 1491,
# 10: [u'qtzqOZlGbuyTJIqpqvEr', 6.677, 5224],
# 11: { 9: 48353142517952.7, 10: 258, 11: [1101, 2356]}},
# u'iusto': { 4: 7201,
# 5: [ 9998,
# Decimal('-6988750.90701'),
# u'https://www.goncalves.com/'],
# 6: { 4: u'https://guibert.fr/blog/tag/category/',
# 5: u'HhqwVLRSDuctHjduKLUc',
# 6: [ datetime.datetime(2016, 2, 10, 5, 40, 43),
# Decimal('86.1236176')]}},
# u'libero': { 1: u'https://www.leconte.fr/category.html',
# 2: [ -684446.475357,
# u'BOHjjtmPzqitiVwXWTqM',
# datetime.datetime(2011, 9, 21, 13, 42, 24)],
# 3: { 1: u'GGKZsKtnuOkyONlOdeUo',
# 2: Decimal('36543186.5307'),
# 3: [ datetime.datetime(1972, 10, 5, 8, 15, 27),
# u'https://robert.fr/']}},
# u'maiores': { 8: u'HkiaLvcOvQbglhBwdwCb',
# 9: [ u'XYJcNxcXOjmLTHpuPsjs',
# u'aJoCsdyHjhOxCJFLFfbK',
# datetime.datetime(1978, 7, 2, 16, 35, 53)],
# 10: { 8: u'aUjjWwpQGcYiyffLyKmd',
# 9: 1943,
# 10: [ u'VEIuBdxNAMCkfaxekVIe',
# u'LtOKgaKaVUOiWXtGzfVJ']}},
# u'nesciunt': { 6: u'mOplsaTKUwLbbEfRuSmj',
# 7: [ 7579,
# u'xqWWXdLMwdzWBsMBwGRc',
# u'alexandriapruvost@aubert.fr'],
# 8: { 6: u'LgKnUhqZOWuNwwSLdQsC',
# 7: u'XGSoqIcBGILVqwGOLJhH',
# 8: [u'AujKeqnHzHzGSXjHphFr', 5169]}},
# u'temporibus': { 3: u'antoinetristan@collin.fr',
# 4: [ datetime.datetime(2013, 1, 4, 7, 27, 38),
# datetime.datetime(2016, 9, 18, 14, 15, 20),
# u'bphilippe@orange.fr'],
# 5: { 3: u'qTRyDXhdIfdCHMfCLmVa',
# 4: u'http://www.dupuy.org/',
# 5: [8341, u'brunisaac@teixeira.com']}},
# u'veritatis': { 7: 35926.137601178,
# 8: [ -3831767972.34387,
# datetime.datetime(2017, 9, 19, 7, 10, 40),
# 9057],
# 9: { 7: u'KAprRwcYgljWvTGvieyD',
# 8: Decimal('-3.13596939477E+13'),
# 9: [ u'dnNllRqqdbdxMXlnrdYi',
# Decimal('665213.994661')]}}})
fake.pyfloat(left_digits=None, right_digits=None, positive=False)
# -873047649181.72
fake.pydecimal(left_digits=None, right_digits=None, positive=False)
# Decimal('1.02916844913E+14')
fake.pylist(nb_elements=10, variable_nb_elements=True, *value_types)
# [ 7073,
# u'YOLsCtyylbTJWJZogcsc',
# 5922,
# u'IUPlJkzWDLRPLnvhWACA',
# u'TQGTfhMwVEVwEhnyKFek',
# Decimal('28869397.0'),
# u'qpQMvJdCtpHkfBYaAbmo',
# 4780.38856,
# 972,
# datetime.datetime(1972, 7, 26, 21, 46, 9),
# u'jjAHUnpXpRfWRVbyqSgq',
# datetime.datetime(1988, 1, 24, 19, 42, 3)]
fake.pytuple(nb_elements=10, variable_nb_elements=True, *value_types)
# ( u'jeanne21@pierre.org',
# u'zUzHuWigmAcuPaGboNtC',
# u'uIaUuRBcOjLrEAPbgSvR',
# u'http://bousquet.fr/main.php',
# 6658,
# u'bLDZaMAZjdwHSeoXYfEQ',
# u'https://www.gauthier.net/faq/',
# u'http://www.philippe.org/about.asp',
# 8274,
# -373574770671186.0,
# 46.7874,
# Decimal('-50005878.265'),
# u'JCLYvNlwOghtJFhdnFiK')
fake.pybool()
# False
fake.pyset(nb_elements=10, variable_nb_elements=True, *value_types)
# set([u'noelnicolas@guerin.fr', 9446, u'ySAWbYdFmqpkKIeNDHOb', u'vEBiDmDdTBpnnEKbTfIN', 8301, u'alexandria50@yahoo.fr', datetime.datetime(1975, 11, 4, 3, 53), 9688, 3519, u'https://www.cordier.com/category/register/', 383])
fake.pydict(nb_elements=10, variable_nb_elements=True, *value_types)
# { u'accusantium': datetime.datetime(2012, 8, 2, 10, 57, 40),
# u'blanditiis': Decimal('2682770292.0'),
# u'enim': Decimal('7.7953619086E+12'),
# u'eos': u'szaQzjtILaPNeVQqlNvx',
# u'libero': datetime.datetime(1971, 6, 27, 12, 49, 42),
# u'nam': 326,
# u'nisi': u'GtWyOgllxRxtyJqvlIvX',
# u'velit': u'https://www.dupre.com/',
# u'veniam': -743370300.0,
# u'voluptatibus': 6}
fake.pyint()
# 7995
faker.providers.ssn
¶
fake.ssn(taxpayer_identification_number_type="SSN")
# u'430-81-5171'
fake.ein()
# u'26-0536608'
fake.itin()
# u'997-71-3946'
faker.providers.user_agent
¶
fake.mac_processor()
# u'PPC'
fake.firefox()
# u'Mozilla/5.0 (Windows NT 6.2; fo-FO; rv:1.9.0.20) Gecko/2012-01-17 05:40:38 Firefox/12.0'
fake.linux_platform_token()
# u'X11; Linux i686'
fake.opera()
# u'Opera/8.22.(Windows NT 6.2; ug-CN) Presto/2.9.188 Version/10.00'
fake.windows_platform_token()
# u'Windows NT 6.2'
fake.internet_explorer()
# u'Mozilla/5.0 (compatible; MSIE 7.0; Windows NT 5.01; Trident/4.0)'
fake.user_agent()
# u'Mozilla/5.0 (compatible; MSIE 6.0; Windows NT 6.1; Trident/3.1)'
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; U; PPC Mac OS X 10_6_8) AppleWebKit/5331 (KHTML, like Gecko) Chrome/62.0.881.0 Safari/5331'
fake.mac_platform_token()
# u'Macintosh; PPC Mac OS X 10_9_8'
fake.safari()
# u'Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_7_9 rv:6.0; so-KE) AppleWebKit/534.43.2 (KHTML, like Gecko) Version/5.0 Safari/534.43.2'