Locale dk_DK

faker.providers.person

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

Bases: faker.providers.person.Provider

first_name() → str
Examples:
>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.first_name()
...
'Randi'
'Silas'
'Malou'
'Sofie'
'Tobias'
first_name_female() → str
Examples:
>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.first_name_female()
...
'Stine'
'Jacqueline'
'Ronja'
'Tina'
'Jonna'
first_name_male() → str
Examples:
>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.first_name_male()
...
'Tom'
'Joakim'
'Rune'
'Victor'
'Julius'
first_name_nonbinary() → str
Examples:
>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.first_name_nonbinary()
...
'Randi'
'Silas'
'Malou'
'Sofie'
'Tobias'
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()
...
'Jessen'
'Skov'
'Christensen'
'Clausen'
'Krogh'
last_name_female() → str
Examples:
>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.last_name_female()
...
'Jessen'
'Skov'
'Christensen'
'Clausen'
'Krogh'
last_name_male() → str
Examples:
>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.last_name_male()
...
'Jessen'
'Skov'
'Christensen'
'Clausen'
'Krogh'
last_name_nonbinary() → str
Examples:
>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.last_name_nonbinary()
...
'Jessen'
'Skov'
'Christensen'
'Clausen'
'Krogh'
name() → str

:example ‘John Doe’

Examples:
>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.name()
...
'Univ.Prof. Ronja Skov'
'George Krogh'
'Jean Jeppesen'
'Inge Mathiasen'
'Laurits Johansen'
name_female() → str
Examples:
>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.name_female()
...
'Univ.Prof. Ronja Skov'
'George Krogh'
'Jean Jeppesen'
'Inge Mathiasen'
'Laurits Johansen'
name_male() → str
Examples:
>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.name_male()
...
'Univ.Prof. Ronja Skov'
'George Krogh'
'Jean Jeppesen'
'Inge Mathiasen'
'Laurits Johansen'
name_nonbinary() → str
Examples:
>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.name_nonbinary()
...
'Univ.Prof. Ronja Skov'
'George Krogh'
'Jean Jeppesen'
'Inge Mathiasen'
'Laurits Johansen'
prefix() → str
Examples:
>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.prefix()
...
'Univ.Prof.'
'Prof.'
'Univ.Prof.'
'Univ.Prof.'
'Dr.'
prefix_female() → str
Examples:
>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.prefix_female()
...
'Univ.Prof.'
'Univ.Prof.'
'Fru'
'Prof.'
'Univ.Prof.'
prefix_male() → str
Examples:
>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.prefix_male()
...
'Univ.Prof.'
'Univ.Prof.'
'Hr'
'Prof.'
'Univ.Prof.'
prefix_nonbinary() → str
Examples:
>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.prefix_nonbinary()
...
'Univ.Prof.'
'Prof.'
'Univ.Prof.'
'Univ.Prof.'
'Dr.'
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.dk_DK.Provider(generator: Any)

Bases: faker.providers.phone_number.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()
...
'0604876475'
'(03824) 219489'
'+45 (0) 4115 781565'
'(03877) 840801'
'0097535139'

faker.providers.ssn

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

Bases: faker.providers.ssn.Provider

A Faker provider for the Danish VAT IDs

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

Returns a random generated Danish Tax ID

Examples:
>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.vat_id()
...
'DK60487647'
'DK93824219'
'DK89241157'
'DK56593877'
'DK08016097'