Locale es_CA

faker.providers.person

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

Bases: Provider

Adds popular Catalan names. https://www.idescat.cat/pub/?id=aec&n=946&lang=es&t=2018 https://www.idescat.cat/pub/?id=aec&n=947&lang=es&t=2018

first_name() str
Examples:

>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.first_name()
...
'Dolores'
'Jana'
'Arnau'
'Pedro'
'Mia'
first_name_female() str
Examples:

>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.first_name_female()
...
'María'
'María Dolores'
'Ana'
'Jana'
'Ona'
first_name_male() str
Examples:

>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.first_name_male()
...
'Leo'
'Manuel'
'Aleix'
'Javier'
'Pau'
first_name_nonbinary() str
Examples:

>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.first_name_nonbinary()
...
'Dolores'
'Jana'
'Arnau'
'Pedro'
'Mia'
language_name() str

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

Examples:

>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.language_name()
...
'Letón'
'Maltés'
'Aimara'
'Igbo'
'Romanche'
last_name() str
Examples:

>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.last_name()
...
'Plaza'
'Rivero'
'Arjona'
'Jove'
'Vidal'
last_name_female() str
Examples:

>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.last_name_female()
...
'Plaza'
'Rivero'
'Arjona'
'Jove'
'Vidal'
last_name_male() str
Examples:

>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.last_name_male()
...
'Plaza'
'Rivero'
'Arjona'
'Jove'
'Vidal'
last_name_nonbinary() str
Examples:

>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.last_name_nonbinary()
...
'Plaza'
'Rivero'
'Arjona'
'Jove'
'Vidal'
name() str
Example:

‘John Doe’

Examples:

>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.name()
...
'María Dolores Arjona Jove'
'Núria Quirós'
'Miguel José María Gil Vargas'
'Jordi Chaves Bustamante'
'Jana Rosa Collado Menéndez'
name_female() str
Examples:

>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.name_female()
...
'María Dolores Arjona'
'Ona Torre Quirós'
'Noa Palma Gil'
'Carmen Luján-Chaves'
'Jana Collado Menéndez'
name_male() str
Examples:

>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.name_male()
...
'Manuel Arjona'
'Pau Torre Quirós'
'Miguel Palma Gil'
'Carlos Luján-Chaves'
'Javier Collado Menéndez'
name_nonbinary() str
Examples:

>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.name_nonbinary()
...
'María Dolores Arjona Jove'
'Núria Quirós'
'Miguel José María Gil Vargas'
'Jordi Chaves Bustamante'
'Jana Rosa Collado Menéndez'
prefix() str
Examples:

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

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

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

>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.prefix_nonbinary()
...
'del'
'del'
'de'
'del'
'del'
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.ssn

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

Bases: Provider

A Faker provider for the Spanish VAT IDs and DOIs

cif() str

https://es.wikipedia.org/wiki/C%C3%B3digo_de_identificaci%C3%B3n_fiscal :return: a random Spanish CIF

Examples:

>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.cif()
...
'Q0013181C'
'J5783800E'
'J6495543H'
'F4036097F'
'N9821689H'
doi() str

https://es.wikipedia.org/wiki/Identificador_de_objeto_digital :return: a random Spanish CIF or NIE or NIF

Examples:

>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.doi()
...
'D60963857'
'F8526651H'
'Y0409440P'
'07746589M'
'82470992F'
nie() str

https://es.wikipedia.org/wiki/N%C3%BAmero_de_identidad_de_extranjero :return: a random Spanish NIE

Examples:

>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.nie()
...
'Z9734524D'
'X6740030H'
'Z8653533H'
'X5116187K'
'Z2086467G'
nif() str

https://es.wikipedia.org/wiki/N%C3%BAmero_de_identificaci%C3%B3n_fiscal :return: NIF

Examples:

>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.nif()
...
'96708653R'
'67968635R'
'85580560K'
'82307926B'
'92263756S'
nuss(company: bool = False) str
Parameters:

company – flag to indicate if we should generate a company NUSS

Returns:

a random Spanish Social Security Number (Número de la Seguridad Social)

Examples:

>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.nuss()
...
'217405768479'
'021522675450'
'490201050575'
'216593283951'
'418009293356'
ssn() str
Examples:

>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.ssn()
...
'604-87-6475'
'824-21-9489'
'411-57-8156'
'938-77-8408'
'160-97-5351'
vat_id() str

http://ec.europa.eu/taxation_customs/vies/faq.html#item_11 :return: a random Spanish VAT ID

Examples:

>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.vat_id()
...
'ES60487647w'
'ESZ3824219q'
'ESJ9241157g'
'ES65938778q'
'ESp80160975'