Instant PKG/MOD Generation#
Examples relevant to the cython module.
A lightweight runtime Cython development kit with caching, pinning,
garbage collection, and templating support. "Simple Foundation. Truly Sovereign."
scikitplot.cython enables real-time, in-place (in-situ) live, on demand
generation of low-level Cython packages and modules for immediate use and testing, at runtime.
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