Locale de_CH

faker.providers.address

class faker.providers.address.de_CH.Provider(generator: Any)

Bases: Provider

address() str
Example:

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

Examples:

>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.address()
...
'Hafnerstrasse 84\n6938 Lugano'
'Roosstrasse 21\n6781 Rheinfelden'
'Mäderstrasse 9\n1160 Morges'
'Freistrasse 92\n8115 Carouge'
'Schallerstrasse 939\n5719 Meyrin'
administrative_unit() str

Randomly returns a Swiss canton name. :example ‘Zürich’

Examples:

>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.administrative_unit()
...
'Neuenburg'
'Zug'
'Nidwalden'
'Appenzell Innerrhoden'
'Glarus'
building_number() str
Example:

‘791’

Examples:

>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.building_number()
...
'16'
'88'
'84'
'49'
'324'
canton() Tuple[str, str]

Randomly returns a swiss canton (‘Abbreviated’, ‘Name’). :example (‘ZH’, ‘Zürich’)

Examples:

>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.canton()
...
('NE', 'Neuenburg')
('ZG', 'Zug')
('NW', 'Nidwalden')
('AI', 'Appenzell Innerrhoden')
('GL', 'Glarus')
canton_code() str

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

Examples:

>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.canton_code()
...
'NE'
'ZG'
'NW'
'AI'
'GL'
canton_name() str

Randomly returns a Swiss canton name. :example ‘Zürich’

Examples:

>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.canton_name()
...
'Neuenburg'
'Zug'
'Nidwalden'
'Appenzell Innerrhoden'
'Glarus'
city() str
Example:

‘Sashabury’

Examples:

>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.city()
...
'Rapperswil-Jona'
'Langenthal'
'Plan-les-Ouates'
'Sitten'
'Weinfelden'
city_name() str

Randomly returns a swiss city. :example ‘Zug’

Examples:

>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.city_name()
...
'Onex'
'Rapperswil-Jona'
'Baar'
'Langenthal'
'Suhr'
city_suffix() str
Example:

‘town’

Examples:

>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.city_suffix()
...
'Ville'
'Ville'
'Ville'
'Ville'
'Ville'
country() str
Examples:

>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.country()
...
'Tonga'
'Kasachstan'
'Sri Lanka'
'Ungarn'
'Kroatien'
country_code(representation: str = 'alpha-2') str
Examples:

>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.country_code()
...
'MV'
'PS'
'NL'
'BB'
'IL'
current_country() str
Examples:

>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.current_country()
...
'Switzerland'
'Switzerland'
'Switzerland'
'Switzerland'
'Switzerland'
current_country_code() str
Examples:

>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.current_country_code()
...
'CH'
'CH'
'CH'
'CH'
'CH'
postcode() str
Example:

86039-9874

Examples:

>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.postcode()
...
'7604'
'9764'
'8593'
'9242'
'2948'
street_address() str
Example:

‘791 Crist Parks’

Examples:

>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.street_address()
...
'Bauerstrasse 576'
'Schmidtstrasse 324'
'Roosstrasse 21'
'Schaubstrasse 66'
'Mäderstrasse 9'
street_name() str
Example:

‘Crist Parks’

Examples:

>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.street_name()
...
'Wettsteinstrasse'
'Hafnerstrasse'
'Wüthrichstrasse'
'Kaiserstrasse'
'Hessstrasse'
street_suffix() str
Example:

‘Avenue’

Examples:

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

faker.providers.automotive

class faker.providers.automotive.de_CH.Provider(generator: Any)

Bases: Provider

Implement automotive provider for de_CH locale.

Sources:

license_plate() str

Generate a license plate.

Examples:

>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.license_plate()
...
'NE-760 487'
'ZH-947 593'
'BS-942 194'
'VD-692 411'
'SH-68 156'
vin() str

Generate vin number.

Examples:

>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.vin()
...
'RT3GZYSKXXNDZ9J97'
'G0K75MX77NULDXVG4'
'16S1YMFL25CEF0V66'
'LZY7KJ8M0DJV6RLFJ'
'BCB3GX5649036SHFD'

faker.providers.bank

class faker.providers.bank.de_CH.Provider(generator: Any)

Bases: Provider

Implement bank provider for de_CH locale.

aba() str

Generate an ABA routing transit number.

Examples:

>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.aba()
...
'076048766'
'057593829'
'052194896'
'034115783'
'025659384'
bank_country() str

