PyRDW gives a basic way of fetching licensenumber-data from the RDW, the dutch department of road transport.
Project description
PyRDW
=====
Supports Python 2.6, 2.7, 3.3, 3.4 and 3.5
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.1 - 2016-04-21 - Added Python 3 support;
1.0 - 2014-12-23 - Release;
1.0b - 2014-12-23 - Basic functionality with license_number validation and an RDW call.
=====
Supports Python 2.6, 2.7, 3.3, 3.4 and 3.5
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.1 - 2016-04-21 - Added Python 3 support;
1.0 - 2014-12-23 - Release;
1.0b - 2014-12-23 - Basic functionality with license_number validation and an RDW call.
Project details
Release history Release notifications | RSS feed
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.1.tar.gz
(3.2 kB
view details)
File details
Details for the file PyRDW-1.1.tar.gz.
File metadata
- Download URL: PyRDW-1.1.tar.gz
- Upload date:
- Size: 3.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
83697a1c61695a5837318e82f79b47e1d961cebe5459ad83e60126b9ac904f28
|
|
| MD5 |
6dd345417090c9a62f57244b8c46a03c
|
|
| BLAKE2b-256 |
c0ffdab5e2a39cf171b7ed82fe4a46c89d7aad082b022068536719a74e8b4c5a
|