Locale lv_LV

faker.providers.person

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

Bases: Provider

first_name() str
Examples:

>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.first_name()
...
'Karlīna'
'Līza'
'Artūrs'
'Amālija'
'Vera'
first_name_female() str
Examples:

>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.first_name_female()
...
'Mare'
'Mirdza'
'Anita'
'Iveta'
'Tekla'
first_name_male() str
Examples:

>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.first_name_male()
...
'Staņislavs'
'Hanss'
'Pauls'
'Valdis'
'Igors'
first_name_nonbinary() str
Examples:

>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.first_name_nonbinary()
...
'Karlīna'
'Līza'
'Artūrs'
'Amālija'
'Vera'
language_name() str

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

Examples:

>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.language_name()
...
'Luba-Katanga'
'Malay'
'Aymara'
'Interlingue'
'Quechua'
last_name() str
Examples:

>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.last_name()
...
'Lagzdiņa'
'Puriņa'
'Bērziņš'
'Āboliņa'
'Ābele'
last_name_female() str
Examples:

>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.last_name_female()
...
'Skujiņa'
'Vanaga'
'Auniņa'
'Līce'
'Zirne'
last_name_male() str
Examples:

>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.last_name_male()
...
'Siliņš'
'Turiņš'
'Auniņš'
'Lagzdiņš'
'Zvirbulis'
last_name_nonbinary() str
Examples:

>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.last_name_nonbinary()
...
'Paegle'
'Paegle'
'Ābele'
'Lapsa'
'Roze'
name() str
Example:

‘John Doe’

Examples:

>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.name()
...
'Līza Bērziņš'
'Vera Zālīte'
'Edīte Vītola'
'Toms Zvirbule'
'Biruta Liepiņš'
name_female() str
Examples:

>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.name_female()
...
'Līza Bērziņš'
'Vera Zālīte'
'Edīte Vītola'
'Toms Zvirbule'
'Biruta Liepiņš'
name_male() str
Examples:

>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.name_male()
...
'Līza Bērziņš'
'Vera Zālīte'
'Edīte Vītola'
'Toms Zvirbule'
'Biruta Liepiņš'
name_nonbinary() str
Examples:

>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.name_nonbinary()
...
'Līza Bērziņš'
'Vera Zālīte'
'Edīte Vītola'
'Toms Zvirbule'
'Biruta Liepiņš'
prefix() str
Examples:

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

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

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

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

class faker.providers.phone_number.lv_LV.Provider(generator: Any)

Bases: Provider

country_calling_code() str
Examples:

>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.country_calling_code()
...
'+687'
'+595'
'+880'
'+964'
'+41'
msisdn() str

https://en.wikipedia.org/wiki/MSISDN

Examples:

>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.msisdn()
...
'6048764759382'
'2194892411578'
'5659387784080'
'6097535139332'
'1158714841858'
phone_number() str
Examples:

>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.phone_number()
...
'+(371) 60487647'
'+(371) 93824219'
'+(371) 89241157'
'+37115659387'
'+(371) 84080160'

faker.providers.ssn

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

Bases: Provider

ssn(min_age: int = 0, max_age: int = 105) str

Returns 11 character Latvian personal identity code (Personas kods). This function assigns random age to person.

Personal code consists of eleven characters of the form DDMMYYCZZZQ, where DDMMYY is the date of birth, C the century sign, ZZZ the individual number and Q the control character (checksum). The number for the century is either 0 (1800–1899), 1 (1900–1999), or 2 (2000–2099).

Examples:

>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.ssn()
...
'270255-18878'
'261048-11525'
'281077-16346'
'030237-15257'
'101169-15990'
vat_id() str

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

Examples:

>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.vat_id()
...
'LV60487647593'
'LV42194892411'
'LV78156593877'
'LV08016097535'
'LV39332871158'