moroia 0.2.0__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,21 @@
1
+ Metadata-Version: 2.4
2
+ Name: moroia
3
+ Version: 0.2.0
4
+ Summary: أداة MOROIA الذكية لفحص معلومات النظام من شاشة الأوامر مباشرة
5
+ Author-email: MOROIA Developer <moroia@example.com>
6
+ Classifier: Programming Language :: Python :: 3
7
+ Classifier: License :: OSI Approved :: MIT License
8
+ Classifier: Operating System :: OS Independent
9
+ Requires-Python: >=3.7
10
+ Description-Content-Type: text/markdown
11
+ License-File: LICENSE
12
+ Dynamic: license-file
13
+
14
+ # MOROIA Tool 🚀
15
+
16
+ أداة بسيطة وذكية مكتوبة بلغة بايثون لفحص معلومات النظام والشبكة بسرعة من خلال شاشة الأوامر مباشرة وبأمر واحد.
17
+
18
+ ## طريقة التثبيت (Installation)
19
+ يمكن لأي شخص تثبيت الأداة عبر أداة pip بالـ Terminal:
20
+ ```bash
21
+ pip install moroia
@@ -0,0 +1,7 @@
1
+ moroia.py,sha256=ltyJlYpm4qtCKEo8ct1Zb2Mr0LwTTm-lYiVf_3ob7no,1209
2
+ moroia-0.2.0.dist-info/licenses/LICENSE,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
3
+ moroia-0.2.0.dist-info/METADATA,sha256=MaXdst-PIUeEn1PCmg9lveVrf03RSlAPn2I13GuVT_4,873
4
+ moroia-0.2.0.dist-info/WHEEL,sha256=aeYiig01lYGDzBgS8HxWXOg3uV61G9ijOsup-k9o1sk,91
5
+ moroia-0.2.0.dist-info/entry_points.txt,sha256=wPE9iFrScxc1hJmgVXVYNzdHAxTNTrqlz2pBcoYPvRM,39
6
+ moroia-0.2.0.dist-info/top_level.txt,sha256=1mdTys23Xb7N1SJhBBMYx1P5Dp0IxkiOu6LHsgx6Soo,7
7
+ moroia-0.2.0.dist-info/RECORD,,
@@ -0,0 +1,5 @@
1
+ Wheel-Version: 1.0
2
+ Generator: setuptools (82.0.1)
3
+ Root-Is-Purelib: true
4
+ Tag: py3-none-any
5
+
@@ -0,0 +1,2 @@
1
+ [console_scripts]
2
+ moroia = moroia:main
File without changes
@@ -0,0 +1 @@
1
+ moroia
moroia.py ADDED
@@ -0,0 +1,33 @@
1
+ import platform
2
+ import socket
3
+ import sys
4
+
5
+ def main():
6
+ print("=" * 45)
7
+ print(" مرحباً بك في أداة MOROIA الرسمية! ")
8
+ print("=" * 45)
9
+
10
+ # 1. جلب معلومات نظام التشغيل والمعالج
11
+ system_info = platform.system()
12
+ release_info = platform.release()
13
+ machine_info = platform.machine()
14
+
15
+ # 2. جلب اسم الجهاز والـ IP الداخلي
16
+ try:
17
+ hostname = socket.gethostname()
18
+ ip_address = socket.gethostbyname(hostname)
19
+ except Exception:
20
+ hostname = "غير معروف"
21
+ ip_address = "تعذر تحديد الـ IP الداخلي"
22
+
23
+ # 3. طباعة البيانات بشكل منسق للمستخدم
24
+ print(f"[+] نظام التشغيل : {system_info} (إصدار: {release_info})")
25
+ print(f"[+] نوع المعالج : {machine_info}")
26
+ print(f"[+] اسم جهاز الكمبيوتر : {hostname}")
27
+ print(f"[+] عنوان الـ IP الداخلي: {ip_address}")
28
+ print("-" * 45)
29
+ print("[*] تم الفحص بنجاح بواسطة أداة MOROIA.")
30
+ print("=" * 45)
31
+
32
+ if __name__ == "__main__":
33
+ main()