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:
; Coachwork: 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.vis # 36666155
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.1.0.tar.gz
(18.0 kB
view details)
Built Distribution
File details
Details for the file vininfo-0.1.0.tar.gz
.
File metadata
- Download URL: vininfo-0.1.0.tar.gz
- Upload date:
- Size: 18.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a120f9cabcaa26bf52b1653b9b89b125a30b619be363f7985ee36fb1ea074f23 |
|
MD5 | e21a5d5bfbc51232476e39141b18fcf5 |
|
BLAKE2b-256 | 7046bc5cbf17551f2049f9f95cdf1393b7644a4398e29ad5815050572d5a52df |
File details
Details for the file vininfo-0.1.0-py2.py3-none-any.whl
.
File metadata
- Download URL: vininfo-0.1.0-py2.py3-none-any.whl
- Upload date:
- Size: 14.1 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 067b44f9ca149c092230d69b3b9efd5cbe281615f284b57e42735d11bf6457da |
|
MD5 | 89288029947efdc27487f0cf05521a33 |
|
BLAKE2b-256 | d9fcc0e22e5cf184472ee72d4dd8ba6afe3a3b0999b28f5ac1379cf04cc64413 |