Language de_CH¶
faker.providers.address
¶
fake.longitude()
# Decimal('121.628559')
fake.building_number()
# u'7165'
fake.street_address()
# u'444 Josette Green'
fake.postalcode_plus4()
# u'07061-7525'
fake.city_prefix()
# u'South'
fake.military_ship()
# u'USCGC'
fake.city()
# u'Hans-Petermouth'
fake.zipcode_plus4()
# u'18347-1727'
fake.state_abbr()
# u'IL'
fake.latitude()
# Decimal('-61.659282')
fake.street_suffix()
# u'Greens'
fake.city_suffix()
# u'stad'
fake.military_dpo()
# u'Unit 3461 Box 3272'
fake.country_code(representation="alpha-2")
# u'AR'
fake.country()
# u'Marshall Islands'
fake.secondary_address()
# u'Suite 739'
fake.geo_coordinate(center=None, radius=0.001)
# Decimal('-172.654914')
fake.postalcode()
# u'03451'
fake.address()
# u'7921 Fehr Place\nNorth Marinside, PR 95160'
fake.state()
# u'New Hampshire'
fake.military_state()
# u'AP'
fake.street_name()
# u'J\xe4ggi Ports'
fake.zipcode()
# u'20201'
fake.postcode()
# u'74170-5837'
fake.military_apo()
# u'PSC 6163, Box 7115'
faker.providers.automotive
¶
fake.license_plate()
# u'246 4408'
faker.providers.bank
¶
fake.bban()
# 'ATIO2687499982203'
fake.bank_country()
# 'GB'
fake.iban()
# 'GB66KIQR1401800043121'
faker.providers.barcode
¶
fake.ean(length=13)
# u'2204859046433'
fake.ean13()
# u'6509040422628'
fake.ean8()
# u'66025832'
faker.providers.color
¶
fake.rgb_css_color()
# u'rgb(192,123,20)'
fake.color_name()
# u'Wheat'
fake.rgb_color()
# u'198,26,156'
fake.safe_hex_color()
# u'#999900'
fake.safe_color_name()
# u'lime'
fake.hex_color()
# u'#c2d5b0'
faker.providers.company
¶
fake.company()
# u'Stucki-Kessler'
fake.company_suffix()
# u'PLC'
fake.catch_phrase()
# u'Face-to-face scalable definition'
fake.bs()
# u'aggregate web-enabled niches'
faker.providers.credit_card
¶
fake.credit_card_security_code(card_type=None)
# u'958'
fake.credit_card_provider(card_type=None)
# u'JCB 16 digit'
fake.credit_card_full(card_type=None)
# u'Mastercard\nAmelie R\xfcegg\n5375957783161349 06/25\nCVV: 376\n'
fake.credit_card_expire(start="now", end="+10y", date_format="%m/%y")
# '05/22'
fake.credit_card_number(card_type=None)
# u'503887054941'
faker.providers.currency
¶
fake.cryptocurrency_code()
# 'BCN'
fake.currency_code()
# 'SLL'
fake.currency_name()
# 'Cuban convertible peso'
fake.cryptocurrency_name()
# 'Omni'
fake.cryptocurrency()
# ('ZCL', 'Zclassic')
fake.currency()
# ('STD', 'S\xc3\xa3o Tom\xc3\xa9 and Pr\xc3\xadncipe dobra')
faker.providers.date_time
¶
fake.future_datetime(end_date="+30d", tzinfo=None)
# datetime.datetime(2018, 8, 26, 15, 55, 14)
fake.time_series(start_date="-30d", end_date="now", precision=None, distrib=None, tzinfo=None)
# <generator object time_series at 0x7f6bca1bc1e0>
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(2007, 3, 13, 2, 37, 24)
fake.date_this_decade(before_today=True, after_today=False)
# datetime.date(2016, 9, 11)
fake.date_time_this_month(before_now=True, after_now=False, tzinfo=None)
# datetime.datetime(2018, 8, 12, 14, 50, 46)
fake.past_date(start_date="-30d", tzinfo=None)
# datetime.date(2018, 8, 12)
fake.day_of_week()
# 'Friday'
fake.date_time_this_decade(before_now=True, after_now=False, tzinfo=None)
# datetime.datetime(2012, 11, 15, 9, 52, 35)
fake.date_between(start_date="-30y", end_date="today")
# datetime.date(2009, 5, 3)
fake.date_time_this_century(before_now=True, after_now=False, tzinfo=None)
# datetime.datetime(2009, 10, 25, 2, 18, 37)
fake.date(pattern="%Y-%m-%d", end_datetime=None)
# '1987-10-02'
fake.am_pm()
# 'PM'
fake.date_time_between_dates(datetime_start=None, datetime_end=None, tzinfo=None)
# datetime.datetime(2018, 8, 16, 9, 28, 13)
fake.date_object(end_datetime=None)
# datetime.date(1981, 3, 29)
fake.date_this_year(before_today=True, after_today=False)
# datetime.date(2018, 3, 5)
fake.iso8601(tzinfo=None, end_datetime=None)
# '2009-09-15T17:13:27'
fake.future_date(end_date="+30d", tzinfo=None)
# datetime.date(2018, 8, 21)
fake.date_this_century(before_today=True, after_today=False)
# datetime.date(2000, 6, 13)
fake.month()
# '10'
fake.year()
# '1993'
fake.day_of_month()
# '10'
fake.unix_time(end_datetime=None, start_datetime=None)
# 868619019
fake.timezone()
# u'Africa/Bamako'
fake.century()
# u'IX'
fake.date_of_birth(tzinfo=None, minimum_age=0, maximum_age=115)
# datetime.date(2000, 2, 9)
fake.time_object(end_datetime=None)
# datetime.time(22, 46, 59)
fake.date_time_this_year(before_now=True, after_now=False, tzinfo=None)
# datetime.datetime(2018, 4, 19, 17, 45, 49)
fake.date_time(tzinfo=None, end_datetime=None)
# datetime.datetime(1979, 9, 16, 11, 2, 22)
fake.time(pattern="%H:%M:%S", end_datetime=None)
# '13:17:50'
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, 9, 25, 44)
fake.month_name()
# 'September'
fake.date_time_ad(tzinfo=None, end_datetime=None, start_datetime=None)
# datetime.datetime(1272, 7, 14, 21, 51, 25)
fake.time_delta(end_datetime=None)
# datetime.timedelta(6802, 57151)
faker.providers.file
¶
fake.unix_device(prefix=None)
# u'/dev/sdr'
fake.mime_type(category=None)
# u'message/rfc822'
fake.file_path(depth=1, category=None, extension=None)
# u'/perferendis/quas.avi'
fake.unix_partition(prefix=None)
# u'/dev/xvdh4'
fake.file_name(category=None, extension=None)
# u'voluptatem.mov'
fake.file_extension(category=None)
# u'wav'
faker.providers.internet
¶
fake.ascii_free_email(*args, **kwargs)
# 'bachmannamanda@yahoo.com'
fake.image_url(width=None, height=None)
# u'https://placeholdit.imgix.net/~text?txtsize=55&txt=869x995&w=869&h=995'
fake.tld()
# u'biz'
fake.email(*args, **kwargs)
# u'arnold97@hotmail.com'
fake.url(schemes=None)
# u'https://www.friedli-meister.com/'
fake.ipv4_private(network=False, address_class=None)
# '172.28.128.99'
fake.user_name(*args, **kwargs)
# u'sennbukurije'
fake.uri_extension()
# u'.html'
fake.uri_page()
# u'register'
fake.free_email_domain(*args, **kwargs)
# u'yahoo.com'
fake.safe_email(*args, **kwargs)
# u'jasonkaiser@example.com'
fake.ascii_email(*args, **kwargs)
# 'kaserselina@stettler.com'
fake.ipv4_network_class()
# u'a'
fake.ipv4_public(network=False, address_class=None)
# '139.134.238.6'
fake.ascii_company_email(*args, **kwargs)
# 'anne-lise27@felder.com'
fake.domain_name(*args, **kwargs)
# u'ernst.com'
fake.ipv4(network=False, address_class=None, private=None)
# '249.253.194.10'
fake.domain_word(*args, **kwargs)
# u'probst-buhlmann'
fake.slug(*args, **kwargs)
# u'dolorum-minus-hic'
fake.uri_path(deep=None)
# u'blog'
fake.company_email(*args, **kwargs)
# u'kunzsarina@wagner.info'
fake.uri()
# u'https://schafer.info/'
fake.ipv6(network=False)
# '2a5a:3931:177f:e506:cdab:b30f:29d6:a731'
fake.free_email(*args, **kwargs)
# u'faruk29@yahoo.com'
fake.ascii_safe_email(*args, **kwargs)
# 'marian84@example.com'
fake.mac_address()
# u'4c:98:ad:88:8d:56'
faker.providers.isbn
¶
fake.isbn10(separator="-")
# u'0-356-44805-3'
fake.isbn13(separator="-")
# u'978-1-56872-119-4'
faker.providers.job
¶
fake.job()
# 'Actuary'
faker.providers.lorem
¶
fake.text(max_nb_chars=200, ext_word_list=None)
# u'Quibusdam tempora expedita velit asperiores a. Ipsa vel libero debitis esse. Deserunt aliquam iusto quisquam odio omnis.\nInventore occaecati libero exercitationem blanditiis hic similique dolorum.'
fake.paragraphs(nb=3, ext_word_list=None)
# [ u'Alias consequuntur quisquam harum eius quo optio. Eveniet earum enim excepturi quibusdam.',
# u'Maiores saepe modi at dolore occaecati tenetur. Ratione nam praesentium quia voluptates delectus inventore.',
# u'Non modi quam reprehenderit omnis. Autem eum blanditiis iusto a qui reiciendis molestias.']
fake.words(nb=3, ext_word_list=None)
# [u'in', u'ea', u'iste']
fake.sentences(nb=3, ext_word_list=None)
# [ u'Odit earum commodi sapiente optio.',
# u'Consectetur saepe deserunt nesciunt quibusdam eligendi quis veritatis.',
# u'Laborum sed quidem sit temporibus error qui.']
fake.word(ext_word_list=None)
# u'quos'
fake.paragraph(nb_sentences=3, variable_nb_sentences=True, ext_word_list=None)
# u'Fugit deleniti architecto repudiandae eius.'
fake.sentence(nb_words=6, variable_nb_words=True, ext_word_list=None)
# u'Corrupti assumenda officia excepturi quae magnam tenetur.'
faker.providers.misc
¶
fake.password(length=10, special_chars=True, digits=True, upper_case=True, lower_case=True)
# u'0QNhwKTg^Z'
fake.locale()
# u'as_IN'
fake.binary(length=1048576)
# bytearray(b'+9\xfe\xf7T\x9d\xb4\x01~$\xbb\xe6.\xb1\xfd\xa7$\xa1\x8b\xd3\x18\x91\xb9X\x8aJ\x9c\x9f\x8c=E><\x10\xc3\'\xa2\x94\xb1z\']\xcb\xd3C\x97Yi6;lp\xba\xe9\x8a\xa6\x89n\xc7B\xc3:>~i\xe3\xfa\x8b\xce\x8c\xe4?\xa4\xe9zu\x17-\x86=MN\x1aN(\x1d\xb4\xa5^\xae\xde\xf1\x1d\xcc\xd5\x16\xe8\x95\x07]C\x0c*^`\x89\xd5\xe0\x00\n\xc2\xc9t\xea\xfa\xa0\xef\x04\x9er\xdb\\\x0eS\x16H\xa7\xce\xd4\xcb\x93\xb2\x1a\xc7\xc1\xde\xdf4\'ETG\xf9wO5\xeb\xf1(yli\xec\x14\xa6D\x0f@\x946\xdd\xd4<\x03f\x19|#G\xcc\xea0\xfa\x83\xa9\xcc\x94?\x8f\xaf\xa5\xca\xc00\x0e\xe4{\xc2\xc4WY\xc5\x16\xc8\xf2b\xe9\xb9\xe3.\xb3^\xaf\x19\xaf\xc0E\\;\xac\xc8t!\xb4\xa2\x01\xcd\x99N\xf9L\x9bB \x1c@\x85(\x8a\xcay\x14\xac\x87\xab[\x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\x04\xf2\x86j\x9f>j\xc9\x03h\xb9SGa')
fake.md5(raw_output=False)
# '4dff4e9a86d28f19021aad10923bebbd'
fake.sha1(raw_output=False)
# 'b23e44aa5851eb6a067f81d6c146569192a804b1'
fake.null_boolean()
# True
fake.sha256(raw_output=False)
# '7ddb83b03e086e2179dde6610e59a13f7691ffc86a3c9e41c0f07298d0f23b10'
fake.uuid4()
# '1de389e1-2be6-d7fc-eb8a-0234082ace40'
fake.language_code()
# u'ug'
fake.boolean(chance_of_getting_true=50)
# False
faker.providers.person
¶
fake.last_name_male()
# u'Seiler'
fake.name_female()
# u'Sophia Ziegler-Hofstetter'
fake.prefix_male()
# u'Prof.'
fake.prefix()
# u'Prof.'
fake.name()
# u'Delphine Brunner'
fake.suffix_female()
# u''
fake.name_male()
# u'Evelyn Ott Giger'
fake.first_name()
# u'Andr\xe9'
fake.suffix_male()
# u''
fake.suffix()
# u''
fake.first_name_male()
# u'Pero'
fake.first_name_female()
# u'Sol\xe8ne'
fake.last_name_female()
# u'Merz'
fake.last_name()
# u'K\xe4gi'
fake.prefix_female()
# u'Prof.'
faker.providers.phone_number
¶
fake.phone_number()
# u'(956)608-0865x68323'
fake.msisdn()
# '5539182286932'
faker.providers.profile
¶
fake.simple_profile(sex=None)
# { 'address': u'79392 Stutz Roads\nMaryfort, FL 19051',
# 'birthdate': datetime.date(1921, 6, 17),
# 'mail': u'gzehnder@hotmail.com',
# 'name': u'Isa Kuhn',
# 'sex': 'M',
# 'username': u'sennandreia'}
fake.profile(fields=None, sex=None)
# { 'address': u'PSC 7025, Box 3711\nAPO AA 73527',
# 'birthdate': datetime.date(1937, 7, 17),
# 'blood_group': '0+',
# 'company': u'Frick, Stadelmann and Studer',
# 'current_location': (Decimal('15.6959275'), Decimal('28.800474')),
# 'job': 'Administrator, Civil Service',
# 'mail': u'elma62@yahoo.com',
# 'name': u'Federica Hug Hug',
# 'residence': u'14649 Samanta Shore\nBlaserchester, NJ 32928',
# 'sex': 'M',
# 'ssn': u'298-05-0754',
# 'username': u'carola37',
# 'website': [ u'https://www.suter.org/',
# u'https://staub-wolf.com/',
# u'https://www.egli.org/']}
faker.providers.python
¶
fake.pyiterable(nb_elements=10, variable_nb_elements=True, *value_types)
# [ datetime.datetime(1982, 3, 12, 6, 30, 41),
# -79004345906.299,
# 2937,
# -5929200142.28366,
# u'https://walder-bucher.net/categories/category.php',
# 8177985503263.91,
# u'QHfcOVwPWSkDzehlJPVi']
fake.pystr(min_chars=None, max_chars=20)
# u'lkiTvMUQYgPjuEbiGMmx'
fake.pystruct(count=10, *value_types)
# ( [ u'vhKgcSwoOBQcQMvRQFQi',
# u'MUZHnpOITHMnXzDXLAlu',
# u'https://www.steffen-baur.com/privacy/',
# 315,
# u'ZvrFdknlFcfOQkwCEdsS',
# datetime.datetime(1997, 12, 4, 23, 23, 18),
# u'POyrIJPUfPjFiKtIBzgr',
# u'http://tobler-schlatter.com/category/',
# u'LUefEWMqGgaTOqoPLnJm',
# u'nYbSWKxtWBLyxoxxKMxN'],
# { u'aliquam': u'http://www.muller.com/wp-content/faq/',
# u'architecto': datetime.datetime(2007, 8, 31, 9, 11, 15),
# u'cupiditate': u'regulastauffer@meyer.com',
# u'earum': u'RXLkuhaliFPfCmDBLWuB',
# u'inventore': 659,
# u'maxime': u'KQsaiBMpSQbScuxtolIh',
# u'natus': u'YgOfYlQDwhJoECoBYTbs',
# u'odio': u'SQrsZqtiVmwsBeEZAlOr',
# u'provident': datetime.datetime(1983, 8, 26, 7, 37, 14),
# u'sint': 2006},
# { u'asperiores': { 2: u'http://michel.net/privacy.htm',
# 3: [ 112.2,
# datetime.datetime(2003, 2, 4, 11, 37, 3),
# u'http://www.hofer.com/register/'],
# 4: { 2: 2184969228.776,
# 3: u'FsdWSCJxUzYhLDJundOp',
# 4: [-101380546158.8, 3679]}},
# u'atque': { 5: 7424,
# 6: [ 1617,
# u'wengerdorian@gmail.com',
# u'cDfKBDmyHCyxvlqdpOoH'],
# 7: { 5: datetime.datetime(1986, 1, 29, 8, 20, 16),
# 6: 1055,
# 7: [ datetime.datetime(2015, 3, 6, 18, 55, 54),
# u'tinalutz@yahoo.com']}},
# u'cum': { 1: u'QqugPeKkhLcRXzDNjCTa',
# 2: [ u'http://www.baumgartner-wegmann.com/tags/category/',
# u'zDXcWlskpzNyyJTdWsRU',
# u'oqyQQFRcWZLQRJsyfPqd'],
# 3: { 1: -368356116518.0,
# 2: u'HEidSfnoGMLwxiMcrUqo',
# 3: [ u'hMgxYgfCPQHPrDNNKiQy',
# u'https://maier.net/index.asp']}},
# u'dolorum': { 8: Decimal('6.06224358803E+14'),
# 9: [ u'fXPJfiTMyDMmzyQyZbpj',
# u'ufwwYDETmtnwvtflfvTA',
# -382692137557624.0],
# 10: { 8: u'nnVCunXUTtFVmTQwVtXk',
# 9: u'https://herzog-jaggi.net/home.htm',
# 10: [ u'qGTmgSFKNLtpocitEDES',
# Decimal('570372.3')]}},
# u'ea': { 4: -76.928,
# 5: [ u'qiNruYXRbdKZKDUTkVAb',
# 9999,
# u'maHjhhHluigGcjKtsWVq'],
# 6: { 4: u'yImKMsibFsMEmZjoalMW',
# 5: 769924.326,
# 6: [ Decimal('34422644.4168'),
# Decimal('-42154684.8644')]}},
# u'molestias': { 9: u'fPKkhYveGcuBsBzIFSGm',
# 10: [ 7220,
# u'https://suter.org/',
# -909579309361584.0],
# 11: { 9: 9034.12911572904,
# 10: u'tYgAmtjOdgqgCyTfaXpu',
# 11: [ 35.4003047343,
# u'JxCMGYOiXpvWaOjNdlvW']}},
# u'neque': { 0: Decimal('854499007119'),
# 1: [ u'PdohDYiCPmuFuhuwRMzQ',
# u'EDcKsEOCjXlAytnAaMzo',
# Decimal('-1996303012.0')],
# 2: { 0: u'riDMDzkHXTQwpQyWQqPP',
# 1: u'https://www.bauer.com/blog/app/categories/terms.html',
# 2: [ datetime.datetime(1985, 3, 25, 12, 8, 49),
# u'zvkGVKLyiaGmUvcbywdH']}},
# u'quas': { 3: u'iQSSnsafSkBMPnyWJSai',
# 4: [ u'DDCLqJmPoCqLAbzWOtPI',
# u'ZAXtjbshgilXKRHcKrlt',
# u'http://www.bernasconi-gerber.info/author/'],
# 5: { 3: 4649,
# 4: 2762,
# 5: [7585, u'virginiahunziker@hotmail.com']}},
# u'saepe': { 6: Decimal('7575500038.98'),
# 7: [ u'julio59@buhler-zehnder.info',
# u'jlkVFYjYpcMGcjmnsGTy',
# 591],
# 8: { 6: u'YndYpwJIImCdXzxHTkUU',
# 7: u'zZCBPMSWNaVrJiPPSdyt',
# 8: [ datetime.datetime(2011, 12, 28, 16, 0, 43),
# Decimal('22046600.9054')]}},
# u'sit': { 7: u'http://kunz-brunner.org/search/',
# 8: [ u'OPVLdcjCmvCCaPgRCgDc',
# u'bPwZGkcWaHXAjwLbBKnu',
# 9588],
# 9: { 7: u'lMCAQYbStgAXfxDecOsq',
# 8: u'AckfePOUlAIbkjUEkTaI',
# 9: [ datetime.datetime(1971, 5, 13, 2, 32, 6),
# datetime.datetime(1986, 10, 10, 12, 55, 43)]}}})
fake.pyfloat(left_digits=None, right_digits=None, positive=False)
# 72421588883766.0
fake.pydecimal(left_digits=None, right_digits=None, positive=False)
# Decimal('70.497')
fake.pylist(nb_elements=10, variable_nb_elements=True, *value_types)
# [ u'WYyZPjuSIMElRVfdCikM',
# datetime.datetime(2002, 3, 31, 9, 30, 15),
# u'jfckKXWCehCthcoYIDuE',
# -6325489709.73,
# 26968.648,
# u'mKFfaqwCVJEoJMBrYiYV',
# u'yJQktUcjmEkQrhbmTxWS',
# u'HdzfNdAHvGilubZYyNTj',
# Decimal('50657645.752'),
# 930]
fake.pytuple(nb_elements=10, variable_nb_elements=True, *value_types)
# ( u'MDZMpKJGZVjznEFsPDQG',
# u'QHmpgeQxCyjLheWWMaMe',
# u'XlxXGxTAWsrNIUHbSufs',
# u'YguvWzhldxBCUeKyUPDF',
# Decimal('-35306860245.7'),
# -59593461.5,
# u'AUScMXusiVWTWWoVmYeV',
# Decimal('646073951476'),
# u'http://www.bieri.biz/',
# u'fpujkxEacoIVYrxmciuE')
fake.pybool()
# False
fake.pyset(nb_elements=10, variable_nb_elements=True, *value_types)
# set([-8751563932128.0, 6914, datetime.datetime(2010, 10, 3, 4, 57, 7), u'CFDviTujfrOTsCbcerOa', 1271, u'PgZxoSHySBVzYNrfCwbS', u'xkOAuaQmekRBcUbaOaSY', Decimal('-238120.923381'), u'sSEHRFibSHjGpGFXnMHU', u'pBtfkOmnwqYaKBWHEqnN', u'cwinkler@hotmail.com', u'VTBDNwHrqoEiAAKobOKi'])
fake.pydict(nb_elements=10, variable_nb_elements=True, *value_types)
# { u'alias': 582,
# u'corrupti': Decimal('50986250478.2'),
# u'dolores': u'pgnQLXYNMJpnQOgKhkAl',
# u'est': u'http://www.stadelmann.net/blog/list/posts/post.php',
# u'eum': u'SkQIbHCpuZSzLpbWexiM',
# u'exercitationem': u'https://www.egger.info/',
# u'impedit': -5.22520277,
# u'numquam': u'ugGaogBYacQjhYgKygMf',
# u'quis': u'yQcnMFMCjUPlaUDdinSo',
# u'repellat': datetime.datetime(2006, 6, 28, 12, 49, 43),
# u'tenetur': 2957865047.72}
fake.pyint()
# 1990
faker.providers.ssn
¶
fake.ssn(taxpayer_identification_number_type="SSN")
# u'351-44-7036'
fake.ein()
# u'55-9140258'
fake.itin()
# u'992-91-9304'
faker.providers.user_agent
¶
fake.mac_processor()
# u'U; PPC'
fake.firefox()
# u'Mozilla/5.0 (Windows NT 6.1; mt-MT; rv:1.9.2.20) Gecko/2011-09-09 07:56:09 Firefox/3.8'
fake.linux_platform_token()
# u'X11; Linux x86_64'
fake.opera()
# u'Opera/9.94.(Windows NT 5.2; pl-PL) Presto/2.9.183 Version/10.00'
fake.windows_platform_token()
# u'Windows CE'
fake.internet_explorer()
# u'Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 5.1; Trident/5.1)'
fake.user_agent()
# u'Mozilla/5.0 (Windows; U; Windows NT 5.01) AppleWebKit/535.24.3 (KHTML, like Gecko) Version/5.0.5 Safari/535.24.3'
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; PPC Mac OS X 10_12_6) AppleWebKit/5342 (KHTML, like Gecko) Chrome/39.0.867.0 Safari/5342'
fake.mac_platform_token()
# u'Macintosh; PPC Mac OS X 10_10_3'
fake.safari()
# u'Mozilla/5.0 (Windows; U; Windows 98) AppleWebKit/531.35.4 (KHTML, like Gecko) Version/5.0 Safari/531.35.4'