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.0rc1-py312-none-win_amd64.whl (124.0 kB view details)

Uploaded Python 3.12 Windows x86-64

cuvis_il-3.3.0rc1-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.0rc1-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.0rc1-py311-none-win_amd64.whl (123.4 kB view details)

Uploaded Python 3.11 Windows x86-64

cuvis_il-3.3.0rc1-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.0rc1-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.0rc1-py310-none-win_amd64.whl (123.1 kB view details)

Uploaded Python 3.10 Windows x86-64

cuvis_il-3.3.0rc1-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.0rc1-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.0rc1-py39-none-win_amd64.whl (123.3 kB view details)

Uploaded Python 3.9 Windows x86-64

cuvis_il-3.3.0rc1-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.0rc1-py39-none-manylinux_2_31_x86_64.whl (84.3 MB view details)

Uploaded Python 3.9 manylinux: glibc 2.31+ x86-64

File details

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

File metadata

File hashes

Hashes for cuvis_il-3.3.0rc1-py312-none-win_amd64.whl
Algorithm Hash digest
SHA256 18c724eb8a64abdaaf1972c88b04486206802ee7945b38cc7478d81942241cab
MD5 a82aacd92933bf76228481a05473e535
BLAKE2b-256 ab88b453725d1a5fefcaa78d4687f2f7d4e3a55964861373066d2fb928b35827

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cuvis_il-3.3.0rc1-py312-none-manylinux_2_35_x86_64.whl
Algorithm Hash digest
SHA256 f0c5eb827dac9df126f287f885be7ae9fbf504e89b2dd4d3bacd9fabf013c551
MD5 28eb2f9223ae39ed89182c55b9af1c1a
BLAKE2b-256 502ba8f3584c1e29fc268480b62e5192e5b8db1e67bccbaaf82c8fb4c74bf414

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cuvis_il-3.3.0rc1-py312-none-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 71390280fbc17790354567297861c4a86ed2c11aac3abaa75061d897a0709006
MD5 7903cc337c3afeca8267a0ec1fec78a6
BLAKE2b-256 293c7950e41ccfe6d4772d8fb8fcfbda39e388897416290d53c0a2db0a9eb5b6

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cuvis_il-3.3.0rc1-py311-none-win_amd64.whl
Algorithm Hash digest
SHA256 4b42d986a4536cbdb9686c34b3e97480b435dad90c10f9307c5dba0a603dc98f
MD5 a81d6f8bb647b863d373b07442215a27
BLAKE2b-256 7907093c671af0733b6423fa8c8b6c8ee76d00a79e3bcec74a454b2ab79c9a9f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cuvis_il-3.3.0rc1-py311-none-manylinux_2_35_x86_64.whl
Algorithm Hash digest
SHA256 1704eee636871b61175a850a4c9036562891ce5c53fab15e25d27b4cea9fdbfc
MD5 78478b8ba5d3b6226666376424eb9c6a
BLAKE2b-256 7ea44465608179fd3094dfbb6b288703a14ef66f2db356b9053735f8fc244b78

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cuvis_il-3.3.0rc1-py311-none-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 ddcab232d4de743e480604bb8fc16ea76be214fccb2a01796942dce5706cbc43
MD5 6087241bc86d0f0d95030f9365b87b37
BLAKE2b-256 db6cad8142e6de0d0157967a42f159c4bcea4f35f726c65d584955a4dd3af184

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cuvis_il-3.3.0rc1-py310-none-win_amd64.whl
Algorithm Hash digest
SHA256 228d136fb1ca433bd71b644b23c02c36fa635c65ef8b3753c4739287ac02ca64
MD5 717b5db2294303ff1b6b8f3492bf5c85
BLAKE2b-256 b62ce18849ff12554023d8fbc0900109c1c80857e18d8c985cf4ce4da168fd50

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cuvis_il-3.3.0rc1-py310-none-manylinux_2_35_x86_64.whl
Algorithm Hash digest
SHA256 804525d5f9cfe40adc7a9935713bdcc7935c70a97d37918f7c6537cfda9d0fa7
MD5 2f2437b957de9466fdfd967936c7ddf5
BLAKE2b-256 dc2d3be26e037a5bcc70bdcb951d7dc03f7f08ac27cca40b886e7424a19d56b8

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cuvis_il-3.3.0rc1-py310-none-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 4be2b353df9b46b5b3208097c1737c5d84b625a793d4d7a0583e7f06fafc9ef7
MD5 008b6627aca88a98d1000ac8870f6993
BLAKE2b-256 c32fbd023033f40d85371d2be4b8548fd1733d535a8e54da3ec80a04d90c7ae4

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cuvis_il-3.3.0rc1-py39-none-win_amd64.whl
Algorithm Hash digest
SHA256 1c5e6a0a2893f80835a0799117639d2f938fa94b97bc4805d0d4070db5eee098
MD5 464ce12bb6eb3b1b3fcaeb2612f240f5
BLAKE2b-256 e1ff7f58d5855dc5d8a060c48abe149e3b94b61d92076b19ec1aa721f98bdc7c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cuvis_il-3.3.0rc1-py39-none-manylinux_2_35_x86_64.whl
Algorithm Hash digest
SHA256 3e761ff1388b4e8e4b3fead3efea9843874472fa35f86b0c351dc9ca318f73cb
MD5 4449b590f648d9c06e97e4f9a9d17988
BLAKE2b-256 cf3488e4a54cba146941aba226d22a816db50b5b3e8780e2540ed3b6054d59d5

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cuvis_il-3.3.0rc1-py39-none-manylinux_2_31_x86_64.whl
Algorithm Hash digest
SHA256 2e100acec7434411fbda4ad06d11327245278a6c6c1d66a05b3f49020605943d
MD5 195e101fa607784921c3773e20a864ba
BLAKE2b-256 0759eec790132285da4d8fb69b50202a70d89fdb14fee4173c397bc4f5be56bb

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