Skip to main content

CUVIS Python SDK.

Project description

image

cuvis.python

cuvis.python is the python wrapper for the Cuvis SDK written in C (available here).

This wrapper enables operating Cubert GmbH Hyperspectral Cameras, as well as, analyzing data directly from the corporate data format(s) within python. This wrapper provides an object-oriented full representation of the basic C SDK capabilities and python return variable formats based on commonly used modules, like dictionaries, datetime or numpy objects.

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 wrapper 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 within another project, from within your project environment, run

pip install cuvis

or add cuvis to your project requirements.txt or setup.py. We currently provide pre-compiled binaries for Python 3.9, 3.10, 3.11, 3.12 and 3.13 for Windows, Ubuntu 20.04 and Ubuntu 22.04 (all 64-bit).

To access the newest python cuvis version (for use with SDK beta versions, etc) you can install it with

pip install cuvis --pre

Via repository

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

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

and install the wrapper locally.

If you wish to use the version compatible to the available Cuvis SDK download, check out the version on the site above and use the respective release branch (e.g. release/v3.2).

For building the python bindings refer to cuvis.pyil.

How to ...

Getting started

We provide an additional example repository here, covering some basic applications.

Further, we provide a set of example measurements to explore here. These measurements are also used by the examples mentioned above.

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 Distribution

cuvis-3.4.1.1.tar.gz (27.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

cuvis-3.4.1.1-py3-none-any.whl (32.2 kB view details)

Uploaded Python 3

File details

Details for the file cuvis-3.4.1.1.tar.gz.

File metadata

  • Download URL: cuvis-3.4.1.1.tar.gz
  • Upload date:
  • Size: 27.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for cuvis-3.4.1.1.tar.gz
Algorithm Hash digest
SHA256 708a893b76c932f7ebe5d5e921ca86ba909e088902efa2c909c44b10ab33c6ee
MD5 2ae65eb87d9311afe0e22b0580bd084f
BLAKE2b-256 7810441549cf5b44983bc7a9a3b6df9e8c09329642b2d2a94ee09f18ffd556fb

See more details on using hashes here.

Provenance

The following attestation bundles were made for cuvis-3.4.1.1.tar.gz:

Publisher: publish_version.yml on cubert-hyperspectral/cuvis.python

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file cuvis-3.4.1.1-py3-none-any.whl.

File metadata

  • Download URL: cuvis-3.4.1.1-py3-none-any.whl
  • Upload date:
  • Size: 32.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for cuvis-3.4.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 3ff4a5c61f3bbd0d1d51b520a4d7936fea5bb54c551d79c72a1f7033b8069e02
MD5 f2a4ac471c8417456a8b7a0891a570fa
BLAKE2b-256 43d54bd1860ec741d6ea1acdbdc7dc6b3da98da94e9320e25bbe3958fb2c6c7d

See more details on using hashes here.

Provenance

The following attestation bundles were made for cuvis-3.4.1.1-py3-none-any.whl:

Publisher: publish_version.yml on cubert-hyperspectral/cuvis.python

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

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