Over the weekend, I published a Python package called
xplane_airports. This serves two major use cases:
- Parsing the airport data (
apt.dat) files used by X-Plane, and asking questions like “does <some airport> support <some feature>?”
- Nicely wrapping the X-Plane Scenery Gateway’s API to get information about the airports available there. This includes the ability to download scenery packs and manipulate them just like you would an
If you’re doing any sort of automated analysis or manipulation of X-Plane airports, this should be a huge help.
It’s available via
$ pip install xplane_airports
And there’s a ton of documentation in the project’s README on GitHub.
Bug reports, feature requests, & pull requests are all welcome. 🙂