Language fr_FR¶
faker.providers.address
¶
fake.latitude()
# Decimal('7.5288095')
fake.department_number()
# u'74'
fake.street_name()
# u'avenue Marine Dijoux'
fake.address()
# u'63, avenue de Vaillant\n00962 LebonVille'
fake.department_name()
# u'Vend\xe9e'
fake.street_address()
# u'55, chemin de Pruvost'
fake.postcode()
# u'48 387'
fake.country_code(representation="alpha-2")
# u'GT'
fake.longitude()
# Decimal('-19.473615')
fake.country()
# u'Tadjikistan'
fake.geo_coordinate(center=None, radius=0.001)
# Decimal('-176.378471')
fake.street_prefix()
# u'avenue'
fake.street_suffix()
# u'Street'
fake.city_prefix()
# u'Sainte'
fake.city_suffix()
# u'nec'
fake.building_number()
# u'419'
fake.region()
# u'Mayotte'
fake.city()
# u'Fischer'
fake.department()
# (u'60', u'Oise')
faker.providers.automotive
¶
fake.license_plate()
# u'Q56-28H'
faker.providers.bank
¶
fake.bban()
# '113998016196004080310583'
fake.bank_country()
# 'FR'
fake.iban()
# 'FR11188979980929879242035404'
faker.providers.barcode
¶
fake.ean(length=13)
# u'4217539952366'
fake.ean13()
# u'4420577175462'
fake.ean8()
# u'95372464'
faker.providers.color
¶
fake.rgb_css_color()
# u'rgb(200,5,20)'
fake.color_name()
# u'Rouge fonc\xe9'
fake.rgb_color()
# u'245,30,195'
fake.safe_hex_color()
# u'#77dd00'
fake.safe_color_name()
# u'argent'
fake.hex_color()
# u'#d079bd'
faker.providers.company
¶
fake.company()
# u'Descamps'
fake.company_suffix()
# u'SARL'
fake.catch_phrase_verb()
# u'de changer'
fake.catch_phrase()
# u"Le confort d'\xe9voluer autrement"
fake.bs()
# u'monetize viral experiences'
fake.catch_phrase_noun()
# u"l'avantage"
fake.siren()
# u'814 412 194'
fake.siret(max_sequential_digits=2)
# u'690 447 165 00460'
fake.catch_phrase_attribute()
# u'sans soucis'
faker.providers.credit_card
¶
fake.credit_card_security_code(card_type=None)
# u'679'
fake.credit_card_provider(card_type=None)
# u'VISA 19 digit'
fake.credit_card_full(card_type=None)
# u'Discover\nSuzanne Courtois\n6011513013630781 03/22\nCVC: 299\n'
fake.credit_card_expire(start="now", end="+10y", date_format="%m/%y")
# '02/21'
fake.credit_card_number(card_type=None)
# u'30097130251770'
faker.providers.currency
¶
fake.cryptocurrency_code()
# 'AUR'
fake.currency_code()
# 'VND'
fake.currency_name()
# 'Algerian dinar'
fake.cryptocurrency_name()
# 'Dash'
fake.cryptocurrency()
# ('DASH', 'Dash')
fake.currency()
# ('MXN', 'Mexican peso')
faker.providers.date_time
¶
fake.future_datetime(end_date="+30d", tzinfo=None)
# datetime.datetime(2018, 8, 20, 15, 51, 50)
fake.time_series(start_date="-30d", end_date="now", precision=None, distrib=None, tzinfo=None)
# <generator object time_series at 0xffffa9f77140>
fake.date_between_dates(date_start=None, date_end=None)
# datetime.date(2018, 8, 16)
fake.date_time_between(start_date="-30y", end_date="now", tzinfo=None)
# datetime.datetime(2008, 7, 22, 11, 22, 44)
fake.date_this_decade(before_today=True, after_today=False)
# datetime.date(2014, 12, 11)
fake.date_time_this_month(before_now=True, after_now=False, tzinfo=None)
# datetime.datetime(2018, 8, 1, 4, 11, 11)
fake.past_date(start_date="-30d", tzinfo=None)
# datetime.date(2018, 7, 28)
fake.day_of_week()
# u'Jeudi'
fake.date_time_this_decade(before_now=True, after_now=False, tzinfo=None)
# datetime.datetime(2015, 5, 4, 4, 56, 22)
fake.date_between(start_date="-30y", end_date="today")
# datetime.date(1993, 8, 22)
fake.date_time_this_century(before_now=True, after_now=False, tzinfo=None)
# datetime.datetime(2013, 11, 28, 17, 45, 54)
fake.date(pattern="%Y-%m-%d", end_datetime=None)
# '1993-11-06'
fake.am_pm()
# 'PM'
fake.date_time_between_dates(datetime_start=None, datetime_end=None, tzinfo=None)
# datetime.datetime(2018, 8, 16, 10, 58, 36)
fake.date_object(end_datetime=None)
# datetime.date(1978, 1, 22)
fake.date_this_year(before_today=True, after_today=False)
# datetime.date(2018, 3, 15)
fake.iso8601(tzinfo=None, end_datetime=None)
# '2013-10-17T19:46:36'
fake.future_date(end_date="+30d", tzinfo=None)
# datetime.date(2018, 8, 24)
fake.date_this_century(before_today=True, after_today=False)
# datetime.date(2006, 3, 29)
fake.month()
# '04'
fake.year()
# '1980'
fake.day_of_month()
# '26'
fake.unix_time(end_datetime=None, start_datetime=None)
# 1419485132
fake.timezone()
# u'Asia/Singapore'
fake.century()
# u'IX'
fake.date_of_birth(tzinfo=None, minimum_age=0, maximum_age=115)
# datetime.date(1983, 3, 31)
fake.time_object(end_datetime=None)
# datetime.time(14, 56, 58)
fake.date_time_this_year(before_now=True, after_now=False, tzinfo=None)
# datetime.datetime(2018, 8, 13, 4, 3, 31)
fake.date_time(tzinfo=None, end_datetime=None)
# datetime.datetime(2008, 5, 21, 13, 18, 58)
fake.time(pattern="%H:%M:%S", end_datetime=None)
# '15:05:20'
fake.date_this_month(before_today=True, after_today=False)
# datetime.date(2018, 8, 8)
fake.past_datetime(start_date="-30d", tzinfo=None)
# datetime.datetime(2018, 8, 10, 21, 21, 1)
fake.month_name()
# u'D\xe9cembre'
fake.date_time_ad(tzinfo=None, end_datetime=None, start_datetime=None)
# datetime.datetime(314, 8, 28, 13, 59, 53)
fake.time_delta(end_datetime=None)
# datetime.timedelta(10348, 34625)
faker.providers.file
¶
fake.unix_device(prefix=None)
# u'/dev/sdr'
fake.mime_type(category=None)
# u'image/tiff'
fake.file_path(depth=1, category=None, extension=None)
# u'/a/eveniet.ppt'
fake.unix_partition(prefix=None)
# u'/dev/sdl0'
fake.file_name(category=None, extension=None)
# u'excepturi.key'
fake.file_extension(category=None)
# u'mp3'
faker.providers.internet
¶
fake.ascii_free_email(*args, **kwargs)
# 'aguichard@tele2.fr'
fake.image_url(width=None, height=None)
# u'https://www.lorempixel.com/435/446'
fake.tld()
# u'com'
fake.email(*args, **kwargs)
# u'patrickbaudry@hotmail.fr'
fake.url(schemes=None)
# u'http://hoarau.com/'
fake.ipv4_private(network=False, address_class=None)
# '192.168.135.75'
fake.user_name(*args, **kwargs)
# u'yvesmonnier'
fake.uri_extension()
# u'.asp'
fake.uri_page()
# u'home'
fake.free_email_domain(*args, **kwargs)
# u'sfr.fr'
fake.safe_email(*args, **kwargs)
# u'olefevre@example.com'
fake.ascii_email(*args, **kwargs)
# 'adelaidebecker@ifrance.com'
fake.ipv4_network_class()
# u'b'
fake.ipv4_public(network=False, address_class=None)
# '8.27.150.59'
fake.ascii_company_email(*args, **kwargs)
# 'arnaude32@voisin.com'
fake.domain_name(*args, **kwargs)
# u'gonzalez.fr'
fake.ipv4(network=False, address_class=None, private=None)
# '234.14.156.119'
fake.domain_word(*args, **kwargs)
# u'mercier'
fake.slug(*args, **kwargs)
# u'cupiditate-beatae'
fake.uri_path(deep=None)
# u'blog/app'
fake.company_email(*args, **kwargs)
# u'marthe84@gonzalez.com'
fake.uri()
# u'https://mahe.com/category/tags/tag/index/'
fake.ipv6(network=False)
# '6b95:3512:782e:1e65:7af0:816e:e86a:e8ee'
fake.free_email(*args, **kwargs)
# u'mmarion@orange.fr'
fake.ascii_safe_email(*args, **kwargs)
# 'helene16@example.net'
fake.mac_address()
# u'e6:7b:6c:1e:36:81'
faker.providers.isbn
¶
fake.isbn10(separator="-")
# u'0-585-54810-2'
fake.isbn13(separator="-")
# u'978-1-9795-7981-0'
faker.providers.job
¶
fake.job()
# u'Carrossier '
faker.providers.lorem
¶
fake.text(max_nb_chars=200, ext_word_list=None)
# u'Asperiores sed dolorem tempora. Quia voluptatum voluptas dignissimos.'
fake.paragraphs(nb=3, ext_word_list=None)
# [ u'Ad esse dolor eaque nesciunt. Corrupti temporibus itaque laudantium mollitia itaque repellendus nam.',
# u'Explicabo fuga voluptates est. Corporis facere nisi deserunt explicabo voluptas.',
# u'A rem voluptatum aut quia pariatur iusto. Vitae debitis eius ad rerum corrupti. Omnis ipsa saepe culpa nihil.']
fake.words(nb=3, ext_word_list=None)
# [u'rerum', u'est', u'quisquam']
fake.sentences(nb=3, ext_word_list=None)
# [ u'Explicabo facilis eum reiciendis laudantium.',
# u'Repudiandae perferendis qui architecto.',
# u'Alias ratione alias dicta.']
fake.word(ext_word_list=None)
# u'numquam'
fake.paragraph(nb_sentences=3, variable_nb_sentences=True, ext_word_list=None)
# u'Expedita dolorum accusamus earum dolores nesciunt. Maxime debitis cumque.'
fake.sentence(nb_words=6, variable_nb_words=True, ext_word_list=None)
# u'Veritatis tempore voluptas.'
faker.providers.misc
¶
fake.password(length=10, special_chars=True, digits=True, upper_case=True, lower_case=True)
# u'@(91VhLs_E'
fake.locale()
# u'ne_NP'
fake.binary(length=1048576)
# bytearray(b'S\xce S;\x9d\x88\xd4>\xfb\x98L\xf2\x9c\xe14\xd3\xa32"\xa8\xcb^\xace\xeat\xfb\xae?=%\x19m;W\xc1\xe9\x7f\xd1\xfeb\xad\xfd|\x86\xf6\x1f\x85\xbf\xa4\xbcD\xc3\xe5}"\x99\x9b(\xdd\xecj\x84\x849O\x96[#\x11\xb4\xec\xbe\xf0-\x14 \xf0\xf1(q~\x1e\xb0\x94T\x92\x12wz;\x1d\xcc\xae\xe0\xcc{\x9f\x85\xb0\n\xee\x81\x05U\x95\x98\x012\x13Q\x00c\xb6\xf0W\x96\x7f@\x92\xcc\xa0&\xe5\r\xfa\xca\xd9-sX\xe0\xc5\xe4\xd8;q\x92\x08}\x87\xbf+\x90\x11s\x8d\xaf\x19\xd3\xf7\xc0e+\x96\xc5\x97\xce\x184\xc48P\x9d_\xea\x86\x05x!\xb5\xd3\x9b\x9d\x0e%)\xd6\x94\x8d\x01\xaf\xbe\x88\xdd\x0c\xe4xX7f\x1a\x9aR\xff\x90\xfb32\xacw\xc0\xb8$\xf5\xb9\xb3qmkU\xcd c\xec\x06\x94$a}!\x1e\xd9iy\xf4\xf2d< \xdd\x10\xbaTC\x91\xc2A\x90\xa7\xa7\x02v\xb9I\xb1/\xd2R\x00\x13a@?\x0bU\xea\xe8I\xdfS\xf8\xd8\x1cq\xef\xeb\x19\xd4\x05\xa1\xfa\xc5\xd5\xf2\xb5Y\x0c\x84J\xe2\xe4:\x8a\xf91\xc3\xd9\x88\xbc\xc6TB$\xf9\xe9v\x13\xfdgg\xeb\x1a~4\x92k\xfbe,v\xe9=\xf7F\xe1\xac\x8cOn\xc0\x13\xe3\xe3\x92\xb4\xea\xd7\x0f\x08\xf1\xa3\x90\x1b\xde\x7f\xa8\x1fz\x98E\x9fX.\xf3\xe4\xd1\t\xb1\xce\xb0\x07\xc5lx\xff\x8d!X\xcf\xa9\x8e\nh\xc5\xaaD\xf4\x17\x8d\x08\xf2\xc3\xe6B\x1c\xa6\xfax\xdf\xe9\xc6\xa8\xa7\xc8\xd2==N9X\xd0\xaa\xd1\x00I\x80\xe5\xee\xe2(\xd42\x98T\rkN2\xddu\xff\x1bU9\x98B\x93\xdc\x00O\xd9\xfd\x128=\x15\xf0gh \xfeO\x9a\xdb\xc1\x10\xa0\x88\x8c0\xa66\x05\xe9\xa0\xfaa\xb3\'\xa8\xb3\xa4j\x1f\xcf\xd1Y\x18\x9a 3];U\x0c\xc8\x03)\xe58";\xbe-\xf8~3\xc87?\xce\xf0r}R\xc7o\xe1\xcd\xa3\xd9P\xc3\n\xc8J\x86\x0e\x9f\r<\xc5\xdf\x0e\x1a\xd7o\xdf\xf8\xa3\xbdp\xae\xc5]\xefL]\xd3u\x873\x7fIC\xe9\x18\x1a\xb9P\xfa\xc4%|\x15U\x85\x94\xcd\xee0\x89\x0b\x87\xe7[\xed\xe7#\xa6o\xe5\x8a\xfe\x03\x19b0%h\xe6\xb3(\x94\xa4*\xce\xe7\xd9\x05~\x01c5\xd3\x827%C\xb5\x97TT\xdbJ\x897\x11\xbd\x9c\xef\xd9j4\xbbi\xadx\x13b\xdf\x87\xc4l\xd4\xf6\x1a\x15\xe5\x88\x11o\xf4\xee\x82\xfdc7\xfc\x9444<\xa8j\xd9\xd1\xbcB\x03\x1c&\xdf\xee\xcaBW\xff\xb0\xcd\xbc\xb0\xc5\x06\x1f\xa9\xaa\xb1\xda\xf7\xbb\x16\xc4\xe8\x1b\x83\xeb\x12\xc5\xc2\x80}\xf4R*\xaab6l\xb7)\xd8\x00\xa0\xa0\xea\xc2b:9\xc3\xe9\xff\x87-\x84!\xab\xa0\x98u\x11s\xfc\xde\xfc\xb7\xf3IK\xa8\x16\xec\x04\xaf\xc9\x0ffct\x892\x11\xc3\x8cURA\x03!\x84\x11\xccHy\xb6\rylh\xdf\xdc@\\\x81\xe8pn\xb6\r;\xb7Kq\xf1\x072\x88\xf3\xe1\xd2\x9f\xfa \xca\xe2D\x88gS-\x89\xf3\x041\x08q\xe7p/Zbtp\x00M\xe2\xec\xda\xc8\xe6N3\xe9 \xa3}E\xef8r\x06\xce\xd0\x81^\x1bV\x03\xee*\xa4\xbc\x85\xfa=\xd5&n\xd0\xfd\x18[\x16,\xf0k2x\xd0\x18\xe5\t\x0b\xb9\x05\x08\xf8\x1d\x8c\x15#\xf1,\xc6\xf3y\x00\x1987\x15\x0cp\xdb\xb2-\x88^\x96\x0bd\x82\x9f\xfc&J\xba\xf1;\x1e-\x89nJ\x81>\x84\xf1R\xea\xfa#\x0e\x120\x80\x05W\xd6O\x06\x12\xb3\xda\x1b\xa9\xab\xbam\xfdD)ME\x82\xd23V\xbf4\'\xb6\xbeS7Q\x16;\xd4\xa67k-\x83VNl*\xef\x80\xbb7\xee\xff\xbb\x8a\x93\xe18U\xf1\xc1\xf0\xdb\xb2nmA\xd2\xa7\x0f\xe6K\x16_\xf2\xf8\x90\x10}\x17V\xa31\xd0cZD\xd2\xd2\xb5eg\x1a\xa2\xd9h\xd5\x00\xf6\x16\xc5-g\x07?uX\xf1J*\x05g\xcfh\x08\xad[\x13k\xf7\x13\x85JR\xa0HW\xaf\x02\x0f\xbe\x93\xba\x85\x11\xf9P\xd0\xad\xf1m\xea\x97\xfaKw\xa1\x1bs\x19')
fake.md5(raw_output=False)
# '99b8ed699b0164587235534472abba72'
fake.sha1(raw_output=False)
# '0e11360de5d6788930518c28d3d25dd86c9f34cb'
fake.null_boolean()
# False
fake.sha256(raw_output=False)
# '15a353add06428b4cfba8d31cb2e808b284105ce7cea629579b57a8506d0288e'
fake.uuid4()
# '20e993f8-cac6-5f9f-a199-bfdcb282f6f9'
fake.language_code()
# u'nhn'
fake.boolean(chance_of_getting_true=50)
# False
faker.providers.person
¶
fake.last_name_male()
# u'Techer'
fake.name_female()
# u'Agn\xe8s Gerard'
fake.prefix_male()
# u'Le'
fake.prefix()
# u'du'
fake.name()
# u'Adrien-Bertrand Fernandez'
fake.suffix_female()
# u''
fake.name_male()
# u'Alain Le Goff'
fake.first_name()
# u'Paul'
fake.suffix_male()
# u''
fake.suffix()
# u''
fake.first_name_male()
# u'Luc'
fake.first_name_female()
# u'Suzanne'
fake.last_name_female()
# u'Hernandez'
fake.last_name()
# u'Blanchet'
fake.prefix_female()
# u'Le'
faker.providers.phone_number
¶
fake.phone_number()
# u'0843332616'
fake.msisdn()
# '0595125990353'
faker.providers.profile
¶
fake.simple_profile(sex=None)
# { 'address': u'11, rue Aim\xe9e Grondin\n69946 Lopez-sur-Gillet',
# 'birthdate': datetime.date(1917, 11, 6),
# 'mail': u'virginieprevost@live.com',
# 'name': u'Guy Petitjean',
# 'sex': 'M',
# 'username': u'joseph19'}
fake.profile(fields=None, sex=None)
# { 'address': u'80, rue de Richard\n23 403 Gomez',
# 'birthdate': datetime.date(1974, 6, 17),
# 'blood_group': 'AB+',
# 'company': u'Duval',
# 'current_location': (Decimal('28.2503875'), Decimal('-123.092913')),
# 'job': u'Cadreur',
# 'mail': u'alextessier@yahoo.fr',
# 'name': u'Franck Coulon',
# 'residence': u'56, rue de Chretien\n69 461 Lombard',
# 'sex': 'M',
# 'ssn': u'030-40-7037',
# 'username': u'barremathilde',
# 'website': [ u'https://remy.org/',
# u'http://www.samson.fr/',
# u'http://olivier.fr/',
# u'https://legrand.org/']}
faker.providers.python
¶
fake.pyiterable(nb_elements=10, variable_nb_elements=True, *value_types)
# [ u'PfqamnZDOmFUHIFmOcet',
# 4050,
# u'BtkiIBLARmDBAkCaFPUm',
# 4676403.8028699,
# datetime.datetime(2005, 4, 23, 11, 1, 14),
# u'xnLmjQiZJyTZnAJXFBQw',
# 8657,
# 218,
# 40168576.0,
# 2537,
# -287597141.9206,
# datetime.datetime(2005, 4, 8, 6, 39, 28)]
fake.pystr(min_chars=None, max_chars=20)
# u'nUxjFifLufKrPBahFWfx'
fake.pystruct(count=10, *value_types)
# ( [ u'sRdYXFprQHrwUkluGeJz',
# u'dos-santosdanielle@mace.fr',
# u'gMkZEzOnhZKqjSToHQWr',
# Decimal('-4392679543.76'),
# u'rkFogEmGuCDJbbBcgRvS',
# 2591,
# u'uthomas@jacquet.com',
# 5887,
# u'OSOhQIsAUfIUmQoFrjEU',
# 289595430969152.0],
# { u'asperiores': 32696817.21,
# u'blanditiis': u'LsCkBRnEjofKoRNMiOlE',
# u'dicta': u'https://www.robin.fr/about/',
# u'ipsa': u'ZIZvBmpBCRFOsXnpVMyW',
# u'maxime': u'GHcHZTmBIIonBmVzRZlD',
# u'molestias': u'hfLZSLMjuoGWCRQoEyFw',
# u'quos': 112,
# u'sunt': 6710,
# u'tempore': Decimal('78947263.0'),
# u'veniam': u'tocVeThDDEVwIlJwFyzN'},
# { u'dignissimos': { 7: u'tceDFLrXbdvehaaLsjaw',
# 8: [ u'vWzNqRxMQqPxLDFNtcpG',
# 52188266076.6,
# u'OfCWbWBEMjeJDYGrMDtC'],
# 9: { 7: u'AJXnhhrUxrbtTLkvUhOt',
# 8: 7994,
# 9: [ datetime.datetime(1983, 9, 11, 18, 37, 53),
# u'boyerjulie@orange.fr']}},
# u'incidunt': { 3: u'TDHCXMYJPAOLUfeUjSMd',
# 4: [ u'nWtYOGKrApeJYdfKrhGB',
# 5806,
# u'FFNkgwASrdLfSskghJwy'],
# 5: { 3: u'michellefournier@tanguy.com',
# 4: u'HBcxSIlNAfUDpsroZBVg',
# 5: [ u'dpzJAroPAqwIUvipvkXS',
# u'KETPWUYkkGfPyiKnnFiF']}},
# u'nulla': { 1: u'hgWPKdrtVyZXZHdZPpCy',
# 2: [ 8422,
# datetime.datetime(2004, 8, 20, 22, 36, 19),
# u'OMFFjrgBVPtsHlJcEBEq'],
# 3: { 1: u'https://www.alves.fr/',
# 2: 596482306606311.0,
# 3: [8549, u'NPWkyPGpzDfRylSnxbOg']}},
# u'pariatur': { 8: u'https://tessier.com/home/',
# 9: [ 3880,
# u'https://levy.net/search/explore/privacy.php',
# u'tncPqIHZlsVEKcsSClCU'],
# 10: { 8: u'https://mace.com/category/posts/login.php',
# 9: 9.0,
# 10: [ u'ablanchet@voila.fr',
# Decimal('71379757950.6')]}},
# u'quisquam': { 0: u'nmaillard@yahoo.fr',
# 1: [ u'GqBeVbUUKLtUdUhtPVXO',
# u'CzFGKSIjdtEqlufuNkih',
# u'agathe88@voisin.fr'],
# 2: { 0: u'virginie94@tiscali.fr',
# 1: u'WBWHYrOWMoVZGTnxBGOz',
# 2: [Decimal('-6652418.712'), 9512]}},
# u'repudiandae': { 2: u'xavier99@ifrance.com',
# 3: [ u'http://www.auger.com/main.php',
# u'udSwbiiSTqLRwRFHpmYp',
# u'https://www.chevalier.com/tag/tags/category/search.htm'],
# 4: { 2: u'GFLzomVcQrMxcAgjWuwg',
# 3: datetime.datetime(2010, 9, 21, 14, 17, 16),
# 4: [u'MYYILXvmnzQmIWbBwhck', 3135]}},
# u'suscipit': { 6: u'yBMAhWntuGytmkJMxzLH',
# 7: [ -910690.3291,
# u'https://www.lucas.fr/about/',
# u'https://turpin.com/list/posts/faq/'],
# 8: { 6: u'https://www.allard.net/wp-content/index/',
# 7: u'HNHDiJNklzrOlFjZEPaD',
# 8: [ u'ccFPfwTfhHnJlXcHimKA',
# u'GmQSeXMBZtRcaaqCwnAW']}},
# u'temporibus': { 5: u'marcel57@lebrun.com',
# 6: [ u'http://blot.fr/index/',
# datetime.datetime(1983, 12, 3, 3, 8, 58),
# u'CHqmUTSurVhhXFTKTFyY'],
# 7: { 5: 689.512,
# 6: datetime.datetime(1989, 5, 6, 23, 37, 57),
# 7: [7026, -948831142.795676]}},
# u'vero': { 4: u'vmaillet@chauveau.fr',
# 5: [ Decimal('707838275.0'),
# Decimal('-7092.5344'),
# datetime.datetime(2003, 6, 1, 8, 12, 48)],
# 6: { 4: u'XSXZkQeMrSMFXCKlsHdr',
# 5: u'yPWZdOpUQLHgfcaaBwKF',
# 6: [ u'http://www.lopez.com/posts/blog/app/author/',
# 9207]}},
# u'voluptatibus': { 9: 7808,
# 10: [ 2028446680.9,
# u'RxuwZkeLRJLazdVXeVEQ',
# Decimal('-3.5900259192E+12')],
# 11: { 9: Decimal('-785.32'),
# 10: u'OWYDyLBYBnpuhsnEIYIc',
# 11: [ u'zvPJWVRtIbKucqMNDfAC',
# u'XAQnfEdEUzKLLlqBrGGj']}}})
fake.pyfloat(left_digits=None, right_digits=None, positive=False)
# 6849061.1
fake.pydecimal(left_digits=None, right_digits=None, positive=False)
# Decimal('3.12792961001E+12')
fake.pylist(nb_elements=10, variable_nb_elements=True, *value_types)
# [ 194,
# u'http://riviere.com/post/',
# u'http://leveque.net/tag/blog/main/privacy.php',
# u'YCTAFxjrpwFpKYPiWDcQ',
# 9558,
# 7082371587.0,
# 813,
# u'https://www.lopes.fr/posts/main/post/',
# u'AxHNwkytHyPmzWdqDIws']
fake.pytuple(nb_elements=10, variable_nb_elements=True, *value_types)
# ( u'http://bouvet.fr/index.asp',
# u'IGuGTkpJmpjHRJyrJXkA',
# u'EmVymmlIVJDkluIMXwap',
# 6091,
# 7106,
# u'TXswbdbbwzLaJESMAETW',
# u'BQyRhOKEDWErDrsUCOkT',
# 48547.499745034,
# datetime.datetime(2016, 1, 31, 4, 2, 32),
# u'valleejacqueline@wanadoo.fr',
# u'http://bertin.com/main/homepage.jsp')
fake.pybool()
# False
fake.pyset(nb_elements=10, variable_nb_elements=True, *value_types)
# set([u'https://riviere.org/', u'jhmykudLOwMlwfSGApzS', u'BYEykxendnQiQCFLzVhC', u'dgvpQvZqcplVxSEoRSyX', u'ZEGVgxSaAHuMWXggBcjo', Decimal('-8.3370219029E+12'), 8814, Decimal('-126.238183533'), Decimal('-3.90248701705E+14'), 3347, Decimal('0.172'), 8420, u'XGyznKNlWBwhuxoewKWd'])
fake.pydict(nb_elements=10, variable_nb_elements=True, *value_types)
# { u'accusamus': u'VhFQQjNoWVwPWBJxdvWy',
# u'ad': u'kogUuebniQCbnMEliYbv',
# u'alias': u'EdpeZtGvCAqBuHlWtppE',
# u'culpa': u'RAdQstZmzfMrKSeZSyhP',
# u'dolor': u'jhoarau@live.com',
# u'fugit': Decimal('95451.36775'),
# u'ipsam': u'http://chevallier.com/register/',
# u'iste': datetime.datetime(1988, 1, 31, 17, 15, 25),
# u'quod': u'http://robert.com/homepage.php',
# u'recusandae': u'otmifYvrzgzSBfpjxFVp',
# u'reiciendis': u'TBqFLNCmOKsgWuzSJtTG',
# u'soluta': Decimal('-5995134646.77'),
# u'tenetur': datetime.datetime(2006, 10, 3, 12, 56, 25)}
fake.pyint()
# 5786
faker.providers.ssn
¶
fake.ssn(taxpayer_identification_number_type="SSN")
# u'812-97-7114'
fake.ein()
# u'10-9876650'
fake.itin()
# u'942-95-5700'
faker.providers.user_agent
¶
fake.mac_processor()
# u'Intel'
fake.firefox()
# u'Mozilla/5.0 (Windows NT 6.1; pap-AN; rv:1.9.0.20) Gecko/2014-03-30 11:59:20 Firefox/5.0'
fake.linux_platform_token()
# u'X11; Linux i686'
fake.opera()
# u'Opera/8.18.(Windows NT 5.2; nl-BE) Presto/2.9.183 Version/11.00'
fake.windows_platform_token()
# u'Windows NT 5.01'
fake.internet_explorer()
# u'Mozilla/5.0 (compatible; MSIE 5.0; Windows NT 5.2; Trident/5.1)'
fake.user_agent()
# u'Mozilla/5.0 (compatible; MSIE 6.0; Windows 95; Trident/4.0)'
fake.linux_processor()
# u'i686'
fake.chrome(version_from=13, version_to=63, build_from=800, build_to=899)
# u'Mozilla/5.0 (Macintosh; PPC Mac OS X 10_5_0) AppleWebKit/5312 (KHTML, like Gecko) Chrome/36.0.846.0 Safari/5312'
fake.mac_platform_token()
# u'Macintosh; U; PPC Mac OS X 10_8_0'
fake.safari()
# u'Mozilla/5.0 (Windows; U; Windows 95) AppleWebKit/534.45.6 (KHTML, like Gecko) Version/5.0.3 Safari/534.45.6'