Locale fr_CH

faker.providers.address

class faker.providers.address.fr_CH.Provider(generator)

Bases: faker.providers.address.Provider

address()

:example ‘791 Crist Parks, Sashabury, IL 86039-9874’

Examples:
>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.address()
...
'rue Anne Cosendey 84\n4382 Muriset'
'boulevard de Pasquier 241\n9578 Crevoisier'
'chemin de Rapraz 18\n1609 Rapraz-la-Ville'
'chemin Béguelin 287\n1587 Gilliéron'
'chemin de Vallélian 59\n5965 Chatriand-les-Bains'
building_number()

:example ‘791’

Examples:
>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.building_number()
...
'560'
'576'
'459'
'34'
'59'
canton()

Randomly returns a swiss canton (‘Abbreviated’ , ‘Name’). :example (‘VD’ . ‘Vaud’)

Examples:
>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.canton()
...
('UR', 'Uri')
('TG', 'Thurgovie')
('JU', 'Jura')
('FR', 'Fribourg')
('NW', 'Nidwald')
canton_code()

Randomly returns a Swiss canton code. :example ‘VD’

Examples:
>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.canton_code()
...
'UR'
'TG'
'JU'
'FR'
'NW'
canton_name()

Randomly returns a Swiss canton name. :example ‘Vaud’

Examples:
>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.canton_name()
...
'Uri'
'Thurgovie'
'Jura'
'Fribourg'
'Nidwald'
city()

:example ‘Sashabury’

Examples:
>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.city()
...
'OberCousin'
'Délèze'
'Nusslé-la-Ville'
'Gubéran an der Aare'
'Chapuis am See'
city_prefix()

:example ‘rue’

Examples:
>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.city_prefix()
...
'Unter'
'Ober'
'San '
'Sainte '
'San '
city_suffix()

:example ‘town’

Examples:
>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.city_suffix()
...
' am Albis'
' am See'
'-Dessus'
'-la-Ville'
'-Dessous'
country()
Examples:
>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.country()
...
'Suède'
'République tchèque'
'Irlande'
'Équateur'
'Macau'
country_code(representation='alpha-2')
Examples:
>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.country_code()
...
'ZW'
'TO'
'LB'
'FI'
'MV'
postcode()

:example 86039-9874

Examples:
>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.postcode()
...
'8604'
'9764'
'9593'
'5421'
'6489'
street_address()

:example ‘791 Crist Parks’

Examples:
>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.street_address()
...
'chemin de Carraux 56'
'boulevard Julien Bochud 2'
'boulevard Vonlanthen 224'
'avenue de Deshusses 7'
'rue Charlotte Crivelli 90'
street_name()

:example ‘Crist Parks’

Examples:
>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.street_name()
...
'avenue de Cousin'
'chemin Cosendey'
'rue de Diesbach'
'boulevard Anna Chapuis'
'avenue de Carraud'
street_prefix()

:example ‘rue’

Examples:
>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.street_prefix()
...
'boulevard'
'avenue'
'chemin'
'rue'
'chemin'
street_suffix()

:example ‘Avenue’

Examples:
>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.street_suffix()
...
'Street'
'Street'
'Street'
'Street'
'Street'

faker.providers.company

class faker.providers.company.fr_CH.Provider(generator)

Bases: faker.providers.company.fr_FR.Provider

bs()

:example ‘integrate extensible convergence’

Examples:
>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.bs()
...
'generate enterprise technologies'
'incentivize sexy niches'
'extend B2C vortals'
'engage ubiquitous convergence'
'morph enterprise e-commerce'
catch_phrase()

:example ‘integrate extensible convergence’

Examples:
>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.catch_phrase()
...
"L'assurance d'atteindre vos buts en toute tranquilité"
'Le pouvoir de concrétiser vos projets naturellement'
"La liberté d'atteindre vos buts de manière sûre"
'La possibilité de concrétiser vos projets sans soucis'
'Le plaisir de changer à la pointe'
catch_phrase_attribute()

Returns a random catch phrase attribute.

