Metadata-Version: 2.4
Name: bx-ui
Version: 1.0.0
Summary: Modern Arabic and English terminal UI toolkit for Python
Author: BXCode
License-Expression: MIT
Requires-Python: >=3.9
Description-Content-Type: text/markdown
License-File: LICENSE
Dynamic: license-file

# bx-ui

Modern Arabic and English terminal UI toolkit for Python.

## Install

```bash
pip install bx-ui
```

## Example

```python
from bx_ui import (
    عرض,
    نجاح,
    قائمة,
    جدول,
    تقدم,
)

عرض("لوحة التحكم")

اختيار = قائمة(
    "اختر العملية:",
    [
        "إضافة مستخدم",
        "عرض المستخدمين",
        "خروج",
    ],
)

if اختيار == 1:
    نجاح("تمت إضافة المستخدم")

elif اختيار == 2:
    جدول(
        ["ID", "الاسم", "العمر"],
        [
            [1, "حسين", 20],
            [2, "علي", 19],
        ],
    )

تقدم(total=20, delay=0.03)
```

## English API

```python
from bx_ui import title, success, menu, table, progress

title("Dashboard")

choice = menu(
    "Choose an action:",
    ["Add user", "Users", "Exit"],
)

success("Done")
```

## Features

- Arabic API aliases
- English API
- Menus
- Tables
- Success, info, warning and error messages
- Confirm prompts
- Progress bars
- Spinners
- Boxes and sections
- Terminal clearing
- Works with Python 3.9+
- No third-party runtime dependencies

## Arabic API

| Arabic | English |
|---|---|
| عرض | title |
| قسم | section |
| معلومة | info |
| نجاح | success |
| تحذير | warning |
| خطأ | error |
| قائمة | menu |
| تأكيد | confirm |
| جدول | table |
| تقدم | progress |
| تحميل | spinner |
| صندوق | box |
| مسح | clear |
| توقف | pause |
| اسأل | ask |
| لغة | set_language |

## License

MIT
