Skip to main content
تشغيل أي مهارة في Manus
بنقرة واحدة

cython-pure-mode

النجوم٢
التفرعات٠
آخر تحديث٤ يوليو ٢٠٢٦ في ٢٠:١١

Guides converting and speeding up existing Python code using Cython 3's "pure Python mode" — adding static types with PEP 484/526 annotations, cython.declare, @cython.cfunc/@cython.ccall/@cython.cclass, and typed memoryviews — so a .py file compiles to a fast C extension while remaining importable and runnable as plain Python. Use this whenever the user wants to speed up slow Python code, compile Python with Cython, add static typing for performance, optimize numeric or array-heavy loops (NumPy, image processing, particle tracking, signal/video processing, simulations), or mentions Cython "pure mode", cythonize, .pyx vs .py performance, or turning a hot function into a compiled extension without giving up testability. Also trigger when the user describes a slow nested loop, a profiled hot path, or "how do I make this Python function C-fast" even if they never say the word "Cython".

التثبيت

التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.

مستكشف الملفات
5 ملفات
SKILL.md
readonly