Set of tools for ID plates infos !
Clone this repo with
$ git clone https://github.com/vdbma/immatriculation
Install with
$ pip install -e .
while in the repository directory (-e
option will auto-update the package for your python environement when pulling newer versions).
Given a python string formatted as 'XX-YYY-ZZ'
where
- XX are two letters
- YYY are thre numbers
- ZZ are two letters
immatriculation.siv.computeValue('XX-YYY-ZZ')
returns the number corresponding to the ID. If the string is not valid, it returns None
.
This follows the french SIV ID plate system (see wikipedia page)