Skip to content

📜 Python program to translate text to morse code and vice versa - made with Python, Tkinter and Typer

License

Notifications You must be signed in to change notification settings

vitorueno/morse-translater

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

39 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

logo

💬 Morse Code Translater

author language license stars contributors forks twitter

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.

language_support

demonstration

📌 Topics

🚀 Features

  • Encrypt text to morse code
  • Decrypt morse code to normal text
  • Choose between English (en-us) or Portuguese (pt-br)

📋 Requirements

  • 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:

Installing the venv library if you don't have it:

python -m pip install venv

Creating the virtual environment:

python -m venv VIRTUAL_ENV_NAME

Executing your virtual environment:

WINDOWS: "VIRTUAL_ENV_NAME/Scripts/activate"

LINUX: source env/bin/activate

Installing the requirements:

pip install -r requirements.txt

🏃 Running the Program

GUI

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

CLI

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 '... --- ...'

📈 Next Steps

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

🎉 How to Contribute

Feel free to contribute however you'd like, but checkout my contributing page for more information.

📕 License

This project is under MIT license.

About

📜 Python program to translate text to morse code and vice versa - made with Python, Tkinter and Typer

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages