Skip to main content

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)

Source distribution for bx-ui 1.0.0
File Size Uploaded
bx_ui-1.0.0.tar.gz 4.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for bx-ui 1.0.0
File Interpreter ABI Platform
bx_ui-1.0.0-py3-none-any.whl Python 3 none any Details

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

Release history Release notifications | RSS feed

This release

1.0.0 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page