Skip to main content

Python wrapper for the H5CPP and PNI libraries

Project description

Python wrapper for the h5cpp and libpninexus C++ libraries. The wrapper supports Python 2.X and 3.X.

Installation

Required packages

  • h5cpp >= 0.5.0

  • libpninexus >= 3.2.0

  • python setuptools

  • numpy

  • c++ compiler

  • boost-python library

  • python sphinx to build the documentation

Install from sources

The code can be built with

$ python setup.py install

For those who are still running on the old interface it is maybe whise to install this package in a custom location with something like this

$ python setup.py install --prefix=<path to installation prefix>

To build the documentation use

$ python setup.py build_sphinx

The resulting documentation can be found below build/sphinx/html in the root directory of the source distribution.

Finally, the package can be tested using

$ python setup.py test

For Python3 just replace python with python3 in the above instructions.

Debian and Ubuntu packages

Debian trixie, bookworm, bullseye or Ubuntu resolute, noble, jammy packages can be found in the HDRI repository.

To install the debian packages, add the PGP repository key

$ sudo su
$ curl -s http://repos.pni-hdri.de/debian_repo.pub.gpg  | gpg --no-default-keyring --keyring gnupg-ring:/etc/apt/trusted.gpg.d/debian-hdri-repo.gpg --import
$ chmod 644 /etc/apt/trusted.gpg.d/debian-hdri-repo.gpg

and then download the corresponding source list, e.g. for trixie

$ cd /etc/apt/sources.list.d
$ wget http://repos.pni-hdri.de/trixie-pni-hdri.sources

or noble

$ cd /etc/apt/sources.list.d
$ wget http://repos.pni-hdri.de/noble-pni-hdri.list

respectively.

Finally,

$ apt-get update
$ apt-get install python3-pninexus

or

$ apt-get update
$ apt-get install python-pninexus

for python2.

Manylinux wheels from PyPI

To install pninexus in a conda or python virtual environment manylinux pip wheels can be used, e.g.

$ python3 -m venv myvenv
$ . myvenv/bin/activate

$ pip install pip --upgrade
$ pip install numpy

$ pip install pninexus -U wheel

For some versions of wheels numpy needs to be installed in advance.

Starting from v3.2.2 the pninexus wheel contains the most important external filters. In order to use them one needs to set HDF5_PLUGIN_PATH e.g. by

import pninexus

More information can be found at online documentation.

Changes for a specific version of libpninexus can be found at CHANGELOG.

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

pninexus-3.4.0.tar.gz (185.2 kB view details)

Uploaded Source

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

pninexus-3.4.0-cp314-cp314-manylinux_2_39_x86_64.whl (21.4 MB view details)

Uploaded CPython 3.14manylinux: glibc 2.39+ x86-64

pninexus-3.4.0-cp313-cp313-manylinux_2_39_x86_64.whl (21.7 MB view details)

Uploaded CPython 3.13manylinux: glibc 2.39+ x86-64

