Cython Realtime Inplace PKG/MOD Generation#
Examples relevant to the cython module.
A lightweight runtime Cython development kit with caching, pinning, garbage collection, and templating support.
scikitplot.cython enables real-time, in-place (in-situ) generation of
low-level Cython packages and modules for immediate use and testing.
Quiskstart
from scikitplot.cython import compile_and_load
m = compile_and_load("def f(int n):\n return n*n")
m.f(10)
Examples
Cython: Realtime compile_and_load (.pyx): Example usage of
compile_and_loadusing template.
See also
cython templates