Generate the bank provider’s ISO 3166-1 alpha-2 country code.

Examples:

>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.bank_country()
...
'CH'
'CH'
'CH'
'CH'
'CH'
bban() str

Generate a Basic Bank Account Number (BBAN).

Examples:

>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.bban()
...
'66048764759382421'
'94892411578156593'
'87784080160975351'
'39332871158714841'
'85839894719659342'
iban() str

Generate an International Bank Account Number (IBAN).

Examples:

>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.iban()
...
'CH8566048764759382421'
'CH1694892411578156593'
'CH2487784080160975351'
'CH3639332871158714841'
'CH3285839894719659342'
swift(length: int | None = None, primary: bool = False, use_dataset: bool = False) str

Generate a SWIFT code.

SWIFT codes, reading from left to right, are composed of a 4 alphabet character bank code, a 2 alphabet character country code, a 2 alphanumeric location code, and an optional 3 alphanumeric branch code. This means SWIFT codes can only have 8 or 11 characters, so the value of length can only be None or the integers 8 or 11. If the value is None, then a value of 8 or 11 will randomly be assigned.

Because all 8-digit SWIFT codes already refer to the primary branch or office, the primary argument only has an effect if the value of length is 11. If primary is True and length is 11, the 11-digit SWIFT codes generated will always end in 'XXX' to denote that they belong to primary branches/offices.

For extra authenticity, localized providers may opt to include SWIFT bank codes, location codes, and branch codes used in their respective locales. If use_dataset is True, this method will generate SWIFT codes based on those locale-specific codes if included. If those codes were not included, then it will behave as if use_dataset were False, and in that mode, all those codes will just be randomly generated as per the specification.

Examples:

>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.swift()
...
'YNBICH65ZT4'
'SGQECHSIGQ8'
'JDXCCHV4'
'LNKTCHN9'
'OQIBCH9AFZA'
>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.swift(length=8)
...
'MYNBCHQ6'
'PMZJCH4W'
'SGQECHSI'
'YDTZCHQ8'
'WZTECHTG'
>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.swift(length=8, use_dataset=True)
...
'MYNBCHQ6'
'PMZJCH4W'
'SGQECHSI'
'YDTZCHQ8'
'WZTECHTG'
>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.swift(length=11)
...
'MYNBCHQ65ZT'
'PLSGCH6ISIG'
'TZIRCHJTGEV'
'PRDLCH1UN94'
'OQIBCH9AFZA'
>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.swift(length=11, primary=True)
...
'MYNBCHQ6XXX'
'PMZJCH4WXXX'
'SGQECHSIXXX'
'YDTZCHQ8XXX'
'WZTECHTGXXX'
>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.swift(length=11, use_dataset=True)
...
'MYNBCHQ65ZT'
'PLSGCH6ISIG'
'TZIRCHJTGEV'
'PRDLCH1UN94'
'OQIBCH9AFZA'
>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.swift(length=11, primary=True, use_dataset=True)
...
'MYNBCHQ6XXX'
'PMZJCH4WXXX'
'SGQECHSIXXX'
'YDTZCHQ8XXX'
'WZTECHTGXXX'
swift11(primary: bool = False, use_dataset: bool = False) str

Generate an 11-digit SWIFT code.

This method uses swift() under the hood with the length argument set to 11. If primary is set to True, the SWIFT code will always end with 'XXX'. All 11-digit SWIFT codes use this convention to refer to the primary branch/office.

Examples:

>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.swift11()
...
'MYNBCHQ65ZT'
'PLSGCH6ISIG'
'TZIRCHJTGEV'
'PRDLCH1UN94'
'OQIBCH9AFZA'
>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.swift11(use_dataset=True)
...
'MYNBCHQ65ZT'
'PLSGCH6ISIG'
'TZIRCHJTGEV'
'PRDLCH1UN94'
'OQIBCH9AFZA'
swift8(use_dataset: bool = False) str

Generate an 8-digit SWIFT code.

This method uses swift() under the hood with the length argument set to 8 and with the primary argument omitted. All 8-digit SWIFT codes already refer to the primary branch/office.

Examples:

>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.swift8()
...
'MYNBCHQ6'
'PMZJCH4W'
'SGQECHSI'
'YDTZCHQ8'
'WZTECHTG'
>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.swift8(use_dataset=True)
...
'MYNBCHQ6'
'PMZJCH4W'
'SGQECHSI'
'YDTZCHQ8'
'WZTECHTG'

