Cython User Guide#

Instant PKG/MOD Generation#

The cython submodule provides runtime Cython compilation, artifact caching, template-based examples, controlled loading, and cache maintenance utilities.

This guide separates the main concepts into reusable diagrams so that each workflow can be reviewed and maintained independently.

Examples relevant to the cython module.

A lightweight runtime Cython development kit with caching, pinning, garbage collection, and templating support. "Simple Foundation. Truly Sovereign."

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.

Examples

from scikitplot.cython import compile_and_load

m = compile_and_load("def f(int n):\n    return n*n")
m.f(10)