bx-ui
Modern Arabic and English terminal UI toolkit for Python.
Install
pip install bx-ui
Example
from bx_ui import (
عرض,
نجاح,
قائمة,
جدول,
تقدم,
)
عرض("لوحة التحكم")
اختيار = قائمة(
"اختر العملية:",
[
"إضافة مستخدم",
"عرض المستخدمين",
"خروج",
],
)
if اختيار == 1:
نجاح("تمت إضافة المستخدم")
elif اختيار == 2:
جدول(
["ID", "الاسم", "العمر"],
[
[1, "حسين", 20],
[2, "علي", 19],
],
)
تقدم(total=20, delay=0.03)
English API
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
Metadata
Release files for bx-ui 1.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| bx_ui-1.0.0.tar.gz | 4.4 kB | Without provenance | Details for bx_ui-1.0.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| bx_ui-1.0.0-py3-none-any.whl | Python 3 | none | any | Details for bx_ui-1.0.0-py3-none-any.whl |
Total release size: 9.4 kB
Release files / bx_ui-1.0.0.tar.gz
| Download URL | bx_ui-1.0.0.tar.gz |
|---|---|
| Size | 4.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
ba026a1563da17abd8b2ecf334e003d39691564f6050488c55c72ff34f654b1a
|
|
BLAKE2b-256 checksum How to use checksums |
7d91920f4b9970bf1b57ab8bdf055c8ec3faed466a2545963d197233f32808f4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.13
|
Release files / bx_ui-1.0.0-py3-none-any.whl
| Download URL | bx_ui-1.0.0-py3-none-any.whl |
|---|---|
| Size | 5.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
059dc0667771ea74c3d197db47a53f54f7245119370e1cebd348d2bd72d4ad49
|
|
BLAKE2b-256 checksum How to use checksums |
a4159d664728441a184edeb883961c3419ffe401290d07f9a70208a40d1907e3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.13
|
Security for bx-ui 1.0.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.