faker.providers.color

class faker.providers.color.de_CH.Provider(generator: Any)

Bases: Provider

color(hue: str | float | int | Sequence[int] | None = None, luminosity: str | None = None, color_format: str = 'hex') str

Generate a color in a human-friendly way.

Under the hood, this method first creates a color represented in the HSV color model and then converts it to the desired color_format. The argument hue controls the H value according to the following rules:

  • If the value is a number from 0 to 360, it will serve as the H value of the generated color.

  • If the value is a tuple/list of 2 numbers from 0 to 360, the color’s H value will be randomly selected from that range.

  • If the value is a valid string, the color’s H value will be randomly selected from the H range corresponding to the supplied string. Valid values are 'monochrome', 'red', 'orange', 'yellow', 'green', 'blue', 'purple', and 'pink'.

The argument luminosity influences both S and V values and is partially affected by hue as well. The finer details of this relationship are somewhat involved, so please refer to the source code instead if you wish to dig deeper. To keep the interface simple, this argument either can be omitted or can accept the following string values:'bright', 'dark', 'light', or 'random'.

The argument color_format controls in which color model the color is represented. Valid values are 'hsv', 'hsl', 'rgb', or 'hex' (default).

Examples:

>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.color(hue='red')
...
'#af2f33'
'#e02141'
'#ef6466'
'#a80a14'
'#ed9e95'
>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.color(luminosity='light')
...
'#79c3e0'
'#89ffa1'
'#96cbf7'
'#aafaff'
'#e3f495'
>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.color(hue=(100, 200), color_format='rgb')
...
'rgb(26, 155, 88)'
'rgb(9, 193, 49)'
'rgb(73, 229, 154)'
'rgb(107, 249, 166)'
'rgb(76, 204, 69)'
>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.color(hue='orange', luminosity='bright')
...
'#efc332'
'#edae65'
'#d1861d'
'#ffcc42'
'#e09533'
>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.color(hue=135, luminosity='dark', color_format='hsv')
...
'hsv(135, 96, 45)'
'hsv(135, 98, 57)'
'hsv(135, 94, 61)'
'hsv(135, 99, 47)'
'hsv(135, 94, 50)'
>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.color(hue=(300, 20), luminosity='random', color_format='hsl')
...
'hsl(217, 94, 27)'
'hsl(40, 23, 54)'
'hsl(268, 100, 74)'
'hsl(175, 43, 31)'
'hsl(131, 47, 11)'
color_hsl(hue: str | float | int | Sequence[int] | None = None, luminosity: str | None = None) Tuple[int, int, int]

Generate a HSL color tuple in a human-friendly way.

Examples:

>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.color_hsl()
...
(197, 57, 32)
(132, 90, 39)
(207, 76, 65)
(183, 88, 33)
(258, 62, 73)
color_hsv(hue: str | float | int | Sequence[int] | None = None, luminosity: str | None = None) Tuple[int, int, int]

Generate a HSV color tuple in a human-friendly way.

Examples:

>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.color_hsv()
...
(197, 73, 51)
(132, 95, 76)
(207, 58, 92)
(183, 94, 64)
(258, 37, 90)
color_name() str

Generate a color name.

Examples:

>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.color_name()
...
'Orange'
'Peru'
'Blauviolett'
'Helles Goldrutengelb'
'Distel'
color_rgb(hue: str | float | int | Sequence[int] | None = None, luminosity: str | None = None) Tuple[int, int, int]

Generate a RGB color tuple of integers in a human-friendly way.

Examples:

>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.color_rgb()
...
(35, 103, 130)
(9, 193, 46)
(98, 173, 234)
(9, 155, 163)
(170, 144, 229)
color_rgb_float(hue: str | float | int | Sequence[int] | None = None, luminosity: str | None = None) Tuple[float, float, float]

Generate a RGB color tuple of floats in a human-friendly way.

Examples:

>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.color_rgb_float()
...
(0.13770000000000002, 0.4045149999999999, 0.51)
(0.038000000000000034, 0.76, 0.18239999999999984)
(0.3864000000000001, 0.6798800000000002, 0.92)
(0.03840000000000004, 0.6099200000000001, 0.64)
(0.6668999999999999, 0.5670000000000001, 0.9)
hex_color() str

Generate a color formatted as a hex triplet.

