The python phonetic-alphabet package allows you to easily convert aircraft callsigns, airport codes, and anything else you might need into their phonetic equivalents. It even handles the conversion of “9” to “niner”.
I built this package as a dependency for the FlyToday google assistant action. It allows the code for FlyToday to remain simple, and not worry about proper pronunciation for aviation terminology.
import phonetic_alphabet as alpha call_sign = 'CF-ABC' response = alpha.read(call_sign) >>> CHARLIE FOXTROT - ALPHA BRAVO CHARLIE
import phonetic_alphabet as alpha heading = 290 response = alpha.read(heading) >>> TWO NINER ZERO
Pull requests and feature-adds are always welcome.