Skip to main content

Libprofit wrapper for Python

Project description

pyprofit is a python wrapper for libprofit.


pyprofit is available in PyPI and thus can be easily installed via:

pip install pyprofit

Since version 1.8.1 pre-compiled binary versions of the package are available for Linux distributions. These are offered for convenience and come with OpenMP and FFTW support, but lack features that some users may want to use, like OpenCL, threaded-FFTW and some CPU-specific optimizations.


If you need to compile this package (either because a binary is not available in your platform, or because you want to get the last drop of performance) you will need to compile and install libprofit first. For instruction on how to compile and install libprofit please read libprofit’s documentation.

If you need to point to a specific libprofit installation set the LIBPROFIT_HOME environment variable to point to it, e.g.:

LIBPROFIT_HOME=/opt/software/libprofit/1.8.0/ pip install pyprofit

Note that most users will need to specify a user-writable installation directory using the -DCMAKE_INSTALL_PREFIX=/my/installation/directory option when invoking cmake as part of libprofit’s compilation. This is the same directory that then needs to be specified to pyprofit via its LIBPROFIT_HOME environment variable.

All in all, the process of compiling both libprofit and pyprofit should work similar to this:

$> git clone
$> mkdir libprofit/build
$> cd libprofit/build
$> cmake .. -DCMAKE_INSTALL_PREFIX=/my/libprofit/installation/directory
$> make
$> make install
$> LIBPROFIT_HOME=/my/libprofit/installation/directory pip install pyprofit


If you are experiencing problems with your installation (specially if you are compiling this package) try the following:


Download files

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

Files for pyprofit, version 1.9.0
Filename, size File type Python version Upload date Hashes
Filename, size pyprofit-1.9.0-cp27-cp27m-manylinux1_x86_64.whl (1.6 MB) File type Wheel Python version cp27 Upload date Hashes View
Filename, size pyprofit-1.9.0-cp27-cp27mu-manylinux1_x86_64.whl (1.6 MB) File type Wheel Python version cp27 Upload date Hashes View
Filename, size pyprofit-1.9.0-cp35-cp35m-manylinux1_x86_64.whl (1.6 MB) File type Wheel Python version cp35 Upload date Hashes View
Filename, size pyprofit-1.9.0-cp36-cp36m-manylinux1_x86_64.whl (1.6 MB) File type Wheel Python version cp36 Upload date Hashes View
Filename, size pyprofit-1.9.0-cp38-cp38-manylinux1_x86_64.whl (1.6 MB) File type Wheel Python version cp38 Upload date Hashes View
Filename, size pyprofit-1.9.0.tar.gz (12.6 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page