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
Release files for pyprofit 1.9.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| pyprofit-1.9.0.tar.gz | 12.6 kB | Details |
Built distributions (wheels)
| File | Reset | |||
|---|---|---|---|---|
| pyprofit-1.9.0-cp38-cp38-manylinux1_x86_64.whl | CPython 3.8 | CPython 3.8 | Linux glibc 2.5+ x86-64 | Details |
| pyprofit-1.9.0-cp36-cp36m-manylinux1_x86_64.whl | CPython 3.6 | CPython 3.6 pymalloc | Linux glibc 2.5+ x86-64 | Details |
| pyprofit-1.9.0-cp35-cp35m-manylinux1_x86_64.whl | CPython 3.5 | CPython 3.5 pymalloc | Linux glibc 2.5+ x86-64 | Details |
| pyprofit-1.9.0-cp27-cp27mu-manylinux1_x86_64.whl | CPython 2.7 | CPython 2.7 pymalloc wide-unicode | Linux glibc 2.5+ x86-64 | Details |
| pyprofit-1.9.0-cp27-cp27m-manylinux1_x86_64.whl | CPython 2.7 | CPython 2.7 pymalloc | Linux glibc 2.5+ x86-64 | Details |
Total release size: 7.9 MB
Release files / pyprofit-1.9.0.tar.gz
| Download URL | pyprofit-1.9.0.tar.gz |
|---|---|
| Size | 12.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c49deb915bdf13f61ce442320418abfd69d2e1557b9c1adb5efb123d8ec90f97
|
|
BLAKE2b-256 checksum How to use checksums |
a0d7f0bf530a36714d3af542fe4f8682dadd9286f9635383d2835d6b2edf8f24
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/44.0.0 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.8.2
|
Release files / pyprofit-1.9.0-cp38-cp38-manylinux1_x86_64.whl
| Download URL | pyprofit-1.9.0-cp38-cp38-manylinux1_x86_64.whl |
|---|---|
| Size | 1.6 MB |
| Tags | CPython 3.8 Linux glibc 2.5+ x86-64 |
|
SHA-256 checksum How to use checksums |
08b1d4ed2a2748c3dcc85fd1a663d625b34476871058a0e8a0aed0e5852a4a12
|
|
BLAKE2b-256 checksum How to use checksums |
47985e428648a96a6f60695cd05f6abca0c6ee09258ad7f6afe0f57015f47f02
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/44.0.0 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.8.2
|
Release files / pyprofit-1.9.0-cp36-cp36m-manylinux1_x86_64.whl
| Download URL | pyprofit-1.9.0-cp36-cp36m-manylinux1_x86_64.whl |
|---|---|
| Size | 1.6 MB |
| Tags | CPython 3.6 CPython 3.6 pymalloc Linux glibc 2.5+ x86-64 |
|
SHA-256 checksum How to use checksums |
20b66fe08850159ef2b6516f37b9e2b4fdcb5577c8d46400d3de2d486892255a
|
|
BLAKE2b-256 checksum How to use checksums |
84ff56bf10fe6455bca85230a079b792067e419341980ec70a36f2fa07c16f8b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/44.0.0 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.8.2
|
Release files / pyprofit-1.9.0-cp35-cp35m-manylinux1_x86_64.whl
| Download URL | pyprofit-1.9.0-cp35-cp35m-manylinux1_x86_64.whl |
|---|---|
| Size | 1.6 MB |
| Tags | CPython 3.5 CPython 3.5 pymalloc Linux glibc 2.5+ x86-64 |
|
SHA-256 checksum How to use checksums |
c3d1e98ca12fa4bfe1a2b6cf8a531488f2b08f35b3be5dfa67972fa43f6baa9b
|
|
BLAKE2b-256 checksum How to use checksums |
86ee9de7e54df4ef07c46aa109d460e8ae468052b73a7d536242c235246fa8bf
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/44.0.0 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.8.2
|
Release files / pyprofit-1.9.0-cp27-cp27mu-manylinux1_x86_64.whl
| Download URL | pyprofit-1.9.0-cp27-cp27mu-manylinux1_x86_64.whl |
|---|---|
| Size | 1.6 MB |
| Tags | CPython 2.7 CPython 2.7 pymalloc wide-unicode Linux glibc 2.5+ x86-64 |
|
SHA-256 checksum How to use checksums |
003748801cfbb03f7a8eef46d89261c23b35a0e357ea84e2c85003af259c2d76
|
|
BLAKE2b-256 checksum How to use checksums |
ca51f2a765a3c6849d0c96a5163bd14270dcadd38277b4bef68c0a896b3236ed
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/44.0.0 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.8.2
|
Release files / pyprofit-1.9.0-cp27-cp27m-manylinux1_x86_64.whl
| Download URL | pyprofit-1.9.0-cp27-cp27m-manylinux1_x86_64.whl |
|---|---|
| Size | 1.6 MB |
| Tags | CPython 2.7 CPython 2.7 pymalloc Linux glibc 2.5+ x86-64 |
|
SHA-256 checksum How to use checksums |
3842255d124327d87f3df97232427205f4f73c5cad3128b653560797b9cacbce
|
|
BLAKE2b-256 checksum How to use checksums |
e5b4f0fdcce5e4027fc3c2cc8228ae01df730bdbd654a30db1477e2f0967c0a2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/44.0.0 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.8.2
|