Language en_US¶
faker.providers.address¶
fake.address()
# '9877 Odonnell Shoal Suite 319\nHannahshire, OK 81211'
fake.building_number()
# '41978'
fake.city()
# 'Markville'
fake.city_prefix()
# 'East'
fake.city_suffix()
# 'mouth'
fake.country()
# 'Bermuda'
fake.country_code(representation="alpha-2")
# 'PG'
fake.military_apo()
# 'PSC 8757, Box 2425'
fake.military_dpo()
# 'Unit 0558 Box 7541'
fake.military_ship()
# 'USS'
fake.military_state()
# 'AP'
fake.postalcode()
# '70527'
fake.postalcode_in_state(state_abbr=None)
# '35414'
fake.postalcode_plus4()
# '77934-0212'
fake.postcode()
# '14963'
fake.postcode_in_state(state_abbr=None)
# '92607'
fake.secondary_address()
# 'Apt. 962'
fake.state()
# 'Texas'
fake.state_abbr(include_territories=True)
# 'WI'
fake.street_address()
# '23738 Craig Plains Suite 641'
fake.street_name()
# 'Caldwell Extensions'
fake.street_suffix()
# 'Springs'
fake.zipcode()
# '27552'
fake.zipcode_in_state(state_abbr=None)
# '06390'
fake.zipcode_plus4()
# '36735-6718'
faker.providers.automotive¶
fake.license_plate()
# '5R 31718'
faker.providers.bank¶
fake.bank_country()
# 'GB'
fake.bban()
# 'BSNL7817832884594'
fake.iban()
# 'GB90NQWI2473767295702'
faker.providers.barcode¶
fake.ean(length=13)
# '8986867957287'
fake.ean13()
# '2227459190528'
fake.ean8()
# '43215256'
faker.providers.color¶
fake.color_name()
# 'Gray'
fake.hex_color()
# '#351c4a'
fake.rgb_color()
# '22,56,201'
fake.rgb_css_color()
# 'rgb(106,12,175)'
fake.safe_color_name()
# 'fuchsia'
fake.safe_hex_color()
# '#556600'
faker.providers.company¶
fake.bs()
# 'envisioneer end-to-end bandwidth'
fake.catch_phrase()
# 'Switchable secondary analyzer'
fake.company()
# 'Weber Inc'
fake.company_suffix()
# 'Ltd'
faker.providers.credit_card¶
fake.credit_card_expire(start="now", end="+10y", date_format="%m/%y")
# '07/23'
fake.credit_card_full(card_type=None)
# 'VISA 13 digit\nScott Green\n4557176521867 09/22\nCVC: 396\n'
fake.credit_card_number(card_type=None)
# '6011346428752423'
fake.credit_card_provider(card_type=None)
# 'VISA 16 digit'
fake.credit_card_security_code(card_type=None)
# '041'
faker.providers.currency¶
fake.cryptocurrency()
# ('TRX', 'TRON')
fake.cryptocurrency_code()
# 'NMC'
fake.cryptocurrency_name()
# 'SwiftCoin'
fake.currency()
# ('SRD', 'Surinamese dollar')
fake.currency_code()
# 'UAH'
fake.currency_name()
# 'Afghan afghani'
faker.providers.date_time¶
fake.am_pm()
# 'PM'
fake.century()
# 'XVIII'
fake.date(pattern="%Y-%m-%d", end_datetime=None)
# '1975-05-15'
fake.date_between(start_date="-30y", end_date="today")
# datetime.date(2001, 8, 20)
fake.date_between_dates(date_start=None, date_end=None)
# datetime.date(2019, 11, 4)
fake.date_object(end_datetime=None)
# datetime.date(1993, 10, 16)
fake.date_of_birth(tzinfo=None, minimum_age=0, maximum_age=115)
# datetime.date(1963, 7, 11)
fake.date_this_century(before_today=True, after_today=False)
# datetime.date(2019, 8, 14)
fake.date_this_decade(before_today=True, after_today=False)
# datetime.date(2018, 9, 17)
fake.date_this_month(before_today=True, after_today=False)
# datetime.date(2019, 11, 1)
fake.date_this_year(before_today=True, after_today=False)
# datetime.date(2019, 6, 13)
fake.date_time(tzinfo=None, end_datetime=None)
# datetime.datetime(1971, 4, 25, 17, 47, 13)
fake.date_time_ad(tzinfo=None, end_datetime=None, start_datetime=None)
# datetime.datetime(1913, 7, 22, 12, 41, 27)
fake.date_time_between(start_date="-30y", end_date="now", tzinfo=None)
# datetime.datetime(2004, 4, 21, 12, 19, 44)
fake.date_time_between_dates(datetime_start=None, datetime_end=None, tzinfo=None)
# datetime.datetime(2019, 11, 4, 4, 46, 17)
fake.date_time_this_century(before_now=True, after_now=False, tzinfo=None)
# datetime.datetime(2003, 11, 9, 11, 40, 16)
fake.date_time_this_decade(before_now=True, after_now=False, tzinfo=None)
# datetime.datetime(2012, 1, 23, 0, 34, 19)
fake.date_time_this_month(before_now=True, after_now=False, tzinfo=None)
# datetime.datetime(2019, 11, 2, 2, 15, 13)
fake.date_time_this_year(before_now=True, after_now=False, tzinfo=None)
# datetime.datetime(2019, 3, 7, 1, 28, 56)
fake.day_of_month()
# '13'
fake.day_of_week()
# 'Monday'
fake.future_date(end_date="+30d", tzinfo=None)
# datetime.date(2019, 12, 1)
fake.future_datetime(end_date="+30d", tzinfo=None)
# datetime.datetime(2019, 11, 22, 12, 24, 45)
fake.iso8601(tzinfo=None, end_datetime=None)
# '2016-07-09T19:50:59'
fake.month()
# '07'
fake.month_name()
# 'September'
fake.past_date(start_date="-30d", tzinfo=None)
# datetime.date(2019, 10, 31)
fake.past_datetime(start_date="-30d", tzinfo=None)
# datetime.datetime(2019, 10, 5, 7, 45, 8)
fake.time(pattern="%H:%M:%S", end_datetime=None)
# '17:52:19'
fake.time_delta(end_datetime=None)
# datetime.timedelta(0)
fake.time_object(end_datetime=None)
# datetime.time(19, 54, 16)
fake.time_series(start_date="-30d", end_date="now", precision=None, distrib=None, tzinfo=None)
# <generator object Provider.time_series at 0x7f59e804f9a8>
fake.timezone()
# 'Europe/Zagreb'
fake.unix_time(end_datetime=None, start_datetime=None)
# 1017113055
fake.year()
# '2005'
faker.providers.file¶
fake.file_extension(category=None)
# 'jpg'
fake.file_name(category=None, extension=None)
# 'figure.mp4'
fake.file_path(depth=1, category=None, extension=None)
# '/laugh/face.txt'
fake.mime_type(category=None)
# 'image/png'
fake.unix_device(prefix=None)
# '/dev/xvdu'
fake.unix_partition(prefix=None)
# '/dev/sdf6'
faker.providers.geo¶
fake.coordinate(center=None, radius=0.001)
# Decimal('177.873188')
fake.latitude()
# Decimal('78.9724075')
fake.latlng()
# (Decimal('-10.684227'), Decimal('-175.216326'))
fake.local_latlng(country_code="US", coords_only=False)
# ('43.16547', '-77.70066', 'Gates-North Gates', 'US', 'America/New_York')
fake.location_on_land(coords_only=False)
# ('6.25947', '102.05461', 'Tak Bai', 'TH', 'Asia/Bangkok')
fake.longitude()
# Decimal('176.100791')
faker.providers.internet¶
fake.ascii_company_email(*args, **kwargs)
# 'paul48@austin.com'
fake.ascii_email(*args, **kwargs)
# 'kimberlymorton@gmail.com'
fake.ascii_free_email(*args, **kwargs)
# 'chicks@gmail.com'
fake.ascii_safe_email(*args, **kwargs)
# 'williamsnoah@example.net'
fake.company_email(*args, **kwargs)
# 'uchan@hernandez.com'
fake.domain_name(*args, **kwargs)
# 'hurley.com'
fake.domain_word(*args, **kwargs)
# 'mason'
fake.email(*args, **kwargs)
# 'irivera@yahoo.com'
fake.free_email(*args, **kwargs)
# 'timothyberry@yahoo.com'
fake.free_email_domain(*args, **kwargs)
# 'gmail.com'
fake.hostname(*args, **kwargs)
# 'db-99.escobar.com'
fake.image_url(width=None, height=None)
# 'https://placeimg.com/732/302/any'
fake.ipv4(network=False, address_class=None, private=None)
# '203.0.172.239'
fake.ipv4_network_class()
# 'a'
fake.ipv4_private(network=False, address_class=None)
# '172.19.187.46'
fake.ipv4_public(network=False, address_class=None)
# '181.219.206.91'
fake.ipv6(network=False)
# '8138:340e:8d94:48cb:d48e:2c5e:2549:887'
fake.mac_address()
# 'fa:87:d4:ac:d1:a9'
fake.safe_email(*args, **kwargs)
# 'cooperjoseph@example.net'
fake.slug(*args, **kwargs)
# 'team-food-only'
fake.tld()
# 'com'
fake.uri()
# 'http://martinez-benjamin.net/category/wp-content/posts/index/'
fake.uri_extension()
# '.jsp'
fake.uri_page()
# 'category'
fake.uri_path(deep=None)
# 'app'
fake.url(schemes=None)
# 'http://www.bryant-mendoza.com/'
fake.user_name(*args, **kwargs)
# 'julie25'
faker.providers.isbn¶
fake.isbn10(separator="-")
# '0-593-78478-2'
fake.isbn13(separator="-")
# '978-1-67244-589-4'
faker.providers.job¶
fake.job()
# 'Broadcast journalist'
faker.providers.lorem¶
fake.paragraph(nb_sentences=3, variable_nb_sentences=True, ext_word_list=None)
# 'Sign daughter interest base throw behavior land. Be address artist sign.'
fake.paragraphs(nb=3, ext_word_list=None)
# [ 'Recent affect visit edge memory police. Country clearly reflect compare '
# 'community low east. Behind fund defense quickly people analysis.',
# 'Election quite film including land tough help situation. Leader draw '
# 'front culture.',
# 'Ball law business wall end data effect. Establish seem space. Tend '
# 'maintain effect front concern discussion.']
fake.sentence(nb_words=6, variable_nb_words=True, ext_word_list=None)
# 'Point person owner expert.'
fake.sentences(nb=3, ext_word_list=None)
# [ 'Serious must carry network the we.',
# 'Compare situation truth particular power.',
# 'Every task sense response adult miss.']
fake.text(max_nb_chars=200, ext_word_list=None)
# ('Resource peace because remain onto. Election safe everything others.\n'
# 'Dream trade choose like analysis great whatever. Term order write fish girl '
# 'story term. Player four ten you still team own remain.')
fake.texts(nb_texts=3, max_nb_chars=200, ext_word_list=None)
# [ 'Teach best phone. Through security daughter if issue language appear. His '
# 'fine board reduce friend call day.',
# 'Become first among on. White art room or benefit guy. Guy police upon '
# 'school.\n'
# 'Fire lay son. Quality open surface despite.',
# 'Most yes necessary memory friend student no. Event most able pressure '
# 'during American painting manager.\n'
# 'Happen also have control. Pass author report rest item song possible.']
fake.word(ext_word_list=None)
# 'economy'
fake.words(nb=3, ext_word_list=None, unique=False)
# ['trial', 'space', 'visit']
faker.providers.misc¶
fake.binary(length=1048576)
# (b'\x9d\x989n\x96\xe7]\xa1\xc9,\xd1\x18\x86\x00\xf0\rN_\xf3\x83gzq\xb5'
# b'm\x9e\x99\xa9\xf7,\x9d\xfb\x1d&\xcf\x87\x82\x9a\x88\x99 m"*\xedG\xa9\xb5'
# b'\x05G\xa9\x91\xf1\x91\x8c\x82\xf6\x1b)\x02\ny\xf37\xd4\x0c\x82\xbe\x89o=\xb3'
# b'0\xba\x9a^\xe6RV\x98]n\xb5\xf8\xcc\x96\x8b\x7f\x00\x18\x90W\x06\xe9p['
# b")l\x03\x02\x9d=`AW\x03H(\x99\x97H}+\xacC7#\xe6\xac'\x9a\x9c)\x0e\n\xf8\x80#"
# b'\x87I\x1blr$\x1c\xacw\xd1\x97\x83\xeb)\xe1\xf9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xcb\x17\x87\xc1T\x0fG8\xb1\x92\x86'
# b'K\x8aC\xa5Cm\xdf\x9c\xe4H\xf3\xc5k\xb8hvw\x10\x11\xb4K0\x13\xbaW\xdf\x7f\xef'
# b'b=\x99\xc2\x80@\xf9\x86\xb3\xd9\x9e|\xd827z\x9fPY\xf3\xf6\xd0 \xf5\x1f\xd4Di'
# b'\xa8\xa5\x10c\xf4G\x17\xd6\x0b\xac1\xf3g-\x8cP\xc6\tc\x8b\x92\x0f\xbc\xdf'
# b"q>]\xde\xbd\xe5\xea\x9e&AM\xce5\x0e\xa6q'e}\x8bXXh\xea\xbaw&\x0e"
# b'\xfc\r\x88\xa0\x0b1\xed!\xd0\xbf\x11^\x9b\x08\xf70\xcfLn\x86\xfb\xf5\xba\n'
# b'Nf\xedj')
fake.boolean(chance_of_getting_true=50)
# True
fake.md5(raw_output=False)
# 'a34bcfd7c004c0933a799fce69ff1642'
fake.null_boolean()
# False
fake.password(length=10, special_chars=True, digits=True, upper_case=True, lower_case=True)
# 'E@MghKs&)5'
fake.sha1(raw_output=False)
# '1977784f5c31f1c162d8c882d5f1f8e24a92f55e'
fake.sha256(raw_output=False)
# 'ef374e836b1694e52da2a7039bb2cc90080fa16085f7fde19c1e0976de61ee10'
fake.uuid4(cast_to=<class 'str'>)
# '4822b525-4c78-42d6-80b4-292d36c5531f'
faker.providers.person¶
fake.first_name()
# 'Stephanie'
fake.first_name_female()
# 'Ariana'
fake.first_name_male()
# 'Brian'
fake.last_name()
# 'Jackson'
fake.last_name_female()
# 'Thompson'
fake.last_name_male()
# 'Barnes'
fake.name()
# 'Sarah Morris'
fake.name_female()
# 'Ashlee Bates'
fake.name_male()
# 'Lance Kennedy'
fake.prefix()
# 'Mrs.'
fake.prefix_female()
# 'Mrs.'
fake.prefix_male()
# 'Dr.'
fake.suffix()
# 'PhD'
fake.suffix_female()
# 'DDS'
fake.suffix_male()
# 'MD'
faker.providers.phone_number¶
fake.msisdn()
# '0585817688933'
fake.phone_number()
# '(165)736-8938x8181'
faker.providers.profile¶
fake.profile(fields=None, sex=None)
# { 'address': '905 Ryan Course Suite 668\nCookmouth, IL 40521',
# 'birthdate': datetime.date(1916, 7, 14),
# 'blood_group': 'B-',
# 'company': 'Anderson, Brady and Wallace',
# 'current_location': (Decimal('2.568613'), Decimal('-150.178750')),
# 'job': 'Graphic designer',
# 'mail': 'jessicacharles@yahoo.com',
# 'name': 'Andrew Walker',
# 'residence': '03404 Jeremiah Alley Apt. 185\nEast Rodney, MS 87139',
# 'sex': 'M',
# 'ssn': '652-34-5573',
# 'username': 'franklinkimberly',
# 'website': ['http://www.mitchell-weber.com/']}
fake.simple_profile(sex=None)
# { 'address': '11503 Timothy Lake\nRandyville, FL 06893',
# 'birthdate': datetime.date(2018, 4, 15),
# 'mail': 'zbridges@gmail.com',
# 'name': 'Bobby Lyons',
# 'sex': 'M',
# 'username': 'baileyanthony'}
faker.providers.python¶
fake.pybool()
# True
fake.pydecimal(left_digits=None, right_digits=None, positive=False, min_value=None, max_value=None)
# Decimal('133181.299')
fake.pydict(nb_elements=10, variable_nb_elements=True, *value_types)
# { 'condition': 5046,
# 'edge': -92349.603275283,
# 'him': datetime.datetime(2019, 1, 8, 7, 23, 44),
# 'home': 4705,
# 'maintain': 1528,
# 'start': 'barnesjames@yahoo.com',
# 'up': 'vfVXewJNRwwnnlpJSzZd'}
fake.pyfloat(left_digits=None, right_digits=None, positive=False, min_value=None, max_value=None)
# 21839267.0
fake.pyint(min_value=0, max_value=9999, step=1)
# 9451
fake.pyiterable(nb_elements=10, variable_nb_elements=True, *value_types)
# {'ClTDCyQiyInvvoVBQgdn', datetime.datetime(1997, 9, 7, 1, 6, 40), 'vxbEqwjrOUFlXNwqxpuc', 'IlBEmOFfzlfEMiaOZeJR', Decimal('-4667659269366.7'), 8913, 6354, datetime.datetime(1987, 3, 1, 19, 30, 48), 'xjBEmQBCNRGQLYHRybxn', 'FNRrwyGzyOQvKdraHTMg', 'lOTclxWNzzKaVBHiSRBn', 3186202276285.99}
fake.pylist(nb_elements=10, variable_nb_elements=True, *value_types)
# [ 8485,
# 'pUhvxWLptGxriztfOILP',
# 'http://www.hoffman-moore.biz/list/search/main/homepage/',
# 0.79567827,
# 'ZqsYMGjkYETfxImUGuMi',
# 'rlLtdJpdsoIJwKRQNEZZ',
# 'aTpNUbVrGovIRYdAxYNt',
# 'PFBkoQmcWcXczErskqxu',
# 'https://www.wilson-dorsey.com/about/',
# 'smithkristina@phillips.org',
# datetime.datetime(1991, 4, 27, 4, 7, 41)]
fake.pyset(nb_elements=10, variable_nb_elements=True, *value_types)
# {'http://www.hudson.com/list/blog/terms/', datetime.datetime(1979, 7, 26, 0, 52, 40), datetime.datetime(2005, 7, 31, 2, 15, 54), 'hlFZHZXMYqkiUhBGfBPQ', 'NkxjvueDfbdHBERvujCv', 648, 'BURWpQMXNUKfqGQQDqMh', 'ukgOWveMLuQwKOvBwNYE', 'nLlxTSkHzbsQlVFvVewc', 'QZtffmUdYUTqMRRpXGbu', 'shirley13@white.net', 'NssKSawfqcZONDrXWTeV', Decimal('-103350931713.0')}
fake.pystr(min_chars=None, max_chars=20)
# 'xkknChFDlXVNxAjkTBRz'
fake.pystruct(count=10, *value_types)
# ( [ -53015006421.415,
# datetime.datetime(2016, 5, 18, 15, 21, 33),
# 'eric57@gmail.com',
# 'http://long-warner.com/categories/list/tag/post/',
# datetime.datetime(1987, 12, 21, 12, 50, 19),
# 'BLIyXzLUNlkiCvfUvDls',
# Decimal('-680011115.441'),
# 'http://www.burns-matthews.com/faq.php',
# 7376,
# 71574.66865],
# { 'claim': Decimal('669901567.408'),
# 'concern': 5828,
# 'experience': 'johnstanley@hotmail.com',
# 'interesting': 6815,
# 'maintain': Decimal('-87.267'),
# 'mission': -13666740617923.6,
# 'side': 'gPhUNkixvHLpGBhKUgpp',
# 'thing': 'http://medina.com/tags/login/',
# 'view': datetime.datetime(2009, 11, 13, 10, 27, 3),
# 'yet': 3188},
# { 'among': { 2: 489276625614324.0,
# 3: [ datetime.datetime(2009, 1, 15, 12, 49, 24),
# 'YKMqrixiLMHfbCGoUTzz',
# 33],
# 4: { 2: 'ANWiBTPeXLTflMRmFFXU',
# 3: 9864,
# 4: [ 22684992653490.2,
# Decimal('-979151942122358.0')]}},
# 'behind': { 7: 9689,
# 8: [5680, 'nicholassilva@buck.org', -13911393424.1316],
# 9: { 7: Decimal('-22661654919754.0'),
# 8: Decimal('-3041148.226'),
# 9: [ 'rPiWVPCMpDJVbLzabHEA',
# 'hqueyRIoKngwkSHARcOG']}},
# 'brother': { 0: datetime.datetime(1982, 4, 30, 19, 40, 14),
# 1: [ Decimal('849865473098.784'),
# 'sLfKbbwSUQMMNzhOJwNK',
# 'FEwrWeMDvCjoGMOkGikT'],
# 2: { 0: datetime.datetime(1993, 12, 22, 8, 47, 46),
# 1: 9669,
# 2: ['FVWuLENrJuCivkxBeoxQ', 6413]}},
# 'garden': { 5: 8694,
# 6: [ 'elizabeth98@cox.org',
# 'oBBIokOlomObknFZdWpI',
# 'dAKbKaqgaeNuEAiXVLgW'],
# 7: { 5: datetime.datetime(1991, 2, 26, 21, 4, 18),
# 6: 'InGgDnOLnGJdXnQTaWck',
# 7: [Decimal('1865673397.398'), Decimal('4.83')]}},
# 'happy': { 6: 3665,
# 7: [ 'QCgFCiVdNNrRegEwQIXS',
# 'zmBWLZglPRikVLTQBVJY',
# 'dUxobvPychdCWMaoJNml'],
# 8: { 6: 'uLlGrQnCaIhizJuSOemY',
# 7: 9207,
# 8: [ datetime.datetime(1993, 11, 15, 22, 25, 13),
# 4.41495]}},
# 'hospital': { 8: datetime.datetime(2006, 10, 3, 0, 53, 32),
# 9: [ 'http://www.herman.biz/faq.php',
# Decimal('-977.82'),
# 'helencooper@hotmail.com'],
# 10: { 8: 'HPObHggWEWEgmdviFIFP',
# 9: 'kUQXWAycoAwXvxYBXClP',
# 10: ['fCUYvkQCVLVDORZlbUPX', 2773]}},
# 'involve': { 4: 'halerebecca@yahoo.com',
# 5: [ 1245,
# 'http://best.com/app/register.html',
# -507251596.98662],
# 6: { 4: 'sfKuedVkatdkqhCdyrEj',
# 5: 'http://www.gilbert-allen.com/privacy/',
# 6: [3799, 'http://briggs-parks.com/']}},
# 'natural': { 3: Decimal('-8964179756218.2'),
# 4: [ -205329169.32305,
# 'RFcpbiOFqYBnvjFIxxfK',
# 'jcoleman@gmail.com'],
# 5: { 3: 3254,
# 4: datetime.datetime(1973, 4, 10, 20, 11, 33),
# 5: [Decimal('47375.20583'), 9340]}},
# 'pass': { 9: -359213498520051.0,
# 10: [ Decimal('661340642158.8'),
# 'yYRQLSNZyQvBWnyKSCKo',
# 'https://www.woodard.org/category/list/terms/'],
# 11: { 9: 'AhWiDrQIWFtWrepwadAU',
# 10: -131197841024.48,
# 11: [ 'theresaporter@moore.com',
# datetime.datetime(2013, 5, 5, 6, 45, 13)]}},
# 'sport': { 1: -40544191731.991,
# 2: [ 'AqfeSESfvsLJvjZTfYJS',
# Decimal('-49776259.5615763'),
# 'richard89@porter-lane.biz'],
# 3: { 1: Decimal('128.98038205437'),
# 2: 8660950932.86,
# 3: [ 'http://hill-sherman.com/search/index/',
# 'jefferyflores@gmail.com']}}})
fake.pytuple(nb_elements=10, variable_nb_elements=True, *value_types)
# ( 'kPVwiynnBdAFgMoyznCo',
# 'fhJekPfxgJfkmTbJXHhj',
# 'FIpOgXWRMOMJXkuowRKu',
# 'ccrawford@yahoo.com',
# -709.29148,
# 'IDHYwETgdmrtudSxwRhR',
# datetime.datetime(1982, 10, 31, 10, 3, 37),
# 9815,
# 'wFHvEYAHXefWSNBbNBzZ',
# 'nKUXbuTrMNGuGLEzLdDY',
# 'PZVSHFTFjyZKZxbfjnwk',
# 'ronald06@yahoo.com',
# Decimal('7230140.7622'))
faker.providers.ssn¶
fake.ein()
# '73-9064708'
fake.invalid_ssn()
# '149-38-0000'
fake.itin()
# '937-72-3783'
fake.ssn(taxpayer_identification_number_type="SSN")
# '371-56-1397'
faker.providers.user_agent¶
fake.android_platform_token()
# 'Android 1.0'
fake.chrome(version_from=13, version_to=63, build_from=800, build_to=899)
# ('Mozilla/5.0 (iPad; CPU iPad OS 10_3_4 like Mac OS X) AppleWebKit/532.2 '
# '(KHTML, like Gecko) CriOS/16.0.855.0 Mobile/94E550 Safari/532.2')
fake.firefox()
# ('Mozilla/5.0 (X11; Linux i686; rv:1.9.7.20) Gecko/2011-12-28 11:22:20 '
# 'Firefox/6.0')
fake.internet_explorer()
# 'Mozilla/5.0 (compatible; MSIE 6.0; Windows NT 5.0; Trident/5.0)'
fake.ios_platform_token()
# 'iPhone; CPU iPhone OS 5_1_1 like Mac OS X'
fake.linux_platform_token()
# 'X11; Linux i686'
fake.linux_processor()
# 'i686'
fake.mac_platform_token()
# 'Macintosh; U; Intel Mac OS X 10_6_0'
fake.mac_processor()
# 'Intel'
fake.opera()
# 'Opera/9.44.(Windows CE; fy-DE) Presto/2.9.182 Version/10.00'
fake.safari()
# ('Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_1 rv:6.0; th-TH) '
# 'AppleWebKit/534.14.7 (KHTML, like Gecko) Version/4.0 Safari/534.14.7')
fake.user_agent()
# ('Mozilla/5.0 (X11; Linux x86_64; rv:1.9.5.20) Gecko/2012-08-30 02:47:41 '
# 'Firefox/3.8')
fake.windows_platform_token()
# 'Windows NT 6.1'