Metadata-Version: 2.4
Name: decitobin
Version: 1.3.1
Summary: A widget to convert decimal to binary, binary to decimal, ASCII to binary
Home-page: https://github.com/Thailam12/decimal-to-binary
Author: Your Name
Author-email: Thailam12 <thailam160317@outlook.com>
License-Expression: MIT
Project-URL: Homepage, https://github.com/Thailam12/decimal-to-binary
Project-URL: Issues, https://github.com/Thailam12/decimal-to-binary/issues
Classifier: Programming Language :: Python :: 3
Classifier: Operating System :: OS Independent
Requires-Python: >=3.10
Description-Content-Type: text/markdown
License-File: LICENSE
Dynamic: author
Dynamic: home-page
Dynamic: license-file
Dynamic: requires-python

decitobin 🧒🔢
decitobin is a versatile Python tool that converts between number systems and text — now with a web-style user interface and enhanced features.

Whether you're converting decimal to binary, exploring ASCII encoding, or transforming hexadecimal strings, decitobin offers an interactive and beginner-friendly experience.

🌟 Features
🧠 Support for multiple conversions:

Decimal → Binary
Binary → Decimal
ASCII → Binary
Binary → ASCII
Hex → Binary
Binary → Hex
🖥️ Graphical interface with dropdown selection (Tkinter-based)

🚀 Instant results with detailed formatting

📦 Easy to install and run on any platform

💻 Installation
```sh
pip install decitobin
```
🎮 Launching the App
Run the converter using:
```sh
python -m decitobin
```
Or run your own launcher script using:

```python
import decitobin
print(dec2bin("12")) # Output: 1100
print(asciitobin("A")) # Output: 01000001
print(bin2hex(1011)) # Output: A
print(bin2ascii(01000010)) # Output: B
```
✨ Example Conversions
| Input	| Mode	| Output |
|-------|-------|-------|
| 13	| Decimal → Binary	| 1101 |
| 1101	| Binary → Decimal	| 13 |
| Hi	| ASCII → Binary	| 01001000 01101001 |
| 01001000 01101001	| Binary → ASCII	| Hi |
| F0	| Hex → Binary	| 11110000 |
| 11110000	| Binary → Hex	| F0 |
📄 License
Licensed under the MIT License.
