Locale nl_NL

faker.providers.address

class faker.providers.address.nl_NL.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()
...
'Lukassteeg 6\n4759 GI\nLettelbert'
'Saarsteeg 924\n9157GW\nScharmer'
'Tijssteeg 080\n8609VP\nMontfoort'
'Leondreef 71\n2587TJ\nLoenen'
'Yarastraat 94\n6196 KP\nLithoijen'
administrative_unit()
Examples:
>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.administrative_unit()
...
'Noord-Brabant'
'Noord-Brabant'
'Drenthe'
'Groningen'
'Overijssel'
building_number()

:example ‘791’

Examples:
>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.building_number()
...
'6'
'4'
'76'
'759'
'82'
city()

:example ‘Sashabury’

Examples:
>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.city()
...
'Oud Zuilen'
'Rijswijk (NB)'
'Beegden'
'Kollum'
'Vierhouten'
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()
...
'Tanzania'
'Iran'
'Sao Tomé en Principe'
'Turks- en Caicoseilanden'
'Kaaimaneilanden'
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()
...
'Kingdom of the Netherlands'
'Kingdom of the Netherlands'
'Kingdom of the Netherlands'
'Kingdom of the Netherlands'
'Kingdom of the Netherlands'
current_country_code()
Examples:
>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.current_country_code()
...
'NL'
'NL'
'NL'
'NL'
'NL'
postcode()

:example 86039-9874

Examples:
>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.postcode()
...
'9604 FZ'
'4759 GI'
'5219 IT'
'6411EJ'
'4565JE'
province()
Examples:
>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.province()
...
'Noord-Brabant'
'Noord-Brabant'
'Drenthe'
'Groningen'
'Overijssel'
street_address()

:example ‘791 Crist Parks’

Examples:
>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.street_address()
...
'Beratlaan 76'
'Rafstraat 82'
'Lilyboulevard 48'
'Dylanoboulevard 578'
'Thomaspad 38'
street_name()

:example ‘Crist Parks’

Examples:
>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.street_name()
...
'Lindering'
'Lukassteeg'
'Siemlaan'
'Rafstraat'
'Aminadreef'
street_suffix()

:example ‘Avenue’

Examples:
>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.street_suffix()
...
'ring'
'ring'
'baan'
'laan'
'steeg'

faker.providers.bank

class faker.providers.bank.nl_NL.Provider(generator)

Bases: faker.providers.bank.Provider

Implement bank provider for nl_NL locale.

aba()

Generate an ABA routing transit number.

Examples:
>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.aba()
...
'076048766'
'057593829'
'052194896'
'034115783'
'025659384'
bank_country()

Generate the bank provider’s ISO 3166-1 alpha-2 country code.

Examples:
>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.bank_country()
...
'NL'
'NL'
'NL'
'NL'
'NL'
bban()

Generate a Basic Bank Account Number (BBAN).

Examples:
>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.bban()
...
'MYNB4876475938'
'EJEY1948924115'
'PRDL6593877840'
'ZRAC6097535139'
'HHZE8711587148'
iban()

Generate an International Bank Account Number (IBAN).

Examples:
>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.iban()
...
'NL82MYNB4876475938'
'NL71EJEY1948924115'
'NL43PRDL6593877840'
'NL04ZRAC6097535139'
'NL81HHZE8711587148'
swift(length=None, primary=None, use_dataset=False)

Generate a SWIFT code.

SWIFT codes, reading from left to right, are composed of a 4 alphabet character bank code, a 2 alphabet character country code, a 2 alphanumeric location code, and an optional 3 alphanumeric branch code. This means SWIFT codes can only have 8 or 11 characters, so the value of length can only be None or the integers 8 or 11. If the value is None, then a value of 8 or 11 will randomly be assigned.

Because all 8-digit SWIFT codes already refer to the primary branch or office, the primary argument only has an effect if the value of length is 11. If primary is True and length is 11, the 11-digit SWIFT codes generated will always end in 'XXX' to denote that they belong to primary branches/offices.

