Vin

Latest version: v0.6.2

Safety actively analyzes 693883 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 2 of 2

0.4.1

[GitHub release](https://github.com/davidpeckham/vin/releases/tag/v0.4.1)

Fixes

* Most properties that are missing after decoding now return empty string instead of raising a DecodingRequiredError (https://github.com/davidpeckham/vin/issues/3, sshane).
* VIN.body_style is now VIN.body_class to be consistent with vPIC naming (sshane).
* Corrected several examples in the documentation.
* Models with trims that vary only by capitalization now return the correct trim name (LAREDO versus Laredo).

0.4.0

[GitHub release](https://github.com/davidpeckham/vin/releases/tag/v0.4.0)

New Features

* Decodes body style and electrification level

Fixes

* Fixed vehicle_type names in the documentation

0.3.0

[GitHub release](https://github.com/davidpeckham/vin/releases/tag/v0.3.0)

New Features

* Decode the make, model, series, and trim
* Supports passenger cars, multipurpose vehicles, and light trucks manufactured since 1980
* Performance benchmarks

Fixes

* Correctly determines the model year for older vehicles

0.2.0

[GitHub release](https://github.com/davidpeckham/vin/releases/tag/v0.2.0)

New Features

* Validate VIN length, characters, and check digit, with the option to correct the check digit.
* Decode the manufacturer and model year from a VIN
* Documentation

Fixes

* Updated annotations for `VIN.vds` and `VIN.vis` to show that they don't return None
* Annotated `VIN.model_year` to show that it returns int, and removed the else condition that allowed it to return None
* Inlined `VIN.is_vin_character` in the default constructor
* Converted property `VIN.check_digit` to class method `VIN.calculate_check_digit`
* Converted ``constants.VIN_CHARACTERS`` from list to string
* Renamed GitHub workflows as .yml (from .yaml)

Page 2 of 2

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.