airportsdata 20260315


pip install airportsdata

  Latest version

Released: Mar 15, 2026


Meta
Author: Mike Borsetti
Maintainer: Mike Borsetti
Requires Python: >=3.10

Classifiers

Development Status
  • 5 - Production/Stable

Intended Audience
  • Developers

Natural Language
  • English

Operating System
  • OS Independent

Programming Language
  • Python
  • Python :: 3
  • Python :: 3 :: Only
  • Python :: 3.10
  • Python :: 3.11
  • Python :: 3.12
  • Python :: 3.13
  • Python :: Implementation :: CPython

Typing
  • Typed

Extensive database of location and timezone data for nearly every operational airport and landing strip in the world, with 28,426 entries.

Each entry consists of the following data:

  • icao: ICAO 4-letter Location Indicator (Doc 7910) or (if none) an internal Pseudo-ICAO Identifier [1] (28,426 entries);

  • iata: IATA 3-letter Location Code (7,883 entries) or an empty string [2];

  • name: Official name (diacritized latin script);

  • city: City (diacritized latin script), ideally using the local language or English;

  • subd: Subdivision (e.g. state, province, region, etc.), ideally using the local-language or English names of ISO 3166-2;

  • country: ISO 3166-1 alpha-2 country code (plus XK for Kosovo);

  • elevation: MSL elevation of the highest point of the landing area, in feet (warning: it is often wrong);

  • lat: Latitude (decimal) of the airport reference point (max 5 or 6 decimal digits);

  • lon: Longitude (decimal) of the airport reference point (max 5 or 6 decimal digits);

  • tz: Timezone expressed as a tz database name (IANA-compliant);

  • lid: U.S. FAA Location Identifier (12,746 entries), or an empty string.

Best efforts are placed to review all contributions for accuracy, but accuracy cannot be guaranteed nor should be expected by users.

Important notes:

  • Timezone was originally sourced from TimeZoneDB;

  • No historical data (closed airports are removed);

  • No seaplane bases or heliports unless they have a IATA code;

  • No surface transportation stations, even if they have an official IATA code.

Please report any issues you may find here.

This project is a fork of https://github.com/mwgg/Airports. All new data submitted in this fork have been validated against national Aeronautical Information Publications (AIP) or equivalent (or ARINC database) and IATA or https://www.ch-aviation.com/airports/{IATA} before publishing.

Raw data

A CSV (comma separated values) file, with headers and encoded in UTF-8, is downloadable from GitHub here.

Python

pypi version supported Python version Kit format Package stability Security Status CI testing status code coverage by Coveralls issues

Install from PyPi using uv (recommended):

uv pip install --update airportsdata

Or, using pip:

pip install --update airportsdata

Once installed, to load the data into a dict:

import airportsdata
icao_airports = airportsdata.load()  # key is the ICAO identifier (the default)
print(icao_airports['KJFK'])

or

import airportsdata
iata_airports = airportsdata.load('IATA')  # key is the IATA location code
print(iata_airports['JFK'])

or

import airportsdata
lid_airports = airportsdata.load('LID')  # key is the FAA LID
print(lid_airports['01AA'])

Older Python versions are supported for 3 years after being obsoleted by a new major release (i.e. about 4 years since their original release).

License license

Released under the MIT License (see license here).

20260315 Mar 15, 2026
20260304 Mar 04, 2026
20260208 Feb 08, 2026
20260205 Feb 05, 2026
20250909 Sep 09, 2025
20250811 Aug 11, 2025
20250706 Jul 06, 2025
20250622 Jun 22, 2025
20250523 May 23, 2025
20250224 Feb 24, 2025
20250204 Feb 04, 2026
20241001 Oct 01, 2024
20240806 Aug 06, 2024
20240728 Jul 28, 2024
20240415 Apr 15, 2024
20240409 Apr 09, 2024
20240401 Apr 01, 2024
20240316.1 Mar 16, 2024
20240310.1 Mar 10, 2024
20240309 Mar 09, 2024
20240207 Feb 07, 2024
20240202 Feb 03, 2024
20240119 Jan 19, 2024
20231230 Dec 30, 2023
20231017 Oct 17, 2023
20231007 Oct 07, 2023
20230906 Sep 06, 2023
20230905 Sep 05, 2023
20230717 Jul 17, 2023
20230716 Jul 16, 2023
20230630 Jun 30, 2023
20230624 Jun 24, 2023
20230617 Jun 17, 2023
20230528 May 28, 2023
20230510 May 10, 2023
20230509 May 09, 2023
20230408 Apr 08, 2023
20230323 Mar 23, 2023
20230303 Mar 03, 2023
20221121 Nov 21, 2022
20221105.1 Nov 05, 2022
20221101 Nov 01, 2022
20221017 Oct 17, 2022
20220921 Sep 26, 2022
20220917 Sep 17, 2022
20220913 Sep 13, 2022
20220831 Aug 31, 2022
20220824 Aug 24, 2022
20220805 Aug 05, 2022
20220731 Aug 01, 2022
20220625 Jun 25, 2022
20220608 Jun 08, 2022
20220518 May 18, 2022
20220512 May 13, 2022
20220406 Apr 06, 2022
20220107 Jan 07, 2022
20211228.2 Dec 28, 2021
20211228.1 Dec 28, 2021
20211228 Dec 28, 2021
20211030.1 Oct 30, 2021
20211005 Oct 05, 2021
20210926 Sep 26, 2021
20210921 Sep 17, 2021
20210814.1 Aug 14, 2021
20210608.3 Jun 08, 2021
20210525 May 25, 2021
20210425 Apr 25, 2021
20201205 Dec 05, 2020
20201203 Dec 03, 2020
20201108 Nov 08, 2020
20201107 Nov 07, 2020
20201107a0 Nov 07, 2020
20201106 Nov 06, 2020
2026.3.25 Mar 25, 2026

Wheel compatibility matrix

Platform Python 3
any

Files in release

No dependencies