Locale es_CA

faker.providers.person

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

Bases: faker.providers.person.es_ES.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: faker.providers.ssn.es_ES.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()
...
'G02416378'
'J6399894B'
'D88182654'
'G94300506'
'N9284813D'
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()
...
'J8538777G'
'X5581745J'
'75126275H'
'88371402C'
'J4765477G'
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()
...
'Y5391465A'
'Y7237935X'
'Z4964100S'
'Y9352198K'
'Z5904254K'
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()
...
'96107081V'
'63640214L'
'05941184P'
'68491756X'
'74466170J'
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'