It's like django-cities, but django-airports
Project description
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:
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:
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
django-airports-0.2.tar.gz
(105.9 kB
view hashes)
Built Distributions
Close
Hashes for django_airports-0.2.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 02ba1b324a55fa1d18054770b94762f0e98dece479d4f3f5383bc143c9c0c99e |
|
MD5 | 7acd52677f487869c7b09d270d5a23ae |
|
BLAKE2b-256 | 51b9286f10dab986a9fd540899955bb914c3208470114894811b0949fa7e3f47 |
Close
Hashes for django_airports-0.2-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d8fdb12ff7f65f70676ff794a3d2d751190b2a1ec3eb4e1546e511d31f5d7d96 |
|
MD5 | 59aab8bd802a9ca344571cdf6d7ac05d |
|
BLAKE2b-256 | ff7438e1d1af902d78def4abfc50e7fee3db7e76689e80678e7aea147feb78ee |