Skip to main content

nato-spell

nato-spell is a Python package that can be used to spell a string / file with the well-known NATO phonetic alphabet.

Installation

System requirements:

  • aplay (ALSA command line player - it may already be installed on your computer)
  • python >= 3

Use pip or pipx to install nato-spell.

pip install nato-spell

Usage

Minimal example

nato-spell SPELLME 

Spelling from stdin

echo SPELLME | nato-spell - 

Increase the delay between characters (unit is seconds, default is 0)

nato-spell SPELLME --char-delay=1

Use a different sound directory

nato-spell SPELLME --sound-dir=/home/me/my-sound-dir

And finally, an example, where we use them all together.

echo SPELLME | nato-spell - --sound-dir=/home/me/my-sound-dir --char-delay=1

Sound assets

These sounds were published by Tim Kahn and hosted on freesound.org

Thank you Amy Gedgaudas and Tim Kahn for all these sounds.

They're licensed under: http://creativecommons.org/licenses/by/3.0/

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

License

MIT

Metadata

Release files for nato-spell 0.3.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for nato-spell 0.3.1
File Size Uploaded
nato-spell-0.3.1.tar.gz 3.9 MB Details

Built distribution (wheel)

Table of built distributions (wheels) for nato-spell 0.3.1
File Interpreter ABI Platform
nato_spell-0.3.1-py3-none-any.whl Python 3 none any Details

Total release size: 7.7 MB

Release files / nato-spell-0.3.1.tar.gz

Download URL nato-spell-0.3.1.tar.gz
Size 3.9 MB
Tags Source
SHA-256 checksum
How to use checksums
46174b1ac3974d7bc7cd70bcdaf616c8d3fa2f40661704adf1de3036851d6b8c
BLAKE2b-256 checksum
How to use checksums
4d21dfafae302631f24cd41d755a56d70585f141ec13906ae5daac89235c2f06
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.0.5 CPython/3.8.0 Linux/4.15.0-1028-gcp

Release files / nato_spell-0.3.1-py3-none-any.whl

Download URL nato_spell-0.3.1-py3-none-any.whl
Size 3.9 MB
Tags Python 3
SHA-256 checksum
How to use checksums
48c10c89b9d44d4c899b4132270223ef8694e03d1f1e5915c7cd21032d7bb65a
BLAKE2b-256 checksum
How to use checksums
1502a5bfd843f523abf67089111cbd459ef6fa1de44db5966f196a32fd7e1878
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.0.5 CPython/3.8.0 Linux/4.15.0-1028-gcp

Release history Release notifications | RSS feed

This release

0.3.1 This release

2 release files

0.2.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page