Language ar_EG¶
faker.providers.address
¶
fake.longitude()
# Decimal('-175.281302')
fake.building_number()
# u'6677'
fake.street_address()
# u'876 Michaela Road Apt. 121'
fake.postalcode_plus4()
# u'69484-3875'
fake.city_prefix()
# u'North'
fake.military_ship()
# u'USNV'
fake.city()
# u'East Deborah'
fake.zipcode_plus4()
# u'82127-5577'
fake.state_abbr()
# u'ME'
fake.latitude()
# Decimal('-70.113200')
fake.street_suffix()
# u'Rapid'
fake.city_suffix()
# u'view'
fake.military_dpo()
# u'Unit 9692 Box 7918'
fake.country_code(representation="alpha-2")
# u'IE'
fake.country()
# u'Iran'
fake.secondary_address()
# u'Suite 985'
fake.geo_coordinate(center=None, radius=0.001)
# Decimal('-25.342180')
fake.postalcode()
# u'31048'
fake.address()
# u'83944 Taylor Highway\nLake Phillipton, MA 39514'
fake.state()
# u'New Hampshire'
fake.military_state()
# u'AP'
fake.street_name()
# u'Alan Harbor'
fake.zipcode()
# u'60561'
fake.postcode()
# u'70939-5362'
fake.military_apo()
# u'PSC 6084, Box 1797'
faker.providers.automotive
¶
fake.license_plate()
# u'454071'
faker.providers.bank
¶
fake.bban()
# 'UVYW1409152860580'
fake.bank_country()
# 'GB'
fake.iban()
# 'GB65ZSED5743917223819'
faker.providers.barcode
¶
fake.ean(length=13)
# u'6759658571823'
fake.ean13()
# u'9576821933038'
fake.ean8()
# u'93172295'
faker.providers.color
¶
fake.rgb_css_color()
# u'rgb(247,62,244)'
fake.color_name()
# u'PaleTurquoise'
fake.rgb_color()
# u'141,44,29'
fake.safe_hex_color()
# u'#eecc00'
fake.safe_color_name()
# u'lime'
fake.hex_color()
# u'#777d94'
faker.providers.company
¶
fake.company()
# u'Harper-White'
fake.company_suffix()
# u'Inc'
fake.catch_phrase()
# u'Proactive discrete support'
fake.bs()
# u'e-enable B2B e-business'
faker.providers.credit_card
¶
fake.credit_card_security_code(card_type=None)
# u'669'
fake.credit_card_provider(card_type=None)
# u'VISA 16 digit'
fake.credit_card_full(card_type=None)
# u'Mastercard\nChristina Moore\n5513047021652540 01/19\nCVV: 771\n'
fake.credit_card_expire(start="now", end="+10y", date_format="%m/%y")
# '12/27'
fake.credit_card_number(card_type=None)
# u'676156092246'
faker.providers.currency
¶
fake.cryptocurrency_code()
# 'ZEC'
fake.currency_code()
# 'SBD'
fake.currency_name()
# 'Dominican peso'
fake.cryptocurrency_name()
# 'Bytecoin'
fake.cryptocurrency()
# ('BCN', 'Bytecoin')
fake.currency()
# ('GNF', 'Guinean franc')
faker.providers.date_time
¶
fake.future_datetime(end_date="+30d", tzinfo=None)
# datetime.datetime(2018, 8, 18, 22, 18, 30)
fake.time_series(start_date="-30d", end_date="now", precision=None, distrib=None, tzinfo=None)
# <generator object time_series at 0xf5cd5bc0>
fake.date_between_dates(date_start=None, date_end=None)
# datetime.date(2018, 8, 17)
fake.date_time_between(start_date="-30y", end_date="now", tzinfo=None)
# datetime.datetime(1988, 12, 13, 16, 57, 18)
fake.date_this_decade(before_today=True, after_today=False)
# datetime.date(2016, 9, 19)
fake.date_time_this_month(before_now=True, after_now=False, tzinfo=None)
# datetime.datetime(2018, 8, 5, 15, 14, 51)
fake.past_date(start_date="-30d", tzinfo=None)
# datetime.date(2018, 7, 26)
fake.day_of_week()
# u'\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621'
fake.date_time_this_decade(before_now=True, after_now=False, tzinfo=None)
# datetime.datetime(2017, 12, 17, 22, 34, 36)
fake.date_between(start_date="-30y", end_date="today")
# datetime.date(1992, 11, 21)
fake.date_time_this_century(before_now=True, after_now=False, tzinfo=None)
# datetime.datetime(2011, 12, 12, 10, 26, 11)
fake.date(pattern="%Y-%m-%d", end_datetime=None)
# '1993-01-05'
fake.am_pm()
# u'\u0635'
fake.date_time_between_dates(datetime_start=None, datetime_end=None, tzinfo=None)
# datetime.datetime(2018, 8, 17, 8, 10, 37)
fake.date_object(end_datetime=None)
# datetime.date(2011, 6, 2)
fake.date_this_year(before_today=True, after_today=False)
# datetime.date(2018, 3, 27)
fake.iso8601(tzinfo=None, end_datetime=None)
# '2016-08-27T22:46:51'
fake.future_date(end_date="+30d", tzinfo=None)
# datetime.date(2018, 9, 15)
fake.date_this_century(before_today=True, after_today=False)
# datetime.date(2009, 7, 2)
fake.month()
# '09'
fake.year()
# '1979'
fake.day_of_month()
# '23'
fake.unix_time(end_datetime=None, start_datetime=None)
# 181737126
fake.timezone()
# u'\u0622\u0633\u064a\u0627/\u0639\u0645\u0651\u0627\u0646'
fake.century()
# u'\u0627\u0644\u062b\u0627\u0645\u0646'
fake.date_of_birth(tzinfo=None, minimum_age=0, maximum_age=115)
# datetime.date(1962, 7, 15)
fake.time_object(end_datetime=None)
# datetime.time(10, 0, 18)
fake.date_time_this_year(before_now=True, after_now=False, tzinfo=None)
# datetime.datetime(2018, 5, 18, 17, 57, 33)
fake.date_time(tzinfo=None, end_datetime=None)
# datetime.datetime(1988, 11, 28, 5, 12, 33)
fake.time(pattern="%H:%M:%S", end_datetime=None)
# '07:59:36'
fake.date_this_month(before_today=True, after_today=False)
# datetime.date(2018, 8, 5)
fake.past_datetime(start_date="-30d", tzinfo=None)
# datetime.datetime(2018, 8, 6, 2, 35, 14)
fake.month_name()
# u'\u064a\u0648\u0646\u064a\u0648'
fake.date_time_ad(tzinfo=None, end_datetime=None, start_datetime=None)
# datetime.datetime(693, 3, 15, 18, 58, 50)
fake.time_delta(end_datetime=None)
# datetime.timedelta(9900, 59435)
faker.providers.file
¶
fake.unix_device(prefix=None)
# u'/dev/xvdi'
fake.mime_type(category=None)
# u'application/postscript'
fake.file_path(depth=1, category=None, extension=None)
# u'/culpa/occaecati.flac'
fake.unix_partition(prefix=None)
# u'/dev/sdl0'
fake.file_name(category=None, extension=None)
# u'temporibus.jpeg'
fake.file_extension(category=None)
# u'pdf'
faker.providers.internet
¶
fake.ascii_free_email(*args, **kwargs)
# 'wadeandrew@yahoo.com'
fake.image_url(width=None, height=None)
# u'https://placeholdit.imgix.net/~text?txtsize=55&txt=18x304&w=18&h=304'
fake.tld()
# u'net'
fake.email(*args, **kwargs)
# u'lopezjoshua@ramirez-clark.info'
fake.url(schemes=None)
# u'http://www.boone-pena.biz/'
fake.ipv4_private(network=False, address_class=None)
# '192.168.245.196'
fake.user_name(*args, **kwargs)
# u'ghopkins'
fake.uri_extension()
# u'.jsp'
fake.uri_page()
# u'category'
fake.free_email_domain(*args, **kwargs)
# u'gmail.com'
fake.safe_email(*args, **kwargs)
# u'zcastro@example.com'
fake.ascii_email(*args, **kwargs)
# 'scottcox@castaneda-rubio.biz'
fake.ipv4_network_class()
# u'b'
fake.ipv4_public(network=False, address_class=None)
# '27.119.120.154'
fake.ascii_company_email(*args, **kwargs)
# 'nsalazar@bowers.net'
fake.domain_name(*args, **kwargs)
# u'stewart.com'
fake.ipv4(network=False, address_class=None, private=None)
# '226.62.65.62'
fake.domain_word(*args, **kwargs)
# u'carter'
fake.slug(*args, **kwargs)
# u'aliquid-voluptas'
fake.uri_path(deep=None)
# u'wp-content'
fake.company_email(*args, **kwargs)
# u'smithkevin@jackson-jimenez.biz'
fake.uri()
# u'http://www.martinez.biz/list/list/index/'
fake.ipv6(network=False)
# 'fb67:2314:dadc:6a83:6d69:7a0c:3f71:d516'
fake.free_email(*args, **kwargs)
# u'paula10@hotmail.com'
fake.ascii_safe_email(*args, **kwargs)
# 'xmcclure@example.net'
fake.mac_address()
# u'23:f6:13:6b:f2:aa'
faker.providers.isbn
¶
fake.isbn10(separator="-")
# u'1-955856-48-6'
fake.isbn13(separator="-")
# u'978-0-7863-8069-5'
faker.providers.job
¶
fake.job()
# 'Social research officer, government'
faker.providers.lorem
¶
fake.text(max_nb_chars=200, ext_word_list=None)
# u'Repellendus rerum iure harum. Fuga quis atque porro. Fugiat laudantium ab ducimus hic non.\nPerspiciatis corporis assumenda vel. Dolorum illo quos.\nTempore harum omnis in. Ut cum explicabo veritatis.'
fake.paragraphs(nb=3, ext_word_list=None)
# [ u'Ipsum quae eaque corrupti fugit possimus dolor id. Facilis quisquam inventore maiores natus esse ex. Consectetur atque voluptatum natus aliquid odit velit.',
# u'Nisi illo tenetur eaque dolore molestiae. Atque expedita minus consectetur voluptatem fugit. Omnis ullam rerum sequi impedit repellendus maiores commodi.',
# u'Sit praesentium inventore laborum qui cumque nemo provident.']
fake.words(nb=3, ext_word_list=None)
# [u'dolorem', u'beatae', u'eius']
fake.sentences(nb=3, ext_word_list=None)
# [ u'Laudantium sint officiis aliquam saepe quia aperiam occaecati.',
# u'Tempora mollitia excepturi temporibus hic.',
# u'Explicabo eius consequuntur corrupti recusandae.']
fake.word(ext_word_list=None)
# u'blanditiis'
fake.paragraph(nb_sentences=3, variable_nb_sentences=True, ext_word_list=None)
# u'Et provident odio similique quibusdam alias dolores. Facilis eius sunt dolores blanditiis vero asperiores.'
fake.sentence(nb_words=6, variable_nb_words=True, ext_word_list=None)
# u'Eligendi nihil vitae dolor provident.'
faker.providers.misc
¶
fake.password(length=10, special_chars=True, digits=True, upper_case=True, lower_case=True)
# u'YoW!y9Qnpg'
fake.locale()
# u'mg_MG'
fake.binary(length=1048576)
# bytearray(b'9\x85(4\x08\x8f\x7f&Y\xd8\xa1\n-\xa3\xbe\x0c\xbeW=69\x8e\xea\xaa\xed\xcf\xbbq8lC\xca\xf6\xee\xf0KS\t\x13\xa8\x07\xd4\xcc\xab<\x8f\xd9\xcb]\xe00vg\x92\xbeV\xb2\x8d\x97\xb0\xc5~\xa3i\xd0\xd5aP\xa4Z1\xa3\xad\x86\xa3\xba:U?th\xae\xa2\xccr(\xfb\x9d\x89\xf7\xc8\xb0B\xab{\x91\xfb9\xc0\xb9f\xef+~l\xc7:\x95\xedA\x92\xcdA\xd6\xae\xf07\xaa\x81n+\x10\xac\xfd\xddH}\xc0>\x02f0/\xbaTheG\xb9\xc9\x9c/&\xdf\xcf\x1a!@\xe5j\xb7i\x95@\x19@\xf8\x13C%\xfb(Z3\x08\xc8%\x95\x1fwC\xdc\n\xa1<\xba\xc4[\x14\xe6\xeb~\x06V\xef\xb3\x00\xdce\xb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a\x8c\xe2RYb\x7f\xb4E.\xacv\xae\x0c8\xa0\xca\xfb\xafR\xe7\xc1\xd7\xc3\xda\xd9\xdd\xf4\xef\xa7>\x1d\x9fA\x19\xd9\x00\x9e\xa8\xfb\xa9C\x14O\x83\x17\xf3U\x84\xd4\x7f\'?1L')
fake.md5(raw_output=False)
# '31e2afba461d8adef4706faf9061e256'
fake.sha1(raw_output=False)
# 'b8a6f00692079699a75a992bef27a2dad83d05b6'
fake.null_boolean()
# False
fake.sha256(raw_output=False)
# '2534b0df5a2df06b3f97dcd30ef4178d247cb797a98d164ac53f9d466e708c13'
fake.uuid4()
# 'a3989082-46dd-9fb8-7e1f-ee24db4bf252'
fake.language_code()
# u'en'
fake.boolean(chance_of_getting_true=50)
# True
faker.providers.person
¶
fake.last_name_male()
# u'Lopez'
fake.name_female()
# u'Carrie Jones'
fake.prefix_male()
# u'Dr.'
fake.prefix()
# u'Mr.'
fake.name()
# u'Sarah Gilmore'
fake.suffix_female()
# u'MD'
fake.name_male()
# u'Cristian Farrell'
fake.first_name()
# u'John'
fake.suffix_male()
# u'DDS'
fake.suffix()
# u'DVM'
fake.first_name_male()
# u'Tim'
fake.first_name_female()
# u'Heather'
fake.last_name_female()
# u'Hall'
fake.last_name()
# u'Rush'
fake.prefix_female()
# u'Dr.'
faker.providers.phone_number
¶
fake.phone_number()
# u'+71(6)1319843667'
fake.msisdn()
# '1299843755147'
faker.providers.profile
¶
fake.simple_profile(sex=None)
# { 'address': u'2371 Smith Shore Apt. 582\nPort Katherine, AZ 00199-4790',
# 'birthdate': datetime.date(2011, 1, 14),
# 'mail': u'meagan45@yahoo.com',
# 'name': u'Nicholas Oneill',
# 'sex': 'M',
# 'username': u'kathrynle'}
fake.profile(fields=None, sex=None)
# { 'address': u'975 Young Trail Apt. 105\nMcguireborough, GA 79956-9520',
# 'birthdate': datetime.date(1966, 7, 30),
# 'blood_group': 'A-',
# 'company': u'Turner, Miller and Robinson',
# 'current_location': (Decimal('79.813156'), Decimal('-116.181706')),
# 'job': 'Chief Executive Officer',
# 'mail': u'goodwinrobert@gmail.com',
# 'name': u'Cathy Cain',
# 'residence': u'Unit 1437 Box 6521\nDPO AE 66775-1273',
# 'sex': 'F',
# 'ssn': u'115-58-2418',
# 'username': u'bbrown',
# 'website': [ u'https://barnes.net/',
# u'http://www.smith.info/',
# u'https://www.swanson.biz/',
# u'http://castro.com/']}
faker.providers.python
¶
fake.pyiterable(nb_elements=10, variable_nb_elements=True, *value_types)
# ( -666871.8283,
# u'tqfoMweAgtJwKUJKKcOx',
# u'danieldavis@ramirez.net',
# u'myWswjVvefgOXzPFAkpR',
# u'fwkWPBPSfUbGbQmOCqqH',
# -49146381431461.1,
# 5870,
# datetime.datetime(1994, 10, 10, 12, 20, 26),
# u'hEZiNfjlErEaTGQYRMVI',
# u'http://williams.net/list/list/main/index.php',
# u'ADJPDKOCGBAZBqiduXNo',
# u'amberwarren@dawson.org')
fake.pystr(min_chars=None, max_chars=20)
# u'QmLWYIHVablDmoIZmvJD'
fake.pystruct(count=10, *value_types)
# ( [ 2316,
# Decimal('8.6038387357E+12'),
# u'fTAmGyRFnbkFBYrcqrey',
# u'fQXmWJZNQtrKKFjjCuet',
# datetime.datetime(1978, 3, 7, 7, 14, 47),
# u'ABIfjWsMeNZKqEBGZcad',
# u'JmysSOvtLcBXbeWeLRqZ',
# u'https://miller.biz/',
# Decimal('32030672457.3'),
# datetime.datetime(1993, 10, 24, 16, 52, 1)],
# { u'culpa': u'UczWDnsyHqORFKdxLgSV',
# u'cumque': u'SeblFpyTyWhsaqLISGuj',
# u'ex': u'kQPlwfKJMguNOrfPGYWn',
# u'explicabo': u'http://conley.com/register.html',
# u'harum': datetime.datetime(2008, 6, 2, 15, 26, 27),
# u'maiores': u'WdmMEyYJSMzpSovyCNrp',
# u'mollitia': u'mtgaTaLYOwtkukkMeTVj',
# u'nihil': 1138,
# u'quia': u'https://www.williams.com/privacy.html',
# u'veritatis': u'tonycarter@alexander-wagner.com'},
# { u'ad': { 1: u'http://www.york.com/search/list/tag/main/',
# 2: [ 1254769435.66,
# u'sxliTzgrJmBDpPmUhzPt',
# u'https://www.oneal.org/main/category/main/author/'],
# 3: { 1: u'leJQFqVArXQDHvvmeUNO',
# 2: Decimal('7664.0'),
# 3: [ u'WtnlukiEvAwDdZeyeqed',
# u'aWwSipdjaOkoWPHRSqkg']}},
# u'eius': { 9: u'http://www.williamson.com/blog/tags/about/',
# 10: [ u'JSXrCYaxeVOkURDBDGxw',
# datetime.datetime(1994, 6, 6, 20, 25, 53),
# u'NNQmVIOERTdfOOgnjYFk'],
# 11: { 9: datetime.datetime(1998, 5, 1, 18, 11, 57),
# 10: u'http://www.olsen.biz/',
# 11: [38311850575.7, 2220]}},
# u'illo': { 2: u'bKKDVqexVAkWLffxzaIk',
# 3: [ u'https://bryant.com/main.htm',
# u'ukVzOsdyylEsWHJvvPCC',
# 713],
# 4: { 2: Decimal('47.4214938552'),
# 3: -2291.789,
# 4: [ 2632,
# datetime.datetime(2008, 5, 20, 4, 41, 19)]}},
# u'nemo': { 4: 1584,
# 5: [ u'RWeSfhHgAuHIfTFKrpAH',
# datetime.datetime(2011, 3, 16, 2, 55, 7),
# u'http://www.martinez.com/search/tags/login.htm'],
# 6: { 4: u'nicholaslarsen@gmail.com',
# 5: u'OyPuokYdNPRluHVsltsj',
# 6: [297, u'https://johnson.com/']}},
# u'nihil': { 7: -25.231819023233,
# 8: [ 3822,
# u'KZlfrCKTFnuaOpwVzXFH',
# u'http://www.hubbard.com/tag/app/terms/'],
# 9: { 7: u'HneJRletSDnzfXqETAcI',
# 8: u'emurphy@hotmail.com',
# 9: [3483.2, 7122]}},
# u'non': { 8: 311,
# 9: [945, 1824, u'ShzalarQotQRNuKxcctC'],
# 10: { 8: u'http://schaefer-allen.com/login/',
# 9: datetime.datetime(2016, 8, 3, 10, 43, 18),
# 10: [ u'http://murillo.com/post.htm',
# u'QFLXPEzGugmSKYkdVltK']}},
# u'quaerat': { 0: u'XKVjsYDlOvzrYOCvCzul',
# 1: [ u'lepmPDRhGEsDIOShyTCN',
# -44743834841.0,
# u'JwvnjydBttykOgVjadWx'],
# 2: { 0: 4313,
# 1: u'peterjones@gmail.com',
# 2: [ u'QqEzttCpbcsVVJMnSfsT',
# u'DazPGOahLtrOakDTzKRX']}},
# u'quas': { 5: u'tYunRhUIqyLGdrbqWcnF',
# 6: [ u'rQzeRZHkMMhjOPTXmcET',
# u'jhall@gmail.com',
# u'kelly49@gmail.com'],
# 7: { 5: u'UDqBbbtQWPabwweJdsaT',
# 6: u'XorNssVPcTuAknmahgEZ',
# 7: [1844, u'GcXIlTUydBOSlgfxGtrA']}},
# u'ratione': { 3: u'QRzqVaSuAUZAIrovMPMM',
# 4: [5436520999.5797, u'pUhiHNwNskpfnvlSOUxx', 2029],
# 5: { 3: u'npyFJhqFboJIlirRgUyZ',
# 4: datetime.datetime(2014, 2, 26, 10, 43, 37),
# 5: [ Decimal('273537197.153'),
# datetime.datetime(1982, 9, 16, 8, 43, 11)]}},
# u'sint': { 6: datetime.datetime(2007, 4, 28, 15, 2, 45),
# 7: [ u'https://rivers.info/',
# u'whitedonna@gmail.com',
# u'nLvwyLcWbcpwxkyxKANp'],
# 8: { 6: u'ivanboyle@yahoo.com',
# 7: datetime.datetime(2007, 10, 20, 15, 11, 53),
# 8: [ u'nOkvnlnzzTRvAWgHFLJK',
# u'ImjXMIsVUDoBKIgFYyFo']}}})
fake.pyfloat(left_digits=None, right_digits=None, positive=False)
# -8277125236404.86
fake.pydecimal(left_digits=None, right_digits=None, positive=False)
# Decimal('4170.14959053')
fake.pylist(nb_elements=10, variable_nb_elements=True, *value_types)
# [ 2926,
# 6491,
# u'GAfhIpBgctYzrFtUZMcB',
# u'JhRjBLezBeQgphqOPWzi',
# u'davidlee@gmail.com',
# 6928,
# datetime.datetime(1970, 7, 25, 7, 21, 45),
# u'gXRDAdbcSwepLJvPchQG',
# datetime.datetime(2004, 1, 28, 19, 2, 29),
# datetime.datetime(1985, 6, 9, 7, 59, 5)]
fake.pytuple(nb_elements=10, variable_nb_elements=True, *value_types)
# ( u'KAGBxzqXCvFbGDPMsxdZ',
# 2595,
# u'toddreed@yahoo.com',
# u'http://calderon.info/tags/main/',
# -404.0,
# 750,
# Decimal('-521163719446'),
# u'https://www.sullivan.com/explore/explore/index.jsp',
# u'http://www.bates-bush.info/post/',
# u'smhsKVbyCcfNhIYiHIwL',
# u'http://www.higgins.net/register/')
fake.pybool()
# True
fake.pyset(nb_elements=10, variable_nb_elements=True, *value_types)
# set([8507, -89642791582.6, u'OyBhlvvkLgNJFDVUYkFV', datetime.datetime(1975, 7, 15, 3, 21, 25), u'yKksRBluwBqZAlMdMDJS', u'huFgtmLahkibIPuPBPaS', u'NvvLsvzHYtLWZncFNGgr', datetime.datetime(1997, 12, 29, 9, 52, 21), u'bcHbNznHYbgFFquvWLSL', datetime.datetime(2005, 9, 9, 12, 43, 36), u'https://grimes.com/login.html', u'brandi28@gmail.com'])
fake.pydict(nb_elements=10, variable_nb_elements=True, *value_types)
# { u'consectetur': u'brandon15@garcia.org',
# u'error': u'wkVOuGdrSxTymmuJaqsy',
# u'eveniet': u'VonKOTpAOXxKLwPNcxHr',
# u'fugit': u'https://www.reed.org/login.php',
# u'ipsam': 5370,
# u'laboriosam': datetime.datetime(1993, 10, 20, 23, 55, 59),
# u'molestias': u'GxIhskGIePerBtEjOIsK',
# u'mollitia': -898912476.70708,
# u'odio': u'http://avila.net/'}
fake.pyint()
# 8819
faker.providers.ssn
¶
fake.ssn(taxpayer_identification_number_type="SSN")
# u'701-84-5985'
fake.ein()
# u'74-3051843'
fake.itin()
# u'901-83-9122'
faker.providers.user_agent
¶
fake.mac_processor()
# u'PPC'
fake.firefox()
# u'Mozilla/5.0 (Windows 95; xh-ZA; rv:1.9.1.20) Gecko/2011-01-23 18:32:55 Firefox/11.0'
fake.linux_platform_token()
# u'X11; Linux x86_64'
fake.opera()
# u'Opera/8.76.(X11; Linux x86_64; yo-NG) Presto/2.9.186 Version/12.00'
fake.windows_platform_token()
# u'Windows NT 6.0'
fake.internet_explorer()
# u'Mozilla/5.0 (compatible; MSIE 8.0; Windows 95; Trident/4.1)'
fake.user_agent()
# u'Mozilla/5.0 (X11; Linux i686) AppleWebKit/5321 (KHTML, like Gecko) Chrome/51.0.835.0 Safari/5321'
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_5_9) AppleWebKit/5361 (KHTML, like Gecko) Chrome/37.0.873.0 Safari/5361'
fake.mac_platform_token()
# u'Macintosh; U; PPC Mac OS X 10_8_0'
fake.safari()
# u'Mozilla/5.0 (Windows; U; Windows CE) AppleWebKit/535.9.5 (KHTML, like Gecko) Version/4.0 Safari/535.9.5'