Cython#

Examples related to the cython submodule.

# 💡cython Need cython and setuptools
pip install scikitplot[build] setuptools

# (Recommended)
# !pip install cython setuptools

Cython quickstart: compile_and_load

Cython quickstart: compile_and_load

Browse and compile templates

Browse and compile templates

Build profiles: fast-debug, release, annotate

Build profiles: fast-debug, release, annotate

Cache and restart reuse

Cache and restart reuse

Pin/Alias: stable handles for cached builds

Pin/Alias: stable handles for cached builds

Multi-module package builds (5 package examples)

Multi-module package builds (5 package examples)

Multi-file builds: .pxi includes and external headers

Multi-file builds: .pxi includes and external headers

C++ mode basics: cppclass and libcpp containers

C++ mode basics: cppclass and libcpp containers

Vector ops without NumPy: array(‘d’) + memoryviews

Vector ops without NumPy: array('d') + memoryviews

Workflow templates (train / hpo / predict) + CLI entry template

Workflow templates (train / hpo / predict) + CLI entry template

Cython: Realtime compile_and_load (.pyx)

Cython: Realtime compile_and_load (.pyx)