Libprofit wrapper for Python
Project description
pyprofit is a python wrapper for libprofit.
Installing
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.
Compiling
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 https://github.com/ICRAR/libprofit $> 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
Troubleshooting
If you are experiencing problems with your installation (specially if you are compiling this package) try the following:
DISTUTILS_DEBUG=1 PYPROFIT_NO_MUTE=1 python setup.py -v build
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distributions
Hashes for pyprofit-1.9.0-cp38-cp38-manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 08b1d4ed2a2748c3dcc85fd1a663d625b34476871058a0e8a0aed0e5852a4a12 |
|
MD5 | 4c98364d4f8f1629f523be6bca5f1582 |
|
BLAKE2b-256 | 47985e428648a96a6f60695cd05f6abca0c6ee09258ad7f6afe0f57015f47f02 |
Hashes for pyprofit-1.9.0-cp36-cp36m-manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 20b66fe08850159ef2b6516f37b9e2b4fdcb5577c8d46400d3de2d486892255a |
|
MD5 | d805d00ce5d0e9d092d439cbad0cc615 |
|
BLAKE2b-256 | 84ff56bf10fe6455bca85230a079b792067e419341980ec70a36f2fa07c16f8b |
Hashes for pyprofit-1.9.0-cp35-cp35m-manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c3d1e98ca12fa4bfe1a2b6cf8a531488f2b08f35b3be5dfa67972fa43f6baa9b |
|
MD5 | e674765749b086641d0d492e4f6d11a2 |
|
BLAKE2b-256 | 86ee9de7e54df4ef07c46aa109d460e8ae468052b73a7d536242c235246fa8bf |
Hashes for pyprofit-1.9.0-cp27-cp27mu-manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 003748801cfbb03f7a8eef46d89261c23b35a0e357ea84e2c85003af259c2d76 |
|
MD5 | 068969306a9815e278b7c95305fb96cc |
|
BLAKE2b-256 | ca51f2a765a3c6849d0c96a5163bd14270dcadd38277b4bef68c0a896b3236ed |
Hashes for pyprofit-1.9.0-cp27-cp27m-manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3842255d124327d87f3df97232427205f4f73c5cad3128b653560797b9cacbce |
|
MD5 | aa6b53c0179814ff5e336481e488e355 |
|
BLAKE2b-256 | e5b4f0fdcce5e4027fc3c2cc8228ae01df730bdbd654a30db1477e2f0967c0a2 |