NVPL Python Usage#

NVPL does not provide any Python modules or extensions. However, other python libraries or application may wish to use NVPL libraries via runtime dynamic loading. Headers may be necessary for libraries using JIT compilation techniques. For these use cases NVPL provides binary redistributions of each of the component libraries designed to be installable with standard python package management tools.

Python Wheels#

NVPL Python wheels are hosted on PyPi.org.

Wheels are available for individual libraries or via the nvpl meta-package which will install all component libraries.

Installed locations:

  • Headers: <site-packages>/nvpl/include

  • Shared libraries: <site-packages>/nvpl/lib

Conda Packages#

NVPL conda packages are packaged on Conda Forge channel. See Conda Forge Introduction for configuration instructions.

The full list of available NVPL conda packages is found at anaconda.org.

Package names:

  • libnvpl-<lib>0 – Runtime libraries for <lib>. Shared libraries only.

  • libnvpl-<lib>-dev – Development package for <lib> includes runtime package plus headers and CMake package files.

  • libnvpl-dev – Meta-package with development packages for all NVPL libraries.

Installed locations:

  • Headers: <env-prefix>/include

  • Shared libraries: <env-prefix>/lib

  • CMake packages: <env-prefix>/lib/cmake

CMake packages should work as normal under a conda environment and can be used for development according to NVPL CMake Guide.