Runtime Cython compilation#

scikitplot.cython is a runtime native-code build service: it validates caller-supplied Cython source, resolves a toolchain, builds in a bounded staging area, publishes deterministic cache entries, and imports the resulting extension.

Important

Compiling caller-supplied Cython means compiling executable native code. The security policy reduces accidental or disallowed build inputs; it is not a sandbox for hostile source code. Only compile code you are willing to execute with the current process privileges.

Getting started

Compile and load one small Cython module through the public runtime service.

Getting started
Trust and security

Understand executable-code trust, validation policy, and build budgets.

Trust and security
Build, cache, and import

Follow keys, locks, staging, atomic publication, and transactional import.

Build, cache, and import
Profiles and toolchains

Inspect compiler/runtime capability before selecting a profile.

Profiles and toolchains
Packages and templates

Build multi-module packages and use validated template/workflow assets.

Packages, templates, and workflows
Cache, pins, and GC

Operate executable cache artifacts without violating coordination rules.

Cache, pins, and garbage collection
Python API

Use stability tiers and structured result objects.

Python API
Troubleshooting

Diagnose compiler, security, timeout, cache, and platform failures.

Troubleshooting

Template reference#

See Cython templates for the existing shipped template reference.

Examples#

See Cython for executable examples that accompany this guide.