A funny execute module, enjoy.
Project description
🍽️ EAT - Execute Analyze Transform
مكتبة ذكية لتحليل، فحص، تشويش وتنفيذ كود بايثون بأمان
✨ الميزات
🔥 burn(code) - تشويش الكود وجعله غير قابل للفهم بسهولة
📊 chew(code) - تحليل الكود وعدّ الأسطر والدوال والكلمات
🛡️ scan(code) - كشف أوامر مشبوهة مثل exec أو import os
⚙️ digest(code) - تنفيذ الكود داخل بيئة محمية (Sandbox)
♻️ full(code) - منع تكرار تنفيذ نفس الكود
🧠 throwup() - إرجاع نتيجة آخر تنفيذ للكود
🚀 الاستخدام
from eat import burn, chew, digest, scan, throwup, full
code = '''
def hello():
print("Hello from EAT")
hello()
'''
print(burn(code))
print(chew(code))
print(scan(code))
if full(code):
digest(code)
print(throwup())
else:
print("الكود تم تنفيذه مسبقاً.")
🧪 مثال عملي
code = "print('Welcome to EAT!')" if not scan(code): if full(code): digest(code) print("✅ تم التنفيذ!") else: print("⚠️ تم تنفيذ الكود مسبقاً.") else: print("❌ تم الكشف عن كود ضار!")📦 التثبيت
pip install eat🧑💻 المؤلف
d9c.
هذه المكتبة تعليمية وقابلة للتوسّع في المستقبل القريب.
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 eat-1.0.0.tar.gz.
File metadata
- Download URL: eat-1.0.0.tar.gz
- Upload date:
- Size: 13.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: python-requests/2.32.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d87d5785a5234c2140aca464f15315f15d7224adcec4166134326e2f6cf200eb
|
|
| MD5 |
b7edbc0c0c2878caba6ef899bab9064d
|
|
| BLAKE2b-256 |
d18c23e41c125bd6e56f7f95f44fd0891bea1651a5fea3026279538ac06154ee
|
File details
Details for the file eat-1.0.0-py2.py3-none-any.whl.
File metadata
- Download URL: eat-1.0.0-py2.py3-none-any.whl
- Upload date:
- Size: 14.3 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: python-requests/2.32.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b36d670caa850d3a68c4ff18c3e8f209cf8158af8c8c672e0ad48aa55db91652
|
|
| MD5 |
e5c6ab917cb37ab6510f3512f2d60ea6
|
|
| BLAKE2b-256 |
b6d05e08f1acf1eec2ab10c7c65f62ecf003299e5cca9f5e726b1e94d007ab96
|