Skip to main content

Libprofit wrapper for Python

Project description

https://travis-ci.org/ICRAR/pyprofit.svg?branch=master https://img.shields.io/pypi/v/pyprofit.svg https://img.shields.io/pypi/pyversions/pyprofit.svg

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


Download files

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

Source Distribution

pyprofit-1.9.0.tar.gz (12.6 kB view details)

Uploaded Source

Built Distributions

pyprofit-1.9.0-cp38-cp38-manylinux1_x86_64.whl (1.6 MB view details)

Uploaded CPython 3.8

pyprofit-1.9.0-cp36-cp36m-manylinux1_x86_64.whl (1.6 MB view details)

Uploaded CPython 3.6m

pyprofit-1.9.0-cp35-cp35m-manylinux1_x86_64.whl (1.6 MB view details)

Uploaded CPython 3.5m

pyprofit-1.9.0-cp27-cp27mu-manylinux1_x86_64.whl (1.6 MB view details)

Uploaded CPython 2.7mu

pyprofit-1.9.0-cp27-cp27m-manylinux1_x86_64.whl (1.6 MB view details)

Uploaded CPython 2.7m

File details

Details for the file pyprofit-1.9.0.tar.gz.

File metadata

  • Download URL: pyprofit-1.9.0.tar.gz
  • Upload date:
  • Size: 12.6 kB
  • Tags: Source
  • Uploaded using 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

File hashes

Hashes for pyprofit-1.9.0.tar.gz
Algorithm Hash digest
SHA256 c49deb915bdf13f61ce442320418abfd69d2e1557b9c1adb5efb123d8ec90f97
MD5 ad937772c987bd2c0a1cc5ecb8b94ee3
BLAKE2b-256 a0d7f0bf530a36714d3af542fe4f8682dadd9286f9635383d2835d6b2edf8f24

See more details on using hashes here.

File details

Details for the file pyprofit-1.9.0-cp38-cp38-manylinux1_x86_64.whl.

File metadata

  • Download URL: pyprofit-1.9.0-cp38-cp38-manylinux1_x86_64.whl
  • Upload date:
  • Size: 1.6 MB
  • Tags: CPython 3.8
  • Uploaded using 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

File hashes

Hashes for pyprofit-1.9.0-cp38-cp38-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 08b1d4ed2a2748c3dcc85fd1a663d625b34476871058a0e8a0aed0e5852a4a12
MD5 4c98364d4f8f1629f523be6bca5f1582
BLAKE2b-256 47985e428648a96a6f60695cd05f6abca0c6ee09258ad7f6afe0f57015f47f02

See more details on using hashes here.

File details

Details for the file pyprofit-1.9.0-cp36-cp36m-manylinux1_x86_64.whl.

File metadata

  • Download URL: pyprofit-1.9.0-cp36-cp36m-manylinux1_x86_64.whl
  • Upload date:
  • Size: 1.6 MB
  • Tags: CPython 3.6m
  • Uploaded using 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

File hashes

Hashes for pyprofit-1.9.0-cp36-cp36m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 20b66fe08850159ef2b6516f37b9e2b4fdcb5577c8d46400d3de2d486892255a
MD5 d805d00ce5d0e9d092d439cbad0cc615
BLAKE2b-256 84ff56bf10fe6455bca85230a079b792067e419341980ec70a36f2fa07c16f8b

See more details on using hashes here.

File details

Details for the file pyprofit-1.9.0-cp35-cp35m-manylinux1_x86_64.whl.

File metadata

  • Download URL: pyprofit-1.9.0-cp35-cp35m-manylinux1_x86_64.whl
  • Upload date:
  • Size: 1.6 MB
  • Tags: CPython 3.5m
  • Uploaded using 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

File hashes

Hashes for pyprofit-1.9.0-cp35-cp35m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 c3d1e98ca12fa4bfe1a2b6cf8a531488f2b08f35b3be5dfa67972fa43f6baa9b
MD5 e674765749b086641d0d492e4f6d11a2
BLAKE2b-256 86ee9de7e54df4ef07c46aa109d460e8ae468052b73a7d536242c235246fa8bf

See more details on using hashes here.

File details

Details for the file pyprofit-1.9.0-cp27-cp27mu-manylinux1_x86_64.whl.

File metadata

  • Download URL: pyprofit-1.9.0-cp27-cp27mu-manylinux1_x86_64.whl
  • Upload date:
  • Size: 1.6 MB
  • Tags: CPython 2.7mu
  • Uploaded using 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

File hashes

Hashes for pyprofit-1.9.0-cp27-cp27mu-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 003748801cfbb03f7a8eef46d89261c23b35a0e357ea84e2c85003af259c2d76
MD5 068969306a9815e278b7c95305fb96cc
BLAKE2b-256 ca51f2a765a3c6849d0c96a5163bd14270dcadd38277b4bef68c0a896b3236ed

See more details on using hashes here.

File details

Details for the file pyprofit-1.9.0-cp27-cp27m-manylinux1_x86_64.whl.

File metadata

  • Download URL: pyprofit-1.9.0-cp27-cp27m-manylinux1_x86_64.whl
  • Upload date:
  • Size: 1.6 MB
  • Tags: CPython 2.7m
  • Uploaded using 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

File hashes

Hashes for pyprofit-1.9.0-cp27-cp27m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 3842255d124327d87f3df97232427205f4f73c5cad3128b653560797b9cacbce
MD5 aa6b53c0179814ff5e336481e488e355
BLAKE2b-256 e5b4f0fdcce5e4027fc3c2cc8228ae01df730bdbd654a30db1477e2f0967c0a2

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page