For extra authenticity, localized providers may opt to include SWIFT bank codes, location codes, and branch codes used in their respective locales. If use_dataset is True, this method will generate SWIFT codes based on those locale-specific codes if included. If those codes were not included, then it will behave as if use_dataset were False, and in that mode, all those codes will just be randomly generated as per the specification.

Examples:
>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.swift()
...
'YNBINL65ZT4'
'SGQENLSIGQ8'
'JDXCNLV4'
'LNKTNLN9'
'OQIBNL9AFZA'
>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.swift(length=8)
...
'MYNBNLQ6'
'PMZJNL4W'
'SGQENLSI'
'YDTZNLQ8'
'WZTENLTG'
>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.swift(length=8, use_dataset=True)
...
'MYNBNLQ6'
'PMZJNL4W'
'SGQENLSI'
'YDTZNLQ8'
'WZTENLTG'
>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.swift(length=11)
...
'MYNBNLQ65ZT'
'PLSGNL6ISIG'
'TZIRNLJTGEV'
'PRDLNL1UN94'
'OQIBNL9AFZA'
>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.swift(length=11, primary=True)
...
'MYNBNLQ6XXX'
'PMZJNL4WXXX'
'SGQENLSIXXX'
'YDTZNLQ8XXX'
'WZTENLTGXXX'
>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.swift(length=11, use_dataset=True)
...
'MYNBNLQ65ZT'
'PLSGNL6ISIG'
'TZIRNLJTGEV'
'PRDLNL1UN94'
'OQIBNL9AFZA'
>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.swift(length=11, primary=True, use_dataset=True)
...
'MYNBNLQ6XXX'
'PMZJNL4WXXX'
'SGQENLSIXXX'
'YDTZNLQ8XXX'
'WZTENLTGXXX'
swift11(primary=None, use_dataset=False)

Generate an 11-digit SWIFT code.

This method uses swift() under the hood with the length argument set to 11. If primary is set to True, the SWIFT code will always end with 'XXX'. All 11-digit SWIFT codes use this convention to refer to the primary branch/office.

Examples:
>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.swift11()
...
'MYNBNLQ65ZT'
'PLSGNL6ISIG'
'TZIRNLJTGEV'
'PRDLNL1UN94'
'OQIBNL9AFZA'
>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.swift11(use_dataset=True)
...
'MYNBNLQ65ZT'
'PLSGNL6ISIG'
'TZIRNLJTGEV'
'PRDLNL1UN94'
'OQIBNL9AFZA'
swift8(use_dataset=False)

Generate an 8-digit SWIFT code.

This method uses swift() under the hood with the length argument set to 8 and with the primary argument omitted. All 8-digit SWIFT codes already refer to the primary branch/office.

Examples:
>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.swift8()
...
'MYNBNLQ6'
'PMZJNL4W'
'SGQENLSI'
'YDTZNLQ8'
'WZTENLTG'
>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.swift8(use_dataset=True)
...
'MYNBNLQ6'
'PMZJNL4W'
'SGQENLSI'
'YDTZNLQ8'
'WZTENLTG'

faker.providers.company

class faker.providers.company.nl_NL.Provider(generator)

Bases: faker.providers.company.Provider

bs()

:example ‘integrate extensible convergence’

Examples:
>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.bs()
...
'iterate integrated e-markets'
'integrate back-end mindshare'
'synthesize wireless content'
'syndicate synergistic applications'
'productize killer mindshare'
catch_phrase()

:example ‘Robust full-range hub’

Examples:
>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.catch_phrase()
...
'Networked well-modulated instruction set'
'Balanced empowering migration'
'Pre-emptive impactful toolset'
'Innovative mission-critical help-desk'
'Reduced didactic middleware'
company()

:example ‘Acme Ltd’

Examples:
>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.company()
...
'Ten Brinke Groep'
'ABN Amro'
'Royal van Santen'
'Foot Locker Europe'
'Koninklijke Winters'
company_prefix()

:example ‘Stichting’

Examples:
>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.company_prefix()
...
'Koninklijke'
'Koninklijke'
'Stichting'
'Koninklijke'
'Royal'
company_suffix()

