Tutorial on basics of Cython

6 mins read The fundamental nature of Cython can be summed up as follows: Cython is Python with C data types. Cython is […]

Compiling C extension modules on Windows (Cython)

10 mins read This page describes how to compile a Cython extension (works for CPython extensions also) for Windows. If you encounter one […]

Cythonize setup.py for several .pyx files

3 mins read Concept Distutils is the standard way to build Cython extension modules for large projects. Typically one invokes setup(…) which then […]

Kernel Density Estimation (KDE) in Python

10 mins read Nonparametric Density Estimation In some cases, a data sample may not resemble a common probability distribution or cannot be easily […]

Implementations of Mutual Information (MI) and Entropy in Python

8 mins read In probability theory and information theory, the mutual information (MI) of two random variables is a measure of the mutual […]

A tutorial on Virtual Environments in Python

20 mins read What Virtualenv Is Virtualenv is a great piece of software. It allows creating virtual environments. Each of them can have […]