scikitplot.cython#
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.
See also
User guide. See the Cython Realtime Inplace PKG/MOD Generation section for further details.
Cython Realtime Inplace PKG/MOD Generation#
Compile and import a Cython extension module and return the loaded module. |
|
Compile and import a Cython extension module from source text. |
|
Compile/import a Cython module from a |
|
Compile/import a Cython module from a |
|
Compile and import all |
|
Build and import a multi-module extension package and return loaded modules. |
|
Build and import a multi-module extension package from code strings. |
|
Build and import a multi-module extension package and return loaded modules. |
|
Build and import a multi-module extension package from |
|
Import a cached module entry and return the loaded module. |
|
Import a cached module entry by cache key. |
|
Import the newest cached module entry matching |
|
Import a cached package and return the loaded modules. |
|
Import a cached package entry by cache key. |
|
Register an existing compiled extension artifact on disk, then import it. |
|
Register a compiled extension artifact from bytes and import it. |
|
Import a compiled extension artifact from a path. |
|
Import a compiled extension artifact from raw bytes. |
|
Export a cache entry directory to a destination folder. |
Cache management#
Resolve (and create) the cache root directory. |
|
List cached module entries. |
|
List cached package entries. |
|
Return cache statistics for the given cache root. |
|
Garbage-collect cached builds deterministically. |
|
Delete the entire cache directory. |
Pins/aliases#
Pin a cache key under a human-friendly alias. |
|
Remove a pinned alias. |
|
List alias→key mappings in the pin registry. |
|
Import a pinned alias and return the loaded module(s). |
|
Import a pinned alias. |
Prereqs#
Check whether build prerequisites are importable. |
Results#
Result of compiling/importing a single Cython extension module. |
|
Result of compiling/importing a package of extension modules. |
|
Cache statistics for the compiled-artifact cache root. |
|
Result of a cache garbage-collection operation. |
|
A compiled module cache entry. |
|
A compiled package cache entry (multi-module build). |
Templates / workflows#
Structured metadata for a template. |
|
Return the on-disk template root directory. |
|
List available templates. |
|
Resolve a template ID to an on-disk path. |
|
Read template source text. |
|
Read metadata for a template and return a |
|
Load template metadata from an adjacent |
|
Compile and import a Cython template and return the loaded module. |
|
Compile and import a Cython template and return a structured result. |
|
List available multi-module package examples. |
|
Resolve a package example name to its on-disk folder path. |
|
Load package example metadata from |
|
Build and import a multi-module package example and return a structured result. |
|
Build and import a multi-module package example and return loaded modules. |
|
List available workflow template folders. |
|
Resolve a workflow name to its on-disk folder path. |
|
Return the workflow CLI template path. |
|
Copy a workflow template folder to a destination directory. |
|
Generate Sphinx |