Extracts useful information from Vehicle Identification Number (VIN)
Project description
https://github.com/idlesign/vininfo
Description
Extracts useful information from Vehicle Identification Number (VIN)
Can be used as a standalone console application (CLI).
One can also use import it as any other package in your Python code.
Gives basic and detailed info (is available) about VIN.
Allows VIN checksum verification.
Requirements
Python 2.7, 3.4+
click package for CLI
Usage
CLI
click package is required for CLI. You can install vininfo with click using:
$ pip install vininfo[cli]
$ vininfo --help
; Print out VIN info:
$ vininfo show XTAGFK330JY144213
; Basic:
; Country: USSR/CIS
; Manufacturer: AvtoVAZ
; Region: Europe
; Years: 2018, 1988
;
; Details:
; Body: Station Wagon
; Engine: 21179
; Model: Vesta
; Plant: Izhevsk
; Serial: 144213
; Transmission: Manual Renault
; Verify checksum
$ vininfo check 1M8GDM9AXKP042788
; Checksum is valid
Python
from vininfo import Vin
vin = Vin('VF1LM1B0H36666155')
vin.country # France
vin.manufacturer # Renault
vin.region # Europe
vin.wmi # VF1
vin.vds # LM1B0H
vin.vis # 36666155
annotated = vin.annotate()
details = vin.details
vin.verify_checksum() # False
Vin('1M8GDM9AXKP042788').verify_checksum() # True
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
vininfo-0.2.0.tar.gz
(19.1 kB
view details)
Built Distribution
File details
Details for the file vininfo-0.2.0.tar.gz
.
File metadata
- Download URL: vininfo-0.2.0.tar.gz
- Upload date:
- Size: 19.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: Python-urllib/2.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 67d4b44fe52821414a8a0fb6c4f982f3306541bebc7571650bd88e71282af454 |
|
MD5 | 81d43f428e82256b5bb258c9826331d4 |
|
BLAKE2b-256 | 22ac7d3ba528863cf384d25271a10ec63aba703e802678cb326835150e56ece8 |
File details
Details for the file vininfo-0.2.0-py2.py3-none-any.whl
.
File metadata
- Download URL: vininfo-0.2.0-py2.py3-none-any.whl
- Upload date:
- Size: 15.8 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: Python-urllib/2.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ad254fe9a66cb11a3455da5cdaf10c7802ca3d7dff1f722c5c8accb0c453e5b3 |
|
MD5 | e102bd81108fc3c8c15d439609c637e5 |
|
BLAKE2b-256 | e391e195c4c60821c86167d5627156c949d7f9d0276b8219574a5188b80cee3f |