Language en_US¶
faker.providers.address
¶
fake.longitude() # -169.566646
fake.building_number() # 5569
fake.street_address() # 026 Becker Motorway Apt. 177
fake.postalcode_plus4() # 96421-3129
fake.city_prefix() # North
fake.military_ship() # USS
fake.city() # Malakaiville
fake.zipcode_plus4() # 79203-0602
fake.state_abbr() # IA
fake.latitude() # -66.169766
fake.street_suffix() # Drives
fake.city_suffix() # furt
fake.military_dpo() # Unit 1249 Box 5235
fake.country() # Macao
fake.secondary_address() # Suite 670
fake.geo_coordinate(center=None, radius=0.001) # -167.022928
fake.postalcode() # 91795
fake.address() # 546 Ortiz Plaza Glynnview, NJ 55157-5643
fake.state() # Kansas
fake.military_state() # AP
fake.street_name() # Delora Lake
fake.zipcode() # 81485
fake.postcode() # 27334
fake.military_apo() # PSC 3688, Box 2142
faker.providers.barcode
¶
fake.ean(length=13) # 9017412196864
fake.ean13() # 4212138247899
fake.ean8() # 14000973
faker.providers.color
¶
fake.rgb_css_color() # rgb(19,195,242)
fake.color_name() # Gainsboro
fake.rgb_color_list() # (138, 88, 0)
fake.rgb_color() # 43,215,207
fake.safe_hex_color() # #333300
fake.safe_color_name() # yellow
fake.hex_color() # #4a4496
faker.providers.company
¶
fake.company() # Schmitt-Reilly
fake.company_suffix() # Inc
fake.catch_phrase() # Compatible solution-oriented monitoring
fake.bs() # enable out-of-the-box markets
faker.providers.credit_card
¶
fake.credit_card_security_code(card_type=None) # 767
fake.credit_card_full(card_type=None, validate=False, max_check=10) # Voyager Theola Torphy 869989279252427 01/19 CVC: 393
fake.credit_card_expire(start="now", end="+10y", date_format="%m/%y") # 09/24
fake.credit_card_number(card_type=None, validate=False, max_check=10) # 6011153033529117
fake.credit_card_provider(card_type=None) # enRoute
faker.providers.currency
¶
fake.currency_code() # SZL
faker.providers.date_time
¶
fake.date_time_ad() # 1779-12-21 09:00:50
fake.month() # 08
fake.am_pm() # AM
fake.iso8601() # 2000-10-22T04:14:38
fake.date_time_this_century() # 2010-04-15 17:36:19
fake.date_time() # 1987-07-31 05:36:43
fake.month_name() # June
fake.date_time_this_month() # 2016-03-13 07:11:00
fake.date_time_this_decade() # 2010-08-16 02:53:45
fake.day_of_week() # Friday
fake.day_of_month() # 18
fake.time(pattern="%H:%M:%S") # 19:01:01
fake.date_time_between(start_date="-30y", end_date="now") # 1998-10-11 13:47:17
fake.unix_time() # 182557302
fake.date_time_this_year() # 2016-03-14 08:21:30
fake.timezone() # America/Nassau
fake.century() # X
fake.date(pattern="%Y-%m-%d") # 1995-12-21
fake.year() # 1974
faker.providers.file
¶
fake.mime_type(category=None) # multipart/alternative
faker.providers.internet
¶
fake.ipv4() # 205.127.141.116
fake.url() # http://www.bashirian.com/
fake.company_email() # rdonnelly@maggio.com
fake.uri() # http://www.ruecker.biz/main/login/
fake.domain_word(*args, **kwargs) # ryanfriesen
fake.image_url(width=None, height=None) # http://placekitten.com/968/140
fake.tld() # com
fake.free_email() # janie05@gmail.com
fake.slug(*args, **kwargs) # nam-commodi
fake.free_email_domain() # gmail.com
fake.domain_name() # goldner.com
fake.uri_extension() # .htm
fake.ipv6() # 1712:cd72:2b74:6748:08b0:1871:f564:bd71
fake.safe_email() # vheathcote@example.net
fake.user_name(*args, **kwargs) # lucious03
fake.uri_path(deep=None) # explore/posts
fake.email() # johns.anjelica@kshlerin.info
fake.uri_page() # register
fake.mac_address() # 2a:e7:92:62:9a:39
faker.providers.job
¶
fake.job() # Holiday representative
faker.providers.lorem
¶
fake.text(max_nb_chars=200) # Accusantium autem iusto ratione et vitae nulla dolorem. Cu m tempore ea ea error error non dolor id. Ut quibusdam sit consequatur laborum voluptas.
fake.sentence(nb_words=6, variable_nb_words=True) # Dolor eveniet veniam facere facilis tenetur corrupti.
fake.word() # voluptas
fake.paragraphs(nb=3) # [u'Sint fuga harum alias facere modi asperiores. Iusto max ime ut fugiat doloribus vel. Ratione dolore natus atque im pedit totam voluptatum dolore vitae. Alias animi qui persp iciatis quo cum.', u'Quia quo voluptates sed et aut sint. Corporis veniam sunt eveniet accusantium suscipit et volup tatem aut. Ad in quam dolorum et molestiae corrupti iusto aliquid.', u'Sequi eius quam dicta perferendis. Sint sint nulla non ex doloribus laborum odio. Sit error magni offic ia. Nemo non dolorum cupiditate vero sunt rerum doloremque .']
fake.words(nb=3) # [u'dolore', u'a', u'mollitia']
fake.paragraph(nb_sentences=3, variable_nb_sentences=True) # Sit rem rerum atque vitae doloribus cumque. Libero sit qui a aut. Tenetur recusandae vero dolorum aperiam consectetur aut. Maxime omnis nostrum rem expedita.
fake.sentences(nb=3) # [u'Et quos esse illo expedita quaerat quisquam.', u'Velit necessitatibus soluta amet est dolores quisquam possimus.' , u'Labore nesciunt saepe eius eum.']
faker.providers.misc
¶
fake.password(length=10, special_chars=True, digits=True, upper_case=True, lower_case=True) # SDaGFdTPjl
fake.locale() # el_ML
fake.md5(raw_output=False) # d1d1af519a3ef8ba4119416a1fd91b63
fake.sha1(raw_output=False) # 0a762f7203119f0ab2a3bb313fd2cbd6b8ac5aef
fake.null_boolean() # False
fake.sha256(raw_output=False) # 24bf918e17f5892bca4449d97567ca3396b556a255cd0c14ee401b66ad 915cc1
fake.country_code() # GR
fake.language_code() # de
fake.boolean(chance_of_getting_true=50) # False
faker.providers.person
¶
fake.last_name_male() # Feil
fake.name_female() # Vernelle Wiegand
fake.prefix_male() # Mr.
fake.prefix() # (u'Mr.', u'Dr.')
fake.name() # Tex Wilkinson
fake.suffix_female() # DVM
fake.name_male() # Yair Reichel
fake.first_name() # Raynard
fake.suffix_male() # III
fake.suffix() # (u'MD', u'DDS', u'PhD', u'DVM')
fake.first_name_male() # Van
fake.first_name_female() # Achsah
fake.last_name_female() # Koch
fake.last_name() # Herman
fake.prefix_female() # Ms.
faker.providers.profile
¶
fake.profile(fields=[]) # {'website': [u'http://murphy.com/', u'http://www.gusikowsk iroberts.info/', u'http://www.howe.com/'], 'username': u'd ayne99', 'name': u'Mia Hodkiewicz', 'blood_group': '0+', ' residence': u'77067 Alan Streets\nEast Nicholas, NC 86683- 1262', 'company': u'Gerhold-Kuvalis', 'address': u'26725 S anford Branch Apt. 746\nTaftburgh, LA 57786-0512', 'birthd ate': '1993-02-21', 'sex': 'M', 'job': 'Automotive enginee r', 'ssn': u'526-37-4373', 'current_location': (Decimal('- 27.4699135'), Decimal('-114.376667')), 'mail': u'park.veum @hotmail.com'}
fake.simple_profile() # {'username': u'hana.frami', 'name': u'North Frami', 'birth date': '1994-07-14', 'sex': 'F', 'address': u'1530 Opha Vi sta Suite 432\nNew Nevintown, LA 86900-6559', 'mail': u'sk ye.mckenzie@gmail.com'}
faker.providers.python
¶
fake.pyiterable(nb_elements=10, variable_nb_elements=True, *value_types) # [2.85662, 3232, 9753, u'Soluta veniam.', u'Quis unde quide m.', Decimal('-731044842.814'), u'Eius nihil sapiente.', u 'Eius deleniti iure.', u'parker.carlton@gmail.com', u'Aspe riores quis aut.']
fake.pystr(max_chars=20) # Excepturi rem velit.
fake.pyfloat(left_digits=None, right_digits=None, positive=False) # 5.202309421
fake.pystruct(count=10, *value_types) # ([Decimal('-495.489457288'), 5206, u'cmedhurst@gmail.com', u'vweimann@yahoo.com', Decimal('86036.43'), u'Ipsum cumqu e aut.', datetime(1999, 4, 19, 17, 58, 54), u'evelin48@auf derharglover.com', -58302191.9356217, Decimal('-9569660.90 346')], {u'officia': u'Et quae occaecati.', u'adipisci': u 'Et ab vel nisi.', u'debitis': u'Temporibus optio.', u'inc idunt': u'Quia eum voluptatem.', u'non': u'Ea delectus nem o id.', u'rerum': u'Dignissimos.', u'ex': datetime(1971, 5 , 18, 0, 13, 42), u'dolor': u'Aliquam eos velit.', u'animi ': u'danelle.rice@hotmail.com', u'reiciendis': u'Qui odio aspernatur.'}, {u'non': {5: 1864068.342, 6: [u'monna.okeef e@yahoo.com', 940.6, 5734], 7: {5: u'Voluptatibus.', 6: 23 08, 7: [5475, 9642]}}, u'optio': {1: u'Est quisquam quia.' , 2: [u'Ea sed quibusdam.', datetime(1998, 11, 23, 7, 11, 31), datetime(1990, 11, 12, 11, 0, 44)], 3: {1: u'http://n ader.com/', 2: 7199, 3: [Decimal('1361813.59753'), 8796202 .967]}}, u'fugit': {8: [3083, 4110, u'http://www.ryan.com/ category/'], 9: {8: 1643, 9: [u'Harum soluta rerum.', 7972 ], 7: 7415}, 7: 43}, u'ullam': {9: u'Accusamus sit ex.', 1 0: [u'Laboriosam ratione.', datetime(1971, 3, 21, 23, 28, 35), u'Ullam omnis.'], 11: {9: 5173, 10: 9320451809.6, 11: [datetime(2008, 6, 27, 20, 43, 37), u'ondricka.camron@gma il.com']}}, u'rerum': {0: u'Alias veritatis et.', 1: [Deci mal('5433.32622798'), u'Pariatur eos.', u'Ipsa perferendis .'], 2: {0: u'Molestiae ea neque.', 1: u'Velit asperiores. ', 2: [u'At et voluptatem.', 6527]}}, u'error': {4: u'Et s uscipit maxime.', 5: [u'Eligendi expedita.', u'bborer@dach .net', datetime(1973, 11, 4, 12, 3, 6)], 6: {4: u'Qui labo rum soluta.', 5: 4881.7, 6: [u'Molestias iste.', -70636030 4185.8]}}, u'et': {2: 3625468781965.0, 3: [u'http://nolan. com/homepage/', Decimal('-9.507240453'), u'Quam aut delect us.'], 4: {2: u'Inventore nostrum.', 3: u'Dolor beatae ani mi.', 4: [u'Sint error repellat.', Decimal('-631039921.977 ')]}}, u'voluptatibus': {3: u'http://www.croninpurdy.net/t erms/', 4: [u'Ea eum iste.', Decimal('631.952118827'), -68 .84625845246], 5: {3: 711962681682.23, 4: u'http://mayert. info/wp-content/faq.html', 5: [u'http://lemkejewess.com/se arch.asp', datetime(1981, 11, 10, 18, 26, 31)]}}, u'labore ': {8: {8: [u'http://harvey.com/tags/posts/register/', u'k endell.harvey@bayer.org'], 6: datetime(1996, 10, 19, 8, 45 , 21), 7: Decimal('7508.393')}, 6: -210233909032509.0, 7: [3540611089453.8, u'Vero illum sit quis.', u'Rem officiis. ']}, u'aspernatur': {8: 1636, 9: [u'Molestiae suscipit.', u'Et iusto cupiditate.', u'Non distinctio.'], 10: {8: 5533 , 9: u'kieran71@hotmail.com', 10: [Decimal('-734.10825'), u'hshanahan@hotmail.com']}}})
fake.pydecimal(left_digits=None, right_digits=None, positive=False) # 1925.93352879
fake.pylist(nb_elements=10, variable_nb_elements=True, *value_types) # [u'nhintz@hotmail.com', u'Laboriosam vero.', u'Quis quia l abore.', 9715, u'vkunde@schamberger.biz', -1212597876.736, datetime(2011, 12, 10, 22, 5, 12), -96975525.94, -4073508 227491.43, 2246, u'Et libero et dolor.']
fake.pytuple(nb_elements=10, variable_nb_elements=True, *value_types) # (u'Ipsam illo.', u'Cupiditate non.', Decimal('43956757502. 1'), u'http://pacocha.com/posts/index/', Decimal('-2120353 46.637'), Decimal('95770603.3'), datetime(1989, 12, 19, 22 , 56, 40), u'Fuga saepe velit.')
fake.pybool() # True
fake.pyset(nb_elements=10, variable_nb_elements=True, *value_types) # set([u'rhoda.donnelly@yahoo.com', u'http://www.wisoky.com/ categories/list/explore/login.html', 6471, u'Culpa volupta tem.', 1900, u'Ut consectetur.', 335, datetime(1977, 3, 3, 18, 51, 40), u'Enim nobis rerum.', 2499, 7760734414532.7, u'http://www.ruecker.com/', -24543.9009257, u'Rem magni u llam ab.'])
fake.pydict(nb_elements=10, variable_nb_elements=True, *value_types) # {u'temporibus': 359884756.6097, u'voluptatum': u'Eos ex qu is.', u'ut': u'http://effertz.org/author/', u'fugit': u'ht tp://kautzer.org/author/', u'ipsam': 9430, u'magnam': u'Vo luptates.', u'dolore': u'Saepe et.', u'voluptates': u'Dolo ribus qui.', u'nesciunt': 6, u'eligendi': u'Harum labore.' , u'repellat': u'Sint qui fugiat.', u'omnis': u'Ut dicta u t modi.'}
fake.pyint() # 5411
faker.providers.phone_number
¶
fake.phone_number() # 942-485-5355x39002
faker.providers.ssn
¶
fake.ssn() # 531-16-9514
faker.providers.user_agent
¶
fake.mac_processor() # PPC
fake.firefox() # Mozilla/5.0 (Windows 98; it-IT; rv:1.9.1.20) Gecko/2010-12 -27 06:05:53 Firefox/3.8
fake.linux_platform_token() # X11; Linux x86_64
fake.opera() # Opera/9.33.(Windows NT 5.1; sl-SI) Presto/2.9.182 Version/ 11.00
fake.windows_platform_token() # Windows NT 6.0
fake.internet_explorer() # Mozilla/5.0 (compatible; MSIE 8.0; Windows NT 4.0; Trident /5.1)
fake.user_agent() # Mozilla/5.0 (Windows NT 6.0) AppleWebKit/5362 (KHTML, like Gecko) Chrome/13.0.815.0 Safari/5362
fake.chrome() # Mozilla/5.0 (Windows NT 5.01) AppleWebKit/5351 (KHTML, lik e Gecko) Chrome/15.0.802.0 Safari/5351
fake.linux_processor() # i686
fake.mac_platform_token() # Macintosh; U; Intel Mac OS X 10_6_3
fake.safari() # Mozilla/5.0 (Macintosh; Intel Mac OS X 10_7_6 rv:2.0; en-U S) AppleWebKit/534.24.1 (KHTML, like Gecko) Version/4.0.4 Safari/534.24.1