Skip to main content

A funny execute module, enjoy.

Project description

EAT Logo

🍽️ 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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

eat-1.0.0.tar.gz (13.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

eat-1.0.0-py2.py3-none-any.whl (14.3 kB view details)

Uploaded Python 2Python 3

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

Hashes for eat-1.0.0.tar.gz
Algorithm Hash digest
SHA256 d87d5785a5234c2140aca464f15315f15d7224adcec4166134326e2f6cf200eb
MD5 b7edbc0c0c2878caba6ef899bab9064d
BLAKE2b-256 d18c23e41c125bd6e56f7f95f44fd0891bea1651a5fea3026279538ac06154ee

See more details on using hashes here.

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

Hashes for eat-1.0.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 b36d670caa850d3a68c4ff18c3e8f209cf8158af8c8c672e0ad48aa55db91652
MD5 e5c6ab917cb37ab6510f3512f2d60ea6
BLAKE2b-256 b6d05e08f1acf1eec2ab10c7c65f62ecf003299e5cca9f5e726b1e94d007ab96

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page