Git Product home page Git Product logo

morse-translater's Introduction

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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.