Metadata-Version: 2.4
Name: aeronavx
Version: 2.0.7
Summary: Aviation Data & Intelligence Library
Author: Teyfik Oz
Requires-Python: >=3.9
Description-Content-Type: text/markdown
Requires-Dist: pandas
Requires-Dist: numpy
Requires-Dist: matplotlib
Requires-Dist: seaborn
Requires-Dist: fastapi
Requires-Dist: uvicorn
Requires-Dist: requests
Dynamic: author
Dynamic: description
Dynamic: description-content-type
Dynamic: requires-dist
Dynamic: requires-python
Dynamic: summary

# AeroNavX: Aviation Data & Intelligence Library

AeroNavX is a comprehensive Python library for aviation data analysis, flight route simulation, and calculating emissions using geodesic logic.

## Installation

```bash
pip install aeronavx
```

## Example Usage & Verification

The following example demonstrates route generation and distance calculation.

### Code (`tutorial.py`)

```python
import aeronavx as anx
from aeronavx import get_airport

# 1. Get Airport Data
ist = get_airport("IST")
lhr = get_airport("LHR")

print(f"Origin: {ist.name} ({ist.country})")
print(f"Dest:   {lhr.name} ({lhr.country})")

# 2. Calculate Distance
dist_km = anx.distance(ist.lat, ist.lon, lhr.lat, lhr.lon, unit='km')
print(f"Distance: {dist_km:.2f} km")

# 3. Flight Time Estimation (at 450 knots)
time_hrs = anx.estimate_flight_time(ist, lhr, speed_kts=450)
print(f"Est. Flight Time: {time_hrs:.2f} hours")
```

### Verified Output

```text
Origin: Istanbul Airport (Turkey)
Dest:   London Heathrow Airport (United Kingdom)
Distance: 2490.12 km
Est. Flight Time: 3.45 hours
```

## Features
*   **Airports**: Search by IATA, ICAO, or city name.
*   **Geodesy**: Haversine, Vincenty, and Great Circle calculations.
*   **Emissions**: Estimate CO2 footprint for flight segments.
*   **Optimization**: Find nearest airports and optimal routes.

## License
MIT
