C-Experimental (experimental)#

This module contains functions related to cexperimental. Placeholder for c-experimental features for developers…

Cython Bindings#

The Cython language is a superset of the Python language that additionally supports calling C functions and declaring C types on variables and class attributes.

Pybind11 Bindings#

pybind11 is a lightweight header-only library that exposes C++ types in Python and vice versa, mainly to create Python bindings of existing C++ code.

See also

C/CPP Headers Source#

NumPy C-API Headers#

NumPy provides a C-API to enable users to extend the system and get access to the array object for use in other routines. The best way to truly understand …

import numpy as np

# Return the directory that contains the NumPy *.h header files.
np.get_include()

LightNumPy C/Cpp-API Headers#

A lightweight version of NumPy (or similar functionality).

try:
  # pip install git+https://github.com/scikit-plots/lightnumpy.git@main
  import lightnumpy as lp
  # Return the directory that contains the NumCpp *.h header files.
  inc_dir_lightnumpy = lp.get_include()
except: pass
else:
  !ls $inc_dir_lightnumpy
from scikitplot import nc
nc.get_include()
from scikitplot import nc
print(nc.__doc__)

print(nc.dot.__doc__)