A library to print and input Arabic text correctly in terminal with color support
Project description
arprint 📝
arprint هي مكتبة بايثون احترافية تهدف لحل مشكلة عرض وإدخال اللغة العربية في "الترمينال" (Terminal) والأنظمة التي لا تدعم النصوص من اليمين إلى اليسار (RTL) بشكل افتراضي، مثل Kali Linux و Termux.
تُعد هذه المكتبة أداة مثالية لمطوري أدوات الأمن السيبراني والسكربتات الذين يرغبون في بناء واجهات تفاعلية باللغة العربية.
الميزات الجديدة في الإصدار 0.1.2 ✨
- دعم الألوان: طباعة النصوص العربية بألوان مختلفة لجعل الواجهة أكثر احترافية.
- الإدخال العربي (arinput): أول دالة تتيح استقبال مدخلات المستخدم باللغة العربية المنسقة.
- دعم كلمة المرور (Secure Input): ميزة إخفاء النصوص عند إدخال كلمات المرور، ضرورية جداً للأدوات الأمنية.
- تصحيح الحروف والاتجاه: معالجة كاملة للنصوص لتظهر من اليمين إلى اليسار (RTL) بشكل سليم.
التثبيت (Installation) 📥
يمكنك تثبيت أو تحديث المكتبة بسهولة عبر pip:
pip install --upgrade arprint
أمثلة الاستخدام (Usage Examples) 🚀
1. الطباعة العادية والملونة
from arprint import arprint
arprint("تجربة المكتبة")
arprint("تجرية اللون الأحمر", color='red')
arprint("تجربة اللون الأخضر", color='green')
2. استقبال مدخلات المستخدم (Arabic Input)
from arprint import arprint, arinput
name = arinput("ادخل اسمك:", color='cyan')
password = arinput("ادخل كلمة مرور: ", color='yellow', password=True)
arprint(f"أهلاً بك يا {name}، جاري البدء...", color='blue')
قائمة الألوان المدعومة 🎨
يمكنك تمرير اسم اللون كمتغير color في الدوال:
red (أحمر)
green (أخضر)
yellow (أصفر)
blue (أزرق)
magenta (أرجواني)
cyan (سماوي)
white (أبيض)
التواصل 📩
للمساهمة في تطوير المكتبة أو الإبلاغ عن مشاكل، يمكنك التواصل مع المطور عبر تلغرام:
@cymoussa
تم التطوير بواسطة يوسف موسى طالب المدرسة العليا للأمن السيبراني
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file arprint-0.1.2.tar.gz.
File metadata
- Download URL: arprint-0.1.2.tar.gz
- Upload date:
- Size: 3.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f09e0e1f9f221c16ab1cad65dd71a96dd24d343b2bd9df65156f07d5c634bd36
|
|
| MD5 |
eff66d2efd512d4e47c67f908b951ea3
|
|
| BLAKE2b-256 |
96add794216296d9f60f1ecc33cb051fcccdab773217b26ddff1554a8963b186
|
File details
Details for the file arprint-0.1.2-py3-none-any.whl.
File metadata
- Download URL: arprint-0.1.2-py3-none-any.whl
- Upload date:
- Size: 3.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
bb23df7da0c5acb210847bdf18e49920ba1e719e881063ed6e7e56b8b0001103
|
|
| MD5 |
5dd9e901dbca641ef84b182579435873
|
|
| BLAKE2b-256 |
eaf0535a1acd77267c55b207a477a9a5e9f091783fb8ffab08ec501dd92c6840
|