Debian Codegraph @

/

debian faadelays 2023.9.1-3debian python3-faadelays python faadelays 2023.9.1 debianmakefilemarkdownpythonshelltomlyaml 12 files · 175 symbols
View dependency graph

Depends on

README (full)

FAA Airport Status

This is a simple Python package used to retrieve data from the FAA's NAS Status API.

Classes

The following classes are available and in some cases dynamically generated when retrieving data:

ClassInformation ProvidedMethods
ArriveDepartDelayAirport, Status, Minimum delay, Maximum delay, Trend, Reason, Update time
GroundDelayAirport, Status, Average delay, Maximum delay, Start time, End time, Reason, Update time, URL to the advisory, Departure scope (if applicable), Included Facilities (if applicable), Included flights (if applicable)
GroundStopAirport, Status, End Time, Reason, Update time, URL to advisory, Included facilities (if applicable), Included flights (if applicable), Probabibility of extension
ClosureAirport, Status, Begin Time, End Time, Update time, NOTAM text
AirportConfigAirport, Time the data was created, Arrival runway config, Departure runway config, Arrival rate, Source time stamp
AirportCode (provide when creating, IATA format), Name, Longitude, Latitude, Bool of if airport is deicing (see note), Bool of any delays, Count of delays, GroundDelay object, GroundStop object, Depart Delay object (ArriveDepartDelay), Arrive Delay object (ArriveDepartDelay), Closure object, Airport configUpdate

Items in italics are not updated until delay data is present

Note: Information about airport deicing is untested

Methods Available

get_airport_delays(airport_code, session) requires the code for the airport to get delays for in IATA format (i.e. ATL for Atlanta) and an asyncio HTTP session (such as aiohttp.ClientSession) and returns an Airport object

Support

Buy me a coffee

dir debian/
dir faadelays/
file .gitignore
file LICENSE
file README.md
file pyproject.toml