Language la¶
faker.providers.address¶
fake.longitude() # -13.112663
fake.building_number() # 5138
fake.street_address() # 05810 Prudence Tunnel Suite 518
fake.postalcode_plus4() # 37645-8561
fake.city_prefix() # West
fake.military_ship() # USNV
fake.city() # Mantehaven
fake.zipcode_plus4() # 27418-2848
fake.state_abbr() # PA
fake.latitude() # -67.2703405
fake.street_suffix() # Terrace
fake.city_suffix() # land
fake.military_dpo() # Unit 5461 Box 1135
fake.country() # Argentina
fake.secondary_address() # Suite 565
fake.geo_coordinate(center=None, radius=0.001) # -98.023543
fake.postalcode() # 77651
fake.address() # 6977 Denver Green Rutherfordshire, WI 87998-6478
fake.state() # Montana
fake.military_state() # AE
fake.street_name() # Gleichner Roads
fake.zipcode() # 95106
fake.postcode() # 77808-3245
fake.military_apo() # PSC 8065, Box 5210
faker.providers.barcode¶
fake.ean(length=13) # 2100169087688
fake.ean13() # 1642932672345
fake.ean8() # 81155101
faker.providers.color¶
fake.rgb_css_color() # rgb(156,40,211)
fake.color_name() # Pink
fake.rgb_color_list() # (160, 77, 31)
fake.rgb_color() # 252,163,150
fake.safe_hex_color() # #77dd00
fake.safe_color_name() # purple
fake.hex_color() # #ac7d27
faker.providers.company¶
fake.company() # Nolan, Schultz and Trantow
fake.company_suffix() # LLC
fake.catch_phrase() # Switchable 5thgeneration utilization
fake.bs() # optimize cutting-edge e-markets
faker.providers.credit_card¶
fake.credit_card_security_code(card_type=None) # 146
fake.credit_card_full(card_type=None, validate=False, max_check=10) # JCB 16 digit Orlando Senger 2100443098822692 02/22 CVC: 718
fake.credit_card_expire(start="now", end="+10y", date_format="%m/%y") # 03/21
fake.credit_card_number(card_type=None, validate=False, max_check=10) # 2100962300864275
fake.credit_card_provider(card_type=None) # JCB 15 digit
faker.providers.currency¶
fake.currency_code() # MGA
faker.providers.date_time¶
fake.date_time_ad() # 0344-11-12 22:48:53
fake.month() # 12
fake.am_pm() # AM
fake.iso8601() # 1984-06-02T05:18:41
fake.date_time_this_century() # 2014-08-27 02:18:19
fake.date_time() # 1970-07-17 03:23:22
fake.month_name() # March
fake.date_time_this_month() # 2016-03-13 07:13:10
fake.date_time_this_decade() # 2012-09-24 15:22:30
fake.day_of_week() # Monday
fake.day_of_month() # 31
fake.time(pattern="%H:%M:%S") # 16:08:54
fake.date_time_between(start_date="-30y", end_date="now") # 2008-10-13 23:54:36
fake.unix_time() # 310547734
fake.date_time_this_year() # 2016-03-14 08:15:07
fake.timezone() # Pacific/Guadalcanal
fake.century() # XVIII
fake.date(pattern="%Y-%m-%d") # 1996-10-22
fake.year() # 1999
faker.providers.file¶
fake.mime_type(category=None) # multipart/related
faker.providers.internet¶
fake.ipv4() # 25.140.75.212
fake.url() # http://www.nitzschepadberg.com/
fake.company_email() # devontae.emmerich@turcotte.biz
fake.uri() # http://mueller.com/
fake.domain_word(*args, **kwargs) # hoeger
fake.image_url(width=None, height=None) # http://dummyimage.com/351x12
fake.tld() # com
fake.free_email() # tangela15@gmail.com
fake.slug(*args, **kwargs) # autem-voluptatem
fake.free_email_domain() # yahoo.com
fake.domain_name() # kessler.com
fake.uri_extension() # .jsp
fake.ipv6() # 4364:23df:b75f:bf05:0f1c:6226:0058:2112
fake.safe_email() # kylan24@example.com
fake.user_name(*args, **kwargs) # crist.cappie
fake.uri_path(deep=None) # tag/main
fake.email() # loconner@gmail.com
fake.uri_page() # search
fake.mac_address() # c6:c2:41:ef:ee:07
faker.providers.job¶
fake.job() # Production assistant, radio
faker.providers.lorem¶
fake.text(max_nb_chars=200) # Cum et occaecati distinctio autem consectetur est. Dolores cumque amet dicta corporis quo rerum.
fake.sentence(nb_words=6, variable_nb_words=True) # Est quaerat quia ullam distinctio.
fake.word() # voluptas
fake.paragraphs(nb=3) # [u'Ut ratione nostrum accusantium laudantium cum. Tempora commodi at molestiae numquam qui accusantium odio. Fugiat voluptatem eligendi aliquid occaecati. Animi aut voluptati bus et.', u'Aut doloribus architecto voluptate omnis repre henderit est. Iure sunt voluptatem a omnis. Vel nostrum is te sit. Voluptas dicta eaque vel iusto autem.', u'Voluptas at harum nisi nulla. Quia voluptatibus illum exercitation em nobis non consectetur nihil. Asperiores molestiae quo r epellat voluptas dolorem. Tempore delectus ea quibusdam vo luptates voluptatem omnis.']
fake.words(nb=3) # [u'saepe', u'nemo', u'facere']
fake.paragraph(nb_sentences=3, variable_nb_sentences=True) # Excepturi maxime eveniet consequatur qui. Voluptate natus provident fugiat sed. Atque ea velit doloremque corporis i usto ex id.
fake.sentences(nb=3) # [u'Porro et repudiandae in rerum.', u'Aliquid nulla offici a magnam totam quia eius.', u'Animi est tempora officiis m agnam dicta officia quam.']
faker.providers.misc¶
fake.password(length=10, special_chars=True, digits=True, upper_case=True, lower_case=True) # oBMS*QgSSn
fake.locale() # es_TO
fake.md5(raw_output=False) # 7271f9fe60ae0440bea43c03bb3d336b
fake.sha1(raw_output=False) # 904544de01b34cce53be8b6d398f9ca42d249f11
fake.null_boolean() # False
fake.sha256(raw_output=False) # 626c519d4c8179000280afd409faca95c853fc351ad35e327d2ee3a20c 0e3223
fake.country_code() # GE
fake.language_code() # el
fake.boolean(chance_of_getting_true=50) # True
faker.providers.person¶
fake.last_name_male() # Labadie
fake.name_female() # Ms. Miah Thiel MD
fake.prefix_male() # Mr.
fake.prefix() # (u'Mrs.', u'Ms.', u'Miss', u'Dr.')
fake.name() # Leandro Schaefer
fake.suffix_female() # DDS
fake.name_male() # Konnor Beatty
fake.first_name() # Taliyah
fake.suffix_male() # V
fake.suffix() # (u'Jr.', u'Sr.', u'I', u'II', u'III', u'IV', u'V', u'MD', u'DDS', u'PhD', u'DVM')
fake.first_name_male() # Jermaine
fake.first_name_female() # Kristie
fake.last_name_female() # Moen
fake.last_name() # Nader
fake.prefix_female() # Ms.
faker.providers.profile¶
fake.profile(fields=[]) # {'website': [u'http://www.hansen.com/', u'http://www.reich el.com/'], 'username': u'marion18', 'name': u'Prosper Spor er', 'blood_group': 'B+', 'residence': u'061 Brown Mountai n\nLake Elza, WV 23213', 'company': u'Bernhard-Walter', 'a ddress': u'160 Olar Mountain\nTremblaybury, OH 60794-8006' , 'birthdate': '1972-10-12', 'sex': 'F', 'job': 'Warden/ra nger', 'ssn': u'152-59-9833', 'current_location': (Decimal ('42.154436'), Decimal('-90.924578')), 'mail': u'jaden12@g mail.com'}
fake.simple_profile() # {'username': u'hlockman', 'name': u'Mrs. Jaeda Schoen DVM' , 'birthdate': '1971-06-04', 'sex': 'M', 'address': u'987 Yost Ford\nPort Carolann, KS 83473-8231', 'mail': u'bernar do15@gmail.com'}
faker.providers.python¶
fake.pyiterable(nb_elements=10, variable_nb_elements=True, *value_types) # set([u'Non aliquam id qui.', u'Qui id molestiae.', u'Fuga temporibus.', u'Officiis culpa.', u'Sit et laboriosam.', u 'http://www.jacobidouglas.com/about.htm', u'Eveniet aut il lo.', u'Et ipsam.', Decimal('4.19978232479'), Decimal('553 005162.3'), -53558884248.59, u'Vel in sed.'])
fake.pystr(max_chars=20) # Magnam omnis.
fake.pyfloat(left_digits=None, right_digits=None, positive=False) # 841.303978
fake.pystruct(count=10, *value_types) # ([datetime(1974, 12, 13, 7, 54, 3), u'wwalter@legros.org', Decimal('86940935100.0'), Decimal('-4.71932015484E+12'), 3769604589.32131, u'Quia dicta aliquid.', u'Qui numquam.', Decimal('-9053713695.8'), u'Necessitatibus.', 7515], {u'v oluptas': u'http://www.hand.biz/main/list/main/faq.jsp', u 'reiciendis': u'Et non aut ratione.', u'sed': u'Eum fugiat ut et.', u'voluptatem': u'http://www.gleasonromaguera.biz /login/', u'explicabo': Decimal('6356486948.2'), u'tempore ': u'Ipsam illo rem.', u'vel': 65624592135.9145, u'nam': u 'Perferendis qui.', u'officiis': u'Similique.', u'itaque': u'Neque est non.'}, {u'eius': {3: u'hane.harden@conroy.bi z', 4: [datetime(1998, 1, 4, 11, 6, 39), u'Debitis.', u'Mo di doloribus.'], 5: {3: datetime(2013, 4, 6, 19, 18, 48), 4: u'Dolorem et et error.', 5: [u'http://zboncak.org/', u' Impedit sunt est.']}}, u'ut': {5: u'olson.mckenna@kuphal.c om', 6: [Decimal('7673410.44594'), u'Fuga ipsam non quia.' , u'Excepturi.'], 7: {5: u'Consequatur iure.', 6: 1681, 7: [u'http://www.murphy.com/wp-content/tag/app/index.html', -78049685.17551]}}, u'eaque': {1: u'Perferendis sed.', 2: [datetime(1994, 8, 18, 3, 37, 35), u'Debitis in aut.', -24 4800.390293526], 3: {1: 6368, 2: datetime(1999, 5, 31, 9, 31, 9), 3: [Decimal('59760.1189256'), Decimal('36253172577 .9')]}}, u'rerum': {2: 5097, 3: [u'refugio.metz@rosenbaum. com', Decimal('-9.92551334191E+14'), u'Laboriosam omnis.'] , 4: {2: -6334.136574063, 3: u'wrau@aufderhar.org', 4: [De cimal('-68885224425.0'), Decimal('-115011612217')]}}, u'au t': {8: [u'http://yundtlehner.com/search/terms.php', u'htt p://www.flatley.info/', u'Deserunt itaque et.'], 9: {8: da tetime(1971, 6, 14, 22, 37, 38), 9: [-7.7479, Decimal('659 04342049.9')], 7: u'At eveniet dolorem.'}, 7: u'Aut magni et quo.'}, u'deleniti': {4: Decimal('-8.06737217272E+13'), 5: [u'Aliquam illum.', 2847, u'http://lefflerbraun.biz/ma in/main.php'], 6: {4: u'A similique dolor.', 5: u'Perferen dis quis.', 6: [-167264261110697.0, u'Voluptatum deleniti. ']}}, u'qui': {8: {8: [Decimal('86524526.71'), u'Consectet ur sunt.'], 6: u'http://www.walkerkutch.net/faq.asp', 7: u 'Officiis enim est.'}, 6: u'http://hoegernader.info/home.p hp', 7: [u'Laudantium officiis.', 6232, u'http://www.decko w.com/about.jsp']}, u'laudantium': {9: 1377, 10: [u'http:/ /www.bergnaumkovacek.net/search/blog/explore/main.htm', 90 9833595570.9, u'http://www.dickiemard.biz/wp-content/faq.p hp'], 11: {9: u'Tenetur nesciunt.', 10: u'http://www.macej kovicmarvin.net/main.jsp', 11: [8864, u'Voluptas repellat. ']}}, u'veritatis': {8: datetime(1971, 9, 11, 11, 17, 14), 9: [7414, 3455, datetime(1974, 1, 24, 1, 13, 50)], 10: {8 : u'http://www.hanekertzmann.com/login/', 9: 4621, 10: [u' http://www.dickenswest.net/category/tags/post.htm', u'saue r.charleen@runolfsdottir.com']}}})
fake.pydecimal(left_digits=None, right_digits=None, positive=False) # 9848.36071721
fake.pylist(nb_elements=10, variable_nb_elements=True, *value_types) # [u'Nemo et odit qui.', u'Qui consequatur.', 8745, u'http:/ /mayert.com/search/register/', u'http://www.beer.net/login .jsp', 904333071962.36, Decimal('2430900996.63'), datetime (1975, 2, 27, 13, 14, 35), u'Qui repellat aut.', u'holland .gutkowski@emard.com', datetime(1975, 9, 11, 13, 23, 10), u'vstoltenberg@gmail.com']
fake.pytuple(nb_elements=10, variable_nb_elements=True, *value_types) # (datetime(2015, 2, 12, 21, 54, 18), u'In repellat est ut.' , u'Voluptatibus.', u'Aperiam incidunt.', u'Iure sit dolor et.', u'kelly30@hotmail.com', -58140932.44, u'http://kshl erin.com/search/blog/posts/author.html', u'Deserunt beatae .', u'Temporibus et ut.', u'Temporibus et.', u'Et labore e x.', u'http://kuphalcasper.info/terms.htm')
fake.pybool() # True
fake.pyset(nb_elements=10, variable_nb_elements=True, *value_types) # set([3522, u'flora05@abbottstokes.com', u'In omnis aut nis i.', Decimal('69422.87041'), Decimal('2.08993330386E+13'), datetime(1992, 4, 21, 5, 50, 42), 2287, u'Sed quibusdam a .', 9795, -4653875.41745966, u'Quasi repudiandae.', Decima l('7687193.14759'), 4189])
fake.pydict(nb_elements=10, variable_nb_elements=True, *value_types) # {u'sequi': 9734, u'est': u'Velit provident.', u'possimus': u'florie.kris@jones.biz', u'inventore': u'Sed explicabo v el.', u'temporibus': u'http://www.carter.com/tags/blog/aut hor.php', u'architecto': -678.51293, u'hic': Decimal('8.10 224969219E+13'), u'ut': Decimal('-4.35939968811'), u'earum ': -3480797.84631218, u'deserunt': u'Hic dolores quo.', u' consequatur': 4197}
fake.pyint() # 7007
faker.providers.phone_number¶
fake.phone_number() # 1-213-001-1699x25159
faker.providers.ssn¶
fake.ssn() # 447-66-3240
faker.providers.user_agent¶
fake.mac_processor() # U; PPC
fake.firefox() # Mozilla/5.0 (Windows NT 5.0; sl-SI; rv:1.9.2.20) Gecko/201 0-01-05 05:01:16 Firefox/3.8
fake.linux_platform_token() # X11; Linux i686
fake.opera() # Opera/8.57.(Windows 98; Win 9x 4.90; it-IT) Presto/2.9.189 Version/11.00
fake.windows_platform_token() # Windows NT 5.1
fake.internet_explorer() # Mozilla/5.0 (compatible; MSIE 6.0; Windows NT 6.2; Trident /4.0)
fake.user_agent() # Mozilla/5.0 (Macintosh; U; PPC Mac OS X 10_7_3) AppleWebKi t/5352 (KHTML, like Gecko) Chrome/14.0.848.0 Safari/5352
fake.chrome() # Mozilla/5.0 (Macintosh; PPC Mac OS X 10_7_7) AppleWebKit/5 361 (KHTML, like Gecko) Chrome/13.0.866.0 Safari/5361
fake.linux_processor() # x86_64
fake.mac_platform_token() # Macintosh; Intel Mac OS X 10_5_7
fake.safari() # Mozilla/5.0 (iPod; U; CPU iPhone OS 4_1 like Mac OS X; en- US) AppleWebKit/534.5.3 (KHTML, like Gecko) Version/4.0.5 Mobile/8B118 Safari/6534.5.3