Skip to content

vdbma/immatriculation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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)

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages