Skip to main content

A simple CLI Morse Code encoder/decoder

Project description

dot-dash

"Talk in dots and dashes like it’s 1844."


A lightweight CLI tool to encode and decode Morse code - because typing .... . .-.. .-.. --- is just cooler than typing “hello”.


Install

pip install dot-dash

Usage

Encode Text → Morse

dot-dash --encode "HELLO WORLD"
# .... . .-.. .-.. --- / .-- --- .-. .-.. -..

Decode Morse → Text

dot-dash --decode ".... . .-.. .-.. ---"
# HELLO

Features

  • Encode text into Morse code
  • Decode Morse code back into text
  • No internet required - works entirely offline
  • Simple & lightweight (less than 100 lines of code)

Contributing

PRs are welcome! If you’d like to add sound output, file support, or even ASCII flashing lights - go wild.


License

MIT License - free to use, modify, and share.


Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

mdot-0.1.0.tar.gz (3.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

mdot-0.1.0-py3-none-any.whl (3.5 kB view details)

Uploaded Python 3

File details

Details for the file mdot-0.1.0.tar.gz.

File metadata

  • Download URL: mdot-0.1.0.tar.gz
  • Upload date:
  • Size: 3.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.9

File hashes

Hashes for mdot-0.1.0.tar.gz
Algorithm Hash digest
SHA256 4831af68aa97ea891177c669b624de5a4161f890a10027fa055e6547445bf05b
MD5 7e09acc17158ac8e037a236e86f2677d
BLAKE2b-256 784ca781fc248cc354034dea1c4b72cbfb1c1840bad2731a89e7357e2b1cf323

See more details on using hashes here.

File details

Details for the file mdot-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: mdot-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 3.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.9

File hashes

Hashes for mdot-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 77494937ef86c40dd3ad65668e0ab3cdedbd47f505af7194a0859b1fcc436f60
MD5 9413fdfb65f8820a3df048ab732059c3
BLAKE2b-256 37f0b13f52a4cf3323b4013414c0d1da9219ff48308c7516ca9ab61edabb5135

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page