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.1 (2019-12-17)
compatibility with Django 3.0
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.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | f7bde5dba2cc11cfc4462105a071f9fa47eac2c1bd43c5d3315a39697f051571 |
|
MD5 | c75b08e1ccff73980257297ea477702b |
|
BLAKE2b-256 | 5b7a71f78dd555cc17d82e6733db50d03b326b868b02db375fb84446f24e6363 |
Hashes for django_airports_legacy-0.2.1-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5fc368b1b836d93c7c1aa8b55d03ec3e37dae95bba6ed02d723601da86cfdc75 |
|
MD5 | a4c0fe7e81d8f3e8528d5c9242d7e12c |
|
BLAKE2b-256 | fde9813422fe442a73935fb40fb5981a456a60a3eabced25de1a12975478fb87 |