Skip to main content

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;

Release files for django-airports-legacy 0.2.6

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for django-airports-legacy 0.2.6
File Size Uploaded
django-airports-legacy-0.2.6.tar.gz 9.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for django-airports-legacy 0.2.6
File Interpreter ABI Platform
django_airports_legacy-0.2.6-py2.py3-none-any.whl Python 2, Python 3 none any Details

Total release size: 19.1 kB

Release files / django-airports-legacy-0.2.6.tar.gz

Download URL django-airports-legacy-0.2.6.tar.gz
Size 9.9 kB
Tags Source
SHA-256 checksum
How to use checksums
6ed49b4f2ea89cffb50265f0953a7e50bbe49df39ed09bfbba048e0dfcf1d219
BLAKE2b-256 checksum
How to use checksums
1fe0bcd4d683055ebd5a27610432dfa3e344f4ee1670f15c521b086e61bef488
Upload date
Uploaded using Trusted Publishing?
What is 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

Release files / django_airports_legacy-0.2.6-py2.py3-none-any.whl

Download URL django_airports_legacy-0.2.6-py2.py3-none-any.whl
Size 9.2 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
3395692c7179b4f4d3ffd796757a61e88970db8e18d5c575c9bfe88057dc87fe
BLAKE2b-256 checksum
How to use checksums
8310cf50d10efb73f71e6abef7d536e4b15ee622ea56f6c7cb98afd363f769eb
Upload date
Uploaded using Trusted Publishing?
What is 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

Release history Release notifications | RSS feed

This release

0.2.6 This release

2 release files

0.2.5

2 release files

0.2.2

2 release files

0.2.1

2 release files

0.2

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page