VINinfo Library

1.9.2 · active · verified Tue Apr 14

VINinfo is a Python library (current version 1.9.2) designed to extract useful information from Vehicle Identification Numbers (VINs). It can operate as a standalone command-line application or be integrated as a Python package. The library provides both basic and detailed VIN information (where available) and offers functionality for VIN checksum verification. It is actively maintained with a recent release in September 2025 and focuses on decoding VINs using its internal databases, specifically enhancing data for brands like AvtoVAZ, Nissan, Opel, and Renault.

Warnings

Install

Imports

Quickstart

Initializes a Vin object with a VIN string and demonstrates accessing various attributes like country, manufacturer, region, and performing checksum verification. It also shows how to retrieve detailed information and an annotated VIN string.

from vininfo import Vin

vin_number = 'VF1LM1B0H36666155'  # Example Renault VIN
# For testing invalid VINs or edge cases, consider a generic placeholder
# vin_number = 'INVALIDVINTEST1234'

vin = Vin(vin_number)

print(f"VIN: {vin_number}")
print(f"Country: {vin.country}")
print(f"Manufacturer: {vin.manufacturer}")
print(f"Region: {vin.region}")
print(f"WMI: {vin.wmi}")
print(f"VDS: {vin.vds}")
print(f"VIS: {vin.vis}")
print(f"Checksum valid: {vin.verify_checksum()}")

# Accessing detailed information if available
details = vin.details
if details:
    print("\nDetails:")
    for key, value in details.items():
        print(f"  {key.replace('_', ' ').title()}: {value}")
else:
    print("\nNo detailed information available for this VIN.")

# Example with annotation
annotated_vin = vin.annotate()
print(f"\nAnnotated VIN: {annotated_vin}")

view raw JSON →