Examples:
>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.catch_phrase_attribute()
...
'à sa source'
"à l'état pur"
'avant-tout'
'plus simplement'
'naturellement'
catch_phrase_noun()

Returns a random catch phrase noun.

Examples:
>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.catch_phrase_noun()
...
"l'avantage"
'la possibilité'
"l'assurance"
'le confort'
"l'art"
catch_phrase_verb()

Returns a random catch phrase verb.

Examples:
>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.catch_phrase_verb()
...
"d'atteindre vos buts"
"d'atteindre vos buts"
'de changer'
"d'évoluer"
"d'innover"
company()

:example ‘Acme Ltd’

Examples:
>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.company()
...
'Muriset'
'Carraux Délèze SA'
'Chaudet'
'Gubéran Rossellat Sàrl.'
'Muriset Jomini SA'
company_suffix()

:example ‘Ltd’

Examples:
>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.company_suffix()
...
'Sàrl.'
'Sàrl.'
'SA'
'SA'
'Sàrl.'
ide()

Generates a IDE number (9 digits). http://www.bfs.admin.ch/bfs/portal/fr/index/themen/00/05/blank/03/02.html

Examples:
>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.ide()
...
'CHE-690.243.519'
'CHE-753.412.801'
'CHE-942.705.619'
'CHE-815.324.971'
'CHE-794.086.521'
idi()

Generates a IDE number (9 digits). http://www.bfs.admin.ch/bfs/portal/fr/index/themen/00/05/blank/03/02.html

Examples:
>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.idi()
...
'CHE-690.243.519'
'CHE-753.412.801'
'CHE-942.705.619'
'CHE-815.324.971'
'CHE-794.086.521'
siren()

Generates a siren number (9 digits).

Examples:
>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.siren()
...
'660 487 647'
'593 824 219'
'489 241 157'
'815 659 387'
'784 080 160'
siret(max_sequential_digits=2)

Generates a siret number (14 digits). It is in fact the result of the concatenation of a siren number (9 digits), a sequential number (4 digits) and a control number (1 digit) concatenation. If $max_sequential_digits is invalid, it is set to 2. :param max_sequential_digits The maximum number of digits for the sequential number (> 0 && <= 4).

Examples:
>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.siret()
...
'604 876 475 00499'
'824 219 489 00272'
'115 781 565 00399'
'387 784 080 00811'
'609 753 513 00929'
uid()

Generates a IDE number (9 digits). http://www.bfs.admin.ch/bfs/portal/fr/index/themen/00/05/blank/03/02.html

Examples:
>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.uid()
...
'CHE-690.243.519'
'CHE-753.412.801'
'CHE-942.705.619'
'CHE-815.324.971'
'CHE-794.086.521'

faker.providers.internet

class faker.providers.internet.fr_CH.Provider(generator)

Bases: faker.providers.internet.Provider

ascii_company_email()
Examples:
>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.ascii_company_email()
...
'vmuriset@deleze.com'
'claudinerossellat@chapuis.ch'
'luca89@chenaux.ch'
'ymenthonnex@crevoisier.ch'
'sdiesbach@paschoud.ch'
ascii_email()
Examples:
>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.ascii_email()
...
'ncousin@romandie.com'
'ychaudet@rossellat.org'
'njomini@vonlanthen.ch'
'julierosselat@hispeed.ch'
'crevoisierdenise@vallelian.net'
ascii_free_email()
Examples:
>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.ascii_free_email()
...
'vmuriset@yahoo.fr'
'rene47@yahoo.fr'
'hbroquet@hotmail.fr'
'pachoudyvonne@romandie.com'
'danielle24@gmail.com'
ascii_safe_email()
Examples:
>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.ascii_safe_email()
...
'vmuriset@example.org'
'rene47@example.com'
'hbroquet@example.org'
'pachoudyvonne@example.com'
'danielle24@example.org'
company_email()
Examples:
>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.company_email()
...
'vmuriset@deleze.com'
'claudinerossellat@chapuis.ch'
'luca89@chenaux.ch'
'ymenthonnex@crevoisier.ch'
'sdiesbach@paschoud.ch'
dga(year=None, month=None, day=None, tld=None, length=None)