Examples:

>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.hex_color()
...
'#d82c08'
'#629f70'
'#c2094d'
'#e3e707'
'#6baa95'
rgb_color() str

Generate a color formatted as a comma-separated RGB value.

Examples:

>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.rgb_color()
...
'197,215,20'
'132,248,207'
'155,244,183'
'111,71,144'
'71,48,128'
rgb_css_color() str

Generate a color formatted as a CSS rgb() function.

Examples:

>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.rgb_css_color()
...
'rgb(197,215,20)'
'rgb(132,248,207)'
'rgb(155,244,183)'
'rgb(111,71,144)'
'rgb(71,48,128)'
safe_color_name() str

Generate a web-safe color name.

Examples:

>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.safe_color_name()
...
'aqua'
'teal'
'fuchsia'
'white'
'teal'
safe_hex_color() str

Generate a web-safe color formatted as a hex triplet.

Examples:

>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.safe_hex_color()
...
'#ccdd11'
'#88ffcc'
'#99ffbb'
'#664499'
'#443388'

faker.providers.company

class faker.providers.company.de_CH.Provider(generator: Any)

Bases: Provider

bs() str
Example:

‘integrate extensible convergence’

Examples:

>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.bs()
...
'iterate integrated e-markets'
'integrate back-end mindshare'
'synthesize wireless content'
'syndicate synergistic applications'
'productize killer mindshare'
catch_phrase() str
Example:

‘Robust full-range hub’

Examples:

>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.catch_phrase()
...
'Networked well-modulated instruction set'
'Balanced empowering migration'
'Pre-emptive impactful toolset'
'Innovative mission-critical help-desk'
'Reduced didactic middleware'
company() str
Example:

‘Acme Ltd’

Examples:

>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.company()
...
'Wettstein Leu AG'
'Peter Meyer & Co.'
'Merz Kaiser & Söhne'
'Ott AG'
'Eichenberger Wenger AG'
company_suffix() str
Example:

‘Ltd’

Examples:

>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.company_suffix()
...
'& Co.'
'& Co.'
'AG'
'GmbH'
'& Cie.'

faker.providers.currency

class faker.providers.currency.de_CH.Provider(generator: Any)

Bases: Provider

cryptocurrency() Tuple[str, str]
Examples:

>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.cryptocurrency()
...
('XRP', 'Ripple')
('STC', 'SwiftCoin')
('BC', 'BlackCoin')
('NXT', 'Nxt')
('IOTA', 'IOTA')
cryptocurrency_code() str
Examples:

>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.cryptocurrency_code()
...
'XRP'
'STC'
'BC'
'NXT'
'IOTA'
cryptocurrency_name() str
Examples:

>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.cryptocurrency_name()
...
'Ripple'
'SwiftCoin'
'BlackCoin'
'Nxt'
'IOTA'
currency() Tuple[str, str]
Examples:

>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.currency()
...
('MXN', 'Mexikanische Peso')
('OMR', 'Omanische Rial')
('BAM', 'Konvertible Mark')
('IRR', 'Iranische Rial')
('SRD', 'Surinamische Dollar')
currency_code() str
Examples:

>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.currency_code()
...
'MXN'
'OMR'
'BAM'
'IRR'
'SRD'
currency_name() str
Examples:

>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.currency_name()
...
'Mexikanische Peso'
'Omanische Rial'
'Konvertible Mark'
'Iranische Rial'
'Surinamische Dollar'
currency_symbol(code: str | None = None) str
Example:

$

Examples:

>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.currency_symbol()
...
'$'
'$'
'KM'
'kr'
'L'
pricetag()
Examples:

>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.pricetag()
...
'Fr.\xa0860.48'
'Fr.\xa0447.59'
'Fr.\xa05 242.19'
'Fr.\xa06 924.11'
'Fr.\xa0681.56'

faker.providers.person

class faker.providers.person.de_CH.Provider(generator: Any)

Bases: Provider

first_name() str
Examples:

>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.first_name()
...
'Joelle'
'Julio'
'Belinda'
'Anne-Sophie'
'Zoltán'
first_name_female() str
Examples:

>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.first_name_female()
...
'Malea'
'Eleonora'
'Liridona'
'Aisha'
'Morgane'
first_name_male() str
Examples:

>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.first_name_male()
...
'Irfan'
'Hannes'
'Gazmend'
'Kerim'
'Frédéric'
first_name_nonbinary() str
Examples:

