Skip to main content

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

Project description

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

Release History

0.1.0 (2019-08-13)

  • Initial release

Project details


Release history Release notifications

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for vehicle-makes, version 0.1.0
Filename, size File type Python version Upload date Hashes
Filename, size vehicle_makes-0.1.0-py2.py3-none-any.whl (3.3 kB) File type Wheel Python version py2.py3 Upload date Hashes View
Filename, size vehicle-makes-0.1.0.tar.gz (3.1 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page