It's like django-cities, but django-airports
Project description
Provides airports’ related models and data (from [OpenFlights](http://openflights.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:
History
0.2 (2019-09-15)
renaming and uploading to Pypi
0.1.5 (2018-03-08)
creation of the HISTORY.rst file;
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
Built Distribution
Hashes for django-airports-legacy-0.2.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 413e7f5f2bfc24cf1800d0fc588cf789cd007ab3d5ce0bd43f62923c8d69143f |
|
MD5 | 280f25f1d5768e3bdeb2919449d2a0db |
|
BLAKE2b-256 | c6e5d6b02fc15987c13fd15a22e7afd6bfe2fe0a1b474879ec2e9dddeaa2df59 |
Hashes for django_airports_legacy-0.2-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | cd4dd7dc98da8d4f95697f5dfe6cf43600a540266be58d0217a4c901b07b7089 |
|
MD5 | 14a9ae5bdbb8e32fa58aeee53edcc3c7 |
|
BLAKE2b-256 | 614a7e3108c8c0931b835cd94dee45a7ce10fcd310cf86798472453e4935ea0e |