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()
...
'W9276292A'
'G56363468'
'N4629299A'
'V4531044H'
'A99158388'
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()
...
'H14163430'
'10061767A'
'S6586715B'
'00097541K'
'X6974142J'
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()
...
'Z5718282G'
'Y0512854Z'
'Z5506049S'
'Z1889716H'
'X2524675B'
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()
...
'64634528C'
'12278975B'
'12063792Q'
'19377875F'
'75606707A'
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()
...
'300379611323'
'400186557614'
'042182598750'
'425196003552'
'215239652890'
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'