PySpike is a Python library for the numerical analysis of spike train similarity. Its core functionality is the implementation of the bivariate ISI and SPIKE distance. Additionally, it provides functions to compute multivariate SPIKE and ISI distances, as well as averaging and general spike train processing. All computation intensive parts are implemented in C via cython to reach a competitive performance (factor 100-200 over plain Python).

PySpike provides the same fundamental functionality as the SPIKY framework for Matlab, which additionally contains spike-train generators, more spike train distance measures and many visualization routines.