Language fr_CH¶
faker.providers.address
¶
fake.address()
# u'avenue Yvette Aebi 180\n9861 Chevalley-des-Bois'
fake.latitude()
# Decimal('-84.493518')
fake.longitude()
# Decimal('-92.781885')
fake.building_number()
# u'18'
fake.street_address()
# u'rue de Uldry 257'
fake.postcode()
# u'4778'
fake.country_code(representation="alpha-2")
# u'RW'
fake.canton_name()
# u'Argovie'
fake.country()
# u'Groenland'
fake.geo_coordinate(center=None, radius=0.001)
# Decimal('-52.422972')
fake.street_prefix()
# u'chemin'
fake.street_suffix()
# u'Street'
fake.city_prefix()
# u'Sainte '
fake.city_suffix()
# u'-des-Bois'
fake.canton()
# (u'GE', u'Gen\xe8ve')
fake.street_name()
# u'boulevard de Duvanel'
fake.city()
# u'Boichat-sur-Brandt'
fake.canton_code()
# u'NW'
faker.providers.automotive
¶
fake.license_plate()
# u'IDW5578'
faker.providers.bank
¶
fake.bban()
# 'POPP4513611365745'
fake.bank_country()
# 'GB'
fake.iban()
# 'GB58KZKU0389785839495'
faker.providers.barcode
¶
fake.ean(length=13)
# u'9381118908800'
fake.ean13()
# u'6510019515746'
fake.ean8()
# u'10332009'
faker.providers.color
¶
fake.rgb_css_color()
# u'rgb(82,212,80)'
fake.color_name()
# u'DarkSlateBlue'
fake.rgb_color()
# u'15,36,69'
fake.safe_hex_color()
# u'#bb0000'
fake.safe_color_name()
# u'maroon'
fake.hex_color()
# u'#a2ebd4'
faker.providers.company
¶
fake.ide()
# u'CHE-943.610.855'
fake.uid()
# u'CHE-619.074.239'
fake.company()
# u'Maire'
fake.company_suffix()
# u'S\xe0rl.'
fake.catch_phrase_verb()
# u"d'atteindre vos buts"
fake.catch_phrase()
# u"Le confort de concr\xe9tiser vos projets \xe0 l'\xe9tat pur"
fake.siret(max_sequential_digits=2)
# u'367 651 494 00389'
fake.bs()
# u'disintermediate cutting-edge metrics'
fake.catch_phrase_noun()
# u"l'assurance"
fake.siren()
# u'325 068 630'
fake.idi()
# u'CHE-589.036.411'
fake.catch_phrase_attribute()
# u'de mani\xe8re efficace'
faker.providers.credit_card
¶
fake.credit_card_security_code(card_type=None)
# u'238'
fake.credit_card_provider(card_type=None)
# u'Diners Club / Carte Blanche'
fake.credit_card_full(card_type=None)
# u'VISA 13 digit\nFran\xe7oise Bochud\n4786508155124 07/20\nCVC: 784\n'
fake.credit_card_expire(start="now", end="+10y", date_format="%m/%y")
# '01/25'
fake.credit_card_number(card_type=None)
# u'375087987941543'
faker.providers.currency
¶
fake.cryptocurrency_code()
# 'XMR'
fake.currency_code()
# 'NPR'
fake.currency_name()
# 'Central African CFA franc'
fake.cryptocurrency_name()
# 'BlackCoin'
fake.cryptocurrency()
# ('NEO', 'NEO')
fake.currency()
# ('NOK', 'Norwegian krone')
faker.providers.date_time
¶
fake.future_datetime(end_date="+30d", tzinfo=None)
# datetime.datetime(2018, 8, 25, 3, 34, 36)
fake.time_series(start_date="-30d", end_date="now", precision=None, distrib=None, tzinfo=None)
# <generator object time_series at 0xf5b48504>
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(2005, 5, 17, 3, 18, 1)
fake.date_this_decade(before_today=True, after_today=False)
# datetime.date(2014, 5, 29)
fake.date_time_this_month(before_now=True, after_now=False, tzinfo=None)
# datetime.datetime(2018, 8, 15, 3, 7, 35)
fake.past_date(start_date="-30d", tzinfo=None)
# datetime.date(2018, 8, 8)
fake.day_of_week()
# 'Tuesday'
fake.date_time_this_decade(before_now=True, after_now=False, tzinfo=None)
# datetime.datetime(2016, 6, 28, 0, 18, 36)
fake.date_between(start_date="-30y", end_date="today")
# datetime.date(2016, 8, 11)
fake.date_time_this_century(before_now=True, after_now=False, tzinfo=None)
# datetime.datetime(2005, 3, 30, 5, 32, 2)
fake.date(pattern="%Y-%m-%d", end_datetime=None)
# '2003-06-03'
fake.am_pm()
# 'PM'
fake.date_time_between_dates(datetime_start=None, datetime_end=None, tzinfo=None)
# datetime.datetime(2018, 8, 16, 9, 31, 46)
fake.date_object(end_datetime=None)
# datetime.date(1975, 12, 29)
fake.date_this_year(before_today=True, after_today=False)
# datetime.date(2018, 7, 29)
fake.iso8601(tzinfo=None, end_datetime=None)
# '1974-04-17T07:38:07'
fake.future_date(end_date="+30d", tzinfo=None)
# datetime.date(2018, 8, 25)
fake.date_this_century(before_today=True, after_today=False)
# datetime.date(2008, 11, 6)
fake.month()
# '09'
fake.year()
# '2008'
fake.day_of_month()
# '30'
fake.unix_time(end_datetime=None, start_datetime=None)
# 1051996663
fake.timezone()
# u'Europe/Luxembourg'
fake.century()
# u'XVII'
fake.date_of_birth(tzinfo=None, minimum_age=0, maximum_age=115)
# datetime.date(1983, 6, 27)
fake.time_object(end_datetime=None)
# datetime.time(7, 45, 25)
fake.date_time_this_year(before_now=True, after_now=False, tzinfo=None)
# datetime.datetime(2018, 3, 20, 14, 29, 55)
fake.date_time(tzinfo=None, end_datetime=None)
# datetime.datetime(1977, 8, 14, 19, 2, 58)
fake.time(pattern="%H:%M:%S", end_datetime=None)
# '21:54:51'
fake.date_this_month(before_today=True, after_today=False)
# datetime.date(2018, 8, 13)
fake.past_datetime(start_date="-30d", tzinfo=None)
# datetime.datetime(2018, 7, 23, 7, 57, 9)
fake.month_name()
# 'March'
fake.date_time_ad(tzinfo=None, end_datetime=None, start_datetime=None)
# datetime.datetime(1052, 12, 22, 14, 11, 41)
fake.time_delta(end_datetime=None)
# datetime.timedelta(16053, 76601)
faker.providers.file
¶
fake.unix_device(prefix=None)
# u'/dev/vdk'
fake.mime_type(category=None)
# u'model/x3d+vrml'
fake.file_path(depth=1, category=None, extension=None)
# u'/saepe/expedita.mp4'
fake.unix_partition(prefix=None)
# u'/dev/xvdq4'
fake.file_name(category=None, extension=None)
# u'quasi.key'
fake.file_extension(category=None)
# u'mov'
faker.providers.internet
¶
fake.ascii_free_email(*args, **kwargs)
# 'leaconrad@sunrise.ch'
fake.image_url(width=None, height=None)
# u'https://dummyimage.com/174x786'
fake.tld()
# u'net'
fake.email(*args, **kwargs)
# u'marcellebalmat@vtxnet.ch'
fake.url(schemes=None)
# u'https://www.wicht.ch/'
fake.ipv4_private(network=False, address_class=None)
# '192.168.90.188'
fake.user_name(*args, **kwargs)
# u'denise78'
fake.uri_extension()
# u'.html'
fake.uri_page()
# u'about'
fake.free_email_domain(*args, **kwargs)
# u'hispeed.ch'
fake.safe_email(*args, **kwargs)
# u'pascal35@example.ch'
fake.ascii_email(*args, **kwargs)
# 'wichtfabienne@yahoo.fr'
fake.ipv4_network_class()
# u'a'
fake.ipv4_public(network=False, address_class=None)
# '187.22.234.191'
fake.ascii_company_email(*args, **kwargs)
# 'patrick82@muriset.ch'
fake.domain_name(*args, **kwargs)
# u'jacot-guillarmod.com'
fake.ipv4(network=False, address_class=None, private=None)
# '35.158.35.137'
fake.domain_word(*args, **kwargs)
# u'nussle'
fake.slug(*args, **kwargs)
# u'aperiam-amet-qui'
fake.uri_path(deep=None)
# u'app/wp-content/search'
fake.company_email(*args, **kwargs)
# u'wmuriset@treboux.org'
fake.uri()
# u'https://www.rappaz.net/'
fake.ipv6(network=False)
# '8e1d:947:894d:b9de:b54e:517f:194d:c8da'
fake.free_email(*args, **kwargs)
# u'philippe59@vtxnet.ch'
fake.ascii_safe_email(*args, **kwargs)
# 'lromanens@example.com'
fake.mac_address()
# u'b5:d1:c3:c9:1d:1e'
faker.providers.isbn
¶
fake.isbn10(separator="-")
# u'1-72488-893-5'
fake.isbn13(separator="-")
# u'978-0-9984886-2-2'
faker.providers.job
¶
fake.job()
# u'Projeteur en technique du b\xe2timent chauffage CFC (champ professionnel Planification en technique du b\xe2timent)'
faker.providers.lorem
¶
fake.text(max_nb_chars=200, ext_word_list=None)
# u'Ratione blanditiis autem ipsam voluptas. Fugit velit ullam quia.\nQuae sed eveniet deleniti harum excepturi quisquam. In odio unde dolorem veniam cum. Nemo ipsam iste iure mollitia quae veritatis.'
fake.paragraphs(nb=3, ext_word_list=None)
# [ u'Officia nihil laboriosam atque. Eligendi delectus nobis aliquam. Accusamus non ipsam quasi sit ad quisquam.',
# u'Reiciendis inventore est impedit consectetur vero occaecati. Velit harum possimus cupiditate harum corrupti. Repellat impedit quis deleniti incidunt.',
# u'Maiores voluptatibus impedit quis neque aliquid. Animi ut doloribus maxime eveniet repellendus.']
fake.words(nb=3, ext_word_list=None)
# [u'quas', u'ducimus', u'est']
fake.sentences(nb=3, ext_word_list=None)
# [ u'Totam a eos illum sunt adipisci.',
# u'Nihil voluptates dolorem corrupti ea est.',
# u'Praesentium rem nobis nemo modi.']
fake.word(ext_word_list=None)
# u'provident'
fake.paragraph(nb_sentences=3, variable_nb_sentences=True, ext_word_list=None)
# u'Fuga sequi rerum quos illo reprehenderit architecto.'
fake.sentence(nb_words=6, variable_nb_words=True, ext_word_list=None)
# u'Consequatur fugit nam atque dolorum vitae.'
faker.providers.misc
¶
fake.password(length=10, special_chars=True, digits=True, upper_case=True, lower_case=True)
# u'$y1Sf!ftjj'
fake.locale()
# u'zu_ZA'
fake.binary(length=1048576)
# bytearray(b'\xac\x1f}\x0ei\xe4\x8b>\x12\x8a\xf73\xa6\x9f@\xa1\xe3\n\xe9v\xe0\xb3\x15_x0\xd7\xd8\xa2*\xa5\xa0(\x87\x01~\x80R\x17K<\x83\x9f\xafW\xacz\x1b\xc3I\x93\xcct\xe3\x8b\x1a\xad:\xf7)\x1b\x1bw\x82q\xda+\xdc\x96\xf5u\xd0\x88cG\x07[\x88\x88\x00\x8e\x07\x07bW\xd0\xeen\xdfO\xef\x04)5zs\x00\xd0\x87Cy*\x1e0\xa7E\xcc\x81\x07h\xcc\xce\xc3\xbfi{CIr\xb2\xfa0\x1d\xaa\xe2\x96\xc3S\x8e\x940\x82Xx\x9d\x10v\x1b\xa0SJK\r\xefQ;\x8dN\xda\xc0\xb1\xbbO"4\x97Ii\xae\x9c\xd7\xbeE%<\xfb\xa1%\xd5\x1d\xb6M\xef\xb7Z\x8bY6\xac?\xa8\xfa\x86\x9a\xca\x92<[\xfe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xc3C\xc0\x01\xe27\xbcs\xb8\xdc+\xd9\t\xbapB\xa6\xf0A\xea\xf0\x91\x1e\x81\xaa>\xb2\xec\x00\xa0W<R\xc4\xb1Ub\xa4\xa2\xe7\xc8G0\xe7\xbfv\xadC\xbf\xf8\xe2\xa3\x91)I\x94\xcdB\xaf\x0fj\xf1\xad\xcdI\x7f\xec\xce\xe1\x07\xd2')
fake.md5(raw_output=False)
# '1604374fa552ebaab1c3d36561b6cc84'
fake.sha1(raw_output=False)
# '6ca77f2d412d2829b4d38372b1d79cb3148de2d8'
fake.null_boolean()
# None
fake.sha256(raw_output=False)
# '1b37f6dcee068da221839be86b009fe973028f33ea053d24fc9e8cc804095af5'
fake.uuid4()
# '7f607f89-01ec-122a-733b-8afa0ababa9f'
fake.language_code()
# u'zu'
fake.boolean(chance_of_getting_true=50)
# False
faker.providers.person
¶
fake.last_name_male()
# u'Beuret'
fake.name_female()
# u'Emma Botteron'
fake.prefix_male()
# u''
fake.prefix()
# u''
fake.name()
# u'Corinne Corpataux'
fake.suffix_female()
# u''
fake.name_male()
# u'Samuel Th\xe9raulaz'
fake.first_name()
# u'Alexandre'
fake.suffix_male()
# u''
fake.suffix()
# u''
fake.first_name_male()
# u'Fr\xe9d\xe9ric'
fake.first_name_female()
# u'Sara'
fake.last_name_female()
# u'Gilli\xe9ron'
fake.last_name()
# u'Matile'
fake.prefix_female()
# u''
faker.providers.phone_number
¶
fake.phone_number()
# u'072 820 91 80'
fake.msisdn()
# '0990733891375'
faker.providers.profile
¶
fake.simple_profile(sex=None)
# { 'address': u'boulevard de Beguin 92\n6481 Chapuis-pr\xe8s-Bavaud',
# 'birthdate': datetime.date(1993, 11, 22),
# 'mail': u'mathilde24@bluewin.ch',
# 'name': u'Robert Blanc-Carron',
# 'sex': 'M',
# 'username': u'jominifrederic'}
fake.profile(fields=None, sex=None)
# { 'address': u'rue Simone Corpataux 325\n4596 Jacot-Guillarmod-Dessus',
# 'birthdate': datetime.date(2010, 12, 27),
# 'blood_group': 'A+',
# 'company': u'Pasquier S\xe0rl.',
# 'current_location': (Decimal('-65.2681665'), Decimal('3.604316')),
# 'job': u'Expert dipl\xf4m\xe9 en tourisme',
# 'mail': u'uchappuis@hispeed.ch',
# 'name': u'Sarah Menthonnex-Bourquard',
# 'residence': u'boulevard Fabienne D\xe9l\xe8ze 94\n2053 Chevrolet',
# 'sex': 'F',
# 'ssn': u'756.8523.0461.94',
# 'username': u'robadeynelly',
# 'website': [u'http://www.mottet.ch/']}
faker.providers.python
¶
fake.pyiterable(nb_elements=10, variable_nb_elements=True, *value_types)
# [ 4688,
# -41543282664294.0,
# u'eiZaLdkmiXGbrPMjNwBV',
# u'nmartin@hotmail.fr',
# u'http://www.duvanel.org/',
# datetime.datetime(1994, 7, 31, 7, 50, 56),
# u'fqKhYbUoxZsOTsUxjHLU',
# u'WxQaAOuYYwzyAijFeWwv',
# datetime.datetime(1990, 1, 18, 20, 11, 53),
# u'oJuvpOokljDpOGPdJkes',
# -50972.24079]
fake.pystr(min_chars=None, max_chars=20)
# u'tnPJoGLbUFLUNaDKkHYX'
fake.pystruct(count=10, *value_types)
# ( [ 2105,
# -742774860693865.0,
# datetime.datetime(2010, 6, 5, 8, 49, 17),
# Decimal('-8.53917467231E+13'),
# 316,
# 1264,
# 5266,
# Decimal('16410918252.3'),
# u'stDbVkEJUCEbFJIPfHtl',
# u'rjvpUiyXbAGGWUiNcUAb'],
# { u'corrupti': u'FCDVwkksSnIAjCebQwFE',
# u'dolor': 858,
# u'dolore': 3511,
# u'doloremque': u'romain41@besencon.ch',
# u'dolores': u'YoPtsjPdaQTBMWPyqkKv',
# u'impedit': 6098,
# u'molestias': u'http://www.rosselet.net/',
# u'qui': u'http://www.brandt.ch/blog/index.html',
# u'vitae': u'zySeBYweBnaluCUHmNPE',
# u'voluptatibus': Decimal('-3173944186.76')},
# { u'amet': { 5: 6889,
# 6: [ Decimal('-6.21918079073E+14'),
# u'sandrabarman@bluewin.ch',
# u'christianmatile@gmail.com'],
# 7: { 5: u'YCpwNbGvTwOFTkTGaIBr',
# 6: -5845787.24710598,
# 7: [u'DZyhCySmtlrDirVvXuFt', -954954156656.52]}},
# u'dolore': { 9: u'WTZJiHypUoQPSEtVzYhQ',
# 10: [ u'iIlFvGmJFWMJSRqxtWIN',
# -8.3,
# u'stephane65@hispeed.ch'],
# 11: { 9: datetime.datetime(2006, 7, 1, 7, 54, 41),
# 10: Decimal('-8775024388.0'),
# 11: [ u'alberjacques@hispeed.ch',
# u'badelmadeleine@yahoo.fr']}},
# u'illo': { 0: 6345,
# 1: [ u'julliardmanuel@romandie.com',
# 503,
# Decimal('8.22376861577E+12')],
# 2: { 0: Decimal('6.0'),
# 1: datetime.datetime(1981, 4, 24, 3, 8, 4),
# 2: [ u'guJjvsGZrJmPOeUCNqdC',
# u'eKABdgLTnJapZEzmEqrr']}},
# u'nesciunt': { 3: datetime.datetime(1971, 4, 4, 6, 15, 34),
# 4: [u'VCTwRrJlLeNdPsISOhov', 2593, 4184],
# 5: { 3: u'manuel27@yahoo.fr',
# 4: Decimal('745.972'),
# 5: [u'jlPPuCZlLAiKOMpscHrC', 5953]}},
# u'possimus': { 8: 4130,
# 9: [ u'FmYwKpfSsFclElmoWWlt',
# 3670.0,
# u'suzannerossellat@corbat.com'],
# 10: { 8: u'patriciaguberan@duroux.com',
# 9: u'http://www.jacot-descombes.com/privacy.php',
# 10: [ u'kNnXemgoNKkGqdfEZdEF',
# -209347.6324289]}},
# u'quas': { 4: u'wHoPNxEwilncfGjqHcVM',
# 5: [ u'sandrinementhonnex@sunrise.ch',
# u'FOfiyBRPzFkbFdQtBgWl',
# u'http://www.saudan.ch/homepage.jsp'],
# 6: { 4: Decimal('90229.2078914'),
# 5: u'PaREKLsVHnxDWcImatbP',
# 6: [ u'https://www.besancon.com/homepage/',
# u'http://www.crevoisier.ch/tag/wp-content/home/']}},
# u'velit': { 7: datetime.datetime(1982, 7, 24, 13, 29, 5),
# 8: [ u'http://www.niquille.ch/blog/search.php',
# u'GQWAZZrRguDrnuixOjwx',
# 4789.6407893879],
# 9: { 7: u'IAlNYZESvwrLnoSEUUjK',
# 8: u'YVryPNXkZZAkhSPmazox',
# 9: [ u'YdGICvCbcXMJhEVepBrI',
# Decimal('630651.5')]}}})
fake.pyfloat(left_digits=None, right_digits=None, positive=False)
# 65.129818
fake.pydecimal(left_digits=None, right_digits=None, positive=False)
# Decimal('7581325.7')
fake.pylist(nb_elements=10, variable_nb_elements=True, *value_types)
# [ datetime.datetime(2004, 5, 7, 14, 55, 42),
# 157,
# u'http://www.morand.ch/post/',
# 3057,
# datetime.datetime(1988, 7, 3, 12, 41, 27),
# datetime.datetime(1970, 7, 3, 3, 16, 8),
# 853.892954304]
fake.pytuple(nb_elements=10, variable_nb_elements=True, *value_types)
# ( u'aFxEvNgUCcJjwPOWfUum',
# u'BGliwyckYwNFFpCIYMYg',
# u'pelletyvonne@beuchat.com',
# u'gBZsOSYDIYOYkPkZKfra',
# datetime.datetime(1977, 2, 27, 21, 59, 48),
# 604338.28024083,
# u'ncxovJOzzXbZnzbnKlar')
fake.pybool()
# True
fake.pyset(nb_elements=10, variable_nb_elements=True, *value_types)
# set([u'https://broquet.org/privacy.html', 8549, datetime.datetime(1978, 12, 1, 22, 37, 27), 3753, u'http://polla.com/privacy.jsp', u'YfLYMTIWvYDVPGqCVChv', u'WJGAvyCHwpkdUiSnvXtM', u'https://marty.net/search/posts/blog/homepage.html', u'olivier15@yahoo.fr', u'VXcMqNacgmtAjqYKFSMF', u'xQfkFFRBopgIGHXrxQEA', 7995, 4594526.4972916])
fake.pydict(nb_elements=10, variable_nb_elements=True, *value_types)
# { u'beatae': Decimal('184652044381'),
# u'eos': u'zjGzXxuUnhclYAYUaMws',
# u'ipsa': u'FxvMmCaKbvBrUrqiaWzN',
# u'minus': u'xIcEAahgHhssnZjtqiXg',
# u'molestias': Decimal('2.88337658184E+12'),
# u'natus': -2.2,
# u'nemo': u'PjpQrbOrNEBQdHzfdexF',
# u'odit': u'MDwBkVSmDAswPrLWKlbQ',
# u'tenetur': u'http://quartier.ch/wp-content/category/category.html',
# u'voluptatem': 6843,
# u'voluptates': u'XeBIwqNHEmyqScLdAFhE'}
fake.pyint()
# 171
faker.providers.ssn
¶
fake.ssn()
# u'756.0821.9467.32'
faker.providers.user_agent
¶
fake.mac_processor()
# u'U; Intel'
fake.firefox()
# u'Mozilla/5.0 (Windows NT 5.2; tr-TR; rv:1.9.0.20) Gecko/2015-12-24 06:26:08 Firefox/8.0'
fake.linux_platform_token()
# u'X11; Linux x86_64'
fake.opera()
# u'Opera/9.86.(X11; Linux x86_64; mai-IN) Presto/2.9.170 Version/11.00'
fake.windows_platform_token()
# u'Windows NT 6.2'
fake.internet_explorer()
# u'Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; Trident/5.0)'
fake.user_agent()
# u'Mozilla/5.0 (Macintosh; U; PPC Mac OS X 10_6_4 rv:3.0; ka-GE) AppleWebKit/532.12.5 (KHTML, like Gecko) Version/4.1 Safari/532.12.5'
fake.linux_processor()
# u'x86_64'
fake.chrome(version_from=13, version_to=63, build_from=800, build_to=899)
# u'Mozilla/5.0 (Windows NT 5.1) AppleWebKit/5342 (KHTML, like Gecko) Chrome/55.0.875.0 Safari/5342'
fake.mac_platform_token()
# u'Macintosh; U; PPC Mac OS X 10_10_8'
fake.safari()
# u'Mozilla/5.0 (Macintosh; U; PPC Mac OS X 10_9_3 rv:3.0; vi-VN) AppleWebKit/534.16.1 (KHTML, like Gecko) Version/5.0.5 Safari/534.16.1'