airportsdata
Extensive database of location and timezone data for nearly every airport and landing strip in the world.
What it is and what it does
airportsdata is a static reference database packaged as a Python module, containing location, timezone, and identifier information for nearly every operational airport, landing strip, and some seaplane bases worldwide. It includes ICAO 4-letter codes, IATA 3-letter codes, FAA Location Identifiers, official names, city and subdivision data, elevation, latitude/longitude coordinates, and IANA timezone names. The data is sourced from Aeronautical Information Publications, ARINC databases, and aviation reference services, and excludes closed airports, heliports without IATA codes, and surface transportation stations.
You load the database into a Python dict keyed by your choice of identifier (ICAO, IATA, or FAA LID), then look up airport records by code. It has no external runtime dependencies and is distributed as a pure Python wheel, making installation and use straightforward. The package is actively maintained, supports modern Python versions, and carries no known vulnerabilities.
Use it for:
- Look up airport timezone or coordinates by ICAO code in flight scheduling or geolocation applications.
- Resolve IATA airport codes to full location data (city, country, timezone) in travel booking systems.
- Validate and enrich airport identifiers in aviation data pipelines or logistics software.
- Populate dropdown menus or search autocomplete with airport names and codes in web applications.
- Cross-reference FAA Location Identifiers to ICAO/IATA codes in U.S. aviation compliance or reporting tools.
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Provides a static database of airport location, timezone, and identifier data (ICAO, IATA, FAA LID) for operational airports and landing strips worldwide, accessible via simple Python dict lookups.
Yes. This is a lightweight, dependency-free reference database with active maintenance, no security vulnerabilities, and a permissive license. Install it if you need to look up airport codes, timezones, or coordinates in your application. The only caveat is that elevation data is noted as often inaccurate, so do not rely on it for precision work without independent verification.
Install
airportsdata on PyPI
pip
pip install airportsdatauv
uv add airportsdatapoetry
poetry add airportsdataInstalling airportsdata
Before you install
Low install friction; pure Python wheel with no runtime dependencies. Actively maintained as of 2026-08-08, marked Production/Stable, and supports current Python versions (3.11–3.14).
License in practice
MIT license (permissive); you may use, modify, and distribute this package freely in commercial or private projects with minimal restrictions.
Quickstart
pip install airportsdata
import airportsdata
icao_airports = airportsdata.load()
print(icao_airports['KJFK'])
Requires Python 3.11 or later.
Verify before relying
- Whether elevation data accuracy issues noted in the description are documented or tracked in the repository.
- How frequently the airport database is updated and whether updates are released as new package versions.
Package facts
| License | MIT (permissive) |
| Python support | supports the current Python release (>=3.11) |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | none |
| Maintenance | actively maintained — 11 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 2,510,050/month — #3,034 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: airportsdata-20260803-py3-none-any.whl
Keywords: airports, aerodromes, ICAO, IATA
Tags
More Database packages
psycopg2-binary is a PostgreSQL database…
copyleft · top 1,000 on PyPI
redisPython client library for connecting to and…
permissive · top 1,000 on PyPI
ydbYDB Python SDK is the official client library…
permissive · top 1,000 on PyPI
snowflake-connector-pythonConnects Python applications to Snowflake data…
permissive · top 1,000 on PyPI
sqlparsesqlparse tokenizes SQL text into a tree of…
permissive · top 1,000 on PyPI
dbt-adaptersProvides base adapter protocols and shared…
permissive · top 1,000 on PyPI
airporttimeConverts between local time and UTC for any…
unclear · top 15,000 on PyPI
FlightRadarAPIUnofficial Python SDK for querying…
permissive · top 15,000 on PyPI
flightsProgrammatic access to Google Flights search…
permissive · top 15,000 on PyPI
pyzipcodeProvides local lookup of US ZIP code…
permissive · top 15,000 on PyPI
tzwhereLooks up the IANA timezone name for a given…
permissive · top 15,000 on PyPI
country_listProvides ISO 3166-1 country codes and names in…
permissive · top 15,000 on PyPI
pycountryProvides programmatic access to ISO standard…
copyleft · top 1,000 on PyPI
IP2LocationLooks up geolocation data (country, region,…
permissive · top 15,000 on PyPI
tzfpyConverts geographic coordinates…
permissive · top 5,000 on PyPI
fast-flightsScrapes flight data from Google Flights by…
permissive · top 15,000 on PyPI