pninexus-3.4.0-cp312-cp312-manylinux_2_39_x86_64.whl (20.1 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.39+ x86-64

pninexus-3.4.0-cp311-cp311-manylinux_2_35_x86_64.manylinux_2_36_x86_64.whl (34.8 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.35+ x86-64manylinux: glibc 2.36+ x86-64

pninexus-3.4.0-cp310-cp310-manylinux_2_34_x86_64.manylinux_2_35_x86_64.whl (33.8 MB view details)

Uploaded CPython 3.10manylinux: glibc 2.34+ x86-64manylinux: glibc 2.35+ x86-64

pninexus-3.4.0-cp39-cp39-manylinux_2_31_x86_64.whl (27.2 MB view details)

Uploaded CPython 3.9manylinux: glibc 2.31+ x86-64

File details

Details for the file pninexus-3.4.0.tar.gz.

File metadata

  • Download URL: pninexus-3.4.0.tar.gz
  • Upload date:
  • Size: 185.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.2

File hashes

Hashes for pninexus-3.4.0.tar.gz
Algorithm Hash digest
SHA256 a5188474160c29714e982869e4c7d3a0d37feddd8183dda3ce324a6cddcf7662
MD5 aebe97bc7902f04641844d09df682a62
BLAKE2b-256 6e966f7cfd42d09846cc6c260f15eba86564692dfced9a10c9614b401885db6e

See more details on using hashes here.

File details

Details for the file pninexus-3.4.0-cp314-cp314-manylinux_2_39_x86_64.whl.

File metadata

File hashes

Hashes for pninexus-3.4.0-cp314-cp314-manylinux_2_39_x86_64.whl
Algorithm Hash digest
SHA256 fd9e72bc95ddfa21a04389708b0cc0f108f0b2547e016f1d2693a0d310051d94
MD5 7ad398dc8e1d2fc8bbd708789c5a8319
BLAKE2b-256 74b1f67502c4ecad78d43d461e8e30eb7b115988797a361f9e8d3785791b476e

See more details on using hashes here.

File details

Details for the file pninexus-3.4.0-cp313-cp313-manylinux_2_39_x86_64.whl.

File metadata

File hashes

Hashes for pninexus-3.4.0-cp313-cp313-manylinux_2_39_x86_64.whl
Algorithm Hash digest
SHA256 467a41bce592f95d556b31b1cc84b54eba963d7634a893270ab0dc4b7bd6cdd3
MD5 43ff87eb85115765d8072be8ca4b4916
BLAKE2b-256 69bccf48a555b5fbfaa5e25718807800c9650dd93bb7445a48ef9e10660f0d36

See more details on using hashes here.

File details

Details for the file pninexus-3.4.0-cp312-cp312-manylinux_2_39_x86_64.whl.

File metadata

File hashes

Hashes for pninexus-3.4.0-cp312-cp312-manylinux_2_39_x86_64.whl
Algorithm Hash digest
SHA256 4ceb73b40b689b4c63caf16ffff14f7d8957e79fc4590bb7e2ed262e8addad90
MD5 edd81a5b79cb84b9b7c8f1ea1d632aad
BLAKE2b-256 444083cb8dbc70e00deda4bd86ff4e3a5cb134f1b9593d04cc6a8f28e27a8e51

See more details on using hashes here.

File details

Details for the file pninexus-3.4.0-cp311-cp311-manylinux_2_35_x86_64.manylinux_2_36_x86_64.whl.

File metadata

File hashes

Hashes for pninexus-3.4.0-cp311-cp311-manylinux_2_35_x86_64.manylinux_2_36_x86_64.whl
Algorithm Hash digest
SHA256 46fd7d94ca8a0fe69f107f416e43b1a888a519c161484beae521a819d1b241ed
MD5 b638d1d196437c4e2e3d3dc43ee24fe0
BLAKE2b-256 2b7d3c554b399a8248d6eeb9e0989f988b0c429e28c9fc2bcacbd7662a466b15

See more details on using hashes here.

File details

Details for the file pninexus-3.4.0-cp310-cp310-manylinux_2_34_x86_64.manylinux_2_35_x86_64.whl.

File metadata

  • Download URL: pninexus-3.4.0-cp310-cp310-manylinux_2_34_x86_64.manylinux_2_35_x86_64.whl
  • Upload date:
  • Size: 33.8 MB
  • Tags: CPython 3.10, manylinux: glibc 2.34+ x86-64, manylinux: glibc 2.35+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 colorama/0.4.4 importlib-metadata/4.6.4 keyring/23.5.0 pkginfo/1.8.2 readme-renderer/34.0 requests-toolbelt/0.9.1 requests/2.25.1 rfc3986/1.5.0 tqdm/4.57.0 urllib3/1.26.5 CPython/3.10.12

File hashes

Hashes for pninexus-3.4.0-cp310-cp310-manylinux_2_34_x86_64.manylinux_2_35_x86_64.whl
Algorithm Hash digest
SHA256 f45522d82eaaada0ba562188e7fcaa6bd7ffd01fc298cb9c633185ab7695c411
MD5 d80241ca0e4f627e01a0685d286cf6f2
BLAKE2b-256 5300753007c91e6f3495479944e16d5694355057a604151e76e4a59f23e23ea4

See more details on using hashes here.

File details

Details for the file pninexus-3.4.0-cp39-cp39-manylinux_2_31_x86_64.whl.

File metadata

  • Download URL: pninexus-3.4.0-cp39-cp39-manylinux_2_31_x86_64.whl
  • Upload date:
  • Size: 27.2 MB
  • Tags: CPython 3.9, manylinux: glibc 2.31+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.4.2 requests/2.25.1 setuptools/52.0.0 requests-toolbelt/0.9.1 tqdm/4.57.0 CPython/3.9.2

File hashes

Hashes for pninexus-3.4.0-cp39-cp39-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 873f9020fad8c68a7fd2eea330947c65bf23f3747b8771308aae2dceb91b53cb
MD5 36dc56cd5cca5e76357dd43cbdf5452f
BLAKE2b-256 11a71fc0cab81199760b996357228715db627a88d3b558f51f5e59e8253a2222

See more details on using hashes here.

Supported by

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