Language en_TH¶
faker.providers.address
¶
fake.longitude()
# Decimal('158.940016')
fake.building_number()
# u'49893'
fake.street_address()
# u'8341 Posalee Radial Apt. 816'
fake.postalcode_plus4()
# u'53783-3581'
fake.city_prefix()
# u'Port'
fake.military_ship()
# u'USCGC'
fake.city()
# u'Sujjaboriboonhaven'
fake.zipcode_plus4()
# u'62535-6290'
fake.state_abbr()
# u'VI'
fake.latitude()
# Decimal('-41.3158935')
fake.street_suffix()
# u'Rapids'
fake.city_suffix()
# u'borough'
fake.military_dpo()
# u'Unit 9613 Box 0468'
fake.country_code(representation="alpha-2")
# u'DO'
fake.country()
# u'Ukraine'
fake.secondary_address()
# u'Suite 138'
fake.geo_coordinate(center=None, radius=0.001)
# Decimal('-129.037772')
fake.postalcode()
# u'09154'
fake.address()
# u'25236 Kamolchanok Springs\nNorth Kamolchanokshire, NY 95566-2750'
fake.state()
# u'Nevada'
fake.military_state()
# u'AE'
fake.street_name()
# u'Nattawun Mall'
fake.zipcode()
# u'71054'
fake.postcode()
# u'26290-7834'
fake.military_apo()
# u'PSC 4366, Box 8394'
faker.providers.automotive
¶
fake.license_plate()
# u'GAB 788'
faker.providers.bank
¶
fake.bban()
# 'FIGQ9744229314626'
fake.bank_country()
# 'GB'
fake.iban()
# 'GB03GYAS2832707867979'
faker.providers.barcode
¶
fake.ean(length=13)
# u'9490111330140'
fake.ean13()
# u'0409383385337'
fake.ean8()
# u'85778573'
faker.providers.color
¶
fake.rgb_css_color()
# u'rgb(128,126,84)'
fake.color_name()
# u'Pink'
fake.rgb_color()
# u'237,12,152'
fake.safe_hex_color()
# u'#77dd00'
fake.safe_color_name()
# u'lime'
fake.hex_color()
# u'#273c5b'
faker.providers.company
¶
fake.company()
# u'Sittisaowapak LLC'
fake.company_suffix()
# u'Ltd'
fake.catch_phrase()
# u'Re-contextualized transitional standardization'
fake.bs()
# u'productize 24/7 e-business'
faker.providers.credit_card
¶
fake.credit_card_security_code(card_type=None)
# u'463'
fake.credit_card_provider(card_type=None)
# u'American Express'
fake.credit_card_full(card_type=None)
# u'Discover\nApisara Methavorakul\n6500655433491902 10/26\nCVC: 255\n'
fake.credit_card_expire(start="now", end="+10y", date_format="%m/%y")
# '02/26'
fake.credit_card_number(card_type=None)
# u'5591738289634692'
faker.providers.currency
¶
fake.cryptocurrency_code()
# 'NEO'
fake.currency_code()
# 'TMT'
fake.currency_name()
# 'Guernsey pound'
fake.cryptocurrency_name()
# 'Ubiq'
fake.cryptocurrency()
# ('VTC', 'Vertcoin')
fake.currency()
# ('PHP', 'Philippine peso')
faker.providers.date_time
¶
fake.future_datetime(end_date="+30d", tzinfo=None)
# datetime.datetime(2018, 9, 3, 19, 27, 48)
fake.time_series(start_date="-30d", end_date="now", precision=None, distrib=None, tzinfo=None)
# <generator object time_series at 0xffffaa34c4b0>
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(2001, 10, 20, 22, 27, 37)
fake.date_this_decade(before_today=True, after_today=False)
# datetime.date(2018, 7, 20)
fake.date_time_this_month(before_now=True, after_now=False, tzinfo=None)
# datetime.datetime(2018, 8, 6, 3, 38, 9)
fake.past_date(start_date="-30d", tzinfo=None)
# datetime.date(2018, 7, 27)
fake.day_of_week()
# 'Tuesday'
fake.date_time_this_decade(before_now=True, after_now=False, tzinfo=None)
# datetime.datetime(2010, 12, 13, 13, 52, 17)
fake.date_between(start_date="-30y", end_date="today")
# datetime.date(1994, 3, 8)
fake.date_time_this_century(before_now=True, after_now=False, tzinfo=None)
# datetime.datetime(2011, 12, 31, 17, 49, 50)
fake.date(pattern="%Y-%m-%d", end_datetime=None)
# '1982-08-13'
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(2010, 10, 15)
fake.date_this_year(before_today=True, after_today=False)
# datetime.date(2018, 4, 25)
fake.iso8601(tzinfo=None, end_datetime=None)
# '1975-08-11T13:39:49'
fake.future_date(end_date="+30d", tzinfo=None)
# datetime.date(2018, 8, 18)
fake.date_this_century(before_today=True, after_today=False)
# datetime.date(2002, 3, 29)
fake.month()
# '10'
fake.year()
# '2001'
fake.day_of_month()
# '14'
fake.unix_time(end_datetime=None, start_datetime=None)
# 1295032115
fake.timezone()
# u'Europe/Malta'
fake.century()
# u'XVIII'
fake.date_of_birth(tzinfo=None, minimum_age=0, maximum_age=115)
# datetime.date(1986, 10, 28)
fake.time_object(end_datetime=None)
# datetime.time(5, 9, 36)
fake.date_time_this_year(before_now=True, after_now=False, tzinfo=None)
# datetime.datetime(2018, 7, 7, 14, 18, 1)
fake.date_time(tzinfo=None, end_datetime=None)
# datetime.datetime(2006, 7, 2, 16, 21, 4)
fake.time(pattern="%H:%M:%S", end_datetime=None)
# '23:14:58'
fake.date_this_month(before_today=True, after_today=False)
# datetime.date(2018, 8, 8)
fake.past_datetime(start_date="-30d", tzinfo=None)
# datetime.datetime(2018, 7, 24, 1, 25, 1)
fake.month_name()
# 'February'
fake.date_time_ad(tzinfo=None, end_datetime=None, start_datetime=None)
# datetime.datetime(726, 6, 5, 0, 48, 20)
fake.time_delta(end_datetime=None)
# datetime.timedelta(17382, 40761)
faker.providers.file
¶
fake.unix_device(prefix=None)
# u'/dev/sda'
fake.mime_type(category=None)
# u'audio/vorbis'
fake.file_path(depth=1, category=None, extension=None)
# u'/accusantium/tempore.js'
fake.unix_partition(prefix=None)
# u'/dev/vdt7'
fake.file_name(category=None, extension=None)
# u'dolore.mov'
fake.file_extension(category=None)
# u'pdf'
faker.providers.internet
¶
fake.ascii_free_email(*args, **kwargs)
# 'kamalanonkamolchanok@yahoo.com'
fake.image_url(width=None, height=None)
# u'https://placeholdit.imgix.net/~text?txtsize=55&txt=557x607&w=557&h=607'
fake.tld()
# u'info'
fake.email(*args, **kwargs)
# u'pintusornpianduangsri@turongkinanon.com'
fake.url(schemes=None)
# u'http://sukhenai.com/'
fake.ipv4_private(network=False, address_class=None)
# '172.28.126.79'
fake.user_name(*args, **kwargs)
# u'lpichpandecha'
fake.uri_extension()
# u'.htm'
fake.uri_page()
# u'search'
fake.free_email_domain(*args, **kwargs)
# u'gmail.com'
fake.safe_email(*args, **kwargs)
# u'yanisa04@example.com'
fake.ascii_email(*args, **kwargs)
# 'sorattanachaichanikan@hotmail.com'
fake.ipv4_network_class()
# u'b'
fake.ipv4_public(network=False, address_class=None)
# '198.45.162.38'
fake.ascii_company_email(*args, **kwargs)
# 'achaihirankarn@methavorakul.com'
fake.domain_name(*args, **kwargs)
# u'youprasert.net'
fake.ipv4(network=False, address_class=None, private=None)
# '204.208.210.19'
fake.domain_word(*args, **kwargs)
# u'turongkinanon-kamalanon'
fake.slug(*args, **kwargs)
# u'maxime-alias-ipsum'
fake.uri_path(deep=None)
# u'main'
fake.company_email(*args, **kwargs)
# u'chalisasiripaiboo@pasuk-trikasemmart.org'
fake.uri()
# u'http://www.polauaypon.com/tags/categories/search/homepage/'
fake.ipv6(network=False)
# 'c286:ea25:1724:f888:4a48:687a:75ce:ad20'
fake.free_email(*args, **kwargs)
# u'phubes23@gmail.com'
fake.ascii_safe_email(*args, **kwargs)
# 'wassaya67@example.com'
fake.mac_address()
# u'5e:bf:da:12:3a:b1'
faker.providers.isbn
¶
fake.isbn10(separator="-")
# u'1-83090-348-9'
fake.isbn13(separator="-")
# u'978-0-259-75912-6'
faker.providers.job
¶
fake.job()
# 'Commercial/residential surveyor'
faker.providers.lorem
¶
fake.text(max_nb_chars=200, ext_word_list=None)
# u'Consequuntur harum temporibus. Doloribus nemo blanditiis rem maiores asperiores natus.'
fake.paragraphs(nb=3, ext_word_list=None)
# [ u'Ut quis porro quo. Impedit laboriosam quae aut iste amet facere deleniti. Nisi recusandae iste adipisci voluptate.',
# u'Quasi architecto autem eligendi.',
# u'Voluptate magni reiciendis a ratione fuga aliquam voluptas. Accusantium repellat voluptas modi. Similique qui aliquam temporibus dolore. Ipsa error ad recusandae enim totam.']
fake.words(nb=3, ext_word_list=None)
# [u'asperiores', u'odio', u'culpa']
fake.sentences(nb=3, ext_word_list=None)
# [u'Illo pariatur cumque.', u'Illum dolorum id odit.', u'Et dolores vel ullam.']
fake.word(ext_word_list=None)
# u'doloremque'
fake.paragraph(nb_sentences=3, variable_nb_sentences=True, ext_word_list=None)
# u'Cupiditate error minima autem repellat harum similique. Et sequi molestiae sint. Libero corrupti asperiores praesentium possimus.'
fake.sentence(nb_words=6, variable_nb_words=True, ext_word_list=None)
# u'Totam explicabo qui provident.'
faker.providers.misc
¶
fake.password(length=10, special_chars=True, digits=True, upper_case=True, lower_case=True)
# u'%3^2F6TBoe'
fake.locale()
# u'nan_TW'
fake.binary(length=1048576)
# bytearray(b'\xc0%\x0e\xb4\xc4T\x1d%-\x16\xd4y\xe4\x1e\xffI\xae7H@\n)\xeb\xb0\x0b\xe5[*~\x87\xd5g\x9e9\xb07\xf2\xa9#\xe7\x80\xd5;\xdd\x9a\xe2bsx\xc7Jp\xbb+Tw_\xd0N\x84\xb4\xd41\xa6\x8dD\xa6Y@mE\x7f\x00\x15\x1a\x93\xc0\xfb\x07_T\xfe\xe3\xbb\xe1\x90\xc6Ui,\x1bG\xbc*SS\x0c\x99pX\xceEl\x8b1\xb9\x02\x0e\xc1x\x95<\n\xa8\xfd\x1ef\xaa9L\x1a\xfa\xf6\x14\xed\xbf.\xae\x89&\x93\xa4V\xcc[\\\x8c\xf4.\x01\xdf2d\xaa\x99\xa6\xb1+\x8d\xd1\xc4JH\xfa\xafg\x13\x9dH\xb8q\x02\xe3Vs8\xae\xfcD\x8a\xc8N\x0f\xd3|\x03\xd9\xec \xa9%\xd6M\x85YVL\xb3j~\x90\x1e\x1b\xc0WT\x10\xc84\x1f\xcd\x8b\xa7\xa2|b\x93\xa1!\x96[\xf2\xe0(O\xeaAx\x8c\xe8\xacc\xb1u\x1b)\x14\xef;.Q\x84\x8e\x04=J\x1f\x03\x97+A\xd5.\xd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\xe56\x97\xdaM\xbeZIA\xbe\x02\xec\x13\x14b{\xa4%\xd2\x06D\x1e\x06_\xe4|')
fake.md5(raw_output=False)
# 'd67be1a2e64aaf0433f68c740f4dcfc2'
fake.sha1(raw_output=False)
# '13f7b928033d97522a2de4237c266c3079fecd58'
fake.null_boolean()
# None
fake.sha256(raw_output=False)
# '8901a9e2cc03d84f5ea4e804e23782e76c9cb587d4edb4dcc4621f53d60f457e'
fake.uuid4()
# 'a99cf773-f9c7-1076-53e7-931dd9acc0b6'
fake.language_code()
# u'vi'
fake.boolean(chance_of_getting_true=50)
# False
faker.providers.person
¶
fake.last_name_male()
# u'Choeychuen'
fake.name_female()
# u'Tunchanok Lertsattayanusak'
fake.prefix_male()
# u'POL MAJ'
fake.prefix()
# u'POL LT'
fake.name()
# u'Arisara Methavorakul'
fake.suffix_female()
# u''
fake.name_male()
# u'Noppakao Suraprasert'
fake.first_name()
# u'Chanikan'
fake.suffix_male()
# u''
fake.suffix()
# u''
fake.first_name_male()
# u'Pachongruk'
fake.first_name_female()
# u'Atit'
fake.last_name_female()
# u'Sireelert'
fake.last_name()
# u'Wimolnot'
fake.prefix_female()
# u'R ADM'
faker.providers.phone_number
¶
fake.phone_number()
# u'900.702.4297'
fake.msisdn()
# '3087175528171'
faker.providers.profile
¶
fake.simple_profile(sex=None)
# { 'address': u'86465 Pawan Station Suite 134\nLake Kodchapornmouth, KY 19849',
# 'birthdate': datetime.date(1908, 2, 21),
# 'mail': u'ysooksawang@hotmail.com',
# 'name': u'Kamolchanok Wimolnot',
# 'sex': 'M',
# 'username': u'pitanuwatpuntira'}
fake.profile(fields=None, sex=None)
# { 'address': u'Unit 7011 Box 2165\nDPO AE 09708-0847',
# 'birthdate': datetime.date(1939, 10, 23),
# 'blood_group': 'B-',
# 'company': u'Methavorakul-Posalee',
# 'current_location': (Decimal('43.5911625'), Decimal('168.643902')),
# 'job': 'Technical brewer',
# 'mail': u'sorattanachaipawan@hotmail.com',
# 'name': u'CPL Chanikan Prakalpawong',
# 'residence': u'006 Methavorakul Ville\nNichakarnport, CA 55842-8038',
# 'sex': 'F',
# 'ssn': u'384-33-6099',
# 'username': u'sphusilarungrueng',
# 'website': [ u'http://vinyuvanichkul-polauaypon.com/',
# u'http://polauaypon-methavorakul.com/']}
faker.providers.python
¶
fake.pyiterable(nb_elements=10, variable_nb_elements=True, *value_types)
# set([u'http://www.sujjaboriboon.com/search/app/homepage.jsp', datetime.datetime(1998, 8, 21, 4, 10, 52), 5480, u'KWxAIZfVHoOcMnBiZlBT', u'aanekvorakul@sooksawang-boonpungbaramee.biz', datetime.datetime(1991, 8, 7, 10, 31, 30), u'WQQEotSYHhENFHWUJLpa', u'http://www.neerachapong.com/blog/posts/category/index/'])
fake.pystr(min_chars=None, max_chars=20)
# u'uBsAMWCwIHAGvxpZItgI'
fake.pystruct(count=10, *value_types)
# ( [ u'krittayanukoonnutwadee@siripaiboo.net',
# datetime.datetime(2014, 6, 10, 23, 12, 55),
# u'cxthZDBpdNSZvAMnfYzV',
# 9277,
# u'ColWZFlfxwYaAuyOMETK',
# 7577,
# 26,
# u'MSxxflzCfwcFoejXDlqY',
# Decimal('59948015.9902'),
# 84936322991550.0],
# { u'ad': u'http://lertsattayanusak-benchapatranon.org/author/',
# u'autem': Decimal('1.0'),
# u'corrupti': u'fnblqwlvlACQIBfkYszl',
# u'doloremque': 1094,
# u'maxime': 422,
# u'quam': Decimal('-605.793755007'),
# u'quod': u'ZvaHqNaOAdobZjYeRngR',
# u'ratione': datetime.datetime(1989, 2, 4, 2, 23, 27),
# u'veniam': u'https://lertsattayanusak.net/',
# u'veritatis': Decimal('7.21592831448E+12')},
# { u'impedit': { 8: u'QqULWoQwpeSWxwGwfFxa',
# 9: [4099, -248201627.32, u'UbNbbrOXavDDNYSNTIbI'],
# 10: { 8: u'KXKsvWFFYgmOwcaJziRI',
# 9: u'http://trikasemmart.com/',
# 10: [ Decimal('601436858237'),
# Decimal('-639.665928')]}},
# u'itaque': { 0: u'apisara45@chomsri.com',
# 1: [ Decimal('-727950978714'),
# u'WAASciRNZsppJpFzdFge',
# -28.6],
# 2: { 0: Decimal('-2.52502896996E+12'),
# 1: datetime.datetime(1979, 9, 2, 12, 11, 25),
# 2: [ 8409,
# datetime.datetime(2006, 2, 8, 7, 9, 15)]}},
# u'magni': { 9: datetime.datetime(1994, 12, 17, 23, 15, 24),
# 10: [ u'qClnXOKrkrScVYCuavHX',
# u'UWgJWIDlqbnKEtchkMcX',
# 394879626765043.0],
# 11: { 9: u'https://vinyuvanichkul-polpo.biz/index/',
# 10: u'teetathabpanom@yahoo.com',
# 11: [1389, u'DAmNyVRzOHbDXvBsGWfE']}},
# u'maxime': { 3: -31869773865275.5,
# 4: [ u'UJcvylJGWpryNGqPFXag',
# 2665,
# u'yIfOqxdLuAlOKrHOWFDO'],
# 5: { 3: u'https://www.losatapornpipit-titipatrayunyong.com/search.php',
# 4: 1310,
# 5: [ u'atitpothanun@sooksawang.com',
# u'QqZAGFyeMdMxazzKUatG']}},
# u'natus': { 6: u'https://youprasert.com/app/search/',
# 7: [ 5654044960.671,
# Decimal('-206088879.964'),
# u'http://www.sujjaboriboon.org/faq/'],
# 8: { 6: 2722,
# 7: u'ZkUrIcOfojNEzfRgKquC',
# 8: [ u'yada69@kamalanon-bunlupong.com',
# -8555795557484.0]}},
# u'officiis': { 1: Decimal('706846199906'),
# 2: [ u'DTdbByMASNPpCPDspsuh',
# Decimal('-3.45014389944E+12'),
# datetime.datetime(1997, 1, 26, 19, 48, 44)],
# 3: { 1: u'suraprachitsupasita@sujjaboriboon-suraprasert.com',
# 2: 712906.1,
# 3: [2988, u'https://trikasemmart.net/']}},
# u'quasi': { 5: 2883,
# 6: [ -69855628.2,
# datetime.datetime(1982, 6, 23, 16, 34, 14),
# 8497],
# 7: { 5: u'BxfgvOXmMqeUDpVQVJyo',
# 6: datetime.datetime(1988, 8, 5, 19, 49, 37),
# 7: [u'gKTrgbKpMzeWUUZGKGuW', -8.5064]}},
# u'quo': { 2: u'ZnfUmQtiIHoqQbotdWdX',
# 3: [ 8636,
# u'OrZQmuNSgupbTXgCvAGp',
# datetime.datetime(1993, 1, 29, 22, 49, 52)],
# 4: { 2: u'peemprachayaroch@charoensuksopol.com',
# 3: 2726895284152.71,
# 4: [ u'http://chaisatit-pongpanitch.com/',
# u'VGpJcvDjvMTbZjhZpvFB']}},
# u'quod': { 4: u'gpuzTkSnnuvBIDjTIlPT',
# 5: [ datetime.datetime(1982, 10, 5, 0, 19, 19),
# u'http://www.kongsri-intaum.com/category/blog/author.php',
# u'kamalanonjinjuta@gmail.com'],
# 6: { 4: u'ESuYZuQiimRVmKCiUACX',
# 5: -80469.3777856,
# 6: [ u'arVYGohXnQErnhDvSlTG',
# u'kgcQMbocLowkQdxlyOTm']}},
# u'ratione': { 7: u'SHBGqQPNYpjnRxczgoLB',
# 8: [ 4241,
# u'mjrCEUZBVPpbFRuoTUTw',
# u'mFdDrlgGJIRdnFbMswzQ'],
# 9: { 7: u'ovmVwOlOejKNzFPFDqIZ',
# 8: -661409952034070.0,
# 9: [ datetime.datetime(2006, 10, 27, 11, 49, 40),
# 41626577.4580604]}}})
fake.pyfloat(left_digits=None, right_digits=None, positive=False)
# 72637635358595.0
fake.pydecimal(left_digits=None, right_digits=None, positive=False)
# Decimal('-53566033560.2')
fake.pylist(nb_elements=10, variable_nb_elements=True, *value_types)
# [ u'ogZRuqQojEzzBEXoqBrh',
# -207748922534686.0,
# u'RVoTtteSCOKHMUyqADoa',
# Decimal('-229727.48182'),
# datetime.datetime(2004, 4, 7, 1, 19, 4),
# u'OTzCaZJvPmZmICyHqCoW']
fake.pytuple(nb_elements=10, variable_nb_elements=True, *value_types)
# ( 4640,
# 9762,
# u'https://www.kamalanon.net/app/blog/register.asp',
# 587,
# u'hZjgXScjVdZAENixwHpo',
# 2660983728190.2,
# u'wBMRExdHRnmtIibCPebs',
# datetime.datetime(1977, 4, 17, 11, 44, 33),
# 1496)
fake.pybool()
# True
fake.pyset(nb_elements=10, variable_nb_elements=True, *value_types)
# set([u'AmPPgGoffjqclXPsJuFh', u'mkongsri@yahoo.com', u'EUNFPdAuWtzsIAUEZahu', Decimal('5.513917'), 7545, u'SPbzpLCAZAnrKLKdaopX'])
fake.pydict(nb_elements=10, variable_nb_elements=True, *value_types)
# { u'accusamus': u'dHgpfVVaezbUTWJOtOnd',
# u'excepturi': u'benchapatranonwasin@yahoo.com',
# u'hic': 7506,
# u'ipsa': -86097495046.0,
# u'natus': Decimal('42711389450.0'),
# u'necessitatibus': u'cHFraONOeYEtkSlpjAiP',
# u'nobis': u'JPbUXsZQBdJrNVUwfjXU',
# u'optio': datetime.datetime(1998, 6, 1, 10, 45, 53),
# u'pariatur': u'BKzjtojTsAgoTVTHBtTh',
# u'provident': -4828012996.27596,
# u'quasi': u'atitlosatapornpipit@yahoo.com',
# u'tempore': datetime.datetime(1970, 1, 14, 20, 15, 13),
# u'voluptatem': datetime.datetime(1974, 12, 13, 7, 20, 2)}
fake.pyint()
# 4905
faker.providers.ssn
¶
fake.ssn(taxpayer_identification_number_type="SSN")
# u'882-01-6859'
fake.ein()
# u'68-1674192'
fake.itin()
# u'923-74-1060'
faker.providers.user_agent
¶
fake.mac_processor()
# u'U; Intel'
fake.firefox()
# u'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_4; rv:1.9.5.20) Gecko/2016-03-11 00:10:43 Firefox/13.0'
fake.linux_platform_token()
# u'X11; Linux i686'
fake.opera()
# u'Opera/9.99.(Windows NT 5.01; fy-NL) Presto/2.9.190 Version/12.00'
fake.windows_platform_token()
# u'Windows NT 6.2'
fake.internet_explorer()
# u'Mozilla/5.0 (compatible; MSIE 8.0; Windows NT 6.0; Trident/5.1)'
fake.user_agent()
# u'Mozilla/5.0 (compatible; MSIE 5.0; Windows NT 6.2; Trident/4.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 x86_64) AppleWebKit/5331 (KHTML, like Gecko) Chrome/14.0.807.0 Safari/5331'
fake.mac_platform_token()
# u'Macintosh; Intel Mac OS X 10_11_9'
fake.safari()
# u'Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_7_8 rv:5.0; fo-FO) AppleWebKit/532.40.3 (KHTML, like Gecko) Version/5.1 Safari/532.40.3'