Skip to main content

Compiled Python Bindings for the CUVIS SDK.

Project description

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.

:warning: 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.9, 3.10, 3.11 and 3.12 for Windows 64-bit.

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

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.

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.

This project will then generate the _cuvis_pyil.pyd and cuvis_il.py files needed for running the Cuvis Python SDK wrapper.

:warning: 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 backwards compatibility. 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 1.22 (Python 3.9 and 3.10), 1.23 (Python 3.11) and 1.26 (Python 3.12).

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.

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

cuvis_il-3.3.0-py312-none-win_amd64.whl (124.0 kB view details)

Uploaded Python 3.12 Windows x86-64

cuvis_il-3.3.0-py312-none-manylinux_2_35_x86_64.whl (80.5 MB view details)

Uploaded Python 3.12 manylinux: glibc 2.35+ x86-64

cuvis_il-3.3.0-py312-none-manylinux_2_31_x86_64.whl (84.2 MB view details)

Uploaded Python 3.12 manylinux: glibc 2.31+ x86-64

cuvis_il-3.3.0-py311-none-win_amd64.whl (123.4 kB view details)

Uploaded Python 3.11 Windows x86-64

cuvis_il-3.3.0-py311-none-manylinux_2_35_x86_64.whl (80.5 MB view details)

Uploaded Python 3.11 manylinux: glibc 2.35+ x86-64

cuvis_il-3.3.0-py311-none-manylinux_2_31_x86_64.whl (84.2 MB view details)

Uploaded Python 3.11 manylinux: glibc 2.31+ x86-64

cuvis_il-3.3.0-py310-none-win_amd64.whl (123.1 kB view details)

Uploaded Python 3.10 Windows x86-64

cuvis_il-3.3.0-py310-none-manylinux_2_35_x86_64.whl (80.5 MB view details)

Uploaded Python 3.10 manylinux: glibc 2.35+ x86-64

cuvis_il-3.3.0-py310-none-manylinux_2_31_x86_64.whl (84.2 MB view details)

Uploaded Python 3.10 manylinux: glibc 2.31+ x86-64

cuvis_il-3.3.0-py39-none-win_amd64.whl (123.3 kB view details)

Uploaded Python 3.9 Windows x86-64

cuvis_il-3.3.0-py39-none-manylinux_2_35_x86_64.whl (80.5 MB view details)

Uploaded Python 3.9 manylinux: glibc 2.35+ x86-64

cuvis_il-3.3.0-py39-none-manylinux_2_31_x86_64.whl (84.2 MB view details)

Uploaded Python 3.9 manylinux: glibc 2.31+ x86-64

File details

Details for the file cuvis_il-3.3.0-py312-none-win_amd64.whl.

File metadata

  • Download URL: cuvis_il-3.3.0-py312-none-win_amd64.whl
  • Upload date:
  • Size: 124.0 kB
  • Tags: Python 3.12, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.4

File hashes

Hashes for cuvis_il-3.3.0-py312-none-win_amd64.whl
Algorithm Hash digest
SHA256 736f794e22a667284570bbd9216213679ffc6a01fec482c25840bcffeaa06f89
MD5 8bc310edf714054b8d870eac9537573f
BLAKE2b-256 c23536a5fbb3a24a1071179b1acdbe265c1da8f647e4d9904db5087f164a41ca

See more details on using hashes here.

File details

Details for the file cuvis_il-3.3.0-py312-none-manylinux_2_35_x86_64.whl.

File metadata

File hashes

Hashes for cuvis_il-3.3.0-py312-none-manylinux_2_35_x86_64.whl
Algorithm Hash digest
SHA256 3d546ac5f305898988f334804d612dfebcbeb4da4b8c44526aa007d18a81e016
MD5 7c6b45601a871d2a77dfab1ac4c7e3ac
BLAKE2b-256 b9d75852058e2208c605c13916fc97ae548b2843127e3c4d3c3c4df287066122

See more details on using hashes here.

File details

Details for the file cuvis_il-3.3.0-py312-none-manylinux_2_31_x86_64.whl.

File metadata

File hashes

Hashes for cuvis_il-3.3.0-py312-none-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 f1d26bcd430e7d683d40c78fe586f6e03b04e8d52382a9920e90046884beb2af
MD5 9f0604c4b514a130e337a73a61eae374
BLAKE2b-256 5c34e2fad42ea4a9377055047a8cbfc78ee49df68aeab2d66cfb13526f7fb4f6

See more details on using hashes here.

File details

Details for the file cuvis_il-3.3.0-py311-none-win_amd64.whl.

File metadata

  • Download URL: cuvis_il-3.3.0-py311-none-win_amd64.whl
  • Upload date:
  • Size: 123.4 kB
  • Tags: Python 3.11, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.11.6

File hashes

Hashes for cuvis_il-3.3.0-py311-none-win_amd64.whl
Algorithm Hash digest
SHA256 27df9ca443b95fb6c1687c456d94c6e59cb760f3ee9e0b9c3f37ef9db76952cb
MD5 895586901836d643e3fe0e084a25b7ef
BLAKE2b-256 799d1ac87958facab7d5134a62ea0dcf96a411b311cc83edd0d90118ee502d77

