moroia 0.2.0__tar.gz
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.
- moroia-0.2.0/LICENSE +0 -0
- moroia-0.2.0/PKG-INFO +21 -0
- moroia-0.2.0/README.md +8 -0
- moroia-0.2.0/moroia.egg-info/PKG-INFO +21 -0
- moroia-0.2.0/moroia.egg-info/SOURCES.txt +9 -0
- moroia-0.2.0/moroia.egg-info/dependency_links.txt +1 -0
- moroia-0.2.0/moroia.egg-info/entry_points.txt +2 -0
- moroia-0.2.0/moroia.egg-info/top_level.txt +1 -0
- moroia-0.2.0/moroia.py +33 -0
- moroia-0.2.0/pyproject.toml +25 -0
- moroia-0.2.0/setup.cfg +4 -0
moroia-0.2.0/LICENSE
ADDED
|
File without changes
|
moroia-0.2.0/PKG-INFO
ADDED
|
@@ -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
|
moroia-0.2.0/README.md
ADDED
|
@@ -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 @@
|
|
|
1
|
+
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
moroia
|
moroia-0.2.0/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()
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
[build-system]
|
|
2
|
+
requires = ["setuptools>=61.0"]
|
|
3
|
+
build-backend = "setuptools.build_meta"
|
|
4
|
+
|
|
5
|
+
[project]
|
|
6
|
+
name = "moroia"
|
|
7
|
+
version = "0.2.0"
|
|
8
|
+
description = "أداة MOROIA الذكية لفحص معلومات النظام من شاشة الأوامر مباشرة"
|
|
9
|
+
readme = "README.md"
|
|
10
|
+
requires-python = ">=3.7"
|
|
11
|
+
authors = [
|
|
12
|
+
{ name="MOROIA Developer", email="moroia@example.com" }
|
|
13
|
+
]
|
|
14
|
+
classifiers = [
|
|
15
|
+
"Programming Language :: Python :: 3",
|
|
16
|
+
"License :: OSI Approved :: MIT License",
|
|
17
|
+
"Operating System :: OS Independent",
|
|
18
|
+
]
|
|
19
|
+
|
|
20
|
+
[tool.setuptools]
|
|
21
|
+
py-modules = ["moroia"]
|
|
22
|
+
|
|
23
|
+
# هذا السطر السحري هو الذي يربط كلمة moroia بالدالة main لتشغيلها مباشرة
|
|
24
|
+
[project.scripts]
|
|
25
|
+
moroia = "moroia:main"
|
moroia-0.2.0/setup.cfg
ADDED