Python wrapper for LPAMSDK
Project description
pyLPAMSDK
A Python wrapper for the LPAMSDK.
Overview
This package provides a Python interface to the LPAMSDK for interacting with LPAMS devices. It wraps the C API using ctypes, making it easy to use the SDK functionality from Python.
Installation
- Clone or download this repository.
- Install the package using pip:
pip install .
Requirements
- Python 3.9 or higher
- Windows operating system (since the SDK uses DLLs)
Usage
Enumerations
DaqDeviceInterface: Device interface types (USB_IFC, BLUETOOTH_IFC, ETHERNET_IFC, ANY_IFC).LPAMSError: Error codes returned by SDK functions.ScanStatus: Scan status (SS_IDLE, SS_RUNNING).
Structures
LPAMSDeviceDescriptor: Contains information about a particular LPAMS device.TransferStatus: Contains information about the progress of a scan operation.
Troubleshooting
DLL Loading Issues
If you encounter issues with DLL loading, make sure:
- The DLL files are in the correct location (
dll/directory). - All required dependencies (like libusb-1.0.dll) are present.
- You're using a 64-bit Python interpreter if the DLL is 64-bit, and vice versa.
License
MIT License
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
lpamsdk-1.0.0.tar.gz
(4.2 MB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file lpamsdk-1.0.0.tar.gz.
File metadata
- Download URL: lpamsdk-1.0.0.tar.gz
- Upload date:
- Size: 4.2 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.9.25
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b31715797f5e92c2647d73225777d58bc5e6bd2b7f0634645d33eebc3cab210d
|
|
| MD5 |
528e74158a872afdfe8f1a271c2cfe21
|
|
| BLAKE2b-256 |
bcddae236f0c7b4778dd133f3dd922bed974813aa410e2f8557115b60ea6f4a7
|
File details
Details for the file lpamsdk-1.0.0-py3-none-any.whl.
File metadata
- Download URL: lpamsdk-1.0.0-py3-none-any.whl
- Upload date:
- Size: 4.3 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.9.25
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
62d9ec21cbd78f14b56f298dcc84084886eee6bd18638762f6588ac4b636e3d0
|
|
| MD5 |
468c0f8ee3654487facda7e06ff48295
|
|
| BLAKE2b-256 |
eee04713e971677d99024afc13bcadb21eaa03e99e74a662d9b4fa6ae63952df
|