Skip to main content

A simple Python package for encoding and decoding Morse code

Project description

morsekit

A simple Python package for encoding and decoding Morse code.

Features

  • Encode plain text to Morse code
  • Decode Morse code to plain text
  • Supports letters, digits, and common punctuation
  • Includes a command-line interface

Installation

pip install morsekit


Usage

from morsekit import encode, decode

print(encode("HELLO WORLD"))
# .... . .-.. .-.. --- / .-- --- .-. .-.. -..

print(decode(".... . .-.. .-.. --- / .-- --- .-. .-.. -.."))
# HELLO WORLD


CLI

morsekit encode "HELLO WORLD"
morsekit decode ".... . .-.. .-.. --- / .-- --- .-. .-.. -.."


License

MIT


---

## 6) `LICENSE`

```text
MIT License

Copyright (c) 2026 Austine Onwubiko

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software...

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

morsekit-0.1.0.tar.gz (3.2 kB view details)

Uploaded Source

Built Distribution

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

morsekit-0.1.0-py3-none-any.whl (3.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: morsekit-0.1.0.tar.gz
  • Upload date:
  • Size: 3.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.10

File hashes

Hashes for morsekit-0.1.0.tar.gz
Algorithm Hash digest
SHA256 5de75f0a6b35063f2bbac863a2ad3917dca561bdecc987b75f5f8b31a9af78ef
MD5 8131c09b69f862f5a78a431874ca9a25
BLAKE2b-256 d7c12f7952a624d527b16d67b56a1e7ae649eda665d42ba7369e53cd6ab0da08

See more details on using hashes here.

File details

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

File metadata

  • Download URL: morsekit-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 3.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.10

File hashes

Hashes for morsekit-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 841435f878d06c6bff20b7c1a92f5bb10c499f9f8135b5dad45b189272fdeb5f
MD5 2529df1f37b2d3ef296f0af797c0da45
BLAKE2b-256 f3bdb955a4112402a60e9d6a5b8072fd1a00c8f43cba6584c9b2bf2224f9c510

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