Language la¶
faker.providers.address¶
fake.longitude()
# Decimal('53.280672')
fake.building_number()
# u'4392'
fake.street_address()
# u'776 Alicia Stream Apt. 434'
fake.postalcode_plus4()
# u'34692-2549'
fake.city_prefix()
# u'Lake'
fake.military_ship()
# u'USCGC'
fake.city()
# u'East Kevinside'
fake.zipcode_plus4()
# u'50485-5571'
fake.state_abbr()
# u'TX'
fake.latitude()
# Decimal('-24.0422045')
fake.street_suffix()
# u'Inlet'
fake.city_suffix()
# u'burgh'
fake.military_dpo()
# u'Unit 3833 Box 2070'
fake.country_code(representation="alpha-2")
# u'MU'
fake.country()
# u'Chad'
fake.secondary_address()
# u'Suite 575'
fake.geo_coordinate(center=None, radius=0.001)
# Decimal('29.135238')
fake.postalcode()
# u'47897'
fake.address()
# u'34756 Keith Spring\nLake Christine, OR 73985'
fake.state()
# u'Massachusetts'
fake.military_state()
# u'AP'
fake.street_name()
# u'Holmes Mews'
fake.zipcode()
# u'96134'
fake.postcode()
# u'95279-2567'
fake.military_apo()
# u'PSC 0003, Box 1278'
faker.providers.automotive¶
fake.license_plate()
# u'QDD-908'
faker.providers.bank¶
fake.bban()
# 'NBGK5390587789072'
fake.bank_country()
# 'GB'
fake.iban()
# 'GB60PGHA0910110628127'
faker.providers.barcode¶
fake.ean(length=13)
# u'3187228413144'
fake.ean13()
# u'5505051925272'
fake.ean8()
# u'91882035'
faker.providers.color¶
fake.rgb_css_color()
# u'rgb(254,160,195)'
fake.color_name()
# u'DarkMagenta'
fake.rgb_color()
# u'113,28,195'
fake.safe_hex_color()
# u'#442200'
fake.safe_color_name()
# u'maroon'
fake.hex_color()
# u'#1f34f8'
faker.providers.company¶
fake.company()
# u'Berg-Smith'
fake.company_suffix()
# u'PLC'
fake.catch_phrase()
# u'Stand-alone tertiary database'
fake.bs()
# u'disintermediate back-end niches'
faker.providers.credit_card¶
fake.credit_card_security_code(card_type=None)
# u'085'
fake.credit_card_provider(card_type=None)
# u'Maestro'
fake.credit_card_full(card_type=None)
# u'VISA 16 digit\nBrett Harvey\n4584832645671217 12/23\nCVC: 111\n'
fake.credit_card_expire(start="now", end="+10y", date_format="%m/%y")
# '12/24'
fake.credit_card_number(card_type=None)
# u'4596150038190182'
faker.providers.currency¶
fake.cryptocurrency_code()
# 'BURST'
fake.currency_code()
# 'BGN'
fake.currency_name()
# 'Iraqi dinar'
fake.cryptocurrency_name()
# 'Ripple'
fake.cryptocurrency()
# ('DOGE', 'Dogecoin')
fake.currency()
# ('EGP', 'Egyptian pound')
faker.providers.date_time¶
fake.future_datetime(end_date="+30d", tzinfo=None)
# datetime.datetime(2019, 5, 18, 9, 34, 43)
fake.time_series(start_date="-30d", end_date="now", precision=None, distrib=None, tzinfo=None)
# <generator object time_series at 0x7fff968ede60>
fake.date_between_dates(date_start=None, date_end=None)
# datetime.date(2019, 5, 15)
fake.date_time_between(start_date="-30y", end_date="now", tzinfo=None)
# datetime.datetime(1995, 11, 5, 9, 36, 34)
fake.date_this_decade(before_today=True, after_today=False)
# datetime.date(2019, 1, 31)
fake.date_time_this_month(before_now=True, after_now=False, tzinfo=None)
# datetime.datetime(2019, 5, 13, 21, 59, 13)
fake.past_date(start_date="-30d", tzinfo=None)
# datetime.date(2019, 4, 19)
fake.day_of_week()
# 'Monday'
fake.date_time_this_decade(before_now=True, after_now=False, tzinfo=None)
# datetime.datetime(2010, 10, 16, 3, 26, 43)
fake.date_between(start_date="-30y", end_date="today")
# datetime.date(1993, 4, 12)
fake.date_time_this_century(before_now=True, after_now=False, tzinfo=None)
# datetime.datetime(2018, 11, 3, 8, 37, 49)
fake.date(pattern="%Y-%m-%d", end_datetime=None)
# '1997-02-15'
fake.am_pm()
# 'AM'
fake.date_time_between_dates(datetime_start=None, datetime_end=None, tzinfo=None)
# datetime.datetime(2019, 5, 15, 4, 21, 19)
fake.date_object(end_datetime=None)
# datetime.date(1987, 2, 1)
fake.date_this_year(before_today=True, after_today=False)
# datetime.date(2019, 4, 29)
fake.iso8601(tzinfo=None, end_datetime=None)
# '1971-12-11T16:38:38'
fake.future_date(end_date="+30d", tzinfo=None)
# datetime.date(2019, 6, 5)
fake.date_this_century(before_today=True, after_today=False)
# datetime.date(2011, 9, 9)
fake.month()
# '06'
fake.year()
# '1981'
fake.day_of_month()
# '23'
fake.unix_time(end_datetime=None, start_datetime=None)
# 916062323
fake.timezone()
# u'Asia/Dushanbe'
fake.century()
# u'X'
fake.date_of_birth(tzinfo=None, minimum_age=0, maximum_age=115)
# datetime.date(1906, 3, 20)
fake.time_object(end_datetime=None)
# datetime.time(14, 5, 31)
fake.date_time_this_year(before_now=True, after_now=False, tzinfo=None)
# datetime.datetime(2019, 5, 2, 10, 41, 38)
fake.date_time(tzinfo=None, end_datetime=None)
# datetime.datetime(1976, 2, 7, 16, 58, 37)
fake.time(pattern="%H:%M:%S", end_datetime=None)
# '09:52:48'
fake.date_this_month(before_today=True, after_today=False)
# datetime.date(2019, 5, 8)
fake.past_datetime(start_date="-30d", tzinfo=None)
# datetime.datetime(2019, 4, 28, 12, 31, 17)
fake.month_name()
# 'February'
fake.date_time_ad(tzinfo=None, end_datetime=None, start_datetime=None)
# datetime.datetime(1254, 9, 24, 2, 30, 21)
fake.time_delta(end_datetime=None)
# datetime.timedelta(15140, 80133)
faker.providers.file¶
fake.unix_device(prefix=None)
# u'/dev/sdc'
fake.mime_type(category=None)
# u'multipart/alternative'
fake.file_path(depth=1, category=None, extension=None)
# u'/corporis/commodi.flac'
fake.unix_partition(prefix=None)
# u'/dev/vdx3'
fake.file_name(category=None, extension=None)
# u'impedit.flac'
fake.file_extension(category=None)
# u'json'
faker.providers.internet¶
fake.ascii_free_email(*args, **kwargs)
# 'joshuawilliams@hotmail.com'
fake.image_url(width=None, height=None)
# u'https://placeholdit.imgix.net/~text?txtsize=55&txt=409x416&w=409&h=416'
fake.tld()
# u'com'
fake.email(*args, **kwargs)
# u'tiffany27@joyce.com'
fake.url(schemes=None)
# u'http://www.villanueva.biz/'
fake.ipv4_private(network=False, address_class=None)
# '172.30.85.149'
fake.user_name(*args, **kwargs)
# u'daniel02'
fake.uri_extension()
# u'.html'
fake.uri_page()
# u'post'
fake.free_email_domain(*args, **kwargs)
# u'gmail.com'
fake.safe_email(*args, **kwargs)
# u'jennifer32@example.org'
fake.ascii_email(*args, **kwargs)
# 'cherylgonzalez@marsh.com'
fake.ipv4_network_class()
# u'c'
fake.ipv4_public(network=False, address_class=None)
# '23.58.63.61'
fake.ascii_company_email(*args, **kwargs)
# 'coleeric@smith.com'
fake.domain_name(*args, **kwargs)
# u'williams.org'
fake.ipv4(network=False, address_class=None, private=None)
# '13.122.4.191'
fake.domain_word(*args, **kwargs)
# u'smith'
fake.slug(*args, **kwargs)
# u'ducimus-quia'
fake.uri_path(deep=None)
# u'main'
fake.company_email(*args, **kwargs)
# u'jchapman@young.com'
fake.uri()
# u'https://morris.com/'
fake.ipv6(network=False)
# '95f5:ea02:cc88:479a:1730:515:cf28:1e8f'
fake.free_email(*args, **kwargs)
# u'kingpamela@yahoo.com'
fake.ascii_safe_email(*args, **kwargs)
# 'robertsaudrey@example.org'
fake.mac_address()
# u'f8:c0:a3:9b:13:f8'
faker.providers.isbn¶
fake.isbn10(separator="-")
# u'1-4925-0828-4'
fake.isbn13(separator="-")
# u'978-0-271-45773-4'
faker.providers.job¶
fake.job()
# 'Trading standards officer'
faker.providers.lorem¶
fake.text(max_nb_chars=200, ext_word_list=None)
# u'Omnis veritatis aspernatur voluptates laboriosam ab aliquid. Rem tenetur cumque sapiente. Est consequatur aperiam dicta aspernatur vel id.\nCum quia cupiditate recusandae minus atque.'
fake.paragraphs(nb=3, ext_word_list=None)
# [ u'Sapiente quo qui maiores libero ab. Saepe ipsam libero rerum.',
# u'Voluptate possimus illum. Aspernatur soluta a corporis aut fuga expedita illo.',
# u'Ut quae pariatur. Sit iusto modi veniam ipsa. Quas eaque maxime ad.']
fake.words(nb=3, ext_word_list=None)
# [u'praesentium', u'nulla', u'a']
fake.sentences(nb=3, ext_word_list=None)
# [ u'Dolores quidem vero iste blanditiis magni eveniet.',
# u'Laboriosam soluta ipsum.',
# u'Beatae quam at quasi consectetur quibusdam.']
fake.word(ext_word_list=None)
# u'aspernatur'
fake.paragraph(nb_sentences=3, variable_nb_sentences=True, ext_word_list=None)
# u'Aliquid adipisci autem quod quaerat atque. Vel architecto laborum exercitationem consectetur accusantium quaerat. Ex sit eaque nesciunt magnam molestiae debitis. Repellat autem accusantium beatae sunt.'
fake.sentence(nb_words=6, variable_nb_words=True, ext_word_list=None)
# u'Blanditiis exercitationem omnis quod.'
faker.providers.misc¶
fake.password(length=10, special_chars=True, digits=True, upper_case=True, lower_case=True)
# u'GP7hTfO)L('
fake.locale()
# u'byn_ER'
fake.binary(length=1048576)
# bytearray(b"\x88\x8a\x9c\x08\x9eh\xd1\xbe\xa0\x12\xd1\x17\xabt\xd9\xbc\x8c`\xde\x04\xc4\x1d\x07\x8a\xd0\xa7\x9c\x10{\xf5\xee\xbb\xb3\xd7IT\xe3\x7f\xae\xa1Z\xe9\xd5\x84t\'\x9e\x05\x84\\\xdcV\xce\xe4\xeb\xda\x17\x1d\x9c2\xf2C~*\x01#\x02\xd2\xd0i\xea\xe5\x9c\xca;\x8e\xbe\x81\xf3+\xe0\xc9\xcb\xd5@\xd1O\xcf\xb5v\x86\r\x1e/;9W\xf4\x0c\xa3\xab+!\xbf\xd1\xa9\xa0\xe4\x96\xa3$\x1b\x81\x17Bl\xfc\xc5\xaa;}?\x13\x9c\x18\x86\x94\xab\xd0^`\xddHk\xbby\xcc\x8a\xe5\x9f\xe0Su2\x1c\xb6qn\xddq\xfb\xb4D\xc7t\xbc\x9a\xc9\x8b\xc3\x92K$\xcf\xaa\x15M\xf0\xed\xfd\xdc\xf7\x0f{t\xf5\xdeQ\xcd\xd9\xb6\x8fx\xf8\xd4\xb2V\xab\x05;\xb7\x1b\'\xe3\xad\x80\xa0:\xa0G\xbf(^\'\xee\xc8\x04\x91$\xbc\x17{\xff\x94\t\xfc\x06\xb3Y~\xfd\xa3L\xc1n\xf6}\x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\xa3\xa5\x1cq\xd6\xa4\xa1\xb5k\xb3\xa9@\xd9")
fake.md5(raw_output=False)
# '5312acbaa97fe776c14bf2b83a5a6904'
fake.sha1(raw_output=False)
# '9edbaaf30d2111e9d07cc686ed4859291d60e5f6'
fake.null_boolean()
# None
fake.sha256(raw_output=False)
# '5b69c78f7affe10a80d46c269cd932bb22c9970c174387a4ad191d7e230bf0a8'
fake.uuid4()
# 'dba5ce19-fb7e-9a37-95de-557527ca80ba'
fake.language_code()
# u'it'
fake.boolean(chance_of_getting_true=50)
# True
faker.providers.person¶
fake.last_name_male()
# u'Johnson'
fake.name_female()
# u'Sarah Perry'
fake.prefix_male()
# u'Mr.'
fake.prefix()
# u'Dr.'
fake.name()
# u'Mary Wang'
fake.suffix_female()
# u'MD'
fake.name_male()
# u'Jared Lee'
fake.first_name()
# u'Brenda'
fake.suffix_male()
# u'Jr.'
fake.suffix()
# u'MD'
fake.first_name_male()
# u'David'
fake.first_name_female()
# u'Amanda'
fake.last_name_female()
# u'Benson'
fake.last_name()
# u'Davis'
fake.prefix_female()
# u'Dr.'
faker.providers.phone_number¶
fake.phone_number()
# u'+51(0)1371650376'
fake.msisdn()
# '0905934005975'
faker.providers.profile¶
fake.simple_profile(sex=None)
# { 'address': u'6179 Mary Lake\nSamanthamouth, DC 28180',
# 'birthdate': datetime.date(1959, 8, 1),
# 'mail': u'caroljones@hotmail.com',
# 'name': u'Tony Johnson',
# 'sex': 'M',
# 'username': u'patriciaparrish'}
fake.profile(fields=None, sex=None)
# { 'address': u'746 Mccoy Underpass Suite 624\nRobinsonview, TN 84859',
# 'birthdate': datetime.date(1950, 7, 5),
# 'blood_group': '0+',
# 'company': u'Zimmerman Inc',
# 'current_location': (Decimal('84.9158315'), Decimal('136.344478')),
# 'job': 'Orthoptist',
# 'mail': u'alan24@hotmail.com',
# 'name': u'Robin Jefferson',
# 'residence': u'USNV Tucker\nFPO AP 72980',
# 'sex': 'F',
# 'ssn': u'694-06-2104',
# 'username': u'kespinoza',
# 'website': [u'https://taylor.com/', u'https://www.miller-jordan.com/']}
faker.providers.python¶
fake.pyiterable(nb_elements=10, variable_nb_elements=True, *value_types)
# set([u'https://www.landry.org/wp-content/explore/blog/home/', 7078, 3100, u'ujVlyTCxtHRvvfbcMHYR', datetime.datetime(1980, 4, 24, 2, 1, 19), u'BOqWrhBjZJFMxASqRbjz', 988, u'https://hartman-guzman.com/category.jsp'])
fake.pystr(min_chars=None, max_chars=20)
# u'sjhhThlUnotKtDgQjfYb'
fake.pystruct(count=10, *value_types)
# ( [ u'bPUnpirrmHFlztDwUTCR',
# u'TEMpdlDaTfphPBmlqBwB',
# Decimal('-1055791.8054'),
# u'ZuezcuLXkbcIhBNTlhYW',
# u'https://www.whitehead.com/login/',
# Decimal('-7.28287354799E+13'),
# u'IYzgriBDJpPURNMkmMTb',
# u'fPJlvSxwfjbcSdowHwKg',
# u'TPePXPcRHqvbEKbmQKrj',
# u'GrgMXiSpFWuVleREyDwm'],
# { u'ad': u'NXwtlooJgmBYtituodjt',
# u'consequuntur': -9.8293501,
# u'deserunt': 9165,
# u'earum': u'https://www.parsons-bell.com/category.php',
# u'explicabo': u'XBPmHycarDevnIxSaear',
# u'nobis': u'http://www.wright-holland.com/login/',
# u'nostrum': u'xRwHwNpHycYSYyzksDQD',
# u'officia': 1.689365219,
# u'perferendis': u'LDDMHWZDGiUzFuzkdKQL',
# u'quis': u'ZozlrAGutCluSZnGiXbH'},
# { u'aliquid': { 4: u'dsaPYOoJkksiKvPlgtwW',
# 5: [ u'yQJClszbsaqhZcmFSCrk',
# u'cpgFMnXClXNEedDByDFf',
# datetime.datetime(1987, 12, 10, 14, 12, 52)],
# 6: { 4: 769,
# 5: u'npWfgRJcciLJfWDaFEOZ',
# 6: [u'hEaocGrSsCFDnxIyPTYn', 3641]}},
# u'amet': { 0: Decimal('-6.02350392199E+14'),
# 1: [9935, -5860519.0, 4405],
# 2: { 0: u'BVIqYpIFMUJsHusvzXBU',
# 1: u'rgTfISKxKYfjFtxrqZKy',
# 2: [ u'mccormickstephanie@yahoo.com',
# Decimal('164002994.0')]}},
# u'blanditiis': { 3: u'AvPdbHXvVXzexwEsvUwm',
# 4: [ 4768153765.72459,
# Decimal('769233.271'),
# datetime.datetime(1970, 5, 14, 8, 53, 7)],
# 5: { 3: u'ABlhVaNjnWUGSDRCxQaW',
# 4: u'cainadam@gmail.com',
# 5: [ u'CmixLSmIsmIppvrZznac',
# u'barbarahunter@gmail.com']}},
# u'deleniti': { 8: u'jennifer49@johnson.com',
# 9: [ u'XVsgXstYemQPsIkLpQmD',
# 4790,
# u'http://gilbert.com/about/'],
# 10: { 8: u'http://www.davis-stevens.info/main/category.php',
# 9: u'https://cruz.info/privacy.jsp',
# 10: [ u'GhlyHvxwLPNaCKoTevLc',
# u'JajTTNNzwOJaHEZimXpo']}},
# u'error': { 5: u'vfgujxWsHGUlzSkBIFLs',
# 6: [ u'https://www.fox-holmes.biz/index.php',
# datetime.datetime(1988, 2, 20, 6, 37, 21),
# u'BqTdQoITiEFJziRulelA'],
# 7: { 5: u'jeremy09@gmail.com',
# 6: u'iesASTWptWqPOiuIOtDb',
# 7: [ u'UqUcsDdNEdHlGsgrPJbz',
# u'rchapman@moore-thomas.info']}},
# u'modi': { 2: Decimal('5.78168170853E+13'),
# 3: [ u'vibnlStpIdAsdTuGAvKo',
# u'lfYxrgEnKAppBBrTwyGS',
# 6.8833063115329],
# 4: { 2: u'zhQwRhxGatknjtCaaAUz',
# 3: u'gnhupLNhHJalHvimvDyo',
# 4: [ u'tTCcGWPIIsVhVoPcJHFG',
# u'qObDLiahIqVrEelrvlas']}},
# u'mollitia': { 6: Decimal('-7.4009019279E+14'),
# 7: [ 9396,
# u'alicia86@gmail.com',
# u'FSigdDnXeznfrOwTZVsz'],
# 8: { 6: Decimal('-61254927.2442'),
# 7: u'EJooNiikFgKzgidVFtTM',
# 8: [ Decimal('85588092.4'),
# Decimal('3.26366362278E+12')]}},
# u'odio': { 7: 828387317765.102,
# 8: [ Decimal('-3.2124347393E+11'),
# u'VgFtsUQkZlbtODMWOyva',
# u'PVILrtgwbucoPtVWiWfQ'],
# 9: { 7: 7240,
# 8: Decimal('-4.2645183553'),
# 9: [ Decimal('-7.3796944667E+13'),
# datetime.datetime(2019, 2, 1, 15, 44, 37)]}},
# u'reiciendis': { 9: u'PkDrqXjxPxVvujCAsNux',
# 10: [ u'PUyOrkSpnaJzsKqqvrun',
# 73809294548233.0,
# u'mKJuwQlJACLICBdWcMEe'],
# 11: { 9: u'http://www.gonzales-reed.net/login.htm',
# 10: 3468,
# 11: [ datetime.datetime(1985, 9, 24, 16, 46, 36),
# u'xUOqAUREFPOLFcudBlHl']}},
# u'totam': { 1: Decimal('-79494541.3074'),
# 2: [ u'ltUCfZdNZTNPHwYuFypl',
# u'FmOxVDVcYnBoVJENdfCR',
# datetime.datetime(1986, 8, 1, 23, 32, 25)],
# 3: { 1: u'GTTZzdNKeQYSXwMwUFmv',
# 2: u'SiZnJzKexWjjjZGjhlzh',
# 3: [7162, u'gzaZeybLsUjIYZOvKtcc']}}})
fake.pyfloat(left_digits=None, right_digits=None, positive=False)
# 71.7
fake.pydecimal(left_digits=None, right_digits=None, positive=False)
# Decimal('-99520151598.0')
fake.pylist(nb_elements=10, variable_nb_elements=True, *value_types)
# [ u'FjkAYGTjssoMbvUogMWb',
# datetime.datetime(2013, 2, 18, 21, 10, 58),
# u'daeMLrKftrYllcyslHlK',
# u'http://booth.org/home/',
# u'zIqZUJqedCmQjoykjSjN',
# 6722,
# u'TfXceMYhUyyrMAozNKLF',
# u'jaHFUMegxSqcNTFueiNx',
# 1365,
# u'http://macias.com/explore/wp-content/blog/faq/',
# u'http://lawrence.info/privacy.php',
# -882563.8]
fake.pytuple(nb_elements=10, variable_nb_elements=True, *value_types)
# ( 1252,
# -977589.7,
# u'AQFglcOmuPfMdhkUaRri',
# u'https://stein.com/posts/posts/list/author/',
# Decimal('1556862.8849'),
# 7298715234.951,
# u'http://burton.com/homepage.htm',
# u'RePsMLgnqDBHjwlxGfCn',
# u'michelle66@gmail.com')
fake.pybool()
# True
fake.pyset(nb_elements=10, variable_nb_elements=True, *value_types)
# set([6311.1, u'oRrJxNOBUQUuLRfrHTdt', Decimal('7.32863225424'), 8.49491581369494, u'MSAFEJyYGbxeqmSjBppv', u'cLXCkYTXpOZkmlcQaEua', 1878, 8730, u'ItjVJOEdmsRExxxLaLgB'])
fake.pydict(nb_elements=10, variable_nb_elements=True, *value_types)
# { u'ab': u'https://aguirre-johnson.com/homepage/',
# u'cupiditate': u'PlMjGNjQzEYFFsPfFNVh',
# u'delectus': u'cassandra44@gmail.com',
# u'deserunt': u'steven34@yahoo.com',
# u'est': u'http://wright-reynolds.info/search/app/tags/author/',
# u'nam': datetime.datetime(1976, 4, 9, 3, 48, 1),
# u'occaecati': u'jblJUPGktssIGoraIASK',
# u'quaerat': u'lbaker@yahoo.com',
# u'quisquam': u'XMRoLrGqDDTIAoraUjZx',
# u'saepe': u'http://www.day-case.com/privacy.html',
# u'suscipit': u'qQRrnBdFhPkeDkhPYQGE',
# u'veritatis': u'cOyFUPVjJWQDBnnyNvwY',
# u'voluptas': 9853}
fake.pyint()
# 4864
faker.providers.ssn¶
fake.ssn(taxpayer_identification_number_type="SSN")
# u'026-09-7241'
fake.ein()
# u'31-1108106'
fake.itin()
# u'967-79-9931'
faker.providers.user_agent¶
fake.mac_processor()
# u'U; PPC'
fake.firefox()
# u'Mozilla/5.0 (Macintosh; PPC Mac OS X 10_8_8; rv:1.9.6.20) Gecko/2017-10-19 18:00:45 Firefox/10.0'
fake.linux_platform_token()
# u'X11; Linux i686'
fake.opera()
# u'Opera/9.29.(Windows CE; csb-PL) Presto/2.9.187 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 5.01; Trident/5.1)'
fake.user_agent()
# u'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_6_0 rv:6.0; uk-UA) AppleWebKit/532.13.6 (KHTML, like Gecko) Version/5.1 Safari/532.13.6'
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_4) AppleWebKit/5352 (KHTML, like Gecko) Chrome/54.0.825.0 Safari/5352'
fake.mac_platform_token()
# u'Macintosh; PPC Mac OS X 10_11_3'
fake.safari()
# u'Mozilla/5.0 (Windows; U; Windows NT 4.0) AppleWebKit/531.15.7 (KHTML, like Gecko) Version/4.1 Safari/531.15.7'