Skip to main content

A simple CLI Morse Code encoder/decoder

Project description

mdot

"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 mdot

Usage

Encode Text → Morse

mdot --encode "HELLO WORLD"
# .... . .-.. .-.. --- / .-- --- .-. .-.. -..

Decode Morse → Text

mdot --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.1.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.1-py3-none-any.whl (3.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: mdot-0.1.1.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.1.tar.gz
Algorithm Hash digest
SHA256 0c5ec425543bb6b486797a4054c4e40d68f943b52e2f3a46f6ff6c9f0b3956d8
MD5 7dcc050febda7044fa9ce5fb70517be1
BLAKE2b-256 e7ced38fa115f7462299440b939254a1defea60b6c131a96f113ecb7588ed934

See more details on using hashes here.

File details

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

File metadata

  • Download URL: mdot-0.1.1-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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 92ab037279247fd9c1cb7580b104c054b5efe95356da4b051f0fe42ad333649c
MD5 a19d57f8de3480f2131e5e3aec9523a1
BLAKE2b-256 ae7920067195935992185ed004d7a2906e802440319abb3db3f96ad6651f30c5

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