Skip to main content

PyRDW fetches license-number-data from the RDW, the dutch department of road transport.

Project description

PyRDW
=====

PyRDW gives a basic way of fetching licensenumber-data from the RDW, the dutch department of road transport.
Keys in data returned (by the RDW) are in dutch, unfortunately.

See the RDW for data-documentation:

https://www.rdw.nl/opendata/Paginas/handleidingen.aspx?path=Portal/OpenData

Regular expressions copied from:

http://blog.kenteken.tv/2011/05/06/code-snippets-formatteren-rdw-kenteken/



###Usage


```
>>> from pyrdw.license_number import LicenseNumber
>>>
>>> license_number = LicenseNumber('8tgj72')
>>> license_number.formatted
'8-TGJ-72'
>>> license_number.data['Merk']
u'FERRARI'
>>> license_number.data['Handelsbenaming']
u'458'
>>> license_number.data['Aantalzitplaatsen']
2
>>> license_number.data['BPM']
50193

```


###Version-history

1.0b - Basic functionality with license_number validation and an RDW call.

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

PyRDW-1.0.tar.gz (3.0 kB view details)

Uploaded Source

File details

Details for the file PyRDW-1.0.tar.gz.

File metadata

  • Download URL: PyRDW-1.0.tar.gz
  • Upload date:
  • Size: 3.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for PyRDW-1.0.tar.gz
Algorithm Hash digest
SHA256 07a7118b531870b3b2be370fe35ecd3dd51a2782a47f2ab198fb0c68b98e65ea
MD5 aa37dc435bf9eaf04fdd07ac94549b08
BLAKE2b-256 592671cf567813695cfba3e959f5b057ba7b0df06449028a643585ef776f2733

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page