Metadata-Version: 2.4
Name: decitobin
Version: 2025.6
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 WebStyle 🧒🔢

**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  Binary → Octal  Octal → Binary  Duodecimal → Decimal  Decimal →  Duodecimal  

🖥️ Graphical interface with dropdown selection (Tkinter-based)  
🚀 Instant results with detailed formatting  
📋 Copy output to clipboard  
📦 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(decitobin.dec2bin("12"))        # Output: 1100
print(decitobin.ascii2bin("A"))       # Output: 01000001
print(decitobin.bin2hex("1011"))      # Output: B
print(decitobin.bin2oct("101110"))    # Output: 56
print(decitobin.oct2bin("56"))        # Output: 101110
print(decitobin.dec2duodec(23))       # Output:  1B
```
## What is Duodecimal?  
Duodecimal, or base-12, is a number system with 12 characters include 0-9 and A, B.  
## License
Licensed under the MIT License.
