• Stars
    star
    111
  • Rank 314,510 (Top 7 %)
  • Language
    Python
  • License
    BSD 3-Clause "New...
  • Created over 6 years ago
  • Updated 10 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Extracts useful information from Vehicle Identification Number (VIN)

vininfo

https://github.com/idlesign/vininfo

release lic coverage

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.

Additional info available for many vehicles from:

  • AvtoVAZ
  • Nissan
  • Opel
  • Renault

Requirements

  • Python 3.6+
  • 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, 5-Door
; 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

Development

One can add missing WMI(s) using instructions from dicts/wmi.py: WMI dictionary, that maps WMI strings to manufacturers.

Those manufacturers may be represented by simple strings, or instances of Brand subclasses (see brands.py).

If you know how to decode additional information (model, body, engine, etc.) encoded in VIN, you may also want to create a so-called details extractor for a brand.

Details extractors are VinDetails subclasses in most cases making use of Detail descriptors to represent additional information (see details/nissan.py for example).

More Repositories

1

django-sitetree

Reusable application for Django introducing site tree, menu and breadcrumbs navigation elements.
Python
346
star
2

torrentool

The tool to work with torrent files.
Python
148
star
3

deluge-webapi

Plugin for Deluge WebUI providing sane JSON API
Python
120
star
4

torrt

Automates torrent updates for you
Python
112
star
5

uwsgiconf

Configure uWSGI from your Python code
Python
77
star
6

pycbrf

Tools to query Bank of Russia
Python
57
star
7

ist-yii-cfile

CFile provides popular functions to manipulate files both with Yii Framework and without
PHP
57
star
8

django-sitemessage

Reusable application for Django introducing a message delivery framework
Python
54
star
9

pythonz

Место, где делают pythonz.net
Python
46
star
10

django-sitemetrics

Reusable application for Django that offers easy integration with different site metrics service providers.
Python
45
star
11

pytest-djangoapp

Nice pytest plugin to help you with Django pluggable application testing.
Python
40
star
12

django-etc

Tiny stuff for Django that won't fit into separate apps.
Python
39
star
13

deflacue

Cue Sheet driven FLAC audio splitter
Python
35
star
14

django-sitegate

Reusable application for Django to ease sign up & sign in processes
Python
34
star
15

django-siteajax

Reusable application for Django bridging client and server sides
Python
30
star
16

ist-ui-panel

jQuery UI Panel (Content Grouping) widget with horizontal and vertical sliding
JavaScript
30
star
17

srptools

Tools to implement Secure Remote Password (SRP) authentication
Python
30
star
18

makeapp

Simplifies Python application rollout and publishing.
Python
29
star
19

pytest-responsemock

Simplified requests calls mocking for pytest
Python
27
star
20

django-admirarchy

Django Admin addon to navigate through hierarchies.
Python
26
star
21

systemd-logging

Simplifies logging for systemd
Python
26
star
22

pysyge

API to access data from Sypex Geo IP database files from your Python code
Python
26
star
23

django-oauthost

Reusable application for Django, introducing OAuth2 server functionality.
Python
25
star
24

pytest-datafixtures

Data fixtures for pytest made simple
Python
25
star
25

envbox

Detect environment type and work within.
Python
24
star
26

ctyped

Build ctypes interfaces for shared libraries with type hinting
Python
23
star
27

steampak

Nicely packed tools to work with Steam APIs
Python
22
star
28

django-siteblocks

Reusable application for Django to build blocks of static or dynamic data that could be used in templates.
Python
22
star
29

pg_analyse

Tools to gather useful information from PostgreSQL
Python
21
star
30

django-siteflags

Reusable application for Django allowing users to flag/bookmark site objects
Python
20
star
31

opencv-proto

Allows fast prototyping in Python for OpenCV
Python
19
star
32

deluge-updatorr

Deluge plugin for automatic torrents updates
Python
19
star
33

django-sitecats

Django reusable application for content categorization.
Python
19
star
34

icalendar_light

Light and easy iCalendar event reader
Python
18
star
35

webinardump

Скачиватель для webinar.ru
Python
17
star
36

django-siteforms

Django reusable app to simplify form construction
Python
17
star
37

django-siteprefs

Reusable app for Django introducing site preferences system
Python
17
star
38

django-yaturbo

Reusable Django app to enable Yandex Turbo Pages for your site
Python
16
star
39

keybind

Global key binding made easy
Python
15
star
40

dja

Django template engine ported to PHP
PHP
12
star
41

gitfilesplit

Command line helper to Git split one file into several preserving history
Python
12
star
42

ruopenrefs

Общероссийские справочники из открытых источников
Python
12
star
43

jquery-alphaindex

jQuery plugin to create alphabetical indexes for your lists
JavaScript
12
star
44

imhodump

Экспорт оценок из imhonet.ru
Python
11
star
45

calibre-bookradar

Calibre plugin. Searches for books metadata on bookradar.org
Python
10
star
46

pyyaru

Python interface for ya.ru blog service API. Python-интерфейс для API блог-сервиса ya.ru.
Python
10
star
47

pytest-stub

Stub packages, modules and attributes.
Python
9
star
48

codeorigins

Code origins contest based on GitHub data
Python
8
star
49

django-dev

Tools to facilitate application development for Django
Python
8
star
50

pytest-race

Race conditions tester for pytest
Python
6
star
51

dbf_light

Light and easy DBF reader
Python
6
star
52

narrow

Naive throughput measurements for Python web apps and servers.
Python
5
star
53

pypusher

pypusher pushes stuff from Python. Apple Push.
Python
5
star
54

bowerer

Bower for pythoneers
Python
5
star
55

sponsrdump

Downloader for sponsr.ru / Скачиватель для sponsr.ru
Python
5
star
56

django-sitetables

Reusable application for Django featuring DataTables integration
Python
5
star
57

diadump

Скачиватель диафильмов
Python
5
star
58

inccalc

Python
4
star
59

webscaff

Simplified scaffolding for web applications
Python
4
star
60

django-xross

Reusable application for Django nicely bridging client and server sides.
JavaScript
4
star
61

django-firebird

Firebird backend for Django 1.2+
Python
4
star
62

letmehear

Audio book batch processor (resplitter)
Python
3
star
63

pytakeout

Simplifies Python code extraction
Python
3
star
64

idletalks

Слайды к публичным выступлениям
HTML
2
star
65

django-issueinspector

GitHub Issue Inspector as Django app
HTML
2
star
66

webscaff_legacy

Scaffolding for web applications.
Python
2
star
67

qrcoder

Plugin for IntelliJ IDEs featuring QR code popups
Java
2
star
68

ist-ui-notice

Notice (alert/highlight) widget for jQuery UI
JavaScript
2
star
69

django-logexpose

Reusable application for Django exposing logs for further analysis.
Python
2
star
70

gwibber-yaru

Gwibber with Ya.ru blog-service support. Gwibber с поддержкой настроений Я.ру
Python
1
star
71

gallerycrawler

Generic crawling for galleries
Python
1
star
72

idlesign.github.io

HTML
1
star
73

iamreader

Useful tools for audio book creators.
Python
1
star
74

pythonz-pycharm-plugin

Show pythonz.net code hints in PyCharm
Java
1
star
75

mednsktest

Тесты с курсов НГМУ. Консольное приложение.
Python
1
star