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 bookworm, bullseye, buster or Ubuntu oracular, 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 bookworm

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

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 Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

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

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

Uploaded CPython 3.11manylinux: glibc 2.35+ x86-64

pninexus-3.3.0-cp310-cp310-manylinux_2_35_x86_64.whl (33.7 MB view details)

Uploaded CPython 3.10manylinux: glibc 2.35+ x86-64

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

Uploaded CPython 3.9manylinux: glibc 2.31+ x86-64

pninexus-3.3.0-cp37-cp37m-manylinux_2_27_x86_64.whl (28.9 MB view details)

Uploaded CPython 3.7mmanylinux: glibc 2.27+ x86-64

File details

Details for the file pninexus-3.3.0-cp311-cp311-manylinux_2_35_x86_64.whl.

File metadata

File hashes

Hashes for pninexus-3.3.0-cp311-cp311-manylinux_2_35_x86_64.whl
Algorithm Hash digest
SHA256 0a49a35ceed4be4c0353c8b313f86a8b07e67e62e36061fccfe53ca37c4a383b
MD5 1bc74e9da2f8f107c7c4f085b6e29818
BLAKE2b-256 480afc9235b0c644b3b4e8ea4cc5fbeeaa85e4dab9de9b74fc98419b0233e1e5

See more details on using hashes here.

File details

Details for the file pninexus-3.3.0-cp310-cp310-manylinux_2_35_x86_64.whl.

File metadata

File hashes

Hashes for pninexus-3.3.0-cp310-cp310-manylinux_2_35_x86_64.whl
Algorithm Hash digest
SHA256 31b5543cd02272420ad81572d626220d8ad41ede907094371c1de32799872c46
MD5 fa88ae35e2077ea425c52b35d0eccb0d
BLAKE2b-256 0f2887b643b44dd29c579b8f3ee788ab26021fc893999bf2a0f981cef8e13dc2

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pninexus-3.3.0-cp39-cp39-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 bff5c4fb535e5bbb7d127b1d15477aaac7b2797bedf475d577a552f97e7cf4d9
MD5 4e5ebdba33cbeadbfd6bf04b3814bd29
BLAKE2b-256 f36b41f52de89d90c915e925a724f38a54039bc469607366d87e0b0f26250646

See more details on using hashes here.

File details

Details for the file pninexus-3.3.0-cp37-cp37m-manylinux_2_27_x86_64.whl.

File metadata

File hashes

Hashes for pninexus-3.3.0-cp37-cp37m-manylinux_2_27_x86_64.whl
Algorithm Hash digest
SHA256 826b25769d9d0b739624a13101929a5a175b796950e3b13aab8a3d1c782cd71a
MD5 3b3d1ee15a63febb839e3f8e5d6a555a
BLAKE2b-256 8de614219fda66d772b89eae4fb44641fce07afd2da961d5764f7498a7d67aa4

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