Language fr_CH¶
faker.providers.address
¶
fake.address()
# u'rue Ana Comte\n2228 Bouvier-des-Bois'
fake.latitude()
# Decimal('66.8213475')
fake.longitude()
# Decimal('159.558716')
fake.building_number()
# u'14'
fake.street_address()
# u'avenue Francillon 23'
fake.postcode()
# u'1209'
fake.street_name()
# u'rue de Coigny'
fake.canton_name()
# u'Zurich'
fake.country()
# u'Djibouti'
fake.geo_coordinate(center=None, radius=0.001)
# Decimal('-67.829074')
fake.street_prefix()
# u'chemin'
fake.street_suffix()
# u'Street'
fake.city_prefix()
# u'Saint '
fake.city_suffix()
# u' am Rhein'
fake.canton()
# (u'ZG', u'Zoug')
fake.country_code()
# u'IN'
fake.city()
# u'Saint Comte'
fake.canton_code()
# u'JU'
faker.providers.automotive
¶
fake.license_plate()
# u'1H J1108'
faker.providers.barcode
¶
fake.ean(length=13)
# u'9683159401808'
fake.ean13()
# u'0442560245697'
fake.ean8()
# u'19539928'
faker.providers.color
¶
fake.rgb_css_color()
# u'rgb(32,88,253)'
fake.color_name()
# u'DarkSlateGray'
fake.rgb_color()
# u'7,176,66'
fake.safe_hex_color()
# u'#cc0000'
fake.safe_color_name()
# u'aqua'
fake.hex_color()
# u'#562909'
faker.providers.company
¶
fake.ide()
# u'CHE-065.712.399'
fake.uid()
# u'CHE-324.659.801'
fake.company()
# u'Pellet'
fake.company_suffix()
# u'S\xe0rl.'
fake.catch_phrase_verb()
# u'de louer'
fake.catch_phrase()
# u'Le confort de changer autrement'
fake.siret(max_sequential_digits=2)
# u'578 753 862 00952'
fake.catch_phrase_noun()
# u'la s\xe9curit\xe9'
fake.siren()
# u'110 407 813'
fake.idi()
# u'CHE-615.280.343'
fake.catch_phrase_attribute()
# u'\xe0 sa source'
faker.providers.credit_card
¶
fake.credit_card_security_code(card_type=None)
# u'319'
fake.credit_card_provider(card_type=None)
# u'VISA 16 digit'
fake.credit_card_full(card_type=None)
# u'Discover\nAndr\xe9 Bernasconi\n6011925534739687 09/19\nCVC: 264\n'
fake.credit_card_expire(start="now", end="+10y", date_format="%m/%y")
# '06/19'
fake.credit_card_number(card_type=None)
# u'3337034827998805'
faker.providers.currency
¶
fake.cryptocurrency_code()
# 'BTC'
fake.currency_code()
# 'MXN'
faker.providers.date_time
¶
fake.date_time_this_century(before_now=True, after_now=False, tzinfo=None)
# datetime.datetime(2005, 6, 18, 15, 13, 19)
fake.date_time_between(start_date="-30y", end_date="now", tzinfo=None)
# datetime.datetime(1992, 1, 8, 19, 17, 26)
fake.time(pattern="%H:%M:%S")
# '16:03:30'
fake.date_time_ad(tzinfo=None)
# datetime.datetime(4, 12, 10, 17, 39, 40)
fake.past_date(start_date="-30d", tzinfo=None)
# datetime.date(2017, 7, 17)
fake.day_of_week()
# 'Wednesday'
fake.date_time_this_decade(before_now=True, after_now=False, tzinfo=None)
# datetime.datetime(2011, 3, 13, 6, 30, 33)
fake.time_object()
# datetime.time(14, 28, 12)
fake.iso8601(tzinfo=None)
# '1994-06-01T11:20:35'
fake.time_delta()
# datetime.timedelta(14240, 29673)
fake.am_pm()
# 'PM'
fake.date_time_between_dates(datetime_start=None, datetime_end=None, tzinfo=None)
# datetime.datetime(2017, 7, 21, 7, 42, 39)
fake.date_object()
# date(1993, 8, 3)
fake.future_datetime(end_date="+30d", tzinfo=None)
# datetime.datetime(2017, 8, 2, 15, 25, 47)
fake.date_time(tzinfo=None)
# datetime(1996, 9, 21, 5, 56, 23)
fake.date(pattern="%Y-%m-%d")
# '2011-06-08'
fake.future_date(end_date="+30d", tzinfo=None)
# datetime.date(2017, 8, 9)
fake.month()
# '05'
fake.unix_time()
# 1197245282
fake.date_time_this_month(before_now=True, after_now=False, tzinfo=None)
# datetime.datetime(2017, 7, 13, 12, 4, 11)
fake.day_of_month()
# '11'
fake.year()
# '2005'
fake.timezone()
# u'Asia/Colombo'
fake.century()
# u'VIII'
fake.date_time_this_year(before_now=True, after_now=False, tzinfo=None)
# datetime.datetime(2017, 5, 1, 3, 6, 2)
fake.past_datetime(start_date="-30d", tzinfo=None)
# datetime.datetime(2017, 7, 19, 8, 20, 21)
fake.month_name()
# 'November'
faker.providers.file
¶
fake.file_path(depth=1, category=None, extension=None)
# u'/hic/nobis.key'
fake.mime_type(category=None)
# u'application/rss+xml'
fake.file_name(category=None, extension=None)
# u'dolorum.numbers'
fake.file_extension(category=None)
# u'odt'
faker.providers.internet
¶
fake.url()
# u'http://www.boichat.ch/'
fake.company_email()
# u'smonney@besse.net'
fake.uri()
# u'https://www.georges.com/register/'
fake.domain_word(*args, **kwargs)
# u'beguin'
fake.ipv4(network=False)
# '204.125.192.253'
fake.domain_name(levels=1)
# u'mueller.net'
fake.tld()
# u'ch'
fake.uri_path(deep=None)
# u'category'
fake.free_email()
# u'romanensnathalie@yahoo.fr'
fake.slug(*args, **kwargs)
# u'fugit-iste-saepe'
fake.free_email_domain()
# u'yahoo.fr'
fake.uri_extension()
# u'.html'
fake.ipv6(network=False)
# 'e8ff:4e49:acc0:4a8b:d378:9bde:a8e6:b10c'
fake.user_name(*args, **kwargs)
# u'julie72'
fake.image_url(width=None, height=None)
# u'https://placeholdit.imgix.net/~text?txtsize=55&txt=104x885&w=104&h=885'
fake.email()
# u'grandolivier@bluewin.ch'
fake.uri_page()
# u'about'
fake.mac_address()
# u'1e:81:91:4e:9d:46'
fake.safe_email()
# u'josiane64@example.ch'
faker.providers.isbn
¶
fake.isbn10(separator="-")
# u'0-18-533458-X'
fake.isbn13(separator="-")
# u'978-1-368-34506-4'
faker.providers.job
¶
fake.job()
# u"Ma\xeetre dans l'industrie"
faker.providers.lorem
¶
fake.text(max_nb_chars=200, ext_word_list=None)
# u'Iste consequuntur porro distinctio vero libero dolorem. Atque at eius dolores assumenda blanditiis esse nisi.'
fake.paragraphs(nb=3, ext_word_list=None)
# [ u'Eveniet nobis veniam illo quas earum. Distinctio ducimus hic a eaque odio. Voluptatem error ipsam saepe ut magnam omnis nihil error. Eveniet quaerat in totam perspiciatis aperiam maxime.',
# u'Nobis sunt quis necessitatibus eos. Sed neque voluptatibus occaecati sapiente nesciunt. Ipsum et aspernatur incidunt.',
# u'Inventore nesciunt et molestias temporibus. Ullam pariatur voluptatibus temporibus velit enim libero doloremque unde. Labore ipsam rem quo hic. Aperiam sequi neque id velit est maxime ad.']
fake.words(nb=3, ext_word_list=None)
# [u'dolorum', u'porro', u'exercitationem']
fake.sentences(nb=3, ext_word_list=None)
# [ u'Reiciendis tempora necessitatibus sint officiis.',
# u'Nam numquam culpa eligendi nobis iste voluptate rerum explicabo.',
# u'Perferendis vitae illo mollitia veniam dolores.']
fake.word(ext_word_list=None)
# u'quidem'
fake.paragraph(nb_sentences=3, variable_nb_sentences=True, ext_word_list=None)
# u'Debitis sequi ipsa iure aperiam alias repudiandae quia. Quis facilis harum sint. Eos molestias asperiores in minus.'
fake.sentence(nb_words=6, variable_nb_words=True, ext_word_list=None)
# u'Architecto quam eum soluta voluptate at nihil ut necessitatibus.'
faker.providers.misc
¶
fake.password(length=10, special_chars=True, digits=True, upper_case=True, lower_case=True)
# u'P4@F6PIfSS'
fake.locale()
# u'he_IL'
fake.binary(length=1048576)
# bytearray(b'\x1c\xa9\xbd*\x19\xf1\xa3!\x84~\xe7\xa8]m\xad#,i]\x00\x9bg\x18_q\xff0\xff\x01\xc6\n\x8f2>\n\x9en\xa8,\xac\xc6\xc1\xbf\xef\xd5\xa8\xc4\x18\xc8\xd9\xb1\xc2\xf9\xbb\x12:\xf37\x06W\xb8l7vh\r\x08\xe7N\x93 -\xd2\x0c\x17\xe6\xe49\x93\xfcF\x9f\xf8OpT\x17v\xff$f\x7f\xf2\x03p!Ulp:\x05/?\xc1\xad>;2\xe9\x16\x95\x01\xe9 *tU2b\x0f\x96\xf3Yi\xfaD\xa7\xfb\x8d`\xeeD\x7f\xe6pk\xdf\x0f\x9fb\x96\xab\xe0\xfc\xdb\xbd\xf6U\x04$\xadC\xd0\x16\x95\xd8\xa6\xcc\xbcq\xa4(\xc9\xf6\xb2\xd3\xfcZ\x0e\xf8\xeb@\xa7\xa0*^P$e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\x8f=\x18my\xdb\x1f$\xab.\x10\x8b\xa9R\xb3\x83\x1fp\x97\xabR1\x8fb\xc7\x10\xa4 \xe3\x08\xc2\xf9\x0f\x06uE\x95%,]\xc4H\x83\x83\x08\x82\xbf\xe4\xbal\x9a\xb6\xc1Wr.M\xf1\x81x9\x9e\xf8\xde')
fake.md5(raw_output=False)
# 'af9ea1ad6b268ed18789f4bb47dc7b79'
fake.sha1(raw_output=False)
# 'bdcfc3410a087304383c52496bf83d9de2b58540'
fake.null_boolean()
# False
fake.sha256(raw_output=False)
# '9d721933e1a90fac37b5d47f47c4be7462107ac9c297b3973adcb8553e8ca5b4'
fake.uuid4()
# 'c4325680-7cb4-9116-4337-58eb653272fd'
fake.language_code()
# u'ckb'
fake.boolean(chance_of_getting_true=50)
# False
faker.providers.person
¶
fake.last_name_male()
# u'Menthonnex'
fake.name_female()
# u'Chlo\xe9 Besen\xe7on'
fake.prefix_male()
# ''
fake.prefix()
# ''
fake.name()
# u'Th\xe9o Privet'
fake.suffix_female()
# ''
fake.name_male()
# u'Samuel Boillat'
fake.first_name()
# u'Mathieu'
fake.suffix_male()
# ''
fake.suffix()
# ''
fake.first_name_male()
# u'Albert'
fake.first_name_female()
# u'Lucie'
fake.last_name_female()
# u'Marti'
fake.last_name()
# u'Jacot-Descombes'
fake.prefix_female()
# ''
faker.providers.phone_number
¶
fake.phone_number()
# u'+41 51 438 77 06'
faker.providers.profile
¶
fake.simple_profile(sex=None)
# { 'address': u'chemin Dubey 25\n6567 Sainte Balmat',
# 'birthdate': '1976-10-15',
# 'mail': u'alicia04@bluewin.ch',
# 'name': u'Jeanne Grosjean',
# 'sex': 'F',
# 'username': u'paul25'}
fake.profile(fields=None, sex=None)
# { 'address': u'chemin Samuel Chapuis 7\n9981 Duvanel',
# 'birthdate': '2013-01-27',
# 'blood_group': 'B+',
# 'company': u'Barbey Robert S\xe0rl.',
# 'current_location': (Decimal('-22.3403485'), Decimal('-60.762888')),
# 'job': u'couturier d\u2019int\xe9rieur AFP',
# 'mail': u'sandracourvoisier@hotmail.fr',
# 'name': u'Vanessa Jomini',
# 'residence': u'boulevard Ren\xe9 Vermeil 105\n7375 Blanc',
# 'sex': 'F',
# 'ssn': u'756.8921.7630.44',
# 'username': u'cornuznathalie',
# 'website': [ u'https://treboux.ch/',
# u'http://monnet.com/',
# u'http://www.rapraz.ch/']}
faker.providers.python
¶
fake.pyiterable(nb_elements=10, variable_nb_elements=True, *value_types)
# ( u'https://www.brahier.org/register.jsp',
# u'yTapAObUwNMctLnElhxL',
# 881,
# 3059,
# u'https://www.francillon.ch/posts/wp-content/register.html',
# u'https://pachoud.com/faq.asp',
# u'XrUFdumCADdEPHeXnbQx',
# 16.1304276637,
# u'wHmVlhAXgyksJbGeqEai',
# datetime(1987, 9, 15, 15, 10, 32))
fake.pystr(min_chars=None, max_chars=20)
# u'mbYXzCboStgcqmWYeEUe'
fake.pystruct(count=10, *value_types)
# ( [ u'ORgciCHzGjsgtxRpeleH',
# -6952923017304.46,
# u'nlJBhzkxsSAALWhhDiSa',
# u'https://www.beuret.net/blog/explore/post/',
# 2582,
# 2670,
# u'http://www.blanc.ch/',
# u'GOPlXGbFimauMjFekFgX',
# u'yyuSMmyxlXKTImhkjBCY',
# Decimal('7.62278616')],
# { u'architecto': u'marguerite17@bluewin.ch',
# u'aspernatur': u'pGhHoFnKHsgSRcIIGPRo',
# u'autem': 5364,
# u'culpa': u'https://www.deshusses.com/terms/',
# u'error': u'kiVvcPVDzEUSrjhjRUJG',
# u'iste': u'rogerbahon@bernasconi.net',
# u'odio': u'qsandoz@marty.ch',
# u'quis': 2054,
# u'quod': 18461150.9},
# { u'accusantium': { 5: u'NrckRnmcbrVmsRVvAplc',
# 6: [ u'AxqhKpGcjEPjxnuAKiTC',
# u'https://cornut.org/posts/wp-content/register.php',
# u'http://badel.com/blog/post.html'],
# 7: { 5: datetime(1999, 12, 22, 21, 17, 52),
# 6: 7404,
# 7: [7851, u'QmdaqjMQjffLcuOhJRyU']}},
# u'aliquid': { 8: u'zyouyBpteYTJmbjSDEiD',
# 9: [ 7506,
# u'http://brandt.com/tag/about.html',
# u'sebastien10@alber.ch'],
# 10: { 8: 6430,
# 9: Decimal('-885112853208'),
# 10: [ u'https://paccot.ch/register.htm',
# u'YEKXNNFahAebhmRIdafj']}},
# u'facilis': { 0: u'vMmLfLvJmcvMZKpabjHx',
# 1: [ u'sqmEbfqAWyfBxoPPlByB',
# u'dsvJQNBBTLccXaOEExQn',
# datetime(1997, 7, 28, 11, 50, 28)],
# 2: { 0: 4876,
# 1: u'ekxeTAhyTdzZaJiEQgCX',
# 2: [ u'yvonnejoly@galland.ch',
# u'gillieronmichael@bourquard.net']}},
# u'nesciunt': { 9: 253932494910.3,
# 10: [-8767361617.0, 9640, 7768],
# 11: { 9: u'SWkVVNYcmgNdtEKRtLQE',
# 10: -2612055048.0,
# 11: [ u'qRSRWlMQihnjBBJmiOHj',
# u'TpvUcCivxwvTtIJkGOrj']}},
# u'quasi': { 6: Decimal('-371516507.615'),
# 7: [ u'andre18@bouvier.com',
# Decimal('-5.54785445837E+14'),
# u'http://marti.ch/faq.htm'],
# 8: { 6: 3214,
# 7: 883,
# 8: [u'gallandpatricia@hispeed.ch', 8822]}},
# u'quia': { 7: u'http://www.beguelin.com/tag/explore/posts/main.html',
# 8: [u'qHxsCQbdNlIfiDrptSbs', 4451, 8887],
# 9: { 7: 448890152856.1,
# 8: u'VDUFpUKKNoxPiQwRRwPC',
# 9: [ Decimal('84392523985.4'),
# u'ERRhUgvWihfZGzSAujCn']}},
# u'ratione': { 1: 2291,
# 2: [ u'AsCiUorYCEQvWVKuXhxo',
# datetime(2016, 7, 23, 11, 41, 38),
# u'dbgxoGPybMLnqHuWAKeo'],
# 3: { 1: datetime(2000, 11, 26, 17, 27, 9),
# 2: 7965,
# 3: [u'arjyoUlsRZCdwnqqrIdr', 1478]}},
# u'ut': { 4: u'cYVzXQpprnPMXDfNuRCy',
# 5: [ datetime(1996, 5, 25, 1, 11, 40),
# u'ntoqypGcEvzoOHSAiWvA',
# 7635.86],
# 6: { 4: u'NpyEUbGRnDmcaUyukBeO',
# 5: 743504363.4,
# 6: [5819, u'aqaQvmHbDkhlUrQGLcef']}},
# u'veritatis': { 3: 1470,
# 4: [ u'fOYTjKuBbwOPdwzHFLjZ',
# u'besanconmaria@hotmail.fr',
# datetime(1978, 12, 7, 2, 9, 53)],
# 5: { 3: 2340,
# 4: -603470065.33,
# 5: [ -10041174570880.0,
# u'LWTgVgOREBjAQhokqOQy']}},
# u'voluptates': { 2: u'https://beguelin.ch/category/register/',
# 3: [ datetime(1975, 9, 26, 7, 55, 20),
# u'EaayFFPRYKxAeGVFGrVC',
# Decimal('348891293502')],
# 4: { 2: u'YKjRrPjZEowTNVDwhdIy',
# 3: 250851226754.21,
# 4: [1617, 1114]}}})
fake.pyfloat(left_digits=None, right_digits=None, positive=False)
# -2.91626360015
fake.pydecimal(left_digits=None, right_digits=None, positive=False)
# Decimal('18173054756.0')
fake.pylist(nb_elements=10, variable_nb_elements=True, *value_types)
# [ u'https://bugnon.com/main/list/tags/login/',
# 137986690319.4,
# Decimal('-4.74'),
# u'HbJrnUhlIdklSFRnhVbC',
# Decimal('54749.338778'),
# u'kIErmjZOsPIcmPOgPdUk',
# u'XMrsipcGMKeidVAEYRwe',
# u'https://www.francillon.com/category/explore/register/',
# Decimal('4838574.91638'),
# u'trkehAbHyvUObgPYtYeY',
# u'uXQWkVCiiZeREcbaxwCN',
# 78315.23]
fake.pytuple(nb_elements=10, variable_nb_elements=True, *value_types)
# ( -27.5,
# 2128,
# 29660.5,
# u'VGpvPkjSbSCiiVViYCwE',
# u'yFNACmbhCLbEvWsqaZZt',
# datetime(1982, 4, 7, 7, 32, 26),
# -9978270662695.0,
# u'QzpOmMmqHZYnLfUYjVdz',
# u'yvette46@carraud.ch',
# u'NkGzeZYUKKJQiAGDlAER')
fake.pybool()
# True
fake.pyset(nb_elements=10, variable_nb_elements=True, *value_types)
# set([u'http://galland.com/post.html', u'http://polla.org/post.php', u'VklHLgwGcNgSNocxFQrD', u'xfxpXrHNHeJvJGMLVReh', u'lvermeil@gmail.com', u'sPXtwiEmHtXzmixwAPoM', u'TyvDKwfOGdNbSeFSsSvd', u'http://vonlanthen.com/', u'https://www.monney.org/tag/wp-content/login.html', 279, u'yvNNKBXUmVzNVYgczOSS', u'zeVtTjdIzwLZePrjAtwD', u'http://morand.org/'])
fake.pydict(nb_elements=10, variable_nb_elements=True, *value_types)
# { u'aspernatur': u'NSjnUDNdZIyJRcPnAiTB',
# u'dignissimos': u'DLEIqmRmdVdqKxiykrUM',
# u'ducimus': u'zUvXcRCwFVMMIPDoaCTU',
# u'ea': 4189,
# u'numquam': u'yfXKHlmxcVmKXrnIVBWv',
# u'quam': -84090104.4,
# u'quas': 1015,
# u'similique': u'http://monnet.ch/wp-content/tags/index.php',
# u'unde': u'HVwGTdGNSabWJBESHIEx',
# u'voluptatem': datetime(1977, 4, 6, 12, 53, 4)}
fake.pyint()
# 3587
faker.providers.ssn
¶
fake.ssn()
# u'756.1835.4902.73'
faker.providers.user_agent
¶
fake.mac_processor()
# u'U; Intel'
fake.firefox()
# u'Mozilla/5.0 (Macintosh; U; PPC Mac OS X 10_7_2; rv:1.9.2.20) Gecko/2015-10-24 03:11:21 Firefox/8.0'
fake.linux_platform_token()
# u'X11; Linux x86_64'
fake.opera()
# u'Opera/9.79.(X11; Linux x86_64; ia-FR) Presto/2.9.169 Version/12.00'
fake.windows_platform_token()
# u'Windows NT 5.0'
fake.internet_explorer()
# u'Mozilla/5.0 (compatible; MSIE 6.0; Windows NT 6.0; Trident/4.0)'
fake.user_agent()
# u'Opera/8.11.(X11; Linux i686; aa-ET) Presto/2.9.174 Version/10.00'
fake.chrome()
# u'Mozilla/5.0 (Macintosh; U; PPC Mac OS X 10_6_8) AppleWebKit/5340 (KHTML, like Gecko) Chrome/14.0.853.0 Safari/5340'
fake.linux_processor()
# u'i686'
fake.mac_platform_token()
# u'Macintosh; U; Intel Mac OS X 10_8_9'
fake.safari()
# u'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_5_3 rv:4.0; gv-GB) AppleWebKit/531.22.2 (KHTML, like Gecko) Version/5.0.1 Safari/531.22.2'