Generates a domain name by given date https://en.wikipedia.org/wiki/Domain_generation_algorithm

Return type:str
Examples:
>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.dga()
...
'hxqvaffcmfsccynscisxeajjagjahtnfcm.com'
'cnrhkwsauxvmqcengcluh.ch'
'iiulfpgbvqcdaeh.ch'
'dgunygtn.com'
'uqniukqjckmjabijnuqholpsjayatffafysbsyaaytuquhbpmpviajxnaro.ch'
domain_name(levels=1)

Produce an Internet domain name with the specified number of subdomain levels.

>>> domain_name()
nichols-phillips.com
>>> domain_name(2)
williamson-hopkins.jackson.com
Examples:
>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.domain_name()
...
'muriset.net'
'deleze.com'
'guberan.com'
'jomini.com'
'vonlanthen.ch'
domain_word()
Examples:
>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.domain_word()
...
'muriset'
'carraux'
'chaudet'
'guberan'
'muriset'
email(domain=None)
Examples:
>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.email()
...
'ncousin@romandie.com'
'ychaudet@rossellat.org'
'njomini@vonlanthen.ch'
'julierosselat@hispeed.ch'
'crevoisierdenise@vallelian.net'
free_email()
Examples:
>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.free_email()
...
'vmuriset@yahoo.fr'
'rene47@yahoo.fr'
'hbroquet@hotmail.fr'
'pachoudyvonne@romandie.com'
'danielle24@gmail.com'
free_email_domain()
Examples:
>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.free_email_domain()
...
'sunrise.ch'
'sunrise.ch'
'bluewin.ch'
'yahoo.fr'
'romandie.com'
hostname(levels=1)

Produce a hostname with specified number of subdomain levels.

>>> hostname()
db-01.nichols-phillips.com
>>> hostname(0)
laptop-56
>>> hostname(2)
web-12.williamson-hopkins.jackson.com
Examples:
>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.hostname()
...
'email-60.deleze.com'
'laptop-93.chapuis.ch'
'lt-48.pasquier.ch'
'desktop-15.besencon.ch'
'web-77.carron.ch'
http_method()

Returns random HTTP method https://developer.mozilla.org/en-US/docs/Web/HTTP/Methods

Return type:str
Examples:
>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.http_method()
...
'TRACE'
'OPTIONS'
'PUT'
'POST'
'DELETE'
image_url(width=None, height=None)

Returns URL to placeholder image Example: http://placehold.it/640x480

Examples:
>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.image_url()
...
'https://www.lorempixel.com/788/861'
'https://placeimg.com/995/829/any'
'https://dummyimage.com/621x976'
'https://dummyimage.com/447x285'
'https://placeimg.com/194/513/any'
ipv4(network=False, address_class=None, private=None)

Returns a random IPv4 address or network with a valid CIDR.

Parameters:
  • network – Network address
  • address_class – IPv4 address class (a, b, or c)
  • private – Public or private
Returns:

IPv4

Examples:
>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.ipv4()
...
'171.174.170.81'
'95.25.112.121'
'51.105.121.194'
'195.110.164.126'
'141.250.247.54'
ipv4_network_class()

Returns a IPv4 network class ‘a’, ‘b’ or ‘c’.

Returns:IPv4 network class
Examples:
>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.ipv4_network_class()
...
'c'
'c'
'b'
'a'
'b'
ipv4_private(network=False, address_class=None)

Returns a private IPv4.

Parameters:
  • network – Network address
  • address_class – IPv4 address class (a, b, or c)
Returns:

Private IPv4

Examples:
>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.ipv4_private()
...
'192.168.215.85'
'10.248.203.131'
'172.25.180.188'
'192.168.111.215'
'172.19.8.218'
ipv4_public(network=False, address_class=None)

Returns a public IPv4 excluding private blocks.

Parameters:
  • network – Network address
  • address_class – IPv4 address class (a, b, or c)
Returns:

Public IPv4

