immatriculation

pre-commit Code style: black

Set of tools for ID plates infos !

Installation

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).

Usage

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)