Skip to content

Latest commit

 

History

History
33 lines (24 loc) · 807 Bytes

README.md

File metadata and controls

33 lines (24 loc) · 807 Bytes

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