Language et_EE¶
faker.providers.address
¶
fake.longitude()
# Decimal('0.705856')
fake.building_number()
# u'763'
fake.street_address()
# u'59438 Kalamees Orchard Apt. 802'
fake.postalcode_plus4()
# u'82811-6793'
fake.city_prefix()
# u'Port'
fake.military_ship()
# u'USCGC'
fake.city()
# u'Jelenamouth'
fake.zipcode_plus4()
# u'32453-0075'
fake.state_abbr()
# u'NV'
fake.latitude()
# Decimal('-10.9861445')
fake.street_suffix()
# u'Courts'
fake.city_suffix()
# u'stad'
fake.military_dpo()
# u'Unit 9778 Box 5617'
fake.country_code(representation="alpha-2")
# u'PL'
fake.country()
# u'Brazil'
fake.secondary_address()
# u'Suite 636'
fake.geo_coordinate(center=None, radius=0.001)
# Decimal('16.784728')
fake.postalcode()
# u'27508'
fake.address()
# u'88480 Markus Neck Suite 096\nNew J\xfcri, AK 83997-3020'
fake.state()
# u'Oregon'
fake.military_state()
# u'AA'
fake.street_name()
# u'P\xf5llu Shore'
fake.zipcode()
# u'57190'
fake.postcode()
# u'42768-1756'
fake.military_apo()
# u'PSC 9547, Box 2472'
faker.providers.automotive
¶
fake.license_plate()
# u'YHX-2064'
faker.providers.bank
¶
fake.bban()
# 'OPZZ1111970478211'
fake.bank_country()
# 'GB'
fake.iban()
# 'GB90FIZH8796709267294'
faker.providers.barcode
¶
fake.ean(length=13)
# u'6482200292081'
fake.ean13()
# u'2336806692636'
fake.ean8()
# u'90478444'
faker.providers.color
¶
fake.rgb_css_color()
# u'rgb(223,117,216)'
fake.color_name()
# u'DarkSeaGreen'
fake.rgb_color()
# u'218,243,116'
fake.safe_hex_color()
# u'#884400'
fake.safe_color_name()
# u'lime'
fake.hex_color()
# u'#439f3c'
faker.providers.company
¶
fake.company()
# u'Sulg Group'
fake.company_suffix()
# u'LLC'
fake.catch_phrase()
# u'Upgradable dedicated secured line'
fake.bs()
# u'empower interactive bandwidth'
faker.providers.credit_card
¶
fake.credit_card_security_code(card_type=None)
# u'031'
fake.credit_card_provider(card_type=None)
# u'JCB 16 digit'
fake.credit_card_full(card_type=None)
# u'Mastercard\nSander Ploom\n5167119679646063 12/25\nCVV: 341\n'
fake.credit_card_expire(start="now", end="+10y", date_format="%m/%y")
# '03/28'
fake.credit_card_number(card_type=None)
# u'3533506667807958'
faker.providers.currency
¶
fake.cryptocurrency_code()
# 'DOGE'
fake.currency_code()
# 'CUP'
fake.currency_name()
# 'Mauritian rupee'
fake.cryptocurrency_name()
# 'Bitcoin'
fake.cryptocurrency()
# ('UBQ', 'Ubiq')
fake.currency()
# ('XDR', 'Special drawing rights')
faker.providers.date_time
¶
fake.future_datetime(end_date="+30d", tzinfo=None)
# datetime.datetime(2018, 8, 28, 10, 14, 15)
fake.time_series(start_date="-30d", end_date="now", precision=None, distrib=None, tzinfo=None)
# <generator object time_series at 0xffffaa1e0640>
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, 10, 16, 6, 49, 11)
fake.date_this_decade(before_today=True, after_today=False)
# datetime.date(2015, 2, 2)
fake.date_time_this_month(before_now=True, after_now=False, tzinfo=None)
# datetime.datetime(2018, 8, 11, 1, 25, 10)
fake.past_date(start_date="-30d", tzinfo=None)
# datetime.date(2018, 7, 17)
fake.day_of_week()
# 'Wednesday'
fake.date_time_this_decade(before_now=True, after_now=False, tzinfo=None)
# datetime.datetime(2016, 9, 10, 6, 51, 34)
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(2000, 11, 28, 20, 31, 23)
fake.date(pattern="%Y-%m-%d", end_datetime=None)
# '2011-02-15'
fake.am_pm()
# 'AM'
fake.date_time_between_dates(datetime_start=None, datetime_end=None, tzinfo=None)
# datetime.datetime(2018, 8, 16, 10, 58, 35)
fake.date_object(end_datetime=None)
# datetime.date(1990, 3, 15)
fake.date_this_year(before_today=True, after_today=False)
# datetime.date(2018, 2, 2)
fake.iso8601(tzinfo=None, end_datetime=None)
# '2005-04-29T03:09:23'
fake.future_date(end_date="+30d", tzinfo=None)
# datetime.date(2018, 9, 10)
fake.date_this_century(before_today=True, after_today=False)
# datetime.date(2016, 4, 3)
fake.month()
# '02'
fake.year()
# '1992'
fake.day_of_month()
# '12'
fake.unix_time(end_datetime=None, start_datetime=None)
# 579185190
fake.timezone()
# u'Europe/Bucharest'
fake.century()
# u'XVIII'
fake.date_of_birth(tzinfo=None, minimum_age=0, maximum_age=115)
# datetime.date(1922, 3, 4)
fake.time_object(end_datetime=None)
# datetime.time(9, 29, 28)
fake.date_time_this_year(before_now=True, after_now=False, tzinfo=None)
# datetime.datetime(2018, 4, 6, 14, 47, 46)
fake.date_time(tzinfo=None, end_datetime=None)
# datetime.datetime(1977, 11, 24, 23, 47, 27)
fake.time(pattern="%H:%M:%S", end_datetime=None)
# '09:51:47'
fake.date_this_month(before_today=True, after_today=False)
# datetime.date(2018, 8, 3)
fake.past_datetime(start_date="-30d", tzinfo=None)
# datetime.datetime(2018, 7, 18, 14, 28, 22)
fake.month_name()
# 'August'
fake.date_time_ad(tzinfo=None, end_datetime=None, start_datetime=None)
# datetime.datetime(253, 7, 20, 22, 38, 47)
fake.time_delta(end_datetime=None)
# datetime.timedelta(992, 33306)
faker.providers.file
¶
fake.unix_device(prefix=None)
# u'/dev/xvdn'
fake.mime_type(category=None)
# u'model/x3d+binary'
fake.file_path(depth=1, category=None, extension=None)
# u'/nostrum/dignissimos.mp3'
fake.unix_partition(prefix=None)
# u'/dev/vdw8'
fake.file_name(category=None, extension=None)
# u'nihil.mp3'
fake.file_extension(category=None)
# u'html'
faker.providers.internet
¶
fake.ascii_free_email(*args, **kwargs)
# 'marek09@yahoo.com'
fake.image_url(width=None, height=None)
# u'https://www.lorempixel.com/43/556'
fake.tld()
# u'org'
fake.email(*args, **kwargs)
# u'margus47@hotmail.com'
fake.url(schemes=None)
# u'http://www.klein-oispuu.com/'
fake.ipv4_private(network=False, address_class=None)
# '192.168.73.203'
fake.user_name(*args, **kwargs)
# u'loginovandrus'
fake.uri_extension()
# u'.php'
fake.uri_page()
# u'home'
fake.free_email_domain(*args, **kwargs)
# u'yahoo.com'
fake.safe_email(*args, **kwargs)
# u'rajamartin@example.com'
fake.ascii_email(*args, **kwargs)
# 'karnerjelena@kurvits.com'
fake.ipv4_network_class()
# u'a'
fake.ipv4_public(network=False, address_class=None)
# '163.43.199.211'
fake.ascii_company_email(*args, **kwargs)
# 'nviik@kuusik.com'
fake.domain_name(*args, **kwargs)
# u'romanov.org'
fake.ipv4(network=False, address_class=None, private=None)
# '74.48.97.180'
fake.domain_word(*args, **kwargs)
# u'moor'
fake.slug(*args, **kwargs)
# u'eligendi-temporibus'
fake.uri_path(deep=None)
# u'blog/category/wp-content'
fake.company_email(*args, **kwargs)
# u'tihhomirovnikolai@viks.com'
fake.uri()
# u'http://www.tihhomirov.biz/faq.htm'
fake.ipv6(network=False)
# 'c418:56db:e30b:55de:938f:5766:32df:123a'
fake.free_email(*args, **kwargs)
# u'saluolga@gmail.com'
fake.ascii_safe_email(*args, **kwargs)
# 'zkaasik@example.com'
fake.mac_address()
# u'95:4b:01:15:37:dd'
faker.providers.isbn
¶
fake.isbn10(separator="-")
# u'1-5033-1565-7'
fake.isbn13(separator="-")
# u'978-1-78415-293-2'
faker.providers.job
¶
fake.job()
# 'Personnel officer'
faker.providers.lorem
¶
fake.text(max_nb_chars=200, ext_word_list=None)
# u'Eum magni dolorum repudiandae. Consequatur autem facere quis architecto. Labore soluta enim quasi. Sequi aperiam magnam iste id perspiciatis quos.'
fake.paragraphs(nb=3, ext_word_list=None)
# [ u'Libero necessitatibus accusantium minima dolor impedit necessitatibus. Dolor molestias unde odio vero dolores nostrum sapiente.',
# u'Ad illum earum sed consequatur iusto. Voluptate esse eaque quae dignissimos magni perspiciatis. Officiis beatae eaque a temporibus maiores error.',
# u'Laborum earum quasi. Dolorum consectetur sunt repellat. Reprehenderit dignissimos at pariatur magnam.']
fake.words(nb=3, ext_word_list=None)
# [u'fugiat', u'iusto', u'reprehenderit']
fake.sentences(nb=3, ext_word_list=None)
# [ u'Error iure laborum.',
# u'Ipsam adipisci ab illum voluptatum eum occaecati.',
# u'Laborum ratione voluptates eos adipisci voluptates ab.']
fake.word(ext_word_list=None)
# u'omnis'
fake.paragraph(nb_sentences=3, variable_nb_sentences=True, ext_word_list=None)
# u'Voluptatum est similique mollitia. Aliquam minus a magnam. Est reprehenderit reprehenderit voluptatum odio labore. Quaerat enim illum repudiandae beatae temporibus sapiente.'
fake.sentence(nb_words=6, variable_nb_words=True, ext_word_list=None)
# u'Aperiam nostrum exercitationem aperiam earum nesciunt voluptatibus.'
faker.providers.misc
¶
fake.password(length=10, special_chars=True, digits=True, upper_case=True, lower_case=True)
# u'PtG03C1Ad)'
fake.locale()
# u'de_CH'
fake.binary(length=1048576)
# bytearray(b'e\x07\xf5\x10<\xed\t\xf7^7\x07\xf4\xb2\x0fM\x11\xab#\x1cC\xef/\x98\xda\x12Z\x8d\xce\xa2G^7\xb3"(\xc4D5DI\x02W\xd4\xf9\x91\x15~\xbe2A{\xb5\xef\xadi\x17\xe8e8\xcc\xd0 oe\xa1\xc4*\xb2B\x89M\xe5K|e$I\x0ca\xa8\x8b\xe0\xc1 -\xdd\xa4Y\xd0\xc7\x99.\x9d\x98\xb3\xbfR\xa4q\x0eO\x8d\xda\x86!\t\x01[\xf3\xf5!\xba\xd06\x93){\xa1SXt?w|HC\x1f\x1e\xbf<\xd2\x8e\xffN\xcf\xcb]\x0cT\x1f*\xb5i7\xdar\xe4\x19\x84q\x9de\xd1\x9f\x82\x1a\xd5\x08<V=\xdd\xd5\xa4\n\xf7\xa5\x12\xb3\x15\xdd\x16\x02V\xd7*kT<B\x90G\xc8\x01&\xd5\xd3I\xc3}\x8b\x06\x8a{\x81]*e\xac\x96\x06$\xc9\xd5\x0f\x83=,@C\'6W\x99\x9e@\x0f5\xee,\xfb,\xc7_\x89\xb5!w\xa7\x9a\x9cG3\x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x88\x85\xfb\xdc\x15\xd8\x8f\x9d\xc5\xc9\xaf\x14\x06\xe2\xf14g\xbbt')
fake.md5(raw_output=False)
# '7b061591a9b5984763e8551e307e17a0'
fake.sha1(raw_output=False)
# '2a64b9ed0b77d79dbc532aee822da6496174904d'
fake.null_boolean()
# None
fake.sha256(raw_output=False)
# 'f536522bb1a50410e8e31ecafbad8844d3775685899aece1938b3c9677f85c10'
fake.uuid4()
# '95a13e61-244d-1041-6d80-478b29547b48'
fake.language_code()
# u'unm'
fake.boolean(chance_of_getting_true=50)
# True
faker.providers.person
¶
fake.first_name_male_rus()
# u'Andrei'
fake.prefix_male()
# u'doktor'
fake.suffix_female()
# u'BSc'
fake.name_male()
# u'Jaanus Randmaa'
fake.first_name_rus()
# u'Mihhail'
fake.first_name()
# u'Linda'
fake.suffix_male()
# u'MSc'
fake.first_name_est()
# u'Eve'
fake.first_name_female()
# u'Mare'
fake.first_name_male()
# u'Tarmo'
fake.prefix_female()
# u'prof'
fake.name()
# u'Eve Koger'
fake.last_name_rus()
# u'Beljajev'
fake.first_name_male_est()
# u'Alexander'
fake.suffix()
# u'MSc'
fake.prefix()
# u'dr'
fake.first_name_female_est()
# u'Mare'
fake.name_female()
# u'Ljudmila Gont\u0161arov'
fake.last_name_male()
# u'Kolk'
fake.first_name_female_rus()
# u'Jekaterina'
fake.last_name_est()
# u'Soosalu'
fake.last_name()
# u'Titov'
fake.last_name_female()
# u'Juhanson'
faker.providers.phone_number
¶
fake.phone_number()
# u'796.481.5446x8701'
fake.msisdn()
# '9837716193726'
faker.providers.profile
¶
fake.simple_profile(sex=None)
# { 'address': u'7754 Siim Trail\nIndrekland, GU 65330',
# 'birthdate': datetime.date(1914, 12, 13),
# 'mail': u'timofejevtoomas@hotmail.com',
# 'name': u'Anneli Raadik',
# 'sex': 'F',
# 'username': u'irinastepanov'}
fake.profile(fields=None, sex=None)
# { 'address': u'8722 Kr\xf5lov Ford\nOjasteburgh, MP 19128',
# 'birthdate': datetime.date(1991, 8, 3),
# 'blood_group': 'B-',
# 'company': u'Sild-Baranov',
# 'current_location': (Decimal('8.3415855'), Decimal('63.419780')),
# 'job': 'Lexicographer',
# 'mail': u'treieranneli@gmail.com',
# 'name': u'Niina Kuusik',
# 'residence': u'8827 Aleksei Key Suite 158\nLaksville, WA 14537',
# 'sex': 'F',
# 'ssn': u'33502259370',
# 'username': u'lillemetsanna',
# 'website': [ u'http://sander.com/',
# u'http://kolk-salumae.com/',
# u'http://kaljula.com/',
# u'http://www.fjodorov.com/']}
faker.providers.python
¶
fake.pyiterable(nb_elements=10, variable_nb_elements=True, *value_types)
# ( Decimal('-92385259.55'),
# 6793,
# u'XUKOodJvdgbRxKllddlJ',
# u'http://www.veski.org/wp-content/blog/index/',
# -9232780375.96356,
# 9573)
fake.pystr(min_chars=None, max_chars=20)
# u'WHcjuDLgBOcIfXkwyPoy'
fake.pystruct(count=10, *value_types)
# ( [ 9809430346.93,
# Decimal('-122.9722736'),
# u'aivar34@manniste.biz',
# -9212571630230.81,
# Decimal('60459123.5103'),
# u'CVfqkaPyIkUdvqYMAwKE',
# u'martinkirs@malosev-talts.com',
# u'WhRCZeUnvzUaUUqidPTr',
# Decimal('-40.0'),
# 6473],
# { u'aspernatur': u'sKFCjyuGaOkMwEDrXfFs',
# u'autem': 8403,
# u'laudantium': u'SnyLJQOqNhlnaWUheCHP',
# u'libero': datetime.datetime(2003, 9, 8, 9, 40, 42),
# u'quos': u'anne98@gmail.com',
# u'recusandae': u'pPjMIglsQWCbdzbvWyCD',
# u'reprehenderit': 6924,
# u'voluptates': u'dZNPgkQaGSZYfhgzZgbI',
# u'voluptatibus': u'http://www.oja.com/terms/',
# u'voluptatum': 62441644.998251},
# { u'adipisci': { 7: u'viktoriakiisk@reinsalu.com',
# 8: [ u'FnDHuKplDVrgrlTdkBRF',
# Decimal('-374064351507'),
# u'tXsVGrcjiLklbhwujGrI'],
# 9: { 7: 97.0,
# 8: u'fQAogKXIaqQlecxaBBLN',
# 9: [ u'HAFQumMnjpdNUIYLynBw',
# Decimal('-8618437.2')]}},
# u'aliquid': { 3: 5535,
# 4: [ -7814773529795.0,
# 2484,
# u'http://www.kasper.com/wp-content/main/author.php'],
# 5: { 3: u'SIUXyiFsxiOjFbfnPeNH',
# 4: 8235,
# 5: [ u'http://www.soosaar.com/index.asp',
# 7080]}},
# u'beatae': { 4: u'ermtoomas@janes.com',
# 5: [6158, 7007, -89096.7407504951],
# 6: { 4: 7097,
# 5: 2939,
# 6: [ u'ninaivanov@valge-titov.org',
# u'IDglBqcKTRINdUlxNiyk']}},
# u'corrupti': { 1: u'beevoFHcnHdUPHYYpRcL',
# 2: [Decimal('-99126.5479958'), 4909, 9993],
# 3: { 1: u'JzrDqkEuYYwLFRUbcbzX',
# 2: 776475494.1,
# 3: [Decimal('-8.10899093668E+12'), 4887]}},
# u'cupiditate': { 8: u'aKtKbknmwTnRbaeXvOVV',
# 9: [ u'http://www.lohmus-kirs.com/',
# u'JOkRnkQVnOuxXXFDWdsJ',
# 5416],
# 10: { 8: u'http://stepanov.org/main/homepage.html',
# 9: u'qgeydJilmRuNXzVQjYot',
# 10: [ 762617311350951.0,
# u'http://arro.com/categories/search/list/main.htm']}},
# u'doloribus': { 2: u'timofejevmati@yahoo.com',
# 3: [ datetime.datetime(2009, 11, 15, 6, 28, 12),
# u'nGhNAdYXyllDAjJeBqPp',
# u'amHGiJHYqSpqlwKNlQNu'],
# 4: { 2: 61969825962.6,
# 3: u'xQIIQzOExIVbtlYZllzJ',
# 4: [ u'DYhCFfTVqUrVuhxUsdyH',
# u'korolaleksei@kudrjavtsev-maslov.com']}},
# u'error': { 6: 8735,
# 7: [4625, 9728, 624179939221.0],
# 8: { 6: u'hVsQxWdXtAedzyccxPbZ',
# 7: u'DVWLyykXJNERvuwkXygx',
# 8: [7991, 335518119389.88]}},
# u'est': { 5: 804,
# 6: [ u'RmCjmwawLtsffbdrLvlH',
# datetime.datetime(1993, 5, 4, 3, 50, 58),
# 438717.3],
# 7: { 5: datetime.datetime(1974, 10, 13, 18, 11, 16),
# 6: 3084,
# 7: [ u'https://afanasjev.biz/category/',
# Decimal('3.09026611105E+13')]}},
# u'perferendis': { 0: u'wKzdqbCkeaxgZwptDQUB',
# 1: [ datetime.datetime(1979, 7, 14, 6, 30, 6),
# Decimal('923.5098246'),
# u'OqnaWNgTHSUejPwynzJf'],
# 2: { 0: datetime.datetime(1996, 9, 9, 13, 31, 59),
# 1: u'wQWFELMrJcYZbYPoGoti',
# 2: [u'IXfdJbQYMYKWrnbmCnLn', 3712]}},
# u'reprehenderit': { 9: datetime.datetime(1984, 4, 5, 17, 43, 42),
# 10: [ 7176,
# u'PuvClKZZOKxyWxwxAVIT',
# u'THmoNpPxfRyCGJjZflXK'],
# 11: { 9: 6641,
# 10: datetime.datetime(2000, 9, 2, 20, 18, 25),
# 11: [u'QmqiIwFDFabGobqhHIiI', 4772]}}})
fake.pyfloat(left_digits=None, right_digits=None, positive=False)
# 2831.20472133374
fake.pydecimal(left_digits=None, right_digits=None, positive=False)
# Decimal('-3727414290.75')
fake.pylist(nb_elements=10, variable_nb_elements=True, *value_types)
# [ u'YiaewbYgiHNMNrColnRO',
# u'lindatomson@hotmail.com',
# 211,
# 853804049803.4,
# u'BTblxxGRFuuhSKotdiyY',
# u'http://www.aasa.com/search/author.html',
# u'https://www.jaanson.com/faq.htm',
# u'BtyCDmnswrRjJWODpWCZ',
# u'andruskiisk@komarov-kirillov.com',
# u'ZTpujNJAWfLcrQjhEdpa',
# u'EboenkKyIlvjQdXwAPRA',
# u'vWyIDaCzYFTtnTbllDgW',
# datetime.datetime(2006, 7, 26, 18, 0, 26)]
fake.pytuple(nb_elements=10, variable_nb_elements=True, *value_types)
# ( u'oYKFYnROZKzPgLlLiDjx',
# u'priit08@vares.net',
# u'brtpuEIfwidtXacqaogM',
# u'OfJAccjSkDRCdoCAKfMt',
# 8025251739689.0,
# Decimal('62369.31'),
# datetime.datetime(2001, 4, 19, 10, 1, 26),
# 3989,
# u'BRckXpAChOgRnYuEVitj')
fake.pybool()
# True
fake.pyset(nb_elements=10, variable_nb_elements=True, *value_types)
# set([datetime.datetime(1976, 12, 24, 9, 7, 59), u'bTKachlmqfxoDJTFCWpn', u'WiMADuiQoUsNSXmHLjOY', u'ImtZPnuMQfziNxXivsfc', 9469, Decimal('-939561.931887'), u'https://www.kaar.com/', datetime.datetime(1991, 7, 25, 1, 25, 26), u'qwtTplyxOODcxHLhyzGg', u'lindakutt@visnapuu.com', 9018, u'https://ignatjev.info/post/', datetime.datetime(2018, 3, 2, 18, 29, 30)])
fake.pydict(nb_elements=10, variable_nb_elements=True, *value_types)
# { u'aspernatur': datetime.datetime(2009, 12, 1, 14, 29, 52),
# u'commodi': u'TVWnzzZPNhsqmnRUputW',
# u'exercitationem': datetime.datetime(1970, 1, 7, 8, 5, 51),
# u'iste': 5370,
# u'minus': u'ldQXPBsgWPRfQmlyTGSn',
# u'molestiae': u'YXHxxFXQvKwQnymdJXFA',
# u'neque': 4470,
# u'quaerat': 8223,
# u'quidem': 4193,
# u'reiciendis': datetime.datetime(2012, 1, 20, 12, 57, 22)}
fake.pyint()
# 8721
faker.providers.ssn
¶
fake.ssn(min_age=16, max_age=90)
# u'37803284765'
faker.providers.user_agent
¶
fake.mac_processor()
# u'Intel'
fake.firefox()
# u'Mozilla/5.0 (X11; Linux i686; rv:1.9.7.20) Gecko/2013-01-06 01:59:47 Firefox/3.8'
fake.linux_platform_token()
# u'X11; Linux x86_64'
fake.opera()
# u'Opera/9.10.(Windows NT 6.0; lzh-TW) Presto/2.9.160 Version/11.00'
fake.windows_platform_token()
# u'Windows 95'
fake.internet_explorer()
# u'Mozilla/5.0 (compatible; MSIE 8.0; Windows NT 5.01; Trident/4.0)'
fake.user_agent()
# u'Mozilla/5.0 (X11; Linux i686; rv:1.9.5.20) Gecko/2014-07-27 04:41:40 Firefox/3.6.14'
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_9) AppleWebKit/5331 (KHTML, like Gecko) Chrome/35.0.817.0 Safari/5331'
fake.mac_platform_token()
# u'Macintosh; U; Intel Mac OS X 10_11_7'
fake.safari()
# u'Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_5_8 rv:5.0; am-ET) AppleWebKit/535.29.4 (KHTML, like Gecko) Version/4.0.4 Safari/535.29.4'