Examples:
>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.ipv4_public()
...
'195.174.170.81'
'15.227.46.15'
'164.218.94.112'
'214.253.123.155'
'134.17.181.9'
ipv6(network=False)

Produce a random IPv6 address or network with a valid CIDR

Examples:
>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.ipv6()
...
'e3e7:682:c209:4cac:629f:6fbf:d82c:7cd'
'f728:b4fa:4248:5e3a:a5d:2f35:6baa:9455'
'eb11:67b3:67a9:c378:7c65:c1e6:82e2:e662'
'f7c1:bd87:4da5:e709:d471:3d61:c8a7:639'
'e443:df78:9558:867f:5ba9:1fb0:7a02:4204'
mac_address()
Examples:
>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.mac_address()
...
'c5:d7:14:84:f8:cf'
'9b:f4:b7:6f:47:90'
'47:30:80:4b:9e:32'
'25:a9:f1:33:b5:de'
'a1:68:f4:e2:85:1f'
port_number(is_system=False, is_user=False, is_dynamic=False)

Returns a network port number https://tools.ietf.org/html/rfc6335

Parameters:
  • is_system – System or well-known ports
  • is_user – User or registered ports
  • is_dynamic – Dynamic / private / ephemeral ports
Return type:

int

Examples:
>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.port_number()
...
50494
55125
5306
33936
63691
safe_domain_name()
Examples:
>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.safe_domain_name()
...
'example.net'
'example.net'
'example.com'
'example.org'
'example.com'
safe_email()
Examples:
>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.safe_email()
...
'vmuriset@example.org'
'rene47@example.com'
'hbroquet@example.org'
'pachoudyvonne@example.com'
'danielle24@example.org'
slug(value=None)

Django algorithm

Examples:
>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.slug()
...
'sapiente-quidem-in'
'maiores-illo-quos'
'labore-nesciunt'
'magnam-eligendi'
'nulla-dolorum'
tld()
Examples:
>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.tld()
...
'ch'
'ch'
'net'
'com'
'org'
uri()
Examples:
>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.uri()
...
'https://www.deleze.com/category/list/main.html'
'http://galland.ch/'
'http://www.quartier.org/tag/tags/privacy/'
'http://paschoud.ch/blog/posts/login.php'
'http://barman.ch/wp-content/author.jsp'
uri_extension()
Examples:
>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.uri_extension()
...
'.jsp'
'.php'
'.htm'
'.html'
'.htm'
uri_page()
Examples:
>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.uri_page()
...
'terms'
'about'
'homepage'
'main'
'register'
uri_path(deep=None)
Examples:
>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.uri_path()
...
'posts/tag'
'explore/tag'
'explore/category'
'categories'
'main/main'
url(schemes=None)
Parameters:schemes – a list of strings to use as schemes, one will chosen randomly.

If None, it will generate http and https urls. Passing an empty list will result in schemeless url generation like “://domain.com”.

Returns:a random url string.
Examples:
>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.url()
...
'https://carraux.ch/'
'http://www.rossellat.org/'
'http://carraud.ch/'
'https://chenaux.ch/'
'https://besencon.ch/'
user_name()
Examples:
>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.user_name()
...
'vmuriset'
'annecosendey'
'ychaudet'
'sara82'
'laurajomini'

faker.providers.job

class faker.providers.job.fr_CH.Provider(generator)

Bases: faker.providers.job.Provider

job()
Examples:
>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.job()
...
"Spécialiste de la nature et de l'environnement avec brevet fédéral"
'Praticien en denrées alimentaires AFP'
'Electroplaste CFC'
'Contremaître en ferblanterie avec brevet fédéral'
'Garnisseur de meubles industriels, maître'

faker.providers.person

class faker.providers.person.fr_CH.Provider(generator)

Bases: faker.providers.person.Provider

