Skip to main content

Library for encoding and decoding Morse code.

Project description

AceMorse is designed for encoding and decoding strings of Morse code.

Example usage of AceMorse:

from acemorse import MorseCode

morse = MorseCode()

text = 'Hello world!'

print('Original text: {}'.format(text))
message = morse.generate(text)

print('Morse code: {}'.format(message))
translate = morse.translate(message)

print('Back to English: {}'.format(translate))

Project details


Release history Release notifications | RSS feed

This version

1.0

Download files

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

Source Distribution

AceMorse-1.0.tar.gz (3.6 kB view hashes)

Uploaded source

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page