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.1100.
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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for pyvium-0.1.17b0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | da65d6383db0f0e37f37387918f6dc7cc5a45b6663d28c7e13513d9f49ffc2b4 |
|
MD5 | 1a349b830ba13f2c0b4f3317db331cd8 |
|
BLAKE2b-256 | b71a1c370001d84ebd9d531f575d83ae673badd1d42da01a50ffbcf71875901d |