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()
...
'Lucapad 475\n5382 HE\nStramproy'
'Ellaboulevard 1\n2578 SQ\nOpende'
'Améliebaan 016\n6097 MQ\nVleuten'
'Tesssteeg 158\n9714 PG\nHeerde'
'Bibihof 6\n4342QB\nZoutelande'
building_number()

:example ‘791’

Examples:
>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.building_number()
...
'604'
'764'
'593'
'4'
'1'
city()

:example ‘Sashabury’

Examples:
>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.city()
...
'Urk'
'Sint Jansklooster'
'Kedichem'
'Foxhol'
'Maastricht-Airport'
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()
...
'Sri Lanka'
'Saint Vincent en de Grenadines'
'Jemen'
'Faeröer'
'Macedonië'
country_code(representation='alpha-2')
Examples:
>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.country_code()
...
'ZW'
'TO'
'LB'
'FI'
'MV'
postcode()

:example 86039-9874

Examples:
>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.postcode()
...
'9604 ZV'
'4759 AO'
'3948 QL'
'2578 SQ'
'8387 SN'
province()
Examples:
>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.province()
...
'Zeeland'
'Utrecht'
'Limburg'
'Gelderland'
'Noord-Brabant'
street_address()

:example ‘791 Crist Parks’

Examples:
>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.street_address()
...
'Standreef 6'
'Tesshof 382'
'Eveliendreef 924'
'Merlehof 5'
'Quintyweg 840'
street_name()

:example ‘Crist Parks’

Examples:
>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.street_name()
...
'Lauralaan'
'Amberlaan'
'Merijnpad'
'Pleunpad'
'Lararing'
street_suffix()

:example ‘Avenue’

Examples:
>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.street_suffix()
...
'straat'
'steeg'
'laan'
'dreef'
'pad'

faker.providers.bank

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

Bases: faker.providers.bank.Provider

Implement bank provider for nl_NL locale.

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()
...
'VTKG8764759382'
'HTQG8924115781'
'JIQF8778408016'
'SUQP5351393328'
'LCIN7148418583'
iban()

Generate an International Bank Account Number (IBAN).

Examples:
>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.iban()
...
'NL91VTKG8764759382'
'NL23HTQG8924115781'
'NL13JIQF8778408016'
'NL29SUQP5351393328'
'NL23LCIN7148418583'
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()
...
'TKGNNLO2KRV'
'NHTQNLJ6936'
'SXRMNLDP'
'XZMWNLJ2TAZ'
'VRAMNL5I'
>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.swift(length=8)
...
'VTKGNLSO'
'UHMPNL6S'
'HTQGNL69'
'VXISNL6Y'
'MCLPNL68'
>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.swift(length=8, use_dataset=True)
...
'VTKGNLSO'
'UHMPNL6S'
'HTQGNL69'
'VXISNL6Y'
'MCLPNL68'
>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.swift(length=11)
...
'VTKGNLSO2KR'
'PXNHNL1WJ69'
'VXISNL6YQDP'
'PXZMNL5J2TA'
'SKVRNLAR5IL'
>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.swift(length=11, primary=True)
...
'VTKGNLSOXXX'
'UHMPNL6SXXX'
'HTQGNL69XXX'
'VXISNL6YXXX'
'MCLPNL68XXX'
>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.swift(length=11, use_dataset=True)
...
'VTKGNLSO2KR'
'PXNHNL1WJ69'
'VXISNL6YQDP'
'PXZMNL5J2TA'
'SKVRNLAR5IL'
>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.swift(length=11, primary=True, use_dataset=True)
...
'VTKGNLSOXXX'
'UHMPNL6SXXX'
'HTQGNL69XXX'
'VXISNL6YXXX'
'MCLPNL68XXX'
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()
...
'VTKGNLSO2KR'
'PXNHNL1WJ69'
'VXISNL6YQDP'
'PXZMNL5J2TA'
'SKVRNLAR5IL'
>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.swift11(use_dataset=True)
...
'VTKGNLSO2KR'
'PXNHNL1WJ69'
'VXISNL6YQDP'
'PXZMNL5J2TA'
'SKVRNLAR5IL'
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()
...
'VTKGNLSO'
'UHMPNL6S'
'HTQGNL69'
'VXISNL6Y'
'MCLPNL68'
>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.swift8(use_dataset=True)
...
'VTKGNLSO'
'UHMPNL6S'
'HTQGNL69'
'VXISNL6Y'
'MCLPNL68'

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()
...
'generate enterprise technologies'
'incentivize dot-com niches'
'extend B2C vortals'
'engage ubiquitous convergence'
'morph enterprise e-commerce'
catch_phrase()

