Locale dk_DK

faker.providers.person

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

Bases: faker.providers.person.Provider

first_name()
Examples:
>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.first_name()
...
'Oda'
'Leonora'
'Søren'
'Lasse'
'Anette'
first_name_female()
Examples:
>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.first_name_female()
...
'Solvej'
'Rikke'
'Joan'
'Erna'
'Lea'
first_name_male()
Examples:
>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.first_name_male()
...
'Steven'
'Richardt'
'Johnny'
'Frederik'
'Kurt'
first_name_nonbinary()
Examples:
>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.first_name_nonbinary()
...
'Oda'
'Leonora'
'Søren'
'Lasse'
'Anette'
language_name()

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

Examples:
>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.language_name()
...
'Swahili'
'Sardinian'
'Georgian'
'French'
'Ganda'
last_name()
Examples:
>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.last_name()
...
'Holst'
'Mathiesen'
'Jeppesen'
'Olesen'
'Kjær'
last_name_female()
Examples:
>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.last_name_female()
...
'Holst'
'Mathiesen'
'Jeppesen'
'Olesen'
'Kjær'
last_name_male()
Examples:
>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.last_name_male()
...
'Holst'
'Mathiesen'
'Jeppesen'
'Olesen'
'Kjær'
last_name_nonbinary()
Examples:
>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.last_name_nonbinary()
...
'Holst'
'Mathiesen'
'Jeppesen'
'Olesen'
'Kjær'
name()

:example ‘John Doe’

Examples:
>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.name()
...
'Univ.Prof. Joan Olesen'
'Jasmin Winther'
'Kenn Skov-Kristoffersen'
'Frida Mathiesen'
'Emily Kristoffersen'
name_female()
Examples:
>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.name_female()
...
'Univ.Prof. Joan Olesen'
'Jasmin Winther'
'Kenn Skov-Kristoffersen'
'Frida Mathiesen'
'Emily Kristoffersen'
name_male()
Examples:
>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.name_male()
...
'Univ.Prof. Joan Olesen'
'Jasmin Winther'
'Kenn Skov-Kristoffersen'
'Frida Mathiesen'
'Emily Kristoffersen'
name_nonbinary()
Examples:
>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.name_nonbinary()
...
'Univ.Prof. Joan Olesen'
'Jasmin Winther'
'Kenn Skov-Kristoffersen'
'Frida Mathiesen'
'Emily Kristoffersen'
prefix()
Examples:
>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.prefix()
...
'Univ.Prof.'
'Dr.'
'Dr.'
'Dr.'
'Prof.'
prefix_female()
Examples:
>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.prefix_female()
...
'Univ.Prof.'
'Univ.Prof.'
'Dr.'
'Dr.'
'Prof.'
prefix_male()
Examples:
>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.prefix_male()
...
'Univ.Prof.'
'Univ.Prof.'
'Dr.'
'Dr.'
'Prof.'
prefix_nonbinary()
Examples:
>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.prefix_nonbinary()
...
'Univ.Prof.'
'Dr.'
'Dr.'
'Dr.'
'Prof.'
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.phone_number

class faker.providers.phone_number.dk_DK.Provider(generator)

Bases: faker.providers.phone_number.Provider

country_calling_code()
Examples:
>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.country_calling_code()
...
'+211'
'+599 4'
'+800'
'+503'
'+82'
msisdn()

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

Examples:
>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.msisdn()
...
'6048764759382'
'1948924115781'
'5938778408016'
'0975351393328'
'1587148418583'
phone_number()
Examples:
>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.phone_number()
...
'(06048) 764759'
'(03824) 219489'
'(04115) 781565'
'0387784080'
'+45(0)6097 535139'

faker.providers.ssn

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

Bases: faker.providers.ssn.Provider

A Faker provider for the Danish VAT IDs

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()

Returns a random generated Danish Tax ID

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