Convert string to NATO alphabet
Find a file
2024-03-21 06:38:49 +01:00
.travis.yml Add Travis CI tests 2016-08-07 10:05:29 +02:00
nato_converter.py chg: [main] black it 2024-03-21 06:38:49 +01:00
README.md Examples fixed for the ITU/IMO alphabet 2016-08-06 18:23:21 +02:00
setup.py Initial commit 2014-12-16 21:26:00 +01:00
test.py Adapt tests to digits 2016-08-07 10:01:45 +02:00

NATO Phonetic Alphabet Converter

Convert list of character to the equivalent in NATO alphabet and digits in ITU/IMO alphabet. And it takes care of the capitals:

$ ./nato_converter.py aBc
aBc: alpha BRAVO charlie

This is useful to give password orally and avoid confusion:

$ ./nato_converter.py $( pwgen 8 1)
Mahngi8i: MIKE alpha hotel november golf india Oktoeight india

If you don't specify an argument, it reads stdin:

$ pwgen 3 2 | ./nato_converter.py
Ym20Ge: YANKEE mike Bissotwo Nadazero GOLF echo