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...
Metadata
Release files for morsekit 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| morsekit-0.1.0.tar.gz | 3.2 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| morsekit-0.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 7.0 kB
Release files / morsekit-0.1.0.tar.gz
| Download URL | morsekit-0.1.0.tar.gz |
|---|---|
| Size | 3.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
5de75f0a6b35063f2bbac863a2ad3917dca561bdecc987b75f5f8b31a9af78ef
|
|
BLAKE2b-256 checksum How to use checksums |
d7c12f7952a624d527b16d67b56a1e7ae649eda665d42ba7369e53cd6ab0da08
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.10
|
Release files / morsekit-0.1.0-py3-none-any.whl
| Download URL | morsekit-0.1.0-py3-none-any.whl |
|---|---|
| Size | 3.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
841435f878d06c6bff20b7c1a92f5bb10c499f9f8135b5dad45b189272fdeb5f
|
|
BLAKE2b-256 checksum How to use checksums |
f3bdb955a4112402a60e9d6a5b8072fd1a00c8f43cba6584c9b2bf2224f9c510
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.10
|