Phonetic Alphabet – Python Package

Software Tools

I needed a way to read aviation reports out loud properly, so I built a python package to convert acronyms to their phonetic equivalents.

About The Project

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 a google assistant action. It allows the code for the action to remain simple, and not worry about proper pronunciation for aviation terminology.

Example Use

Here's an example of how to use it.

First, install the package

pip install phonetic-alphabet

Then, implement it like so:

import phonetic_alphabet as alpha

call_sign = 'CF-ABC'
response = alpha.read(call_sign)
>>> CHARLIE FOXTROT - ALPHA BRAVO CHARLIE

or like so

import phonetic_alphabet as alpha

heading = 290
response = alpha.read(heading)
>>> TWO NINER ZERO

Pull requests and feature-adds are always welcome.

Interested?

Check out the project for yourself!

Let's build something big together

I build creative marketing experiences and projects with technology.