Metadata-Version: 2.1
Name: vehicle-makes
Version: 0.1.0
Summary: Python library to provide up-to-date vehicle make and model data
Home-page: https://code.richard.do/richardARPANET/vehicle-makes/
Author: Richard O'Dwyer
Author-email: richard@richard.do
License: Apache 2.0
Platform: UNKNOWN
Classifier: Intended Audience :: Developers
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Classifier: Topic :: Internet :: WWW/HTTP
Requires-Dist: requests
Requires-Dist: requests-futures

**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:

.. code:: bash

    pip install vehicle-makes

How to use
------------


.. code:: python

    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:


.. code:: python

    {
        'AC': ('212', '302', 'Cobra'),
        'Abarth': ('124 Spider', '500', '500C', '595',),
    }


Requirements
------------

::

    1. Python 3.6+
    2. See requirements.txt

Running the tests
-----------------

.. code:: bash

    pip install -r requirements-dev.txt
    pytest src/tests/tests.py

.. |PyPI| image:: https://img.shields.io/pypi/v/vehicle-makes.svg
   :target: https://pypi.python.org/pypi/vehicle-makes
.. |Python Versions| image:: https://img.shields.io/pypi/pyversions/vehicle-makes.svg
   :target: https://pypi.python.org/pypi/vehicle-makes
.. |Build Status| image:: https://travis-ci.org/richardARPANET/vehicle-makes.png?branch=master
   :target: https://travis-ci.org/richardARPANET/vehicle-makes


.. :changelog:

Release History
---------------

0.1.0 (2019-08-13)
++++++++++++++++++

- Initial release


