Skip to main content

A tiny Python wrapper around the <Software development driver DLL> for IviumSoft.

Project description

PYVIUM

Tiny Python wrapper around the "Software development driver DLL" for IviumSoft.

Important:

This module uses a dll from the IviumSoft application. You need to have this software installed on a Windows machine. The IviumSoft application can be downloaded from here: https://www.ivium.com/support/#Software%20update

This version of Pyvium has been tested for IviumSoft release 4.1170.

Installation

Install PYVIUM easily with pip:

pip install pyvium

Or with poetry:

poetry add pyvium

Usage Example (Using IviumSoft Core functions)

To use the same functions available in the "IviumSoft driver DLL" you can import the Core class as follows. All functions return a result code (integer) and a result value if available. For further information you can check the IviumSoft documentation.

from pyvium import Core

Core.IV_open()
Core.IV_getdevicestatus()
Core.IV_close()

Usage Example (Using Pyvium methods)

This is a wrapper around the Core functions that adds a few things:

  • Exception management (you can find an example here)
  • New functionalities
from pyvium import Pyvium

Pyvium.open_driver()
Pyvium.get_device_status()
Pyvium.close_driver()

Usage Example (Using Tools methods)

This offers further functionality in data processing:

from pyvium import Tools

Tools.convert_idf_dir_to_csv()

Supported functions

The list of currently supported and implemented functions can be found here.

Links

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

pyvium-0.1.21b0.tar.gz (2.3 MB view details)

Uploaded Source

Built Distribution

pyvium-0.1.21b0-py3-none-any.whl (2.3 MB view details)

Uploaded Python 3

File details

Details for the file pyvium-0.1.21b0.tar.gz.

File metadata

  • Download URL: pyvium-0.1.21b0.tar.gz
  • Upload date:
  • Size: 2.3 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.3 CPython/3.12.3 Windows/11

File hashes

Hashes for pyvium-0.1.21b0.tar.gz
Algorithm Hash digest
SHA256 7e6816a3b844d66fe2bb236552becb0be055509dbf1f0776c5f40b7d49287414
MD5 f751d115ec2e785f7fd24617a37ea479
BLAKE2b-256 bcf3a4da3532cb11520ec86a9bfcfa8b7f1a29b7f4bd0a325958ec1f86bc2450

See more details on using hashes here.

File details

Details for the file pyvium-0.1.21b0-py3-none-any.whl.

File metadata

  • Download URL: pyvium-0.1.21b0-py3-none-any.whl
  • Upload date:
  • Size: 2.3 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.3 CPython/3.12.3 Windows/11

File hashes

Hashes for pyvium-0.1.21b0-py3-none-any.whl
Algorithm Hash digest
SHA256 beae7fb0a61cc96b29f2c6bd3ac1171d6615d5cd733b4aaa2ab47837c08737de
MD5 e7f79bffc47036f892540b2747dbb175
BLAKE2b-256 279c7b318b7cac342db2cef91262046dd4091dc98efdb0076a84c274f12e4b19

See more details on using hashes here.

Supported by

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