Skip to main content

image

cuvis.pyil (python interface layer; required for using the python wrapper)

cuvis.pyil is the python interface binding for the Cuvis SDK written in C (available here).

For other supported program languages, please have a look at the source code page.

Installation

Prerequisites

First, you need to install the Cuvis C SDK from here. The installation registers the installation path in the environment, which the python interface layer is linked to.

⚠️ If the C SDK is reinstalled into another directory later on, the linkage breaks and the python wrapper might stop working.

Via pip

If you wish to use cuvis-il within another project, from within your project environment, run

pip install cuvis-il

or add cuvis-il to your project requirements.txt or setup.py. We currently provide pre-compiled binaries for Python 3.10, 3.11, 3.12, 3.13 and 3.14, for Windows and for Linux on x86_64 and aarch64. The Linux wheels are built against glibc 2.35 and install on Ubuntu 22.04 and every newer release, 24.04 and 26.04 included.

Via Docker

The image cubertgmbh/cuvis_pyil:<sdk version>-ubuntu<22.04|24.04|26.04>[-arm64] ships the cuvis SDK and the matching cuvis-il in a virtual environment at /opt/venv, already on PATH. The tag names the cuvis SDK version and always points at the newest interface layer built for it.

FROM cubertgmbh/cuvis_pyil:3.5.3-ubuntu24.04
RUN pip install "cuvis==3.5.3.*"

adds the cuvis wrapper, or interactively

docker run -it cubertgmbh/cuvis_pyil:3.5.3-ubuntu24.04 bash
pip install cuvis

Build manually via repository

If you wish to download and use cuvis locally, clone the git repository

git clone git@github.com:cubert-hyperspectral/cuvis.pyil.git
cd cuvis.pyil

and then initialize the submodules.

git submodule update --init --recursive

For building the python stubs for wrapping between C libraries and python, you'll need SWIG (see https://www.swig.org/download.html).

Next make sure that your preferred version of NumPy is manually pre-installed in your go-to environment. See here. Also make sure that the additional build dependencies are installed.

python -m pip install wheel setuptools numpy==YOUR_NUMPY_VERSION -qq 