See more details on using hashes here.

File details

Details for the file cuvis_il-3.3.0-py311-none-manylinux_2_35_x86_64.whl.

File metadata

File hashes

Hashes for cuvis_il-3.3.0-py311-none-manylinux_2_35_x86_64.whl
Algorithm Hash digest
SHA256 e88df2dbcda2f5f86ace3d8a0a597d6c9859dd89dbcbcbc2ee8d0d81a4894bf4
MD5 ba267bc4d4ac21c83f5f84ae1772a734
BLAKE2b-256 6bf833b1e51c6ae7eb338be246d973803adc2d20d6a7ae203d1d236bd817ce33

See more details on using hashes here.

File details

Details for the file cuvis_il-3.3.0-py311-none-manylinux_2_31_x86_64.whl.

File metadata

File hashes

Hashes for cuvis_il-3.3.0-py311-none-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 3bd62349743dd8e509f49a1cf0dfc8a2f4cd4a4786f57ac6b15170a631e45391
MD5 1da3596b3ac9bc1ecb81f44d3eb54706
BLAKE2b-256 200d30d0464584542eb9aa2f046db214f9005db72ef9fbadb3086feeba5875e8

See more details on using hashes here.

File details

Details for the file cuvis_il-3.3.0-py310-none-win_amd64.whl.

File metadata

  • Download URL: cuvis_il-3.3.0-py310-none-win_amd64.whl
  • Upload date:
  • Size: 123.1 kB
  • Tags: Python 3.10, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.10.11

File hashes

Hashes for cuvis_il-3.3.0-py310-none-win_amd64.whl
Algorithm Hash digest
SHA256 c4d3b461dfa3e4430391785eb9931b59c1cd9ba0676b2240922a8400f407e42b
MD5 7cf4dd7e0c6b07d829645070c5f4f032
BLAKE2b-256 9e5c8a9971ae8d6200a68aa21a3b0a40d32b0824dbfd9e9dbe6ff2d948af27b1

See more details on using hashes here.

File details

Details for the file cuvis_il-3.3.0-py310-none-manylinux_2_35_x86_64.whl.

File metadata

File hashes

Hashes for cuvis_il-3.3.0-py310-none-manylinux_2_35_x86_64.whl
Algorithm Hash digest
SHA256 6ed6c234339b98789e08504868f8d9b80888955a2e737fee2df6831b4be2e657
MD5 2fac0c1a609fe0320a449ecded1b0d06
BLAKE2b-256 a7b72744cc962ca18c67ab7a43cd5c07d0081e0e59b70bbf9dcfdc16c46be79b

See more details on using hashes here.

File details

Details for the file cuvis_il-3.3.0-py310-none-manylinux_2_31_x86_64.whl.

File metadata

File hashes

Hashes for cuvis_il-3.3.0-py310-none-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 6ef1e28e2ce707cb9adb38e4153fca332b0a6224eb535b30a82c70492be6b7c3
MD5 2804cc76b6921fcf301f4a5256631227
BLAKE2b-256 61a6e014598e9a41c947c110d7edbc750426312c03922acf229c677c04fd98c9

See more details on using hashes here.

File details

Details for the file cuvis_il-3.3.0-py39-none-win_amd64.whl.

File metadata

  • Download URL: cuvis_il-3.3.0-py39-none-win_amd64.whl
  • Upload date:
  • Size: 123.3 kB
  • Tags: Python 3.9, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.9.13

File hashes

Hashes for cuvis_il-3.3.0-py39-none-win_amd64.whl
Algorithm Hash digest
SHA256 afc260959e2ba470bdb1fe927efa17238348c60f5e7287ce534b859e1746ef10
MD5 1f08fb74b5834e4d8f1779bc1e81969c
BLAKE2b-256 aad808cf1929795635fd2bf7d50763a290ee11ddad369f9c3ef966f6fc003bd4

See more details on using hashes here.

File details

Details for the file cuvis_il-3.3.0-py39-none-manylinux_2_35_x86_64.whl.

File metadata

File hashes

Hashes for cuvis_il-3.3.0-py39-none-manylinux_2_35_x86_64.whl
Algorithm Hash digest
SHA256 68540c40f29ee90411648bb907550e308d8cc3ba20c58f44ff127b4d94ad56f4
MD5 da41e8557707b7bd2c088f6bdc3e66ac
BLAKE2b-256 73154cbffc35d4e14b04a4c729be9b42d1fb10500c7cb0cb65c60c1fe5b7ccc8

See more details on using hashes here.

File details

Details for the file cuvis_il-3.3.0-py39-none-manylinux_2_31_x86_64.whl.

File metadata

File hashes

Hashes for cuvis_il-3.3.0-py39-none-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 7c12f464238eb1166a8dd9e5ece5d6ffd711433fc25fe9cf449127c44d681054
MD5 ef72c63a02cbe1386e490c346ee25a27
BLAKE2b-256 07eaf08680efab85210cd1be787b3f37c11999ee40c439a008c205c3b479fb19

See more details on using hashes here.

Supported by

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