Metadata-Version: 2.4
Name: Qmorse
Version: 1.2.3
Summary: A lightweight Morse-like library for Python
Home-page: https://github.com/amiralihabibzadeh/Qmorse
Author: Hobab
Author-email: b66669420@gmail.com
Keywords: morse binary encoding decoding python
Requires-Python: >=3.7
Description-Content-Type: text/markdown
License-File: LICENSE
Provides-Extra: dev
Requires-Dist: pytest>=7.0.0; extra == "dev"
Requires-Dist: black>=24.0.0; extra == "dev"
Requires-Dist: ruff>=0.5.0; extra == "dev"
Requires-Dist: setuptools>=61.0.0; extra == "dev"
Requires-Dist: wheel>=0.37.0; extra == "dev"
Requires-Dist: twine>=4.0.0; extra == "dev"
Dynamic: author
Dynamic: author-email
Dynamic: description
Dynamic: description-content-type
Dynamic: home-page
Dynamic: keywords
Dynamic: license-file
Dynamic: provides-extra
Dynamic: requires-python
Dynamic: summary

# Qmorse

**Qmorse** is a lightweight and efficient Python library for **encoding and decoding text into Binary Morse code**. digital communication simulations, cryptography experiments, or just playing with Morse in Python.

Binary Morse code uses `0` for short signals (dots) and `1` for long signals (dashes) and `.` as silence , allowing real word use for Brodcasting use as it mimics how Morse code itself is Used in real life.

Note that this library is made for real use of the morse code.
---

## Features

- **Encoding and Decoding of the bimorse:** Encode standard text (letters, numbers, and basic punctuation) into a binary Morse representation.
- **File Support:** Read/write binary Morse code to and from `.txt` files and save bimorse as `.bimorse` files.
- **Easy Use:** Simple API designed for both beginners and advanced users.

---

## Installation

Install Qmorse via PyPI:

```bash
pip install Qmorse
```

or via Local install:
```bash
git clone https://github.com/amiralihabibzadeh/Qmorse.git
cd Qmorse
pip install .
```
## Usage Example
```bash
from Qmorse import bimorse as bim

text = bim.to_bimorse('Cogito, ergo sum')
bim.save_file(text,'Rene.txt')

```
