π pybelugaxl Documentationο
Welcome to π pybelugaxl, a Python library for tracking Airbus BelugaXL aircraft in real-time using FlightRadar24 data.
Overviewο
pybelugaxl allow you to:
Track live BelugaXL aircraft positions and flight status
Filter flights by registration, status, origin, and destination
Get detailed flight information including altitude, speed, heading
Installationο
Install pybelugaxl using pip:
pip install pybelugaxl
Quick Startο
Hereβs a simple example to get all active BelugaXL flights that are currently lsted on FlightRadar24:
from pybelugaxl import get_beluga
# Get all Beluga flights
flights = get_beluga()
for flight in flights:
print(f"{flight.registration}: {flight.from_airport} β {flight.to_airport}")
print(f" Altitude: {flight.altitude} ft, Speed: {flight.ground_speed} kt")
Filter by specific criteria:
# Get only flights that are enroute
enroute_flights = get_beluga(status="enroute")
# Get flights from a specific airport
toulouse_flights = get_beluga(from_airport_icao="LFBO")
# Track a specific aircraft
specific_beluga = get_beluga(registration="F-GXLJ")