Skip to main content

Python Morse Code Utils

A python morse code encoder / decoder with window morsecode player

This package contains:

  1. translator
  2. player

Translator

from morseutils.translator import MorseCodeTranslator as mct

mct.encode('hello') # return '.... . .-.. .-.. ---'
mct.decode('.- .-.') # return 'AR'

Player

from morseutils.player import MorseCodePlayer

mcp = MorseCodePlayer() 

mcp.play('hello') # play hello morse code
mcp.play_morse('.- .-.') # play .- .-.

Customization

from morseutils.player import MorseCodePlayer

mcp = MorseCodePlayer() 

mcp.BEEP_FREQ = 600
mcp.BEEP_DURATION_MS = 100
mcp.BEEP_LONG_DURATION_MS = 300
mcp.CHARACTER_BREAK_MS =  50
mcp.SPACE_BREAK_MS = 200

Metadata

Release files for morseutils 0.0.4.100

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for morseutils 0.0.4.100
File Size Uploaded Provenance Actions
morseutils-0.0.4.100.tar.gz 3.8 kB Without provenance Details for morseutils-0.0.4.100.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for morseutils 0.0.4.100
File Interpreter ABI Platform Actions
morseutils-0.0.4.100-py3-none-any.whl Python 3 none any Details for morseutils-0.0.4.100-py3-none-any.whl

Total release size: 8.2 kB

Release files / morseutils-0.0.4.100.tar.gz

Download URL morseutils-0.0.4.100.tar.gz
Size 3.8 kB
Tags Source
SHA-256 checksum
How to use checksums
4e638c09604997206557bd169294b682e25e0c71e1331a19be4d9dd04306e725
BLAKE2b-256 checksum
How to use checksums
05b29511b9f4e1377b4243e020a2ffdc76b9f5b772ecc69c815036ed3ba1cab2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.12.2

Release files / morseutils-0.0.4.100-py3-none-any.whl

Download URL morseutils-0.0.4.100-py3-none-any.whl
Size 4.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
72455ab076d2f7e0187be565f72cd8dc2be4e3420ab09111050682f3f4d8bc27
BLAKE2b-256 checksum
How to use checksums
6457b060f5d951c766ec3e69dc65ffd0b67d5b2d98c41b2c810f7e760fbf8a67
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.12.2

Security for morseutils 0.0.4.100

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page