:example ‘Ltd’

Examples:
>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.company_suffix()
...
'NV'
'NV'
'BV'
'NV'
'Groep'
large_company()
Example:‘Bol.com’
Examples:
>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.large_company()
...
'Martinair'
'NAM'
'Ten Brinke Groep'
'RFS Holland'
'SBM Offshore'

faker.providers.person

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

Bases: faker.providers.person.Provider

first_name()
Examples:
>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.first_name()
...
'Mirte'
'Sami'
'Linde'
'Pleun'
'Stijn'
first_name_female()
Examples:
>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.first_name_female()
...
'Sanne'
'Janna'
'Noortje'
'Sophie'
'Jill'
first_name_male()
Examples:
>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.first_name_male()
...
'Sven'
'Joost'
'Ruben'
'Tim'
'Julius'
first_name_nonbinary()
Examples:
>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.first_name_nonbinary()
...
'Mirte'
'Sami'
'Linde'
'Pleun'
'Stijn'
language_name()

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()
Examples:
>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.last_name()
...
'de Jode Vastraedsd'
'van Boven'
'Brievingh'
'Rijn'
'van de Ven'
last_name_female()
Examples:
>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.last_name_female()
...
'de Jode Vastraedsd'
'van Boven'
'Brievingh'
'Rijn'
'van de Ven'
last_name_male()
Examples:
>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.last_name_male()
...
'de Jode Vastraedsd'
'van Boven'
'Brievingh'
'Rijn'
'van de Ven'
last_name_nonbinary()
Examples:
>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.last_name_nonbinary()
...
'de Jode Vastraedsd'
'van Boven'
'Brievingh'
'Rijn'
'van de Ven'
name()

:example ‘John Doe’

Examples:
>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.name()
...
'Noortje van Boven'
'Hendrik van de Ven'
'Jenna Stoffel-van Oosten'
'Lizzy Molenaar'
'Ivan Janse'
name_female()
Examples:
>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.name_female()
...
'Noortje van Boven'
'Hendrik van de Ven'
'Jenna Stoffel-van Oosten'
'Lizzy Molenaar'
'Ivan Janse'
name_male()
Examples:
>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.name_male()
...
'Noortje van Boven'
'Hendrik van de Ven'
'Jenna Stoffel-van Oosten'
'Lizzy Molenaar'
'Ivan Janse'
name_nonbinary()
Examples:
>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.name_nonbinary()
...
'Noortje van Boven'
'Hendrik van de Ven'
'Jenna Stoffel-van Oosten'
'Lizzy Molenaar'
'Ivan Janse'
prefix()
Examples:
>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.prefix()
...
''
''
''
''
''
prefix_female()
Examples:
>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.prefix_female()
...
''
''
''
''
''
prefix_male()
Examples:
>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.prefix_male()
...
''
''
''
''
''
prefix_nonbinary()
Examples:
>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.prefix_nonbinary()
...
''
''
''
''
''
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.nl_NL.Provider(generator)

Bases: faker.providers.phone_number.Provider

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

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

Examples:
>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.msisdn()
...
'6048764759382'
'2194892411578'
'5659387784080'
'6097535139332'
'1158714841858'
phone_number()
Examples:
>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.phone_number()
...
'+31(0)604-876475'
'(0824) 219489'
'+31(0)411 578156'
'+31938-778408'
'0160 975351'

faker.providers.ssn

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

Bases: faker.providers.ssn.Provider

ssn()

Returns a 9 digits Dutch SSN called “burgerservicenummer (BSN)”.

the Dutch “burgerservicenummer (BSN)” needs to pass the “11-proef”, which is a check digit approach; this function essentially reverses the checksum steps to create a random valid BSN (which is 9 digits).

Examples:
>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.ssn()
...
'690243510'
'753412809'
'942705610'
'815324972'
'794086524'
vat_id()

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

Examples:
>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.vat_id()
...
'NL604876475B93'
'NL421948924B11'
'NL781565938B77'
'NL080160975B35'
'NL393328711B58'