Skip to main content
Exécutez n'importe quel Skill dans Manus
en un clic

cython-pure-mode

Étoiles2
Forks0
Mis à jour4 juillet 2026 à 20:11

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".

Installation

Installer avec Codex ou Claude Copiez ce prompt, collez-le dans Codex, Claude ou un autre assistant, puis laissez-le vérifier la page du skill et l'installer pour vous.

Explorateur de fichiers
5 fichiers
SKILL.md
readonly