:example ‘Robust full-range hub’

Examples:
>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.catch_phrase()
...
'Switchable radical Graphical User Interface'
'Exclusive impactful groupware'
'Seamless disintermediate info-mediaries'
'Persevering transitional installation'
'Face-to-face radical middleware'
company()

:example ‘Acme Ltd’

Examples:
>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.company()
...
'Van Gansewinkel'
'Janssen & Schrik'
'van Dongen & Kortman'
'Van Bragt & van Zwaben'
'Stichting van Beek'
company_prefix()

:example ‘Stichting’

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

:example ‘Ltd’

Examples:
>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.company_suffix()
...
'Groep'
'Groep'
'NV'
'BV'
'NV'
large_company()
Example:‘Bol.com’
Examples:
>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.large_company()
...
'IMC Trading'
'Van Gansewinkel'
'AC Restaurants'
'ArboNed'
'Bovemij Verzekeringsgroep'

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()
...
'Meike'
'Laura'
'Stan'
'Luca'
'Amber'
first_name_female()
Examples:
>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.first_name_female()
...
'Roos'
'Ninthe'
'Jente'
'Fatima'
'Lara'
first_name_male()
Examples:
>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.first_name_male()
...
'Stan'
'Riley'
'Jules'
'Guus'
'Luc'
first_name_nonbinary()
Examples:
>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.first_name_nonbinary()
...
'Meike'
'Laura'
'Stan'
'Luca'
'Amber'
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()
...
'van Luxemburg'
'van Bergen'
'Oostveen'
'Janssen'
'Schrik'
last_name_female()
Examples:
>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.last_name_female()
...
'van Luxemburg'
'van Bergen'
'Oostveen'
'Janssen'
'Schrik'
last_name_male()
Examples:
>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.last_name_male()
...
'van Luxemburg'
'van Bergen'
'Oostveen'
'Janssen'
'Schrik'
last_name_nonbinary()
Examples:
>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.last_name_nonbinary()
...
'van Luxemburg'
'van Bergen'
'Oostveen'
'Janssen'
'Schrik'
name()

:example ‘John Doe’

Examples:
>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.name()
...
'Ninthe Oostveen'
'Luc Nedermeijer'
'Floortje Room'
'Sophie Schilt'
'Rik Vos'
name_female()
Examples:
>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.name_female()
...
'Ninthe Oostveen'
'Luc Nedermeijer'
'Floortje Room'
'Sophie Schilt'
'Rik Vos'
name_male()
Examples:
>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.name_male()
...
'Ninthe Oostveen'
'Luc Nedermeijer'
'Floortje Room'
'Sophie Schilt'
'Rik Vos'
name_nonbinary()
Examples:
>>> Faker.seed(0)
>>> for _ in range(5):
...     fake.name_nonbinary()
...
'Ninthe Oostveen'
'Luc Nedermeijer'
'Floortje Room'
'Sophie Schilt'
'Rik Vos'
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()
...
'+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()
...
'+31(0)60-4876475'
'038-2421948'
'(092)-4115781'
'+31(0)59 3877840'
'+31(0)801-609753'

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'
'NL578156593B87'
'NL840801609B75'
'NL513933287B11'