Skip to main content

Common data about Belgium

Project description

Common data about Belgium. Freely available and maintained in Python.

Note: we are discussing whether this package is meaningful. See

This currently includes a list of Belgian places in multiple languages with zip codes.

DISCLAIMER: This comes with no warranty at all.

Usage example:

>>> from import root
>>> belgium = root()
>>> print(', '.join([ for x in belgium.children]))
Bruxelles, Région flamande, Région wallonne
>>> print(', '.join([ for x in belgium.children]))
Brussel, Vlaams Gewest, Wallonië
>>> wallonia = belgium.children[2]
>>> print(', '.join([ for x in wallonia.children]))
Namur, Liège, Hainaut, Limbourg, Brabant wallon
>>> print(', '.join([ for x in wallonia.children]))
Namen, Luik, Henegouwen, Limburg, Waals-Brabant

The following number will decrease when we continue to change “city” entries into “village” or “township” entries:

>>> liege = wallonia.children[1]
>>> len(liege.children)
>>> eupen = liege.get(fr="Eupen")
>>> print(eupen.zip_code)

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution (26.9 kB view hashes)

Uploaded source

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page