It's like django-cities, but django-airports
Project description
Quickstart
Requirements (Ubuntu 16.04):
sudo apt-get install -y libsqlite3-mod-spatialite binutils libproj-dev gdal-bin
Install django-airports-legacy:
pip install django-airports-legacy
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
Make a package
- ::
python setup.py sdist bdist_wheel twine check dist/* twine upload dist/*
History
0.2.5 (2022-01-03)
upstream django-cities-legacy==0.6.1 requirement
django 4 support
0.2.2 (2020-10-01)
upstream django-cities==0.6 requirement
better doc on installation
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
File details
Details for the file django-airports-legacy-0.2.6.tar.gz
.
File metadata
- Download URL: django-airports-legacy-0.2.6.tar.gz
- Upload date:
- Size: 9.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.7.1 importlib_metadata/4.10.0 pkginfo/1.8.2 requests/2.27.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6ed49b4f2ea89cffb50265f0953a7e50bbe49df39ed09bfbba048e0dfcf1d219 |
|
MD5 | e26d64577c63cc57a8292eff20fe0c2e |
|
BLAKE2b-256 | 1fe0bcd4d683055ebd5a27610432dfa3e344f4ee1670f15c521b086e61bef488 |
File details
Details for the file django_airports_legacy-0.2.6-py2.py3-none-any.whl
.
File metadata
- Download URL: django_airports_legacy-0.2.6-py2.py3-none-any.whl
- Upload date:
- Size: 9.2 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.7.1 importlib_metadata/4.10.0 pkginfo/1.8.2 requests/2.27.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3395692c7179b4f4d3ffd796757a61e88970db8e18d5c575c9bfe88057dc87fe |
|
MD5 | 1a63cd1d4676037e0544a79ea840b8f0 |
|
BLAKE2b-256 | 8310cf50d10efb73f71e6abef7d536e4b15ee622ea56f6c7cb98afd363f769eb |