--- id: airporttime version: "0.0.0" license: unclear license_treatment: unclear maintenance: abandoned --- # airporttime — convert local time to utc time by airport or vise-versa. License: unclear · Maintenance: abandoned · Downloads: 120.7K/mo ## What it is and what it does airporttime is a lightweight timezone converter that maps IATA airport codes to their timezones and handles bidirectional conversion between local and UTC times. It wraps timezone data from opentraveldata and uses pytz to manage timezone-aware datetime objects, including daylight saving time adjustments. The package is designed for scenarios where you have a naive local datetime at a specific airport and need to convert it to UTC, or vice versa. It also exposes the underlying airport metadata (name, coordinates, country, timezone offsets) as attributes on the AirportTime object. However, the package has been abandoned since its initial release in December 2018, with no updates to the underlying data or code since then. Use it for: - Convert flight arrival/departure times from local airport time to UTC for scheduling or logging. - Look up timezone and geographic metadata for an airport given only its IATA code. - Handle daylight saving time transitions when working with airport-local datetime objects. - Build a simple timezone reference tool for travel or logistics applications using static airport data. ## Worth the install? AI-flagged interpretation of the facts above — verify before relying. Converts between local time and UTC for any airport by IATA code, using timezone data from opentraveldata. No, unless you have a specific need for a frozen snapshot of airport timezone data and can accept no maintenance. The package is abandoned, its license is unclear, and the underlying data has not been updated since 2018. For active projects, consider using a maintained timezone library (pytz or zoneinfo) combined with a current airport database, or a live travel API. ## Install pip install airporttime uv add airporttime poetry add airporttime ## Installing airporttime Before you install: Low install friction with only two runtime dependencies (pytz and requests). However, the package is abandoned—last release and commit were in 2018, with no activity since. Use only if you need a static snapshot of airport timezone data and can tolerate no maintenance. License in practice: License status is unclear; the package declares no SPDX identifier or raw license text. Verify licensing before use in commercial or copyleft-sensitive contexts. Quickstart: pip install airporttime import airporttime from datetime import datetime apt = airporttime.AirportTime(iata_code='ORD') naive_local = datetime(2019, 1, 1, 10, 30) utc_time = apt.to_utc(naive_local) print(utc_time) Verify before relying: - Whether the opentraveldata CSV source is still actively maintained and accurate for current airport timezones. - Whether daylight saving time handling remains correct after 2018, given the package's abandonment. - Actual license terms, since none are declared in the package metadata. ## Package facts - License: not declared (unclear) - Python support: unspecified - Install friction: low - Maintenance: abandoned - Downloads: 120.7K/month (top 15,000 on PyPI) - Known vulnerabilities: none known ## Tags airport timezone conversion, local time to utc by airport, iata code timezone lookup, airport time zone aware datetime, convert airport local time utc, airport timezone offset, timezone-conversion, airport-data, abandoned [View on SkillFed](https://skillfed.io/packages/airporttime) · [View on PyPI](https://pypi.org/project/airporttime/)