Language en_US¶
faker.providers.address¶
fake.longitude() # 99.982125
fake.building_number() # 83982
fake.street_address() # 56532 Cole Meadow
fake.postalcode_plus4() # 02300-4454
fake.city_prefix() # East
fake.military_ship() # USCGC
fake.city() # East Evelyne
fake.zipcode_plus4() # 56046-0660
fake.state_abbr() # MS
fake.latitude() # -67.222240
fake.street_suffix() # Mall
fake.city_suffix() # view
fake.military_dpo() # Unit 0319 Box 4951
fake.country() # Slovenia
fake.secondary_address() # Apt. 992
fake.geo_coordinate(center=None, radius=0.001) # 50.984398
fake.postalcode() # 45456
fake.address() # 326 Walsh Row Saraside, FL 65315-1865
fake.state() # Oklahoma
fake.military_state() # AA
fake.street_name() # Toy Keys
fake.zipcode() # 78794
fake.postcode() # 82363-3850
fake.military_apo() # PSC 8642, Box 1283
faker.providers.barcode¶
fake.ean(length=13) # 0472286543357
fake.ean13() # 2137009690869
fake.ean8() # 04382508
faker.providers.color¶
fake.rgb_css_color() # rgb(45,58,255)
fake.color_name() # DeepSkyBlue
fake.rgb_color_list() # (215, 64, 22)
fake.rgb_color() # 93,56,174
fake.safe_hex_color() # #880000
fake.safe_color_name() # yellow
fake.hex_color() # #2f6180
faker.providers.company¶
fake.company() # Smitham-Rippin
fake.company_suffix() # PLC
fake.catch_phrase() # Persistent dedicated pricing structure
fake.bs() # harness B2B partnerships
faker.providers.credit_card¶
fake.credit_card_security_code(card_type=None) # 589
fake.credit_card_full(card_type=None, validate=False, max_check=10) # JCB 16 digit Maxim Bashirian 1800406659837495 10/22 CVC: 152
fake.credit_card_expire(start="now", end="+10y", date_format="%m/%y") # 02/26
fake.credit_card_number(card_type=None, validate=False, max_check=10) # 6011641183641013
fake.credit_card_provider(card_type=None) # enRoute
faker.providers.currency¶
fake.currency_code() # IRR
faker.providers.date_time¶
fake.date_time_ad() # 0565-07-02 21:50:59
fake.month() # 02
fake.am_pm() # AM
fake.iso8601() # 1988-01-15T22:34:17
fake.date_time_this_century() # 2002-07-04 01:58:28
fake.date_time() # 1994-05-02 19:08:40
fake.month_name() # November
fake.date_time_this_month() # 2016-03-06 04:54:27
fake.date_time_this_decade() # 2015-01-14 17:19:34
fake.day_of_week() # Monday
fake.day_of_month() # 13
fake.time(pattern="%H:%M:%S") # 22:57:35
fake.date_time_between(start_date="-30y", end_date="now") # 2002-08-22 00:48:23
fake.unix_time() # 232752867
fake.date_time_this_year() # 2016-03-14 08:12:31
fake.timezone() # Europe/Helsinki
fake.century() # II
fake.date(pattern="%Y-%m-%d") # 2010-02-19
fake.year() # 2002
faker.providers.file¶
fake.mime_type(category=None) # multipart/signed
faker.providers.internet¶
fake.ipv4() # 212.134.56.99
fake.url() # http://www.runolfsdottir.com/
fake.company_email() # dbrakus@franecki.com
fake.uri() # http://bergnaumaltenwerth.com/main/tags/index/
fake.domain_word(*args, **kwargs) # douglashettinger
fake.image_url(width=None, height=None) # http://www.lorempixum.com/18/764
fake.tld() # info
fake.free_email() # zeb49@gmail.com
fake.slug(*args, **kwargs) # enim-fuga-sed-in
fake.free_email_domain() # gmail.com
fake.domain_name() # goldner.biz
fake.uri_extension() # .php
fake.ipv6() # b6ed:b922:3c23:2e16:c93f:b0cd:07a9:7e33
fake.safe_email() # bins.ronny@example.org
fake.user_name(*args, **kwargs) # rarmstrong
fake.uri_path(deep=None) # search
fake.email() # smarquardt@dibbertglover.info
fake.uri_page() # about
fake.mac_address() # dd:d7:92:ff:78:2d
faker.providers.job¶
fake.job() # Engineer, civil (consulting)
faker.providers.lorem¶
fake.text(max_nb_chars=200) # Sunt dicta qui quia animi facilis. Dolores dolor doloribus cumque odit quia aut. Numquam vitae numquam expedita ut v oluptas ipsum. Quo eius et commodi occaecati.
fake.sentence(nb_words=6, variable_nb_words=True) # Impedit quo amet et culpa repellat est.
fake.word() # voluptates
fake.paragraphs(nb=3) # [u'Quis voluptas quasi officia. Adipisci delectus maiores corporis quasi. Perferendis animi praesentium qui ratione. ', u'Eveniet sunt unde iure vel accusamus magni velit. Qua m repudiandae optio aut minus adipisci ut ab natus. Facere quod eligendi minima quis asperiores.', u'Impedit nulla u t quibusdam voluptatibus ut et repellat praesentium. Iste et est omnis repudiandae ipsam. Exercitationem nulla cumqu e voluptas nostrum perspiciatis.']
fake.words(nb=3) # [u'voluptas', u'deleniti', u'voluptas']
fake.paragraph(nb_sentences=3, variable_nb_sentences=True) # Voluptates esse ut vel blanditiis in. Et rerum sint in mol estias labore corporis. Itaque maiores ut maxime est hic c upiditate.
fake.sentences(nb=3) # [u'Et cum ea nihil repellendus.', u'Est eius porro corrupt i enim sunt dolorem.', u'Et incidunt quam repellat iusto i n quo quasi.']
faker.providers.misc¶
fake.password(length=10, special_chars=True, digits=True, upper_case=True, lower_case=True) # husIRMVIle
fake.locale() # en_VN
fake.md5(raw_output=False) # 0aff9e364ebfb1ba58305d54a05c891c
fake.sha1(raw_output=False) # 21e2d69eea97b0f71826f6403b6c18af44ba8846
fake.null_boolean() # False
fake.sha256(raw_output=False) # d785eaa6029a14972cc06b78863f982ba353ead0ede86585176f500394 7cbfe3
fake.country_code() # SO
fake.language_code() # de
fake.boolean(chance_of_getting_true=50) # True
faker.providers.person¶
fake.last_name_male() # Raynor
fake.name_female() # Bee Reilly
fake.prefix_male() # Mr.
fake.prefix() # (u'Mrs.', u'Ms.', u'Miss', u'Dr.')
fake.name() # Talon Schroeder
fake.suffix_female() # DDS
fake.name_male() # Harm Batz
fake.first_name() # Arnav
fake.suffix_male() # DDS
fake.suffix() # (u'MD', u'DDS', u'PhD', u'DVM')
fake.first_name_male() # Guilford
fake.first_name_female() # Elisabeth
fake.last_name_female() # Hettinger
fake.last_name() # Smitham
fake.prefix_female() # Ms.
faker.providers.profile¶
fake.profile(fields=[]) # {'website': [u'http://champlinyost.biz/', u'http://www.hei denreichshanahan.biz/', u'http://jewessbruen.com/', u'http ://www.doyle.com/'], 'username': u'wolf.gracelyn', 'name': u'Yvette Nitzsche', 'blood_group': '0+', 'residence': u'0 13 Shamar Forest Suite 212\nBergnaumport, WA 91133-8315', 'company': u'Little-Herman', 'address': u'6945 Wolf Pine A pt. 026\nSouth Caswell, MP 65115-6072', 'birthdate': '2014 -09-17', 'sex': 'F', 'job': 'Advertising copywriter', 'ssn ': u'582-90-2479', 'current_location': (Decimal('29.770315 5'), Decimal('-165.150756')), 'mail': u'lehner.alcee@hotma il.com'}
fake.simple_profile() # {'username': u'allean.roberts', 'name': u'Mckinley Ebert', 'birthdate': '2009-02-26', 'sex': 'M', 'address': u'4330 Walsh Turnpike\nPort Gaylene, VA 10482-7373', 'mail': u'se nger.kobe@yahoo.com'}
faker.providers.python¶
fake.pyiterable(nb_elements=10, variable_nb_elements=True, *value_types) # [-721.790405283, u'gaylene.dubuque@yahoo.com', u'http://ww w.rutherfordrussel.info/homepage/', u'Ut iusto nisi.', u'l emma86@blick.com', u'Ut quia delectus.', u'Qui molestiae.' , 5297, u'Voluptas modi velit.', datetime(2012, 3, 20, 13, 42, 25), u'Aliquid excepturi.', -8377119.9]
fake.pystr(max_chars=20) # Voluptatem veniam.
fake.pyfloat(left_digits=None, right_digits=None, positive=False) # -335.7677
fake.pystruct(count=10, *value_types) # ([1979, 8925, u'Iste vero at.', Decimal('319324738.351'), u'Cumque autem rerum.', datetime(1975, 9, 6, 15, 13, 33), datetime(1990, 10, 7, 10, 44, 55), u'prohaska.deion@langwo rth.org', 6176, datetime(2007, 12, 11, 15, 22, 20)], {u'il lum': u'In molestiae qui.', u'iste': u'Est repudiandae.', u'fugiat': u'http://barton.com/', u'hic': 7316, u'voluptat es': 7371, u'sint': datetime(2006, 9, 1, 19, 57, 11), u'ip sa': u'Voluptatibus porro.', u'et': u'Est beatae quasi.', u'vitae': Decimal('9659317.76'), u'magnam': 95291416274.51 55}, {u'similique': {9: u'http://www.mohrblanda.com/explor e/privacy/', 10: [-582.205, datetime(2008, 4, 29, 23, 52, 33), u'http://www.eichmann.info/login/'], 11: {9: u'http:/ /vonrueden.com/search/', 10: u'Aut maxime at.', 11: [datet ime(2000, 4, 24, 9, 10, 36), u'Officia minus quia.']}}, u' ut': {8: [u'Eaque ut quas.', u'Culpa minus est.', u'ruecke r.ximena@greenholt.biz'], 9: {8: u'jeromy89@hotmail.com', 9: [datetime(2011, 6, 15, 21, 12, 24), u'Facilis reiciendi s.'], 7: u'http://lynch.biz/blog/explore/categories/homepa ge.php'}, 7: 4931}, u'laborum': {2: u'Itaque excepturi.', 3: [datetime(1994, 12, 19, 14, 16, 6), u'Aperiam voluptate s.', datetime(1983, 8, 29, 14, 59, 11)], 4: {2: 4306, 3: u 'shannon.bayer@yahoo.com', 4: [u'block.lars@gleason.com', u'Est dolores eum.']}}, u'blanditiis': {0: u'http://www.ha rvey.com/about.php', 1: [-2280576869.8, u'Molestiae sint o dio.', u'http://www.stehr.com/tags/login/'], 2: {0: 6340, 1: 3782, 2: [datetime(1990, 12, 26, 3, 30, 10), Decimal('- 7.05560431031E+13')]}}, u'aperiam': {4: u'http://www.walsh .info/', 5: [u'Quam ut est aliquam.', u'http://dubuquewael chi.com/index/', u'nina.zieme@kreigerschultz.com'], 6: {4: u'Sequi est magni.', 5: 6745, 6: [3042, u'Voluptatibus na m ut.']}}, u'eligendi': {5: u'qkoss@yahoo.com', 6: [566365 5722920.0, u'http://deckow.com/tags/home.htm', datetime(19 74, 4, 9, 1, 54, 3)], 7: {5: u'http://www.leuschkelynch.bi z/post/', 6: u'Deleniti.', 7: [u'Vitae consequatur.', u'eu dora36@pollichkreiger.info']}}, u'consequatur': {8: 8684, 9: [1052, datetime(2008, 12, 19, 12, 38, 29), u'Dolor aliq uid animi.'], 10: {8: Decimal('4709593.55829'), 9: u'Minus voluptatem.', 10: [datetime(1983, 4, 27, 10, 34, 10), u'M inima et aliquid.']}}, u'necessitatibus': {3: datetime(199 9, 5, 26, 2, 15, 14), 4: [u'Beatae soluta sint.', Decimal( '458.643388562'), u'Minima sint odio.'], 5: {3: datetime(2 000, 1, 29, 5, 47, 39), 4: u'Quia dolorem cumque.', 5: [u' Est voluptas beatae.', u'tenika.schaefer@yahoo.com']}}, u' magni': {8: {8: [u'Molestiae.', 496154064031.5], 6: 1823, 7: 6889}, 6: u'Sint dolorem.', 7: [datetime(2003, 10, 24, 9, 22, 4), 3420, u'http://www.howe.info/']}})
fake.pydecimal(left_digits=None, right_digits=None, positive=False) # -3.89344545147
fake.pylist(nb_elements=10, variable_nb_elements=True, *value_types) # [5715, u'Omnis aut odio unde.', u'wunsch.estelle@graham.ne t', 6882, u'Ut quibusdam odit.', Decimal('318342743948'), u'Voluptatem placeat.', u'Corrupti nesciunt.', 8335525969. 103, Decimal('-31073.473606'), u'Aut aut deserunt.', u'Dol or.']
fake.pytuple(nb_elements=10, variable_nb_elements=True, *value_types) # (1952, u'clarence67@yahoo.com', 9921, Decimal('2.346772114 33E+14'), 1212, u'Quia nesciunt totam.', 7664, u'Ut dicta. ', u'venessa37@yahoo.com', u'christiansen.evert@hirtheruno lfsson.info', 6683, u'Officia aut vel.', datetime(1997, 3, 1, 2, 7, 54), 6782, u'http://considineheathcote.com/')
fake.pybool() # False
fake.pyset(nb_elements=10, variable_nb_elements=True, *value_types) # set([u'theodocia10@yahoo.com', u'bill54@lynchcassin.org', u'Unde odit fugit.', u'Blanditiis voluptas.', -9707.4144, u'Aut molestiae aut.', u'Suscipit et.', u'Perspiciatis.'])
fake.pydict(nb_elements=10, variable_nb_elements=True, *value_types) # {u'exercitationem': datetime(1993, 5, 2, 22, 46, 51), u'es t': u'holmes43@yahoo.com', u'nemo': 7445, u'dolores': date time(1984, 12, 1, 18, 56, 40), u'architecto': u'Minus pers piciatis.', u'fuga': 674389.3, u'error': u'http://hillsjoh nson.com/posts/privacy/', u'voluptatem': datetime(1980, 8, 10, 17, 28, 52), u'nulla': u'Cupiditate.', u'deserunt': 4 .0, u'delectus': u'Aut dolorum numquam.'}
fake.pyint() # 922
faker.providers.phone_number¶
fake.phone_number() # 467-291-6374x60790
faker.providers.ssn¶
fake.ssn() # 690-24-4787
faker.providers.user_agent¶
fake.mac_processor() # U; PPC
fake.firefox() # Mozilla/5.0 (X11; Linux i686; rv:1.9.7.20) Gecko/2011-10-2 7 23:11:20 Firefox/9.0
fake.linux_platform_token() # X11; Linux x86_64
fake.opera() # Opera/8.17.(Windows 98; Win 9x 4.90; it-IT) Presto/2.9.166 Version/12.00
fake.windows_platform_token() # Windows CE
fake.internet_explorer() # Mozilla/5.0 (compatible; MSIE 5.0; Windows 98; Win 9x 4.90 ; Trident/4.0)
fake.user_agent() # Mozilla/5.0 (X11; Linux x86_64; rv:1.9.5.20) Gecko/2011-07 -15 10:07:42 Firefox/3.6.10
fake.chrome() # Mozilla/5.0 (Macintosh; PPC Mac OS X 10_6_5) AppleWebKit/5 340 (KHTML, like Gecko) Chrome/13.0.852.0 Safari/5340
fake.linux_processor() # i686
fake.mac_platform_token() # Macintosh; U; PPC Mac OS X 10_7_8
fake.safari() # Mozilla/5.0 (Windows; U; Windows NT 5.0) AppleWebKit/532.1 6.7 (KHTML, like Gecko) Version/4.0 Safari/532.16.7