Skip to main content

Extracts useful information from Vehicle Identification Number (VIN)

Project description

https://github.com/idlesign/vininfo

release lic ci coverage health

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


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.3.0.tar.gz (21.4 kB view details)

Uploaded Source

Built Distribution

vininfo-0.3.0-py2.py3-none-any.whl (18.4 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file vininfo-0.3.0.tar.gz.

File metadata

  • Download URL: vininfo-0.3.0.tar.gz
  • Upload date:
  • Size: 21.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: Python-urllib/2.7

File hashes

Hashes for vininfo-0.3.0.tar.gz
Algorithm Hash digest
SHA256 4ee00aaba0c536ac7a30443b8c5e7931390227ff54e1080d329f748a0035e5ec
MD5 9a02f3aafdc8b683964fd4fdf2341341
BLAKE2b-256 6fa64f79e9bb53dec726ff55f576b3b788177d838abf85c32d2c9a5837cf407e

See more details on using hashes here.

File details

Details for the file vininfo-0.3.0-py2.py3-none-any.whl.

File metadata

  • Download URL: vininfo-0.3.0-py2.py3-none-any.whl
  • Upload date:
  • Size: 18.4 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: Python-urllib/2.7

File hashes

Hashes for vininfo-0.3.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 24262cb92fd411aecaf89f6711289c4d615b3c49ff38e28b6198add92cfad042
MD5 3edecd6fab37be33351ac02d651d8c82
BLAKE2b-256 95853459445cf71c0f7f33f2226a35647dbd670c02b33510db906ae2c313161b

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page