morsedecode
A morse code encoder and decoder utility.
Installation
Install it via pip:
pip install morsedecode
Alternatively, you can use pipx
to run it without installing:
pipx run morsedecode .... .. -.-.--
Usage
$ morsecode Hello World!
.... . .-.. .-.. --- / .-- --- .-. .-.. -.. -.-.--
$ morsedecode .... . .-.. .-.. --- / .-- --- .-. .-.. -.. -.-.--
HELLO WORLD!
Development / Testing
To setup a development environment, run
pip install -r requirements-dev.txt
Then run tests using:
pytest
Or type-check your code using:
mypy .