Metadata-Version: 2.1
Name: vinlib
Version: 0.7.14.dev0
Summary: Vehicle Identification Number Library
Home-page: http://lucasmanual.com/mywiki/vinlib
Author: Lukasz Szybalski
Author-email: szybalski@gmail.com
License: AGPL v3.0.        Commercial licenses are also available from Lucasmanual.com
Keywords: vin vinlib authentic
Platform: UNKNOWN


.. contents::
   :depth: 3


vinlib
------

vinlib is a Vehicle Identification Number Package that allows you to verify and decode parts of the vin number.

Currently it can:

1) vinlib.check_vin will return whether the entered vin number is authentic/correct.

2) Vin('somevinhere') will return object that has vehicle year and vin check true/false flag. 

Install vinlib
~~~~~~~~~~~~~

PYPI
====

You can install vinlib from PyPi::

 easy_install vinlib
 #or
 pip install vinlib

Done.

Using vinlib
~~~~~~~~~~~

In python code you can check if the vin is valid::

 import vinlib
 myvinnumber='1hasomenumberhere'
 print vinlib.check_vin(myvinnumber)

This will return true or false depending if the vin number is correct or not.


In python code you can decode vin's year::

 import vinlib
 print vinlib.Vin('1ZVIHaveAVinNumber17').year

Additional Examples::

 import vinlib
 #get year from a vin
 print vinlib.Vin('1ZVIHaveAVinNumber17').year
 #check if vin is valid.
 print vinlib.Vin('1ZVIHaveAVinNumber17').check


Enjoy,

vinlib team.


