Locale es_CA

faker.providers.person

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

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()
Examples:
>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.first_name()
...
'Dolores'
'Jana'
'Arnau'
'Pedro'
'Mia'
first_name_female()
Examples:
>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.first_name_female()
...
'María'
'María Dolores'
'Ana'
'Jana'
'Ona'
first_name_male()
Examples:
>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.first_name_male()
...
'Leo'
'Manuel'
'Aleix'
'Javier'
'Pau'
first_name_nonbinary()
Examples:
>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.first_name_nonbinary()
...
'Dolores'
'Jana'
'Arnau'
'Pedro'
'Mia'
language_name()

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()
Examples:
>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.last_name()
...
'Plaza'
'Rivero'
'Arjona'
'Jove'
'Vidal'
last_name_female()
Examples:
>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.last_name_female()
...
'Plaza'
'Rivero'
'Arjona'
'Jove'
'Vidal'
last_name_male()
Examples:
>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.last_name_male()
...
'Plaza'
'Rivero'
'Arjona'
'Jove'
'Vidal'
last_name_nonbinary()
Examples:
>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.last_name_nonbinary()
...
'Plaza'
'Rivero'
'Arjona'
'Jove'
'Vidal'
name()

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

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

Bases: faker.providers.ssn.es_ES.Provider

A Faker provider for the Spanish VAT IDs and DOIs

cif()

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()
...
'S1836417D'
'A37868346'
'G93358596'
'J1896361A'
'P0740197I'
doi()

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()
...
'D42351510'
'F1196157J'
'79700223W'
'U8802968A'
'66587941C'
nie()

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()
...
'X4784115T'
'Z6701302G'
'Z9958298Q'
'Z9830414N'
'X9640509J'
nif()

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()
...
'82799264T'
'65676511B'
'59671480G'
'60649480K'
'65675315B'
ssn()
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()

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'