Skip to main content

Morse Code Translator

Project description

Morse code translator.

Morse code translator is a small library for translating Latin letters into Morse code and vice versa.

Table of Contents

Installation

pip install morse-code-translator2

Quick Start

Translation morse code to lat.

from morse_code_translator.translator import translate_to_lat
translate_to_lat(".--. -.-- - .... --- -.  --- -. .  .-.. --- ...- .")
'python one love'

Translation lat to morse code.

from morse_code_translator.translator import translate_to_morse
translate_to_morse("Python one love")
'.--. -.-- - .... --- -.  --- -. .  .-.. --- ...- .'

License

Morse code translator is licensed under the MIT License. See the LICENSE file distributed with this 
work for additional information regarding copyright ownership.

Except as contained in the LICENSE file, the name(s) of the above copyright holders shall not be 
used in advertising or otherwise to promote the sale, use or other dealings in this Software without
prior written authorization.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

morse-code-translator2-1.0.0.tar.gz (4.0 kB view hashes)

Uploaded Source

Built Distribution

morse_code_translator2-1.0.0-py3-none-any.whl (4.3 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page