Locale da_DK

faker.providers.address

class faker.providers.address.da_DK.Provider(generator)

Bases: faker.providers.address.Provider

address()

:example ‘791 Crist Parks, Sashabury, IL 86039-9874’

Examples:
>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.address()
...
'Parkere Schønbergsgade 56\n9593 Holstebro'
'Gyde Heinesgade 241\n6781 Slagelse'
'Gyde Blekingegade 280\n6097 Korsør'
'Gyde Toldbodgade 828\n8158 Taastrup'
'Gyde Silkegade 9\n7719 Nyborg'
administrative_unit()
Examples:
>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.administrative_unit()
...
'Sjælland'
'Sjælland'
'Hovedstaden'
'Nordjylland'
'Syddanmark'
building_number()

:example ‘791’

Examples:
>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.building_number()
...
'16'
'88'
'84'
'49'
'3'
city()

:example ‘Sashabury’

Examples:
>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.city()
...
'Rønne'
'Odense'
'Birkerød'
'Hjørring'
'Stenløse'
city_name()
Examples:
>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.city_name()
...
'Svendborg'
'Rønne'
'Frederikshavn'
'Odense'
'Viborg'
city_suffix()

:example ‘town’

Examples:
>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.city_suffix()
...
'Ville'
'Ville'
'Ville'
'Ville'
'Ville'
country()
Examples:
>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.country()
...
'Turkmenistan'
'Kenya'
'Sri Lanka'
'Vatikanstaten'
'Kuba'
country_code(representation='alpha-2')
Examples:
>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.country_code()
...
'MV'
'PS'
'NL'
'BB'
'IL'
current_country()
Examples:
>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.current_country()
...
'Denmark'
'Denmark'
'Denmark'
'Denmark'
'Denmark'
current_country_code()
Examples:
>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.current_country_code()
...
'DK'
'DK'
'DK'
'DK'
'DK'
postcode()

:example 86039-9874

Examples:
>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.postcode()
...
'9604'
'6647'
'3824'
'3948'
'8115'
state()
Examples:
>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.state()
...
'Sjælland'
'Sjælland'
'Hovedstaden'
'Nordjylland'
'Syddanmark'
street_address()

:example ‘791 Crist Parks’

Examples:
>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.street_address()
...
'Gade Blekingegade 8'
'Baggade Godthåbsvej 4'
'Allé Nygade 5'
'Gade Lavendelstræde 6'
'Parkere Kingosgade 49'
street_name()

:example ‘Crist Parks’

Examples:
>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.street_name()
...
'Baggade Adelgade'
'Gyde Rolighedsvej'
'Parkere Rolighedsvej'
'Gyde Silkegade'
'Parkere Pilestræde'
street_prefix()
Examples:
>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.street_prefix()
...
'Baggade'
'Baggade'
'Gade'
'Parkere'
'Gyde'
street_suffix()

:example ‘Avenue’

Examples:
>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.street_suffix()
...
'Howitzvej'
'Kingosgade'
'Adelgade'
'Blekingegade'
'Schønbergsgade'