This repository is about a simple GUI program made with Tkinter (python's standart GUI package) which translates text to morse code and vice-versa. It has both English (en-us) and Portuguese (pt-br) versions.
- Encrypt text to morse code
- Decrypt morse code to normal text
- Choose between English (en-us) or Portuguese (pt-br)
- Python 3.6 or greater
- Typer
- Tkinter
You don't have to install the Tkinter lib since it is pre-installed by default, but if necessary, run python -m pip install tkinter
to install it.
This way, the only requirement you must install is Typer:
python -m pip install typer
I highly recommend you to create a virtual environment so you don't mess with your Python installation and then install the packages from the [requirements][requirements.txt] file:
python -m pip install venv
python -m venv VIRTUAL_ENV_NAME
WINDOWS:
"VIRTUAL_ENV_NAME/Scripts/activate"
LINUX:
source env/bin/activate
pip install -r requirements.txt
Since this project focuses on the simplicity, only one command is necessary to start the GUI program (make sure to be in the project directory):
python -m morse run
Alternatively, you can use the following commands in order to encrypt or decrypt morse code:
python -m morse code 'my message to be encrypted'
python -m morse decode '... --- ...'
I want to continually improve this program even though it's very simple, so these are the main things I will update or include in the future:
- Create an executable
- Prettify the GUI
- Fix bugs
Feel free to contribute however you'd like, but checkout my contributing page for more information.
This project is under MIT license.