Metadata-Version: 2.4
Name: base-bcd-kit
Version: 0.1.0
Summary: Lightweight Python utilities for Binary, Decimal, Hex, 4-bit BCD, and 8-bit ASCII conversions.
Author: Farhan Adil
License: MIT
Project-URL: Homepage, https://binaryconverter.org
Project-URL: BCD Converter, https://binaryconverter.org/bcd-converter
Project-URL: Repository, https://github.com/farhanadilumarkhan/base-bcd-kit
Keywords: binary,bcd,ascii,converter,hexadecimal,number-system
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Classifier: Topic :: Utilities
Requires-Python: >=3.9
Description-Content-Type: text/markdown
License-File: LICENSE
Dynamic: license-file

# base-bcd-kit

A lightweight, zero-dependency Python utility for converting between **Decimal, Binary, Hexadecimal, 4-bit BCD (Binary Coded Decimal), and 8-bit ASCII**.

> **Prefer an instant browser interface or offline PWA?**  
> Try the interactive calculators at **[BinaryConverter.org](https://binaryconverter.org)**, including the **[BCD Converter](https://binaryconverter.org/bcd-converter)** and **[ASCII to Binary Converter](https://binaryconverter.org/ascii-to-binary)**.

## Installation

```bash
pip install base-bcd-kit
```

## Quick Usage

```python
from base_bcd_kit import (
    dec_to_bin,
    bin_to_dec,
    dec_to_hex,
    dec_to_bcd,
    bcd_to_dec,
    text_to_ascii_bin,
)

print(dec_to_bin(42))            # '101010'
print(bin_to_dec("101010"))      # 42
print(dec_to_hex(255))           # 'FF'
print(dec_to_bcd(25))            # '0010 0101'
print(bcd_to_dec("0010 0101"))   # '25'
print(text_to_ascii_bin("Hi"))   # '01001000 01101001'
```

## Links

- **Web Calculators:** [BinaryConverter.org](https://binaryconverter.org)
- **Source Code:** [GitHub](https://github.com/farhanadilumarkhan/base-bcd-kit)

## License

MIT License
