Language fr_CH¶
faker.providers.address
¶
fake.address()
# u'avenue Emma Mottiez 818\n6896 Fonjallaz'
fake.latitude()
# Decimal('89.0856795')
fake.longitude()
# Decimal('-27.954389')
fake.building_number()
# u'89'
fake.street_address()
# u'avenue de Curdy 95'
fake.postcode()
# u'2614'
fake.country_code(representation="alpha-2")
# u'IN'
fake.canton_name()
# u'Zurich'
fake.country()
# u'Angola'
fake.geo_coordinate(center=None, radius=0.001)
# Decimal('88.474496')
fake.street_prefix()
# u'avenue'
fake.street_suffix()
# u'Street'
fake.city_prefix()
# u'Unter'
fake.city_suffix()
# u'-Dessus'
fake.canton()
# (u'AI', u'Appenzell Rhodes-Int\xe9rieures')
fake.street_name()
# u'rue Jessica Badel'
fake.city()
# u'D\xe9l\xe8ze-la-Ville'
fake.canton_code()
# u'SO'
faker.providers.automotive
¶
fake.license_plate()
# u'57RP5'
faker.providers.bank
¶
fake.bban()
# 'NSAH8882158459517'
fake.bank_country()
# 'GB'
fake.iban()
# 'GB57ZDKU5812052790448'
faker.providers.barcode
¶
fake.ean(length=13)
# u'6986387133347'
fake.ean13()
# u'9269705845083'
fake.ean8()
# u'28390466'
faker.providers.color
¶
fake.rgb_css_color()
# u'rgb(36,1,47)'
fake.color_name()
# u'DarkOliveGreen'
fake.rgb_color()
# u'251,215,245'
fake.safe_hex_color()
# u'#550000'
fake.safe_color_name()
# u'blue'
fake.hex_color()
# u'#d93b00'
faker.providers.company
¶
fake.ide()
# u'CHE-290.756.811'
fake.uid()
# u'CHE-489.207.562'
fake.company()
# u'Courvoisier'
fake.company_suffix()
# u'SA'
fake.catch_phrase_verb()
# u"d'\xe9voluer"
fake.catch_phrase()
# u"Le droit d'\xe9voluer plus facilement"
fake.siret(max_sequential_digits=2)
# u'351 457 275 00355'
fake.bs()
# u'empower magnetic bandwidth'
fake.catch_phrase_noun()
# u'la s\xe9curit\xe9'
fake.siren()
# u'430 551 325'
fake.idi()
# u'CHE-042.183.573'
fake.catch_phrase_attribute()
# u"\xe0 l'\xe9tat pur"
faker.providers.credit_card
¶
fake.credit_card_security_code(card_type=None)
# u'481'
fake.credit_card_provider(card_type=None)
# u'VISA 19 digit'
fake.credit_card_full(card_type=None)
# u'VISA 16 digit\nMarie B\xe9guelin\n4725308691638772 08/27\nCVC: 520\n'
fake.credit_card_expire(start="now", end="+10y", date_format="%m/%y")
# '11/18'
fake.credit_card_number(card_type=None)
# u'3525230048477262'
faker.providers.currency
¶
fake.cryptocurrency_code()
# 'STC'
fake.currency_code()
# 'TZS'
fake.currency_name()
# 'Barbadian dollar'
fake.cryptocurrency_name()
# 'Omni'
fake.cryptocurrency()
# ('EOS', 'EOS.IO')
fake.currency()
# ('HTG', 'Haitian gourde')
faker.providers.date_time
¶
fake.future_datetime(end_date="+30d", tzinfo=None)
# datetime.datetime(2018, 9, 8, 14, 44, 28)
fake.time_series(start_date="-30d", end_date="now", precision=None, distrib=None, tzinfo=None)
# <generator object time_series at 0x7f6bc9e11d70>
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(2009, 4, 5, 19, 50, 32)
fake.date_this_decade(before_today=True, after_today=False)
# datetime.date(2018, 3, 21)
fake.date_time_this_month(before_now=True, after_now=False, tzinfo=None)
# datetime.datetime(2018, 8, 16, 3, 29, 47)
fake.past_date(start_date="-30d", tzinfo=None)
# datetime.date(2018, 7, 25)
fake.day_of_week()
# 'Friday'
fake.date_time_this_decade(before_now=True, after_now=False, tzinfo=None)
# datetime.datetime(2014, 7, 15, 1, 49, 35)
fake.date_between(start_date="-30y", end_date="today")
# datetime.date(2014, 1, 28)
fake.date_time_this_century(before_now=True, after_now=False, tzinfo=None)
# datetime.datetime(2014, 3, 30, 12, 11, 37)
fake.date(pattern="%Y-%m-%d", end_datetime=None)
# '2012-06-09'
fake.am_pm()
# 'AM'
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(2016, 8, 29)
fake.date_this_year(before_today=True, after_today=False)
# datetime.date(2018, 5, 7)
fake.iso8601(tzinfo=None, end_datetime=None)
# '1982-12-09T13:06:15'
fake.future_date(end_date="+30d", tzinfo=None)
# datetime.date(2018, 9, 2)
fake.date_this_century(before_today=True, after_today=False)
# datetime.date(2008, 7, 25)
fake.month()
# '10'
fake.year()
# '2009'
fake.day_of_month()
# '01'
fake.unix_time(end_datetime=None, start_datetime=None)
# 1256631287
fake.timezone()
# u'America/Boa_Vista'
fake.century()
# u'XX'
fake.date_of_birth(tzinfo=None, minimum_age=0, maximum_age=115)
# datetime.date(1965, 8, 23)
fake.time_object(end_datetime=None)
# datetime.time(15, 26, 15)
fake.date_time_this_year(before_now=True, after_now=False, tzinfo=None)
# datetime.datetime(2018, 4, 11, 16, 49, 56)
fake.date_time(tzinfo=None, end_datetime=None)
# datetime.datetime(1978, 12, 28, 12, 38, 29)
fake.time(pattern="%H:%M:%S", end_datetime=None)
# '04:03:50'
fake.date_this_month(before_today=True, after_today=False)
# datetime.date(2018, 8, 11)
fake.past_datetime(start_date="-30d", tzinfo=None)
# datetime.datetime(2018, 8, 15, 2, 56, 15)
fake.month_name()
# 'June'
fake.date_time_ad(tzinfo=None, end_datetime=None, start_datetime=None)
# datetime.datetime(1034, 7, 15, 17, 35, 8)
fake.time_delta(end_datetime=None)
# datetime.timedelta(17563, 17259)
faker.providers.file
¶
fake.unix_device(prefix=None)
# u'/dev/vdx'
fake.mime_type(category=None)
# u'image/tiff'
fake.file_path(depth=1, category=None, extension=None)
# u'/eum/itaque.docx'
fake.unix_partition(prefix=None)
# u'/dev/vdi6'
fake.file_name(category=None, extension=None)
# u'mollitia.wav'
fake.file_extension(category=None)
# u'tiff'
faker.providers.internet
¶
fake.ascii_free_email(*args, **kwargs)
# 'noahmatile@bluewin.ch'
fake.image_url(width=None, height=None)
# u'https://placeholdit.imgix.net/~text?txtsize=55&txt=245x218&w=245&h=218'
fake.tld()
# u'com'
fake.email(*args, **kwargs)
# u'carrongermaine@marti.ch'
fake.url(schemes=None)
# u'http://blanc.com/'
fake.ipv4_private(network=False, address_class=None)
# '172.19.199.182'
fake.user_name(*args, **kwargs)
# u'balmateva'
fake.uri_extension()
# u'.html'
fake.uri_page()
# u'about'
fake.free_email_domain(*args, **kwargs)
# u'romandie.com'
fake.safe_email(*args, **kwargs)
# u'georgettegalland@example.ch'
fake.ascii_email(*args, **kwargs)
# 'madeleine59@romandie.com'
fake.ipv4_network_class()
# u'a'
fake.ipv4_public(network=False, address_class=None)
# '173.35.135.103'
fake.ascii_company_email(*args, **kwargs)
# 'christianediesbach@pellet.ch'
fake.domain_name(*args, **kwargs)
# u'chevalley.com'
fake.ipv4(network=False, address_class=None, private=None)
# '111.145.191.231'
fake.domain_word(*args, **kwargs)
# u'gillieron'
fake.slug(*args, **kwargs)
# u'adipisci-nisi'
fake.uri_path(deep=None)
# u'list/search'
fake.company_email(*args, **kwargs)
# u'margueritegrand@corpataux.ch'
fake.uri()
# u'https://www.mueller.com/search.html'
fake.ipv6(network=False)
# 'a3aa:6c3f:b086:3498:da10:762d:419b:b163'
fake.free_email(*args, **kwargs)
# u'kcandaux@yahoo.fr'
fake.ascii_safe_email(*args, **kwargs)
# 'nicolas70@example.net'
fake.mac_address()
# u'b9:2f:1b:b6:7f:86'
faker.providers.isbn
¶
fake.isbn10(separator="-")
# u'0-276-05780-5'
fake.isbn13(separator="-")
# u'978-1-103-15549-1'
faker.providers.job
¶
fake.job()
# u'Conseiller en affections respiratoires et tuberculose avec brevet f\xe9d\xe9ral'
faker.providers.lorem
¶
fake.text(max_nb_chars=200, ext_word_list=None)
# u'Quaerat maxime dolorum modi eum. Quos eveniet sint quidem. Aliquam excepturi esse voluptatem.\nMaiores eaque ipsum vitae explicabo suscipit. Natus neque quos inventore veritatis aperiam praesentium.'
fake.paragraphs(nb=3, ext_word_list=None)
# [ u'Dolore nobis impedit similique excepturi suscipit. Officiis perspiciatis quae quo itaque. Quisquam neque sapiente optio ratione.',
# u'Quam nostrum esse iste doloremque qui nihil magnam. Nostrum recusandae quaerat neque sapiente mollitia.',
# u'Nemo repudiandae possimus praesentium mollitia eligendi sit. Ea voluptatem animi odio numquam fuga unde. Quaerat cupiditate rem explicabo. Laboriosam vitae ut nostrum.']
fake.words(nb=3, ext_word_list=None)
# [u'illum', u'ad', u'occaecati']
fake.sentences(nb=3, ext_word_list=None)
# [ u'Perferendis sit aut error.',
# u'Officiis placeat quae.',
# u'Ut cumque modi repellat aut.']
fake.word(ext_word_list=None)
# u'unde'
fake.paragraph(nb_sentences=3, variable_nb_sentences=True, ext_word_list=None)
# u'Nobis expedita at tenetur ipsam voluptatum. Ut quibusdam enim iure quibusdam tempore consequuntur consequuntur.'
fake.sentence(nb_words=6, variable_nb_words=True, ext_word_list=None)
# u'Dolores sed harum magni tempore doloribus itaque facilis.'
faker.providers.misc
¶
fake.password(length=10, special_chars=True, digits=True, upper_case=True, lower_case=True)
# u'5@G3Da@N_w'
fake.locale()
# u'ko_KR'
fake.binary(length=1048576)
# bytearray(b'"^\xc3\xe6\xd95\x90\xf0%X\t!v\xf3P\x7f\xb7W9\xd0/\xb9\\\xf4\xde\xd9[)_o@\xa7\x9da\x0c\xdf|\xc9\x86U\xafX\xd3\xf5\xce\xc9\xe4/\xcc\xc5\xd3\x980R\n5\xe2\x82\\\xe1\xad\x01c\xe7\x96\xd6\x92%\xb8"C\x8aH\x17\x1e)\xe8\x7f8\x89\x14\xf2\x02f\xb6.`\x1e\xe0\xea\x1e\x194b3M\xa6\xf8\n\x03)\xbf\xec\x98\x8dB\xf7\xabB\x1d\x0e\'\x94+\x8a6\xb11\xad\xfd\x16&\xf3\x7f\xd2I\xebO\xc1\xd6I\xdd\xfe9\\s`\x82a\xe4\xb9\x16N\xd5Z\xef\x92\x070H5\x02\x1f\x85\x1a]\xde\xe3N\x9a\xc1\x9d\x8a(\xc0V\x08\x03.\x14\x97\x95{\xeeE\x12\x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xb7~\xce\x97\xdb\x10%\x9d\x16\xa6\x83\xf6W\xd2\x9d8\x89\xb2r\xc5\x9bT\xac\x0e#\x02\x1b\x88@l\x81N\x16\xfe\x99\x9c\xd9\x88K`\x06\x13\x82\'n?\x81\x91i\xd0\x96\x82}\xba\x07\xbb|\xaa\xf0\x92\x19s\xe0\xa3\xcc\xae\xef~\xf5;>yn\xc8_\xc0?\xd6O')
fake.md5(raw_output=False)
# 'fd6a2021dec81a05a8df7eedba82aff6'
fake.sha1(raw_output=False)
# '4c878e583ab0172f94e2e10a00d2bd620d9e08fa'
fake.null_boolean()
# True
fake.sha256(raw_output=False)
# '7b691aa1856b7bbd0fd48fefad0f4223b4149d9a73f1986a2f919d7e992615c8'
fake.uuid4()
# '3b6a8562-ddbc-b5e5-dec9-db6dbe194f8d'
fake.language_code()
# u'ik'
fake.boolean(chance_of_getting_true=50)
# False
faker.providers.person
¶
fake.last_name_male()
# u'Tinguely'
fake.name_female()
# u'Clara Pellet'
fake.prefix_male()
# u''
fake.prefix()
# u''
fake.name()
# u'Louis Comte'
fake.suffix_female()
# u''
fake.name_male()
# u'Nathan de Dardel'
fake.first_name()
# u'Georges'
fake.suffix_male()
# u''
fake.suffix()
# u''
fake.first_name_male()
# u'Georges'
fake.first_name_female()
# u'Christine'
fake.last_name_female()
# u'Bouvier'
fake.last_name()
# u'Morard'
fake.prefix_female()
# u''
faker.providers.phone_number
¶
fake.phone_number()
# u'+41 (0)55 865 81 04'
fake.msisdn()
# '6033612484421'
faker.providers.profile
¶
fake.simple_profile(sex=None)
# { 'address': u'boulevard Florian Nussl\xe9 83\n5305 Monnet-pr\xe8s-Francillon',
# 'birthdate': datetime.date(1969, 4, 24),
# 'mail': u'jessicamartin@yahoo.fr',
# 'name': u'Gabriel Bourquin',
# 'sex': 'M',
# 'username': u'elodiecomment'}
fake.profile(fields=None, sex=None)
# { 'address': u'rue Morand 3\n6854 Badan am Rhein',
# 'birthdate': datetime.date(1971, 10, 31),
# 'blood_group': 'A-',
# 'company': u'Alber SA',
# 'current_location': (Decimal('68.624866'), Decimal('-58.967696')),
# 'job': u'Contrema\xeetre ma\xe7on avec brevet f\xe9d\xe9ral',
# 'mail': u'fabienne67@bluewin.ch',
# 'name': u'Nicole Muriset-Saudan',
# 'residence': u'avenue Jonathan Corboz 99\n1096 Rapin-Dessous',
# 'sex': 'F',
# 'ssn': u'756.2468.1935.79',
# 'username': u'georges64',
# 'website': [u'https://coigny.net/', u'https://www.privet.org/']}
faker.providers.python
¶
fake.pyiterable(nb_elements=10, variable_nb_elements=True, *value_types)
# [ 4501,
# 335331044289100.0,
# u'https://www.monney.org/posts/main/',
# u'danielmonnet@yahoo.fr',
# u'ktheraulaz@deshusses.ch',
# u'rwswjDvlORuGLGdgnknj',
# u'lheUakajagRKIbNDJJUs',
# datetime.datetime(2015, 2, 23, 0, 4, 17),
# u'VaPuTvshNgtMRlsAEAxh',
# u'https://bugnon.ch/',
# 5864,
# u'HnicqJELSSvpjXCNTsYq',
# 6232]
fake.pystr(min_chars=None, max_chars=20)
# u'YHOHTYpzEblAuEjRkHyN'
fake.pystruct(count=10, *value_types)
# ( [ 9576,
# 9736,
# datetime.datetime(1986, 12, 9, 20, 19, 37),
# u'stephaniejacot-descombes@vtxnet.ch',
# u'UJbzOSbfkogOezzvVRSj',
# 7682,
# u'crivelliisabelle@bourquin.net',
# u'dyyYOhbejgJvtndtswjy',
# u'lehCsbLZbRXBiNKZBpKn',
# u'http://brahier.com/blog/blog/tags/post.html'],
# { u'adipisci': Decimal('-48.487304066'),
# u'debitis': u'https://www.mottiez.ch/',
# u'dolores': u'AXQZLWidGqfvaJIVctqw',
# u'eum': datetime.datetime(2001, 10, 28, 20, 35, 25),
# u'explicabo': 893571242.29323,
# u'id': u'MRZVPWsgmiXESKXSjFXp',
# u'incidunt': u'https://www.beguin.ch/category/wp-content/main/search/',
# u'neque': u'oXndCdQdLrZCmYZHuMjB',
# u'quam': 3486,
# u'repellat': Decimal('3711.36157')},
# { u'doloribus': { 8: u'http://cosendey.com/main/search/search/about.asp',
# 9: [ u'UmezFUcYZwJHxSNQQxXk',
# u'tDXBgJLGXEWggPsRHlTE',
# u'charlottejacot-guillarmod@sunrise.ch'],
# 10: { 8: Decimal('11322732410.5'),
# 9: u'pUUGBFMJYCGgHJgqkDwe',
# 10: [296, -4255.9228057]}},
# u'fugit': { 0: -9663692565.3,
# 1: [ 1586,
# u'LrtoUNeVwrqCIPQepQUK',
# datetime.datetime(1982, 6, 3, 2, 53, 48)],
# 2: { 0: u'SLUxlHNDoTlSgvrjSXdG',
# 1: u'ngZoPmpBtzWDzRWgZcWG',
# 2: [3.671722076, Decimal('-791241.95851')]}},
# u'incidunt': { 7: u'hbadel@hotmail.fr',
# 8: [ datetime.datetime(1982, 4, 5, 22, 22, 46),
# -3335171933381.7,
# u'AKGcYAvjjeTLBHvRYePl'],
# 9: { 7: u'https://www.morand.net/explore/explore/author/',
# 8: u'sqMieimfluHWuTBhxlFq',
# 9: [u'XvvtWfjEAjoQJXEwSAsL', 6180]}},
# u'officiis': { 3: Decimal('-767019434842'),
# 4: [ u'rWrQPWhIGfDOROtwjBrD',
# u'gilbert04@sunrise.ch',
# u'qafNLqHrCYYAYrqIWTGV'],
# 5: { 3: u'ddBadOqMWSkffCHcNUVK',
# 4: 54498337594.0,
# 5: [ u'SGGcSUBfaDFtOUIIWlDc',
# 4818034785091.95]}},
# u'quas': { 9: datetime.datetime(1983, 5, 3, 7, 41, 44),
# 10: [ 9299,
# Decimal('1246304376.82'),
# datetime.datetime(1992, 6, 18, 10, 52, 13)],
# 11: { 9: u'MbdzrHzRaqPXcYttSwkg',
# 10: u'hEekamLpyYiErtolyAna',
# 11: [u'agaNmGVIwkbXcYCwTqms', 69.228]}},
# u'quasi': { 1: 8996684826308.0,
# 2: [ u'xxXmXxLbvnRXwRjWlmaL',
# u'rXsrJhJXPVNuoDciCUAs',
# u'https://cattin.com/wp-content/categories/search/'],
# 3: { 1: Decimal('915765.7'),
# 2: u'ZPwnYGSjnVFLeRGRyuxm',
# 3: [1781, u'vdJGKgTasGdGqRrgiRAw']}},
# u'qui': { 4: -1182139560119.9,
# 5: [ u'uFlNtxhtqDcKPQsZopWN',
# datetime.datetime(1986, 10, 20, 7, 54, 13),
# 5963],
# 6: { 4: 3498090.34,
# 5: u'masseroncharles@pasquier.com',
# 6: [7902, Decimal('2132724.50286')]}},
# u'reprehenderit': { 2: u'qPQtCAPpEAkUvEZoRuFS',
# 3: [ u'https://www.francillon.com/home.asp',
# u'WYfkPFUEqJDoExRnbDUc',
# Decimal('9.9077561863E+13')],
# 4: { 2: u'OFJFuPiOgyAIytWXgZAz',
# 3: 5257,
# 4: [ u'QdbFeGpRyNfnSsmsnLBV',
# Decimal('-3.16068729615E+12')]}},
# u'tempora': { 6: u'https://www.cattin.com/list/main/tag/about.htm',
# 7: [ u'MrpXqXvbqaQznjWzjacG',
# -57668756.62359,
# 8394.0],
# 8: { 6: u'tYYnefoTDgLnRRsUuFXV',
# 7: datetime.datetime(1996, 1, 24, 12, 45, 43),
# 8: [401809.0, -74322737744242.5]}},
# u'veniam': { 5: u'qCgkYiextQmfAXlBHQhA',
# 6: [ u'http://www.mueller.com/blog/search/author/',
# u'uZnayITFfBOmjGJaQlDX',
# u'RORlZKcYRfIpianXhydS'],
# 7: { 5: -6786158.0,
# 6: datetime.datetime(2007, 4, 8, 10, 50, 24),
# 7: [9851, u'XzDfIKJeIpTKqUnryTPg']}}})
fake.pyfloat(left_digits=None, right_digits=None, positive=False)
# -766204837579116.0
fake.pydecimal(left_digits=None, right_digits=None, positive=False)
# Decimal('-735126279.612')
fake.pylist(nb_elements=10, variable_nb_elements=True, *value_types)
# [ 5050,
# 7415,
# u'SGSKPGLhZcjbYFrrMUeD',
# 777,
# 2022,
# u'https://www.bochud.ch/main/category/app/post.php']
fake.pytuple(nb_elements=10, variable_nb_elements=True, *value_types)
# ( Decimal('7360.8'),
# 1282,
# u'EXDntVTDDaoTTJqrPdZt',
# u'https://www.deleze.com/posts/posts/wp-content/search.php',
# u'http://carraux.org/',
# 1355,
# u'KHxDBcDmwVjeXxpBXhOv')
fake.pybool()
# True
fake.pyset(nb_elements=10, variable_nb_elements=True, *value_types)
# set([2272, 6737, u'UeFrnQfHaTXrnoaklUXJ', u'emilie07@romandie.com', datetime.datetime(2004, 9, 1, 1, 8, 56), u'tduvanel@chopard.com', 1333, u'https://beuchat.com/homepage/'])
fake.pydict(nb_elements=10, variable_nb_elements=True, *value_types)
# { u'alias': Decimal('-44697383.6807'),
# u'at': u'WakXhGtpOAyMNEVZvkGo',
# u'aut': u'rossellatmathilde@matile.ch',
# u'autem': 7527,
# u'dicta': u'EIIROWJKRzUqhjAhKrKh',
# u'excepturi': 799712.702106,
# u'occaecati': u'vlCAjQjvVOqcaQuhXOmH',
# u'odio': datetime.datetime(2016, 9, 13, 22, 44),
# u'officia': 23,
# u'quis': u'HdZPVlbnlFHJDqZXCaoQ',
# u'sapiente': datetime.datetime(2004, 11, 20, 20, 55, 37)}
fake.pyint()
# 3821
faker.providers.ssn
¶
fake.ssn()
# u'756.1548.3729.03'
faker.providers.user_agent
¶
fake.mac_processor()
# u'Intel'
fake.firefox()
# u'Mozilla/5.0 (X11; Linux i686; rv:1.9.6.20) Gecko/2015-08-20 13:56:53 Firefox/11.0'
fake.linux_platform_token()
# u'X11; Linux i686'
fake.opera()
# u'Opera/8.97.(Windows CE; en-ZW) Presto/2.9.175 Version/12.00'
fake.windows_platform_token()
# u'Windows NT 6.2'
fake.internet_explorer()
# u'Mozilla/5.0 (compatible; MSIE 5.0; Windows 95; Trident/5.1)'
fake.user_agent()
# u'Mozilla/5.0 (compatible; MSIE 8.0; Windows NT 5.01; Trident/4.0)'
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_5_5) AppleWebKit/5361 (KHTML, like Gecko) Chrome/19.0.873.0 Safari/5361'
fake.mac_platform_token()
# u'Macintosh; U; PPC Mac OS X 10_10_6'
fake.safari()
# u'Mozilla/5.0 (Windows; U; Windows 98) AppleWebKit/533.28.4 (KHTML, like Gecko) Version/5.0.3 Safari/533.28.4'