Language es_ES¶
faker.providers.address¶
fake.state_name() # Barcelona
fake.latitude() # -6.201211
fake.street_name() # Paseo de Miguel Donoso
fake.address() # Urbanización de Anna Patiño 42 Alicante, 25383
fake.street_address() # Alameda de Abram Priego 788
fake.postcode() # 80643
fake.longitude() # -154.132675
fake.country() # Vanuatu
fake.secondary_address() # Apt. 61
fake.street_prefix() # Cañada
fake.street_suffix() # Street
fake.geo_coordinate(center=None, radius=0.001) # 142.327742
fake.city_suffix() # Ville
fake.building_number() # 16
fake.city() # Almería
fake.state() # Ceuta
faker.providers.barcode¶
fake.ean(length=13) # 0596640882200
fake.ean13() # 6657209191073
fake.ean8() # 82199876
faker.providers.color¶
fake.rgb_css_color() # rgb(134,55,28)
fake.color_name() # PaleGoldenRod
fake.rgb_color_list() # (32, 83, 71)
fake.rgb_color() # 204,254,86
fake.safe_hex_color() # #884400
fake.safe_color_name() # yellow
fake.hex_color() # #2104e1
faker.providers.company¶
fake.company() # Giralt LLC
fake.company_suffix() # Ltd
fake.catch_phrase() # Focused systemic task-force
fake.bs() # orchestrate value-added schemas
faker.providers.credit_card¶
fake.credit_card_security_code(card_type=None) # 3417
fake.credit_card_full(card_type=None, validate=False, max_check=10) # Mastercard Aurora Gallardo 5185605018836066 10/20 CVV: 465
fake.credit_card_expire(start="now", end="+10y", date_format="%m/%y") # 02/22
fake.credit_card_number(card_type=None, validate=False, max_check=10) # 4556471489390
fake.credit_card_provider(card_type=None) # JCB 15 digit
faker.providers.currency¶
fake.currency_code() # TMT
faker.providers.date_time¶
fake.date_time_ad() # 0061-09-02 00:59:00
fake.month() # 05
fake.am_pm() # AM
fake.iso8601() # 1973-08-23T01:29:33
fake.date_time_this_century() # 2008-02-03 12:06:43
fake.date_time() # 1982-05-02 22:47:22
fake.month_name() # November
fake.date_time_this_month() # 2016-03-03 04:41:37
fake.date_time_this_decade() # 2010-11-02 06:48:33
fake.day_of_week() # Friday
fake.day_of_month() # 11
fake.time(pattern="%H:%M:%S") # 20:45:58
fake.date_time_between(start_date="-30y", end_date="now") # 1987-04-07 20:27:49
fake.unix_time() # 330333694
fake.date_time_this_year() # 2016-03-14 08:14:26
fake.timezone() # Africa/Ndjamena
fake.century() # X
fake.date(pattern="%Y-%m-%d") # 1989-11-09
fake.year() # 2009
faker.providers.file¶
fake.mime_type(category=None) # video/x-flv
faker.providers.internet¶
fake.ipv4() # 241.195.99.69
fake.url() # http://nadalbelmonte.org/
fake.company_email() # torrents.cristina@rodrigo.com
fake.uri() # http://www.gonzlez.com/category/about/
fake.domain_word(*args, **kwargs) # roviramacias
fake.image_url(width=None, height=None) # http://placehold.it/567x949
fake.tld() # info
fake.free_email() # vera44@yahoo.com
fake.slug(*args, **kwargs) # est-numquam-vel
fake.free_email_domain() # yahoo.com
fake.domain_name() # mgicajordn.com
fake.uri_extension() # .php
fake.ipv6() # 6d25:d669:106a:4835:5914:5d72:7344:de52
fake.safe_email() # batalla.julian@example.net
fake.user_name(*args, **kwargs) # maria37
fake.uri_path(deep=None) # search/app/tags
fake.email() # nzurita@sedanolasa.com
fake.uri_page() # login
fake.mac_address() # 20:cb:ab:0a:c8:41
faker.providers.job¶
fake.job() # Office manager
faker.providers.lorem¶
fake.text(max_nb_chars=200) # Atque et impedit officiis. Quis autem debitis occaecati es t et ea in. Non reiciendis vero quis voluptatem. Soluta fu git maxime repellendus et explicabo provident eligendi.
fake.sentence(nb_words=6, variable_nb_words=True) # Qui expedita necessitatibus molestiae sed.
fake.word() # unde
fake.paragraphs(nb=3) # [u'Qui aliquam odio dolor quod omnis amet exercitationem. Quaerat iure ut dolores quia culpa et. Vero consequatur es t et aliquid molestias nisi. Asperiores laboriosam praesen tium nisi nihil.', u'Et saepe adipisci quia debitis possim us. Praesentium et sed dolorem. Omnis fugit odit sunt dolo remque nulla ut dolor. Illum ipsa dolor illum officiis est iusto velit.', u'Sint est assumenda aliquam dolores. Aute m laboriosam occaecati enim numquam fuga. Corporis unde ex ercitationem qui id nostrum doloribus.']
fake.words(nb=3) # [u'nulla', u'aliquid', u'ad']
fake.paragraph(nb_sentences=3, variable_nb_sentences=True) # Veritatis praesentium nemo maiores. Debitis quia natus dic ta unde nesciunt. Est est quia sint eos nostrum quia. Accu santium et voluptas id alias aut ut.
fake.sentences(nb=3) # [u'Eos aut quia non sint.', u'Perspiciatis cumque qui aut aut qui maxime labore.', u'Dolor quae expedita nesciunt er ror.']
faker.providers.misc¶
fake.password(length=10, special_chars=True, digits=True, upper_case=True, lower_case=True) # &HWZnSjR!l
fake.locale() # en_KN
fake.md5(raw_output=False) # 555b4b748064440654f53e87cd61aff4
fake.sha1(raw_output=False) # e15d0966a054e8f23242fed64fafd14142786c4f
fake.null_boolean() # None
fake.sha256(raw_output=False) # 7afc298d1d02452254bd378b943b7d8b60209095887d9e89f0adf56ad8 2b8be3
fake.country_code() # AE
fake.language_code() # el
fake.boolean(chance_of_getting_true=50) # False
faker.providers.person¶
fake.last_name_male() # Baena
fake.name_female() # Raul Solsona Catalán
fake.prefix_male() # del
fake.prefix() # de
fake.name() # Daniella Boada Cabañas
fake.name_male() # Candela Yáñez Amorós
fake.first_name() # Laia
fake.first_name_male() # Daniella
fake.first_name_female() # Ximena
fake.last_name_female() # Cabezas
fake.last_name() # Puig
fake.prefix_female() # del
faker.providers.profile¶
fake.profile(fields=[]) # {'website': [u'http://www.santosbenavides.info/', u'http:/ /www.palacio.biz/', u'http://andrade.biz/', u'http://tom.c om/'], 'username': u'erika53', 'name': u'David Leal', 'blo od_group': 'A-', 'residence': u'Vial de Joel Beltr\xe1n 85 \nMadrid, 97925', 'company': u'Batalla, Bonet and Infante' , 'address': u'Callej\xf3n de Mat\xedas Peir\xf3 33 Piso 7 \nValladolid, 97690', 'birthdate': '2002-11-06', 'sex': ' F', 'job': 'Maintenance engineer', 'ssn': u'075-99-4624', 'current_location': (Decimal('2.5229285'), Decimal('-173.4 47030')), 'mail': u'melina.macias@gmail.com'}
fake.simple_profile() # {'username': u'vsantamaria', 'name': u'Ismael de V\xe1zque z', 'birthdate': '1997-02-07', 'sex': 'F', 'address': u'Vi al Blanca S\xe1ez 7 Piso 4 \nAsturias, 72805', 'mail': u't alia.amat@yahoo.com'}
faker.providers.python¶
fake.pyiterable(nb_elements=10, variable_nb_elements=True, *value_types) # set([u'Sint deleniti qui.', u'Magnam nesciunt.', datetime( 1985, 12, 1, 1, 47, 57), u'Vitae quidem hic.', u'Qui repel lendus.', 9714, datetime(1984, 2, 9, 14, 54, 5), u'http:// zabala.com/', u'Id eum officiis.', u'Nulla vel quia hic.', u'joaquin.pacheco@gmail.com', u'Aliquam iusto.', u'Deseru nt voluptates.'])
fake.pystr(max_chars=20) # Quisquam dolor sint.
fake.pyfloat(left_digits=None, right_digits=None, positive=False) # -90760060.608
fake.pystruct(count=10, *value_types) # ([1272, datetime(2011, 4, 22, 18, 22, 48), u'hramirez@bou. com', 11641068867522.0, datetime(1978, 3, 27, 17, 27, 22), u'Rerum nemo delectus.', 2100, 5703, 943378515279.0, Deci mal('103.8279')], {u'quos': 8368, u'reprehenderit': u'blan ca78@borregoadadia.com', u'est': u'Expedita laboriosam.', u'natus': u'raul.iglesias@tamarit.biz', u'ut': 3307, u'sun t': u'elena06@casadomedina.com', u'architecto': u'Beatae n on mollitia.', u'hic': u'http://www.figueras.com/category. php', u'qui': datetime(1999, 5, 21, 16, 56, 48), u'et': u' http://www.mateu.com/explore/search/category/'}, {u'est': {8: Decimal('-84.444'), 9: [u'Et fugit quidem.', u'Rerum s uscipit quae.', 49242.648116], 10: {8: u'Voluptatem ut dic ta.', 9: u'anna48@hotmail.com', 10: [u'Vero exercitationem .', Decimal('-94758140.58')]}}, u'in': {8: [Decimal('-2921 40069.51'), -97575.7261202459, 771.29403861], 9: {8: u'Ut sint officia.', 9: [datetime(2010, 5, 22, 18, 57, 26), u'I llo et earum.'], 7: u'http://bosch.com/search/'}, 7: Decim al('-575.283611')}, u'sit': {3: u'http://ibarragual.org/ta g/search/', 4: [2760, datetime(1995, 12, 26, 7, 27, 37), 7 0238577269.0], 5: {3: datetime(2002, 5, 25, 13, 0, 4), 4: u'At officiis unde.', 5: [Decimal('550.9389'), 1538]}}, u' quod': {8: {8: [6330, u'Nesciunt.'], 6: Decimal('0.0'), 7: 5554}, 6: u'http://www.oller.com/posts/about.asp', 7: [-6 3.55, u'Voluptatem.', u'Sapiente quam.']}, u'accusantium': {1: 3505, 2: [u'http://www.ros.net/post.html', u'Consecte tur fugit.', Decimal('-4.55508704868E+12')], 3: {1: 220223 44.10922, 2: u'aleman.america@gmail.com', 3: [3304.1029480 632, u'http://lucenaibarra.com/index/']}}, u'veniam': {4: u'valeria.poza@gmail.com', 5: [2503, 623184.8336509, datet ime(2003, 7, 25, 10, 52, 41)], 6: {4: 26792050338.45, 5: u 'Omnis.', 6: [u'http://www.adadiaglvez.com/tag/explore/cat egories/index.html', u'Ea qui deleniti sit.']}}, u'molesti ae': {0: u'Et voluptatem.', 1: [datetime(1974, 7, 14, 8, 9 , 43), u'alina56@alberdi.biz', 2476], 2: {0: -766346899287 .91, 1: u'Expedita dicta.', 2: [u'Eos voluptatem.', Decima l('-6.89393898112E+12')]}}, u'voluptatem': {5: u'Delectus veniam.', 6: [u'http://www.torrentbermdez.com/', 6885, u'c armen16@hotmail.com'], 7: {5: u'http://www.caellas.com/', 6: u'Occaecati quae et.', 7: [5260, u'Omnis nihil quas.']} }, u'soluta': {2: u'Et esse architecto.', 3: [-19791328670 2382.0, u'Quis iusto.', 49.47851], 4: {2: Decimal('-1.3620 1217'), 3: 5998, 4: [datetime(1999, 1, 19, 9, 19, 57), u'M inus rerum ex.']}}, u'distinctio': {9: -7334833777.38488, 10: [7935, 7605, u'Dolorem in et hic.'], 11: {9: u'Et modi voluptas.', 10: -966.6706787, 11: [datetime(2002, 7, 2, 1 4, 25, 5), u'Sit odit quam.']}}})
fake.pydecimal(left_digits=None, right_digits=None, positive=False) # -3.46698975943E+12
fake.pylist(nb_elements=10, variable_nb_elements=True, *value_types) # [u'http://www.parejaalcolea.com/search/wp-content/list/ter ms.htm', 1573, u'Nemo rem velit.', 4213.47, datetime(1977, 11, 16, 6, 51, 59), u'Et omnis et.', u'arevalo.aitor@mart inez.com', u'Voluptate officia.', 53, 2066, u'Dolore repud iandae.', 1945, u'Nesciunt temporibus.', 684]
fake.pytuple(nb_elements=10, variable_nb_elements=True, *value_types) # (7648, 5629.89832, u'mateo91@yahoo.com', -8630181907131.0, u'Cumque voluptatem.', u'Aut nam eaque modi.', u'Dicta si t velit.', datetime(2014, 8, 19, 22, 54, 43), Decimal('-8. 47171070571E+12'), Decimal('-14701.0'), u'Quisquam omnis.' , u'Dolorem voluptate.', u'Nostrum consectetur.', datetime (2000, 1, 17, 23, 22, 46), u'Illo id et et.')
fake.pybool() # False
fake.pyset(nb_elements=10, variable_nb_elements=True, *value_types) # set([u'http://herrero.com/search.asp', 913, 4008, u'Minus animi natus.', Decimal('9.67434300411E+13'), u'olmedo.gabr iel@callejaquiroga.net', 6286, datetime(2011, 10, 25, 0, 2 7, 15)])
fake.pydict(nb_elements=10, variable_nb_elements=True, *value_types) # {u'temporibus': u'Fugiat aspernatur.', u'dolorum': -737755 1650.91653, u'quis': u'Eum repellendus.', u'voluptas': 941 1, u'voluptatem': -296.11319703394, u'fugit': 8743, u'dolo res': u'http://www.nogussantiago.com/blog/wp-content/categ ory/register.htm', u'accusantium': Decimal('4323353.22'), u'facilis': 1786, u'sed': Decimal('4.0702744664E+11'), u'n on': datetime(1984, 12, 26, 2, 6, 1), u'velit': 8.67338198 , u'aperiam': u'campo.aitor@yahoo.com', u'autem': u'http:/ /rico.net/terms/'}
fake.pyint() # 8232
faker.providers.phone_number¶
fake.phone_number() # +34074 640 464
faker.providers.ssn¶
fake.ssn() # 228-26-9668
faker.providers.user_agent¶
fake.mac_processor() # U; PPC
fake.firefox() # Mozilla/5.0 (X11; Linux x86_64; rv:1.9.7.20) Gecko/2011-09 -26 11:11:30 Firefox/3.8
fake.linux_platform_token() # X11; Linux i686
fake.opera() # Opera/9.83.(Windows NT 5.0; en-US) Presto/2.9.179 Version/ 11.00
fake.windows_platform_token() # Windows 98; Win 9x 4.90
fake.internet_explorer() # Mozilla/5.0 (compatible; MSIE 9.0; Windows CE; Trident/4.0 )
fake.user_agent() # Mozilla/5.0 (X11; Linux i686; rv:1.9.7.20) Gecko/2014-10-2 0 13:12:15 Firefox/15.0
fake.chrome() # Mozilla/5.0 (Windows NT 5.0) AppleWebKit/5342 (KHTML, like Gecko) Chrome/13.0.854.0 Safari/5342
fake.linux_processor() # i686
fake.mac_platform_token() # Macintosh; Intel Mac OS X 10_8_1
fake.safari() # Mozilla/5.0 (Windows; U; Windows NT 5.01) AppleWebKit/531. 13.4 (KHTML, like Gecko) Version/5.0.1 Safari/531.13.4