Skip to main content

Iterated integral signature calculations

Project description

This package provides tools for calculating the signature and log signature of a data stream. These are summary statistics of piecewise linear paths, consisting of iterated integrals, inspired by rough path theory. See <> for documentation, the page <> for more information about the calculations, and <> for source code.

It is work in progress.


Install with:

pip install iisignature

Don’t install this package if you don’t have numpy > 1.7 installed. On Windows, this package is not usable with Python 2.x. For Python 3.5, 3.6 and 3.7 on Windows, there are precompiled wheels available, you may need to do pip install wheel to use them. On other platforms, you will need to be able to compile C++ extensions. On a Mac, you will need to have installed Xcode and the Xcode command line tools before doing the installation. The fastest, on-the-fly compiled versions of the log signature calculations are for Windows, Mac and Linux, on both 32 and 64 bit.

Sometimes there are compile errors on a Mac, if this happens try:

MACOSX_DEPLOYMENT_TARGET=10.9 pip install iisignature

Use without installing a released version

To install the current “master” development version straight from github you can type:

pip install git+git://

From a checkout of this repository, you can build the extension and run the tests using:

python test

From a checkout of this repository, you can build the extension into this directory itself using:

python build_ext --inplace

after which you can use the package in Python in this directory, use the examples in the examples directory, or add this directory to your PYTHONPATH and then use the package in Python anywhere.


  • Dr Benjamin Graham
  • Jeremy Reizenstein


This package includes BCH coefficients from Fernando Casas and Ander Murua. <>

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
iisignature-0.23-cp35-cp35m-win32.whl (1.4 MB) Copy SHA256 hash SHA256 Wheel cp35
iisignature-0.23-cp35-cp35m-win_amd64.whl (1.4 MB) Copy SHA256 hash SHA256 Wheel cp35
iisignature-0.23-cp36-cp36m-win32.whl (1.4 MB) Copy SHA256 hash SHA256 Wheel cp36
iisignature-0.23-cp36-cp36m-win_amd64.whl (1.4 MB) Copy SHA256 hash SHA256 Wheel cp36
iisignature-0.23-cp37-cp37m-win32.whl (1.3 MB) Copy SHA256 hash SHA256 Wheel cp37
iisignature-0.23-cp37-cp37m-win_amd64.whl (1.4 MB) Copy SHA256 hash SHA256 Wheel cp37
iisignature-0.23.tar.gz (1.2 MB) Copy SHA256 hash SHA256 Source None

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page