NOTICE: If you’re reading this on GitHub.com please be aware this is a mirror of the primary remote located at https://code.richard.do/richardARPANET/vehicle-makes. Please direct issues and pull requests there.
vehicle-makes
Python library to provide up-to-date vehicle make and model data. Currently returning cars only. The data source is AutoTrader.
Installation
To install, simply:
pip install vehicle-makes
How to use
from vehicle_makes import get_makes_and_models
makes_and_models = get_makes_and_models()
get_makes_and_models() returns a dict in the following structure:
{
'AC': ('212', '302', 'Cobra'),
'Abarth': ('124 Spider', '500', '500C', '595',),
}
Requirements
1. Python 3.6+ 2. See requirements.txt
Running the tests
pip install -r requirements-dev.txt
pytest src/tests/tests.py
Release History
0.1.0 (2019-08-13)
Initial release
Metadata
Release files for vehicle-makes 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| vehicle-makes-0.1.0.tar.gz | 3.1 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| vehicle_makes-0.1.0-py2.py3-none-any.whl | Python 3, Python 2 | none | any | Details |
Total release size: 6.4 kB
Release files / vehicle-makes-0.1.0.tar.gz
| Download URL | vehicle-makes-0.1.0.tar.gz |
|---|---|
| Size | 3.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c1c441154de58c1ae1ce16e73c6baf4fd9ae5e09715f09083781e66568fb0e5a
|
|
BLAKE2b-256 checksum How to use checksums |
f21e7b745ee33eafdbb5f943342c6f3d0ae732b5c65440d9f2004c7de055ecc1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.33.0 CPython/3.7.2+
|
Release files / vehicle_makes-0.1.0-py2.py3-none-any.whl
| Download URL | vehicle_makes-0.1.0-py2.py3-none-any.whl |
|---|---|
| Size | 3.3 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
489adbbd01ff6522c0dcaf8cf05ee514101792f6097d6ac998f155b09d4d3335
|
|
BLAKE2b-256 checksum How to use checksums |
f5c9b2a874dc3de3d2235b8fa44fe71728bc7e8bdd687a1b87b1368e17c3b451
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.33.0 CPython/3.7.2+
|