Language fr_FR¶
faker.providers.address¶
fake.address() # chemin de Lombard 24 003 Berger-sur-Lelievre
fake.latitude() # -71.262886
fake.department_number() # 2B
fake.street_name() # boulevard Renée Schmitt
fake.department() # (u'74', u'Haute-Savoie')
fake.department_name() # Meurthe-et-Moselle
fake.street_address() # 2, boulevard Leger
fake.postcode() # 61876
fake.longitude() # -114.033475
fake.country() # Érythrée
fake.street_prefix() # rue
fake.street_suffix() # Street
fake.geo_coordinate(center=None, radius=0.001) # 9.591217
fake.city_suffix() # nec
fake.building_number() # 10
fake.region() # Lorraine
fake.city() # Mace-les-Bains
faker.providers.barcode¶
fake.ean(length=13) # 6661654981141
fake.ean13() # 8832580420891
fake.ean8() # 75479626
faker.providers.color¶
fake.rgb_css_color() # rgb(238,118,207)
fake.color_name() # BlueViolet
fake.rgb_color_list() # (97, 130, 88)
fake.rgb_color() # 171,243,130
fake.safe_hex_color() # #ffdd00
fake.safe_color_name() # black
fake.hex_color() # #7608ff
faker.providers.company¶
fake.company() # Duval
fake.company_suffix() # SA
fake.catch_phrase_verb() # de concrétiser vos projets
fake.catch_phrase() # L'avantage de changer plus facilement
fake.catch_phrase_noun() # le plaisir
fake.siren() # 544 453 743
fake.siret(max_sequential_digits=2) # 603 256 528 00048
fake.catch_phrase_attribute() # de manière efficace
faker.providers.credit_card¶
fake.credit_card_security_code(card_type=None) # 508
fake.credit_card_full(card_type=None, validate=False, max_check=10) # Voyager Rémy Bodin 869953666356829 05/18 CVC: 833
fake.credit_card_expire(start="now", end="+10y", date_format="%m/%y") # 03/23
fake.credit_card_number(card_type=None, validate=False, max_check=10) # 214953486757372
fake.credit_card_provider(card_type=None) # VISA 13 digit
faker.providers.currency¶
fake.currency_code() # MMK
faker.providers.date_time¶
fake.date_time_ad() # 1138-09-11 02:27:56
fake.month() # 08
fake.am_pm() # AM
fake.iso8601() # 1974-10-27T14:23:22
fake.date_time_this_century() # 2015-05-03 11:06:59
fake.date_time() # 2008-12-14 06:06:12
fake.month_name() # December
fake.date_time_this_month() # 2016-03-02 14:19:12
fake.date_time_this_decade() # 2014-11-13 00:44:50
fake.day_of_week() # Sunday
fake.day_of_month() # 22
fake.time(pattern="%H:%M:%S") # 03:06:09
fake.date_time_between(start_date="-30y", end_date="now") # 2000-12-25 19:48:09
fake.unix_time() # 1037089259
fake.date_time_this_year() # 2016-03-14 08:15:03
fake.timezone() # Asia/Dubai
fake.century() # X
fake.date(pattern="%Y-%m-%d") # 2014-03-05
fake.year() # 1980
faker.providers.file¶
fake.mime_type(category=None) # text/xml
faker.providers.internet¶
fake.ipv4() # 153.191.159.38
fake.url() # http://barbe.com/
fake.company_email() # aimee89@grenier.com
fake.uri() # http://www.ruiz.com/wp-content/tag/explore/faq.php
fake.domain_word(*args, **kwargs) # lopes
fake.image_url(width=None, height=None) # http://www.lorempixum.com/206/488
fake.tld() # net
fake.free_email() # emile.michaud@yahoo.com
fake.slug(*args, **kwargs) # doloribus-deserunt
fake.free_email_domain() # yahoo.com
fake.domain_name() # fabre.com
fake.uri_extension() # .htm
fake.ipv6() # 89c9:5770:d45a:b725:b0e7:1734:6fcd:a554
fake.safe_email() # renee.lebrun@example.com
fake.user_name(*args, **kwargs) # mendes.eric
fake.uri_path(deep=None) # wp-content
fake.email() # scourtois@gmail.com
fake.uri_page() # category
fake.mac_address() # 7b:be:4e:53:7b:57
faker.providers.job¶
fake.job() # Nutritional therapist
faker.providers.lorem¶
fake.text(max_nb_chars=200) # Vel qui quis accusamus repellendus earum. Quibusdam quam a ut incidunt et et. Ea eos praesentium velit velit inventor e distinctio.
fake.sentence(nb_words=6, variable_nb_words=True) # Et eum quo quibusdam facilis deleniti sunt qui rem.
fake.word() # dignissimos
fake.paragraphs(nb=3) # [u'Quis voluptatibus expedita eaque provident. Perferendis itaque veniam nam vitae. Architecto excepturi pariatur vo luptas expedita. Et recusandae nemo ut nostrum.', u'Qui vo luptas et ad consequatur dolorem dolor. Possimus inventore deleniti voluptatem. Ullam enim voluptatum quia.', u'Pari atur sed saepe non odio. Autem nesciunt non illum laborum magnam unde provident laborum. Sint totam quibusdam vel vo luptatem.']
fake.words(nb=3) # [u'fugit', u'voluptatem', u'natus']
fake.paragraph(nb_sentences=3, variable_nb_sentences=True) # Voluptatum eaque error deserunt incidunt ut aspernatur. Do lores nihil eius rerum ipsa non. Libero possimus dolorem n atus dolor qui architecto dolorem. Dolorem fugiat delectus ullam et nobis.
fake.sentences(nb=3) # [u'Occaecati modi ipsa exercitationem quam quaerat corpori s nam.', u'Expedita eum dolorem amet explicabo.', u'Conseq uatur sit et non distinctio voluptatem molestiae iure.']
faker.providers.misc¶
fake.password(length=10, special_chars=True, digits=True, upper_case=True, lower_case=True) # z%KlkgG#A)
fake.locale() # pt_NA
fake.md5(raw_output=False) # 1572e95cdd20084b5b13d89eea9f1297
fake.sha1(raw_output=False) # 1bfb1b801ac3c1a55746219e7e7c80efe6b37681
fake.null_boolean() # False
fake.sha256(raw_output=False) # a5755d9420c9d95a170f0de01f5e0968b39a3b32bd75ed7c9c7f2c70fd 8363a1
fake.country_code() # BI
fake.language_code() # el
fake.boolean(chance_of_getting_true=50) # True
faker.providers.person¶
fake.last_name_male() # Sanchez
fake.name_female() # Benoît Garnier
fake.prefix_male() # de
fake.prefix() # de la
fake.name() # Gabriel Laurent
fake.name_male() # Odette Delaunay-Hubert
fake.first_name() # Laurence
fake.first_name_male() # Manon
fake.first_name_female() # François
fake.last_name_female() # Raymond
fake.last_name() # Bousquet
fake.prefix_female() # de la
faker.providers.profile¶
fake.profile(fields=[]) # {'website': [u'http://www.allard.biz/', u'http://www.de.in fo/'], 'username': u'bouchet.eugene', 'name': u'St\xe9phan ie Leger', 'blood_group': '0-', 'residence': u'9, chemin d e Picard\n10700 Berger', 'company': u'Bonnet', 'address': u'3, rue Cousin\n34 020 Nguyen', 'birthdate': '2011-09-20' , 'sex': 'F', 'job': 'Administrator', 'ssn': u'549-15-1439 ', 'current_location': (Decimal('-69.4255765'), Decimal('1 01.015878')), 'mail': u'eleonore34@gmail.com'}
fake.simple_profile() # {'username': u'thomas91', 'name': u'Philippe Dumas', 'birt hdate': '1982-08-15', 'sex': 'M', 'address': u'rue de Leli evre\n20 470 MorinBourg', 'mail': u'alfred.bonneau@hotmail .com'}
faker.providers.python¶
fake.pyiterable(nb_elements=10, variable_nb_elements=True, *value_types) # (u'Et ab libero.', datetime(2001, 1, 28, 15, 56, 13), u'ht tp://www.michel.com/register/', u'Harum libero ut est.', d atetime(1996, 8, 27, 23, 40, 13), 9224, Decimal('11.425706 9568'), -5.621, u'Nihil nihil quia.', u'Nemo et in maxime. ', u'Non tenetur qui.', u'http://masson.com/')
fake.pystr(max_chars=20) # Non quia.
fake.pyfloat(left_digits=None, right_digits=None, positive=False) # -6827063276.0
fake.pystruct(count=10, *value_types) # ([4.86132502, 7998, -4678.9780757633, u'Laudantium minus.' , u'Asperiores impedit.', 5563, u'Aut magnam ut.', 1450, u 'http://meunier.com/', u'Consectetur.'], {u'recusandae': u 'Nulla dolores id.', u'ipsam': u'Vel magnam.', u'consectet ur': u'Id rerum ipsum.', u'aut': u'Eum aut hic et.', u'vol uptatem': 1723, u'qui': Decimal('32506861.1206'), u'et': d atetime(1990, 2, 10, 13, 19, 7), u'delectus': 883525629.9, u'cupiditate': u'Est nihil est aut.', u'omnis': 1512}, {u 'reprehenderit': {4: 4791113971.6, 5: [u'Iusto in.', u'Nob is vitae dolorem.', Decimal('-823.2433904')], 6: {4: u'htt p://julien.net/homepage.htm', 5: u'Sint enim modi.', 6: [2 438, u'Consectetur iure ut.']}}, u'adipisci': {3: u'Explic abo eum.', 4: [7787, u'Quia sunt.', u'meunier.frederic@hot mail.com'], 5: {3: datetime(1996, 6, 17, 9, 49, 1), 4: u'E um dignissimos ut.', 5: [u'Non est voluptatum.', Decimal(' 924.66389384')]}}, u'saepe': {5: Decimal('0.0'), 6: [u'Vit ae occaecati.', u'Quaerat dolorem.', 8514], 7: {5: u'Assum enda id est.', 6: u'http://www.gonzalez.biz/main.jsp', 7: [u'http://martin.com/register.html', u'Aut aut aperiam.']} }, u'nihil': {9: u'http://www.roy.com/posts/category/', 10 : [2342, -576319440285.64, u'stephanie66@alves.com'], 11: {9: 5083, 10: 1937, 11: [u'Architecto ut id.', u'Ratione a spernatur.']}}, u'incidunt': {8: [Decimal('-799911.2'), u' Ducimus velit fugit.', u'http://www.roussel.com/categories /explore/list/author.html'], 9: {8: 5721, 9: [-75576487071 3488.0, u'Amet eos alias.'], 7: u'Debitis aut non.'}, 7: 6 254}, u'aut': {1: u'Et vel dolore.', 2: [u'http://www.bret on.com/posts/wp-content/category/', 5797.632, Decimal('0.5 94384454275')], 3: {1: Decimal('18.3287914679'), 2: Decima l('61018.8686428'), 3: [298594169817624.0, u'Est tempore.' ]}}, u'deleniti': {8: u'Mollitia.', 9: [u'sauvage.susanne@ yahoo.com', u'Quae accusantium ut.', u'Voluptatem sunt.'], 10: {8: u'Ut et nobis impedit.', 9: u'Dolore labore.', 10 : [3692, u'Perferendis in.']}}, u'iusto': {8: {8: [u'mauri ce.gilles@yahoo.com', u'Odit et nihil sint.'], 6: u'http:/ /boulay.net/register/', 7: 4213}, 6: Decimal('26922.197392 '), 7: [-8.92, 8977, 6601]}, u'qui': {0: u'Voluptates.', 1 : [u'Totam tenetur earum.', -97.757754396202, u'Aut unde o fficia.'], 2: {0: u'Sunt alias.', 1: u'Aut quis odit.', 2: [u'Dolorem similique.', 506]}}, u'earum': {2: u'Molestiae non aut.', 3: [u'Porro at asperiores.', datetime(1996, 1, 22, 9, 14, 32), 3435], 4: {2: -295671315840552.0, 3: u'ht tp://www.schneider.biz/', 4: [u'Est non itaque illo.', u'O mnis quis dolorum.']}}})
fake.pydecimal(left_digits=None, right_digits=None, positive=False) # -52290.0
fake.pylist(nb_elements=10, variable_nb_elements=True, *value_types) # [5817, 5700, u'Voluptatem hic sunt.', u'Quia iure impedit. ', 8088, 1360, u'Quasi dolor illum.', u'Nulla ipsum autem. ', u'bailly.aime@yahoo.com']
fake.pytuple(nb_elements=10, variable_nb_elements=True, *value_types) # (5920, 8931, u'Nesciunt excepturi.', Decimal('7.0949129273 8E+14'), u'http://boutin.com/category/blog/main/index/', - 3883.6, u'Possimus autem.')
fake.pybool() # False
fake.pyset(nb_elements=10, variable_nb_elements=True, *value_types) # set([-3125429.25, u'Maxime quos commodi.', u'Quos dolorum error.', -95.9277, Decimal('942535473933'), 3406, u'henrie tte83@joly.net', u'http://chartier.com/index.html', 9402, u'Dolor consequuntur.', u'Neque iure nemo est.', u'Neque s ed fugit.'])
fake.pydict(nb_elements=10, variable_nb_elements=True, *value_types) # {u'non': u'Dignissimos soluta.', u'adipisci': u'Repellat d olorem.', u'voluptas': datetime(1983, 5, 18, 19, 33, 36), u'sint': u'wtessier@gmail.com', u'eos': u'sanchez.luce@yah oo.com', u'harum': 8297, u'dolorem': u'Doloremque omnis.', u'quia': u'http://menard.com/', u'autem': u'Aliquid archi tecto.'}
fake.pyint() # 5724
faker.providers.phone_number¶
fake.phone_number() # +33 5 78 83 69 04
faker.providers.ssn¶
fake.ssn() # 978-14-1454
faker.providers.user_agent¶
fake.mac_processor() # Intel
fake.firefox() # Mozilla/5.0 (X11; Linux x86_64; rv:1.9.6.20) Gecko/2010-12 -21 22:01:15 Firefox/3.6.5
fake.linux_platform_token() # X11; Linux x86_64
fake.opera() # Opera/8.45.(X11; Linux i686; en-US) Presto/2.9.167 Version /10.00
fake.windows_platform_token() # Windows NT 6.1
fake.internet_explorer() # Mozilla/5.0 (compatible; MSIE 6.0; Windows CE; Trident/5.0 )
fake.user_agent() # Mozilla/5.0 (Windows 98; en-US; rv:1.9.0.20) Gecko/2013-06 -15 21:44:59 Firefox/10.0
fake.chrome() # Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/5352 (KHTML, l ike Gecko) Chrome/14.0.812.0 Safari/5352
fake.linux_processor() # i686
fake.mac_platform_token() # Macintosh; Intel Mac OS X 10_5_4
fake.safari() # Mozilla/5.0 (Macintosh; PPC Mac OS X 10_6_3 rv:5.0; en-US) AppleWebKit/534.4.5 (KHTML, like Gecko) Version/4.0 Safar i/534.4.5