{"id":14483226,"url":"https://github.com/bashu/django-airports","last_synced_at":"2025-06-30T00:34:37.317Z","repository":{"id":45411322,"uuid":"21381339","full_name":"bashu/django-airports","owner":"bashu","description":"✈️ It's like django-cities, but django-airports","archived":false,"fork":false,"pushed_at":"2021-12-22T09:22:38.000Z","size":280,"stargazers_count":57,"open_issues_count":3,"forks_count":15,"subscribers_count":4,"default_branch":"develop","last_synced_at":"2025-06-15T18:55:43.699Z","etag":null,"topics":["django","django-cities"],"latest_commit_sha":null,"homepage":"https://django-airports.readthedocs.io/","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/bashu.png","metadata":{"files":{"readme":"README.rst","changelog":"CHANGES.rst","contributing":"CONTRIBUTING.rst","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-07-01T08:59:53.000Z","updated_at":"2025-05-30T12:31:59.000Z","dependencies_parsed_at":"2022-09-10T03:03:03.295Z","dependency_job_id":null,"html_url":"https://github.com/bashu/django-airports","commit_stats":null,"previous_names":[],"tags_count":10,"template":false,"template_full_name":null,"purl":"pkg:github/bashu/django-airports","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bashu%2Fdjango-airports","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bashu%2Fdjango-airports/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bashu%2Fdjango-airports/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bashu%2Fdjango-airports/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bashu","download_url":"https://codeload.github.com/bashu/django-airports/tar.gz/refs/heads/develop","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bashu%2Fdjango-airports/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":262689760,"owners_count":23349137,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["django","django-cities"],"created_at":"2024-09-03T00:01:37.358Z","updated_at":"2025-06-30T00:34:37.292Z","avatar_url":"https://github.com/bashu.png","language":"Python","funding_links":[],"categories":["Python"],"sub_categories":[],"readme":"django-airports\n===============\n\n.. image:: https://img.shields.io/pypi/v/django-airports.svg\n    :target: https://pypi.python.org/pypi/django-airports/\n\n.. image:: https://img.shields.io/pypi/dm/django-airports.svg\n    :target: https://pypi.python.org/pypi/django-airports/\n\n.. image:: https://img.shields.io/github/license/bashu/django-airports.svg\n    :target: https://pypi.python.org/pypi/django-airports/\n\n.. image:: https://app.travis-ci.com/bashu/django-airports.svg?branch=develop\n    :target: https://app.travis-ci.com/bashu/django-airports\n\nProvides airports' related models and data (from `OurAirports \u003chttp://ourairports.org/\u003e`_) that can be used in  django projects, inspired by `django-cities \u003chttps://github.com/coderholic/django-cities\u003e`_\n\nAuthored by `Basil Shubin \u003chttps://github.com/bashu\u003e`_,  and some great\n`contributors \u003chttps://github.com/bashu/django-airports/contributors\u003e`_.\n\n.. raw:: html\n\n    \u003cp align=\"center\"\u003e\n        \u003cimg src=\"https://raw.githubusercontent.com/bashu/django-airports/develop/logo.png\"\u003e\n    \u003c/p\u003e\n\nInstallation\n------------\n\nFirst install the module, preferably in a virtual environment. It can be installed from PyPI:\n\n.. code-block:: shell\n\n    pip install django-airports\n\nRequirements\n~~~~~~~~~~~~\n\nYou must have *django-cities* installed and configured, see the\n`django-cities \u003chttps://github.com/coderholic/django-cities\u003e`_ documentation for details and setup instructions.\n\nSetup\n-----\n\nFirst make sure the database support spatial queries, see the `GeoDjango documentation \u003chttps://docs.djangoproject.com/en/dev/ref/contrib/gis/\u003e`_ for details and setup instructions.\n\nYou'll need to add ``airports`` to ``INSTALLED_APPS`` in your projects ``settings.py`` file:\n\n.. code-block:: python\n\n    INSTALLED_APPS += [\n        'airports',\n    ]\n\nThen run ``./manage.py migrate`` to create the required database tables.\n\nImport data\n-----------\n\nAfter you have configured all settings, run\n\n.. code-block:: shell\n\n    python manage.py airports\n\nThe ``airports`` manage command has options, see ``airports --help`` output.\n\nSecond run will update the DB with the latest data from the source csv file.\n\nContributing\n------------\n\nIf you like this module, forked it, or would like to improve it, please let us know!\nPull requests are welcome too. :-)\n\nLicense\n-------\n\n``django-airports`` is released under the MIT license.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbashu%2Fdjango-airports","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbashu%2Fdjango-airports","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbashu%2Fdjango-airports/lists"}