https://github.com/bondarevts/spell-it-for-me
A simple command line tool to display a spelling for any phrase using a phonetic alphabet.
https://github.com/bondarevts/spell-it-for-me
command-line-application nato-phonetic-alphabet phonetic-alphabet python
Last synced: 21 days ago
JSON representation
A simple command line tool to display a spelling for any phrase using a phonetic alphabet.
- Host: GitHub
- URL: https://github.com/bondarevts/spell-it-for-me
- Owner: bondarevts
- License: mit
- Created: 2020-10-09T21:55:49.000Z (over 5 years ago)
- Default Branch: main
- Last Pushed: 2020-12-29T01:18:43.000Z (over 5 years ago)
- Last Synced: 2025-08-20T00:31:15.131Z (8 months ago)
- Topics: command-line-application, nato-phonetic-alphabet, phonetic-alphabet, python
- Language: Python
- Homepage:
- Size: 8.79 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Spell It For Me
A simple command line tool to display a spelling for any phrase using a phonetic alphabet.
Can use NATO (`-a nato`, active by default) or law enforcement (`-a police`) phonetic alphabets.
More alphabets might be supported in the future.
## Installation
Run the following to install:
```bash
$ pip install spell-it-for-me
```
## Usage
By default `spell` will print every letter spelled on a separate line using the NATO phonetic alphabet:
```bash
$ spell Louis
Líma
Óscar
Úniform
Índia
Siérra
```
Spelling phrases of several words is supported:
```bash
$ spell Worcester, MA
Whísky
Óscar
Rómeo
Chárlie
Écho
Siérra
Tángo
Écho
Rómeo
,
Mike
Álfa
```
Law enforcement alphabet is available (use `-a police` or `--alphabet police`):
```bash
$ spell -a police Louis
Lincoln
Oscar
Union
Ida
Sam
```
Use `-v` (or `--verbose`) to print each letter used for spelling:
```bash
spell.py -v Louis
L: Líma
o: Óscar
u: Úniform
i: Índia
s: Siérra
```