Metadata-Version: 2.1
Name: django-airports
Version: 0.2
Summary:  It's like django-cities, but django-airports 
Home-page: https://github.com/bashu/django-airports
Author: Basil Shubin
Author-email: basil.shubin@gmail.com
License: MIT
Keywords: django-airports
Platform: UNKNOWN
Classifier: Development Status :: 3 - Alpha
Classifier: Framework :: Django
Classifier: Framework :: Django :: 2.0
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: BSD License
Classifier: Natural Language :: English
Classifier: Programming Language :: Python :: 2
Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.4
Classifier: Programming Language :: Python :: 3.5
Classifier: Programming Language :: Python :: 3.6
Description-Content-Type: text/x-rst
License-File: LICENSE
License-File: AUTHORS.rst

=============================
django-airports
=============================

.. image:: https://badge.fury.io/py/django-airports.svg
    :target: https://badge.fury.io/py/django-airports

.. image:: https://travis-ci.org/bashu/django-airports.svg?branch=master
    :target: https://travis-ci.org/bashu/django-airports

.. image:: https://codecov.io/gh/bashu/django-airports/branch/master/graph/badge.svg
    :target: https://codecov.io/gh/bashu/django-airports

Provides airports' related models and data (from [OurAirports](http://ourairports.org/)) that can be used in  django projects, inspired by [django-cities](https://github.com/coderholic/django-cities)

Documentation
-------------

The full documentation is at https://django-airports.readthedocs.io.

Quickstart
----------
Requirements (Ubuntu 16.04)::

    sudo apt-get install -y libsqlite3-mod-spatialite binutils libproj-dev gdal-bin

Install django-airports::

    pip install django-airports

Add it to your `INSTALLED_APPS`:

.. code-block:: python

    INSTALLED_APPS = (
        ...
        'cities',
        'airports',
        'django.contrib.gis',
        ...
    )


Features
--------

The ```airports``` manage command has options, see ```airports --help``` output.
Second run will update the DB with the latest data from the source csv file.

Running Tests
-------------

Does the code actually work?

::

    source <YOURVIRTUALENV>/bin/activate
    (myenv) $ pip install tox
    (myenv) $ tox

Credits
-------

Tools used in rendering this package:

*  Cookiecutter_
*  `cookiecutter-djangopackage`_

.. _Cookiecutter: https://github.com/audreyr/cookiecutter
.. _`cookiecutter-djangopackage`: https://github.com/pydanny/cookiecutter-djangopackage