first_name()
Examples:
>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.first_name()
...
'Mathilde'
'Laurence'
'Roland'
'Lucas'
'Anne'
first_name_female()
Examples:
>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.first_name_female()
...
'Simone'
'Nicole'
'Isabelle'
'Denise'
'Lara'
first_name_male()
Examples:
>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.first_name_male()
...
'René'
'Pascal'
'Jean-Pierre'
'Frédéric'
'Loïc'
first_name_nonbinary()
Examples:
>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.first_name_nonbinary()
...
'Mathilde'
'Laurence'
'Roland'
'Lucas'
'Anne'
language_name()

Generate a random i18n language name (e.g. English).

Examples:
>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.language_name()
...
'Swahili'
'Sardinian'
'Georgian'
'French'
'Ganda'
last_name()
Examples:
>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.last_name()
...
'Privet'
'Muriset'
'Cousin'
'Carraux'
'Délèze'
last_name_female()
Examples:
>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.last_name_female()
...
'Privet'
'Muriset'
'Cousin'
'Carraux'
'Délèze'
last_name_male()
Examples:
>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.last_name_male()
...
'Privet'
'Muriset'
'Cousin'
'Carraux'
'Délèze'
last_name_nonbinary()
Examples:
>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.last_name_nonbinary()
...
'Privet'
'Muriset'
'Cousin'
'Carraux'
'Délèze'
name()

:example ‘John Doe’

Examples:
>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.name()
...
'Nicole Cousin'
'Loïc Cosendey'
'Elodie Diesbach'
'Sylvie Duvanel'
'Pascal Jomini'
name_female()
Examples:
>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.name_female()
...
'Nicole Cousin'
'Lara Cosendey'
'Elodie Diesbach'
'Sylvie Duvanel'
'Nicole Jomini'
name_male()
Examples:
>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.name_male()
...
'Pascal Cousin'
'Loïc Cosendey'
'Gilbert Diesbach'
'Samuel Duvanel'
'Pascal Jomini'
name_nonbinary()
Examples:
>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.name_nonbinary()
...
'Nicole Cousin'
'Loïc Cosendey'
'Elodie Diesbach'
'Sylvie Duvanel'
'Pascal Jomini'
prefix()
Examples:
>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.prefix()
...
''
''
''
''
''
prefix_female()
Examples:
>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.prefix_female()
...
''
''
''
''
''
prefix_male()
Examples:
>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.prefix_male()
...
''
''
''
''
''
prefix_nonbinary()
Examples:
>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.prefix_nonbinary()
...
''
''
''
''
''
suffix()
Examples:
>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.suffix()
...
''
''
''
''
''
suffix_female()
Examples:
>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.suffix_female()
...
''
''
''
''
''
suffix_male()
Examples:
>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.suffix_male()
...
''
''
''
''
''
suffix_nonbinary()
Examples:
>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.suffix_nonbinary()
...
''
''
''
''
''

faker.providers.phone_number

class faker.providers.phone_number.fr_CH.Provider(generator)

Bases: faker.providers.phone_number.Provider

country_calling_code()
Examples:
>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.country_calling_code()
...
'+211'
'+599 4'
'+800'
'+503'
'+82'
msisdn()

https://en.wikipedia.org/wiki/MSISDN

Examples:
>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.msisdn()
...
'6048764759382'
'1948924115781'
'5938778408016'
'0975351393328'
'1587148418583'
phone_number()
Examples:
>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.phone_number()
...
'0846 048 764'
'0906 593 824'
'+41 61 948 92 41'
'075 781 56 59'
'043 877 84 08'

faker.providers.ssn

class faker.providers.ssn.fr_CH.Provider(generator)

Bases: faker.providers.ssn.Provider

ssn()
Returns a 13 digits Swiss SSN named AHV (German) or
AVS (French and Italian)

See: http://www.bsv.admin.ch/themen/ahv/00011/02185/

Examples:
>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.ssn()
...
'756.6902.4351.88'
'756.5327.1068.40'
'756.4186.5239.04'
'756.5694.7138.25'
'756.0897.5362.19'
vat_id()
Returns:Swiss UID number
Examples:
>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.vat_id()
...
'CHE660487649'
'CHE759382428'
'CHE194892412'
'CHE157815650'
'CHE938778409'