Skip to content

🚗 Python library to provide up-to-date vehicle make and model data.

License

Notifications You must be signed in to change notification settings

richardARPANET/vehicle-makes

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

PyPI Python Versions Build Status

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

About

🚗 Python library to provide up-to-date vehicle make and model data.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages