An open API service indexing awesome lists of open source software.

https://github.com/ryderdamen/phonetic-alphabet

A Python package for converting characters and digits to phonetic alphabet equivalents.
https://github.com/ryderdamen/phonetic-alphabet

alpha-bravo alphabet aviation call-sign convert-characters phonetic phonetic-alphabet phonetic-alphabet-equivalents pypi python

Last synced: over 1 year ago
JSON representation

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

Awesome Lists containing this project

README

          

[![CircleCI](https://circleci.com/gh/ryderdamen/phonetic-alphabet.svg?style=shield)](https://circleci.com/gh/ryderdamen/phonetic-alphabet)
[![PyPI version](https://badge.fury.io/py/phonetic-alphabet.svg)](https://badge.fury.io/py/phonetic-alphabet)

# 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).

```bash
pip install phonetic-alphabet
```

## Examples
Converting an aircraft call-sign:

```python
import phonetic_alphabet as alpha

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

Converting digits:
```python
import phonetic_alphabet as alpha

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