This release is a pre-release and may not be stable for production use.
vinlib
vinlib is a Vehicle Identification Number Package that allows you to verify and decode parts of the vin number.
Currently it can:
vinlib.check_vin will return whether the entered vin number is authentic/correct.
Vin(‘somevinhere’) will return object that has vehicle year and vin check true/false flag.
Install vinlib
PYPI
You can install vinlib from PyPi:
easy_install vinlib #or pip install vinlib
Done.
Using vinlib
In python code you can check if the vin is valid:
import vinlib myvinnumber='1hasomenumberhere' print vinlib.check_vin(myvinnumber)
This will return true or false depending if the vin number is correct or not.
In python code you can decode vin’s year:
import vinlib
print vinlib.Vin('1ZVIHaveAVinNumber17').year
Additional Examples:
import vinlib
#get year from a vin
print vinlib.Vin('1ZVIHaveAVinNumber17').year
#check if vin is valid.
print vinlib.Vin('1ZVIHaveAVinNumber17').check
Enjoy,
vinlib team.
Metadata
Release files for vinlib 0.7.14dev
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| vinlib-0.7.14dev.tar.gz | 3.4 kB | Without provenance | Details for vinlib-0.7.14dev.tar.gz |
Release files / vinlib-0.7.14dev.tar.gz
| Download URL | vinlib-0.7.14dev.tar.gz |
|---|---|
| Size | 3.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
42473199bb0a802e8e47b0e6fc462f77b8c07151c9b1363fccde7060c3b47113
|
|
BLAKE2b-256 checksum How to use checksums |
5def801c0f63c4fc012a2ed366d55e27e43b796494248324326d7219368a87cd
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for vinlib 0.7.14dev
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.