Skip to content

A Python package for converting characters and digits to phonetic alphabet equivalents.

License

Notifications You must be signed in to change notification settings

ryderdamen/phonetic-alphabet

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CircleCI PyPI version

Phonetic Alphabet

A Python package for converting characters and digits to phonetic alphabet equivalents.

Installation

Installation can be done with the Python Package Index (PyPI).

pip install phonetic-alphabet

Examples

Converting an aircraft call-sign:

import phonetic_alphabet as alpha

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

Converting digits:

import phonetic_alphabet as alpha

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