Then use CMake (see https://cmake.org/download/) to configure and generate your project. CMake will require you to locate the Cuvis C SDK (this should be found automatically, if the Cuvis C SDK is properly installed). Also, you need to point the variable SWIG_EXECUTABLE to the path of the swig.exe.

Build and install the CMake Project via

mkdir build
cd build
cmake  -DCMAKE_BUILD_TYPE=Release -DDOXYGEN_BUILD_DOCUMENTATION=OFF -DPython_ROOT_DIR=venv ..
cmake --build . --target cuvis_pyil --config Release
cp ./_cuvis_pyil.so ../cuvis_il
cp ./cuvis_il.py ../cuvis_il
cd ..
python -m pip install .

This project will then generate the _cuvis_pyil.pyd and cuvis_il.py files needed for running the Cuvis Python SDK wrapper. Those then can be used to install the cuvis_il package.

⚠️ You might also use the cuvis_il.py directly, which provides all functionalities as single methods without organization into objects. Support for code without the additional wrapper is limited, though.

Dependency to NumPy

The python interface layer is dependent on NumPy. Specifically, this means that we need the C headers of the NumPy library. Notice that NumPy has forward compatibility for minor versions. As of version 1.25 NumPy also offers its ABI in a backwards compatible way. To compile the python interface layer install your preferred version of NumPy. For example the newest stable release via

pip install numpy

CMake will try to find the NumPy path using the find_package(Python REQUIRED COMPONENTS Interpreter Development NumPy). To support the usage of a virtual environment, set the Python_ROOT_DIR variable to the directory containing your virtual environment.

Our pre-compiled binaries are compiled with NumPy 2.0.0 for Python 3.10, 3.11 and 3.12, 2.1.0 for Python 3.13 and 2.3.2 for Python 3.14. This should ensure that the bindings are build in a forward and backwards compatible way.

Getting involved

cuvis.hub welcomes your enthusiasm and expertise!

With providing our SDK wrappers on GitHub, we aim for a community-driven open source application development by a diverse group of contributors. Cubert GmbH aims for creating an open, inclusive, and positive community. Feel free to branch/fork this repository for later merge requests, open issues or point us to your application specific projects. Contact us, if you want your open source project to be included and shared on this hub; either if you search for direct support, collaborators or any other input or simply want your project being used by this community. We ourselves try to expand the code base with further more specific applications using our wrappers to provide starting points for research projects, embedders or other users.

Getting help

Directly code related issues can be posted here on the GitHub page, other, more general and application related issues should be directed to the aforementioned Cubert GmbH support page.

Metadata

Release files for cuvis-il 3.6.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distributions (wheels)

Table of built distributions (wheels) for cuvis-il 3.6.1.0
File
cuvis_il-3.6.1.0-py314-none-win_amd64.whl Python 3.14 none Windows x86-64 Details
cuvis_il-3.6.1.0-py314-none-manylinux_2_35_x86_64.whl Python 3.14 none Linux glibc 2.35+ x86-64 Details
cuvis_il-3.6.1.0-py314-none-manylinux_2_35_aarch64.whl Python 3.14 none Linux glibc 2.35+ ARM64 Details
cuvis_il-3.6.1.0-py313-none-win_amd64.whl Python 3.13 none Windows x86-64 Details
cuvis_il-3.6.1.0-py313-none-manylinux_2_35_x86_64.whl Python 3.13 none Linux glibc 2.35+ x86-64 Details
cuvis_il-3.6.1.0-py313-none-manylinux_2_35_aarch64.whl Python 3.13 none Linux glibc 2.35+ ARM64 Details
cuvis_il-3.6.1.0-py312-none-win_amd64.whl Python 3.12 none Windows x86-64 Details
cuvis_il-3.6.1.0-py312-none-manylinux_2_35_x86_64.whl Python 3.12 none Linux glibc 2.35+ x86-64 Details
cuvis_il-3.6.1.0-py312-none-manylinux_2_35_aarch64.whl Python 3.12 none Linux glibc 2.35+ ARM64 Details
cuvis_il-3.6.1.0-py311-none-win_amd64.whl Python 3.11 none Windows x86-64 Details
cuvis_il-3.6.1.0-py311-none-manylinux_2_35_x86_64.whl Python 3.11 none Linux glibc 2.35+ x86-64 Details
cuvis_il-3.6.1.0-py311-none-manylinux_2_35_aarch64.whl Python 3.11 none Linux glibc 2.35+ ARM64 Details
cuvis_il-3.6.1.0-py310-none-win_amd64.whl Python 3.10 none Windows x86-64 Details
cuvis_il-3.6.1.0-py310-none-manylinux_2_35_x86_64.whl Python 3.10 none Linux glibc 2.35+ x86-64 Details
cuvis_il-3.6.1.0-py310-none-manylinux_2_35_aarch64.whl Python 3.10 none Linux glibc 2.35+ ARM64 Details

Total release size: 3.5 MB

Release files / cuvis_il-3.6.1.0-py314-none-win_amd64.whl

Download URL cuvis_il-3.6.1.0-py314-none-win_amd64.whl
Size 236.1 kB
Tags Python 3.14 Windows x86-64
SHA-256 checksum
How to use checksums
9808c7f737e896ec42751203154115c77344808e803a892cb65ef9db5005874c
BLAKE2b-256 checksum
How to use checksums
508d2a7c8304b1af16fc758e9d49525c8df56b8ce014e7b3a6f306d37cc17677
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 16, 2026.

Transparency log

Release files / cuvis_il-3.6.1.0-py314-none-manylinux_2_35_x86_64.whl

Download URL cuvis_il-3.6.1.0-py314-none-manylinux_2_35_x86_64.whl
Size 248.3 kB
Tags Linux glibc 2.35+ x86-64 Python 3.14
SHA-256 checksum
How to use checksums
3e8b08b97869ec2c2fa53a08fb521b1e006abe70309a8d4ced2d49e75baf11bf
BLAKE2b-256 checksum
How to use checksums
9776b535e51e735df79e443277470008a619fd4b8e3fdd500b30aa237f793c77
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 16, 2026.

Transparency log

Release files / cuvis_il-3.6.1.0-py314-none-manylinux_2_35_aarch64.whl

Download URL cuvis_il-3.6.1.0-py314-none-manylinux_2_35_aarch64.whl
Size 221.3 kB
Tags Linux glibc 2.35+ ARM64 Python 3.14
SHA-256 checksum
How to use checksums
b5efe076fb7e85d23545a064aa1fa0c1b87dd8641c54c8f617f062d3cb48866c
BLAKE2b-256 checksum
How to use checksums
d0a7cffdd0bf46462dfe168a7fe53760a8fc8ad0a548589f80f06d5087d60eb0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 16, 2026.

Transparency log

Release files / cuvis_il-3.6.1.0-py313-none-win_amd64.whl

Download URL cuvis_il-3.6.1.0-py313-none-win_amd64.whl
Size 232.7 kB
Tags Python 3.13 Windows x86-64
SHA-256 checksum
How to use checksums
cc45beebc0b03501d2c740d07c343273d9517c4bc960384f6948d20c3650db95
BLAKE2b-256 checksum
How to use checksums
ae95ce49754c4f8a0545bf7405883b997ac277b04fa8f55f6a8d0a269c210267
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 16, 2026.

Transparency log

Release files / cuvis_il-3.6.1.0-py313-none-manylinux_2_35_x86_64.whl

Download URL cuvis_il-3.6.1.0-py313-none-manylinux_2_35_x86_64.whl
Size 248.4 kB
Tags Linux glibc 2.35+ x86-64 Python 3.13
SHA-256 checksum
How to use checksums
cf211760fcbe2966420f4d083a1123bc7174337d802ae50bf3a385d30541f992
BLAKE2b-256 checksum
How to use checksums
5cbf0409022d498e6c0bfffc39cf0a37db329ffc9929fdf39b9ab038b98dc182
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 16, 2026.

Transparency log

Release files / cuvis_il-3.6.1.0-py313-none-manylinux_2_35_aarch64.whl

Download URL cuvis_il-3.6.1.0-py313-none-manylinux_2_35_aarch64.whl
Size 220.6 kB
Tags Linux glibc 2.35+ ARM64 Python 3.13
SHA-256 checksum
How to use checksums
af1b6e866d9b7dc10aefd2e697c3f4baab77e86053959bc3cde2ee6d0fd80c01
BLAKE2b-256 checksum
How to use checksums
a93f2f54e1dce1e60dda04ff78b7508c23b4f1a350fb7f28f6a3e7db82984c45
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 16, 2026.

Transparency log

Release files / cuvis_il-3.6.1.0-py312-none-win_amd64.whl

Download URL cuvis_il-3.6.1.0-py312-none-win_amd64.whl
Size 232.3 kB
Tags Python 3.12 Windows x86-64
SHA-256 checksum
How to use checksums
4b41380a2b94479141158068b3846cebdad18d2ebdfc1df847653e86eeb544a4
BLAKE2b-256 checksum
How to use checksums
50bc53faa50fb01033dec8f6b48adb133ac259fad2f9077a1cc492830f01fecf
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 16, 2026.

Transparency log

Release files / cuvis_il-3.6.1.0-py312-none-manylinux_2_35_x86_64.whl

Download URL cuvis_il-3.6.1.0-py312-none-manylinux_2_35_x86_64.whl
Size 248.4 kB
Tags Linux glibc 2.35+ x86-64 Python 3.12
SHA-256 checksum
How to use checksums
325a27bbf8ec495c5974e195aae7291beeb0beeeedc546e2db4f8d43ffa8b049
BLAKE2b-256 checksum
How to use checksums
3493c9865d3089dc01a18391f7ecacd97402ad11b5f65673549a54d5011e3b7c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 16, 2026.

Transparency log

Release files / cuvis_il-3.6.1.0-py312-none-manylinux_2_35_aarch64.whl

Download URL cuvis_il-3.6.1.0-py312-none-manylinux_2_35_aarch64.whl
Size 220.6 kB
Tags Linux glibc 2.35+ ARM64 Python 3.12
SHA-256 checksum
How to use checksums
1373fe0534dfca18050983e769e78663f0ed1a428549008020e7aaf53337b6a3
BLAKE2b-256 checksum
How to use checksums
3688631d3641ae4ea59d7162ace04ba9cc6782925c8fc6d533a41743ec0befac
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 16, 2026.

Transparency log

Release files / cuvis_il-3.6.1.0-py311-none-win_amd64.whl

Download URL cuvis_il-3.6.1.0-py311-none-win_amd64.whl
Size 232.4 kB
Tags Python 3.11 Windows x86-64
SHA-256 checksum
How to use checksums
7be844a5a2807fe3ce2a55c0bbc94dd54966fff49328c24d823f9f3656ccb2a7
BLAKE2b-256 checksum
How to use checksums
7810a5f4d798fb4eec026e426056e04bd710bafbf8f62d06f66a189d0afc2439
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 16, 2026.

Transparency log

Release files / cuvis_il-3.6.1.0-py311-none-manylinux_2_35_x86_64.whl

Download URL cuvis_il-3.6.1.0-py311-none-manylinux_2_35_x86_64.whl
Size 248.6 kB
Tags Linux glibc 2.35+ x86-64 Python 3.11
SHA-256 checksum
How to use checksums
117aada11c3012589fa665d4447f36e83114f41235251f781dc7e5328e183cda
BLAKE2b-256 checksum
How to use checksums
ebd79da826caaf3b2404466c4edd6255a79f510c6f7a7ae65732d1e155aa6931
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 16, 2026.

Transparency log

Release files / cuvis_il-3.6.1.0-py311-none-manylinux_2_35_aarch64.whl

Download URL cuvis_il-3.6.1.0-py311-none-manylinux_2_35_aarch64.whl
Size 220.8 kB
Tags Linux glibc 2.35+ ARM64 Python 3.11
SHA-256 checksum
How to use checksums
672590d0aac92ca91b8b7f5d71a869a2198c70b0b9676291dffcc694d05e75a7
BLAKE2b-256 checksum
How to use checksums
95c2202a0a713e7ede86a2522ac0807164c79cef7f511babaacf1b90e057d0dc
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 16, 2026.

Transparency log

Release files / cuvis_il-3.6.1.0-py310-none-win_amd64.whl

Download URL cuvis_il-3.6.1.0-py310-none-win_amd64.whl
Size 232.5 kB
Tags Python 3.10 Windows x86-64
SHA-256 checksum
How to use checksums
327f0803261dd8e05ae30b97319825929d0a92a0e7013cd1be37ac91ef34a430
BLAKE2b-256 checksum
How to use checksums
4a57ba95f84fd1062555a001c269ea02ad03defdc386a443e9f8b28d37fc7e26
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 16, 2026.

Transparency log

Release files / cuvis_il-3.6.1.0-py310-none-manylinux_2_35_x86_64.whl

Download URL cuvis_il-3.6.1.0-py310-none-manylinux_2_35_x86_64.whl
Size 248.6 kB
Tags Linux glibc 2.35+ x86-64 Python 3.10
SHA-256 checksum
How to use checksums
0489b0f3fff2f2830b7652cb40f872e467a712ca32365ce2c203b613af60c0a1
BLAKE2b-256 checksum
How to use checksums
2696f6685a195d0b4d33870043e884377be0b5e0cb3f5b635e2de4f95113b634
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 16, 2026.

Transparency log

Release files / cuvis_il-3.6.1.0-py310-none-manylinux_2_35_aarch64.whl

Download URL cuvis_il-3.6.1.0-py310-none-manylinux_2_35_aarch64.whl
Size 220.8 kB
Tags Linux glibc 2.35+ ARM64 Python 3.10
SHA-256 checksum
How to use checksums
80de80dda99864ea1b882b8f71068ec25ba64af58123105b1ccf95b17fda9c56
BLAKE2b-256 checksum
How to use checksums
3517a768342bff0d75a7a6fa1f7591960f9e2bf3cc04fe14aa6cebe7c54f692f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 16, 2026.

Transparency log
Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page