https://github.com/c1m50c/morse-code
Morse Code Encoder & Decoder written in Python.
https://github.com/c1m50c/morse-code
actions decoder educational encoder mit-license morse morse-code morsecode py-test pytest python python3 rich tests
Last synced: 11 days ago
JSON representation
Morse Code Encoder & Decoder written in Python.
- Host: GitHub
- URL: https://github.com/c1m50c/morse-code
- Owner: c1m50c
- License: mit
- Created: 2021-12-08T05:58:56.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2021-12-12T03:56:58.000Z (over 4 years ago)
- Last Synced: 2025-08-08T23:34:44.388Z (11 months ago)
- Topics: actions, decoder, educational, encoder, mit-license, morse, morse-code, morsecode, py-test, pytest, python, python3, rich, tests
- Language: Python
- Homepage:
- Size: 16.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# **morse-code**
[](https://github.com/c1m50c/morse-code/actions/workflows/tests.yml)
Morse Code Encoder & Decoder written in Python.
## **Installing Requirements & Running**
```bash
# Install Required Packages with the `pip` package manger.
$ cd morse-code
$ pip3 install -r ./requirements.txt
```
```bash
# Run the Application with `python3`.
$ cd morse-code
$ python3 src/main.py
...
```
## **Examples**
```bash
message:$ we out here
Encoded: .-- . --- ..- - .... . .-. .
Decoded:
```
```bash
message:$ morse code -- --- .-. ... . -.-. --- -.. .
Encoded: -- --- .-. ... . -.-. --- -.. . -....- -....- -....- -....- -....- .-.-.- -....- .-.-.- .-.-.- .-.-.- .-.-.- .-.-.- -....- .-.-.- -....- .-.-.- -....- -....-
-....- -....- .-.-.- .-.-.- .-.-.-
Decoded: MORSECODE
```
## **Encodable Characters**
```yml
aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ # English Alphabet
,?:-"()=@+_'/;.!&$ # Punctuation Symbols
012345679 # Digits
```