>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.first_name_nonbinary()
...
'Joelle'
'Julio'
'Belinda'
'Anne-Sophie'
'Zoltán'
language_name() str

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

Examples:

>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.language_name()
...
'Luba-Katanga'
'Malay'
'Aymara'
'Interlingue'
'Quechua'
last_name() str
Examples:

>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.last_name()
...
'Knecht'
'Wettstein'
'Leu'
'Bauer'
'Hafner'
last_name_female() str
Examples:

>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.last_name_female()
...
'Knecht'
'Wettstein'
'Leu'
'Bauer'
'Hafner'
last_name_male() str
Examples:

>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.last_name_male()
...
'Knecht'
'Wettstein'
'Leu'
'Bauer'
'Hafner'
last_name_nonbinary() str
Examples:

>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.last_name_nonbinary()
...
'Knecht'
'Wettstein'
'Leu'
'Bauer'
'Hafner'
name() str
Example:

‘John Doe’

Examples:

>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.name()
...
'Belinda Leu'
'Blerim Peter'
'Arda Wüthrich-Hofmann'
'Morris Schmidt-Geiger'
'Hanna Hess Eichenberger'
name_female() str
Examples:

>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.name_female()
...
'Belinda Leu'
'Blerim Peter'
'Arda Wüthrich-Hofmann'
'Morris Schmidt-Geiger'
'Hanna Hess Eichenberger'
name_male() str
Examples:

>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.name_male()
...
'Belinda Leu'
'Blerim Peter'
'Arda Wüthrich-Hofmann'
'Morris Schmidt-Geiger'
'Hanna Hess Eichenberger'
name_nonbinary() str
Examples:

>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.name_nonbinary()
...
'Belinda Leu'
'Blerim Peter'
'Arda Wüthrich-Hofmann'
'Morris Schmidt-Geiger'
'Hanna Hess Eichenberger'
prefix() str
Examples:

>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.prefix()
...
'Prof.'
'Prof.'
'Dr.'
'Prof.'
'Prof.'
prefix_female() str
Examples:

>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.prefix_female()
...
'Prof.'
'Prof.'
'Dr.'
'Prof.'
'Prof.'
prefix_male() str
Examples:

>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.prefix_male()
...
'Prof.'
'Prof.'
'Dr.'
'Prof.'
'Prof.'
prefix_nonbinary() str
Examples:

>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.prefix_nonbinary()
...
'Prof.'
'Prof.'
'Dr.'
'Prof.'
'Prof.'
suffix() str
Examples:

>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.suffix()
...
''
''
''
''
''
suffix_female() str
Examples:

>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.suffix_female()
...
''
''
''
''
''
suffix_male() str
Examples:

>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.suffix_male()
...
''
''
''
''
''
suffix_nonbinary() str
Examples:

>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.suffix_nonbinary()
...
''
''
''
''
''

faker.providers.phone_number

class faker.providers.phone_number.de_CH.Provider(generator: Any)

Bases: Provider

Phone number provider for de_CH locale.

Sources: - https://de.wikipedia.org/wiki/Telefonnummer_(Schweiz)

cellphone_number() str
Examples:

>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.cellphone_number()
...
'078 048 76 47'
'079 382 42 19'
'079 924 11 57'
'+41 77 659 38 77'
'075 801 60 97'
country_calling_code() str
Examples:

>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.country_calling_code()
...
'+687'
'+595'
'+880'
'+964'
'+41'
dialing_code() str
Examples:

>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.dialing_code()
...
'78'
'78'
'75'
'77'
'79'
landline_code() str
Examples:

>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.landline_code()
...
'52'
'55'
'22'
'34'
'62'
msisdn() str

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

Examples:

>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.msisdn()
...
'6048764759382'
'2194892411578'
'5659387784080'
'6097535139332'
'1158714841858'
phone_number() str
Examples:

>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.phone_number()
...
'055 048 76 47'
'081 382 42 19'
'071 924 11 57'
'+41 44 659 38 77'
'022 801 60 97'

faker.providers.ssn

class faker.providers.ssn.de_CH.Provider(generator: Any)

Bases: Provider

ssn() str
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() str
Returns:

Swiss UID number

Examples:

>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.vat_id()
...
'CHE660487649'
'CHE759382428'
'CHE194892412'
'CHE157815650'
'CHE938778409'