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()
...
'María Teresa'
'Laura'
'Nil'
'Jorge'
'Aina'
first_name_female()
Examples:
>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.first_name_female()
...
'Ona'
'Montserrat'
'Jana'
'Clàudia'
'Laia'
first_name_male()
Examples:
>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.first_name_male()
...
'Nil'
'Martí'
'Jan'
'Daniel'
'Jordi'
first_name_nonbinary()
Examples:
>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.first_name_nonbinary()
...
'María Teresa'
'Laura'
'Nil'
'Jorge'
'Aina'
language_name()

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

Examples:
>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.language_name()
...
'Swahili'
'Sánscrito'
'Georgiano'
'Feroés'
'Luxemburgués'
last_name()
Examples:
>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.last_name()
...
'Salvà'
'Querol'
'Gisbert'
'Cerro'
'Lillo'
last_name_female()
Examples:
>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.last_name_female()
...
'Salvà'
'Querol'
'Gisbert'
'Cerro'
'Lillo'
last_name_male()
Examples:
>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.last_name_male()
...
'Salvà'
'Querol'
'Gisbert'
'Cerro'
'Lillo'
last_name_nonbinary()
Examples:
>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.last_name_nonbinary()
...
'Salvà'
'Querol'
'Gisbert'
'Cerro'
'Lillo'
name()

:example ‘John Doe’

Examples:
>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.name()
...
'Montserrat Gisbert'
'Jordi Garmendia Ribes'
'Joan Mendizábal'
'Laia Company-Pérez'
'Chlóe Toledo Viñas'
name_female()
Examples:
>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.name_female()
...
'Montserrat Gisbert-Cerro'
'Isabel Ribes Cuevas'
'Marta Teruel Lastra'
'Montserrat Morán Cazorla'
'Valèria Núria Tejedor Córdoba'
name_male()
Examples:
>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.name_male()
...
'Martí Gisbert-Cerro'
'Hugo Ribes Cuevas'
'José Teruel Lastra'
'Marc Morán Cazorla'
'Xavier Max Tejedor Córdoba'
name_nonbinary()
Examples:
>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.name_nonbinary()
...
'Montserrat Gisbert'
'Jordi Garmendia Ribes'
'Joan Mendizábal'
'Laia Company-Pérez'
'Chlóe Toledo Viñas'
prefix()
Examples:
>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.prefix()
...
'del'
'del'
'de'
'de'
'del'
prefix_female()
Examples:
>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.prefix_female()
...
'del'
'del'
'de'
'de'
'del'
prefix_male()
Examples:
>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.prefix_male()
...
'del'
'del'
'de'
'de'
'del'
prefix_nonbinary()
Examples:
>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.prefix_nonbinary()
...
'del'
'del'
'de'
'de'
'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()
...
'W6295669C'
'U4034798A'
'F1671315H'
'R9676555G'
'N7951490G'
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()
...
'70015456Y'
'41549373B'
'G12648705'
'Q0518398C'
'V8760917H'
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()
...
'Z6403548P'
'X5050694D'
'Y8640554C'
'Z0442403A'
'Y6049176Y'
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()
...
'10714131H'
'24007577Q'
'83595175L'
'58216389P'
'95555273W'
ssn()
Examples:
>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.ssn()
...
'604-87-6475'
'382-42-1948'
'924-11-5781'
'593-87-7840'
'801-60-9753'
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()
...
'ESY6048764s'
'ESP3824219Z'
'ES92411578f'
'ES93877840P'
'ES01609753L'