Registry / http-networking / airporttime

airporttime

JSON →
library0.0.0pypypi✓ verified 84d ago

Convert between local time and UTC time using IATA airport codes. Handles daylight saving time automatically. Current version 0.0.0, early development.

pip install airporttime
INSTALL
IMPORT
SIG · AIRPORTTIME
A
airporttime
http-networkingpythonv0.0.0
Install
2.3s avg
Import
558ms
Disk
32MB
Pass rate
10/ 10
Env Coverage10 / 10
glibc
3.93.13
musl
3.93.13
Install & Compatibility
Where this runs
tested against v0.0.0 · pip install
no network on importno background threads
Install × environment matrix
Each cell = how many times install + import succeeded across repeated harness runs. Partial = flaky.
glibc = Debian/Ubuntu slim · musl = Alpine Linux
musl
py 3.103.95 runs
installs and imports cleanly · install 0.0s · import 0.600s · 33.6MB
glibc
py 3.103.95 runs
installs and imports cleanly · install 2.3s · import 0.516s · 34MB
32MB installed
● package 32MB
Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

AirportTime
from airporttime import AirportTime
from airporttime import airport_time
common naming confusion

Basic usage: convert between local and UTC time by airport code.

from airporttime import AirportTime at = AirportTime() # Convert local time at JFK to UTC utc_time = at.local_to_utc('JFK', '2026-05-01 14:30:00') print(utc_time) # Convert UTC to local time at LHR local_time = at.utc_to_local('LHR', '2026-05-01 18:30:00') print(local_time)
airporttime --version
Debug
Known issues
gotchaTime format must be 'YYYY-MM-DD HH:MM:SS' exactly. Other formats (with T, timezone offsets, etc.) may cause parsing errors.
fix
Ensure input strings match the expected format. No timezone info in input string.
affects: all
gotchaOnly IATA airport codes are supported. ICAO codes (e.g., 'KJFK') will not work.
fix
Use IATA codes (3 letters, e.g., 'JFK', 'LHR').
affects: all
Errors
Common errors & fixes
airporttime not found
Package name typo or not installed.
fix
pip install airporttime
ValueError: Unsupported airport code: ...
Non-IATA code or invalid airport.
fix
Use a valid IATA code (3 letters, uppercase). Check list of supported airports.
Upgrade
Version history
0.0.0latest on PyPI · released Dec 11, 2018
Audit
Dependencies

No dependency data recorded yet.

Agent activity
55 hits · last 30 days
node
44
OpenAI (training)
2
Resources
airporttime — pip install airporttime · libregistry