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 lunar, jammy, focal 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 bullseye
$ cd /etc/apt/sources.list.d $ wget http://repos.pni-hdri.de/bullseye-pni-hdri.list
or jammy
$ cd /etc/apt/sources.list.d $ wget http://repos.pni-hdri.de/jammy-pni-hdri.list
respectively.
Finally,
$ apt-get update $ apt-get install python-pninexus
or
$ apt-get update $ apt-get install python3-pninexus
for python3.
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
Built Distributions
File details
Details for the file pninexus-3.2.2.tar.gz
.
File metadata
- Download URL: pninexus-3.2.2.tar.gz
- Upload date:
- Size: 183.2 kB
- Tags: Source
- 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
Algorithm | Hash digest | |
---|---|---|
SHA256 | fa0bcf6610d93b776afb8542620a2475cdcb2e830d8f4e2d30361adef2341f41 |
|
MD5 | 6d72b1ac644cab5cfa738e3cfe0fe81f |
|
BLAKE2b-256 | 722b3c6f65152e6fcbf4f3583c6dafc2c9e2658f90dffbe66f903eb46aa4a3b8 |
File details
Details for the file pninexus-3.2.2-cp311-cp311-manylinux_2_35_x86_64.whl
.
File metadata
- Download URL: pninexus-3.2.2-cp311-cp311-manylinux_2_35_x86_64.whl
- Upload date:
- Size: 34.8 MB
- Tags: CPython 3.11, manylinux: glibc 2.35+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 995b80355182999cdf9e7f8f59e81d526b5061c773f6487abf74be192ded88c9 |
|
MD5 | a49498df234e8f9e8b4a8ef83f10fae3 |
|
BLAKE2b-256 | 71112d3c31b942d306056e2bc36f1f73214ff8cda5b5e2c7edd0e0870a0467e9 |
File details
Details for the file pninexus-3.2.2-cp310-cp310-manylinux_2_34_x86_64.whl
.
File metadata
- Download URL: pninexus-3.2.2-cp310-cp310-manylinux_2_34_x86_64.whl
- Upload date:
- Size: 33.8 MB
- Tags: CPython 3.10, manylinux: glibc 2.34+ 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
Algorithm | Hash digest | |
---|---|---|
SHA256 | 972c57409d3800f6e1f9c6263a035186ff79c9b92dc069080297a2570e5f49ef |
|
MD5 | ac542f73548473861fecbdf167d83864 |
|
BLAKE2b-256 | 00b3856564a42aac068ff9dc5ed6f5b7c4dfd2a5b0b4ffb242f03f0ba5fa02aa |
File details
Details for the file pninexus-3.2.2-cp39-cp39-manylinux_2_31_x86_64.whl
.
File metadata
- Download URL: pninexus-3.2.2-cp39-cp39-manylinux_2_31_x86_64.whl
- Upload date:
- Size: 27.3 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
Algorithm | Hash digest | |
---|---|---|
SHA256 | f648c0f7a742eca89609820dc69dc4422de47b5ac4f2a14f1c08eb7a3a64f46e |
|
MD5 | 8aa65021a68246882ea6b5200e6960a7 |
|
BLAKE2b-256 | 47e407bdca635552dea7c785d555788024eeb3cc6d5fc37e097eb87fd3f8c19a |
File details
Details for the file pninexus-3.2.2-cp38-cp38-manylinux_2_31_x86_64.whl
.
File metadata
- Download URL: pninexus-3.2.2-cp38-cp38-manylinux_2_31_x86_64.whl
- Upload date:
- Size: 29.5 MB
- Tags: CPython 3.8, manylinux: glibc 2.31+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.4.2 requests/2.22.0 setuptools/45.2.0 requests-toolbelt/0.8.0 tqdm/4.30.0 CPython/3.8.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | baed040d816bd153e4c57689ba5fc5751cd65b1d42d3198e58be85dcf9852eb4 |
|
MD5 | 64e6994f7d3504fabc88e46c9f477b99 |
|
BLAKE2b-256 | cacec72ad42e7baeaf3cb4e961b2ced7df4f7779ec8ef314fc114a494904930a |
File details
Details for the file pninexus-3.2.2-cp37-cp37m-manylinux_2_27_x86_64.whl
.
File metadata
- Download URL: pninexus-3.2.2-cp37-cp37m-manylinux_2_27_x86_64.whl
- Upload date:
- Size: 28.9 MB
- Tags: CPython 3.7m, manylinux: glibc 2.27+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.4.2 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3580a013dea498b441ae942de31eb24d2c55c38749ee1e3625ffa9c9cb134677 |
|
MD5 | 59ea2c96499ee7ee60e5d5a6aa49fe74 |
|
BLAKE2b-256 | d725b3de17156b14e0214c939299294a0d139bc98b3ef0b7cf7720dc6151a321 |