imslib Python Library
Overview
imslib is a Python library for controlling Isomet Corporation's Acousto-Optic Synthesisers (AOS). It provides a comprehensive high-level API for:
- Generating test tones, images, and sequences
- Downloading and playing them on Isomet hardware
- Power control and signal compensation
- System diagnostics and configuration
- And much more
The package is designed to simplify development workflows while providing full access to the capabilities of Isomet AOS hardware.
Installation
It is recommended to install Python 3.8 or newer from the official source:
Using the official installer ensures compatibility with prebuilt wheels and avoids issues caused by third‑party Python distributions.
Creating a Virtual Environment
Before installing imslib, create and activate a virtual environment:
Windows:
python -m venv venv
venv\Scripts\activate
Ubuntu / Linux:
python3 -m venv venv
source venv/bin/activate
Once activated, you can install packages inside the isolated environment.
You do not need to build the imslib library yourself unless you are on an unsupported platform. Prebuilt packages are available for Windows and Ubuntu 24.04.
1. Windows (64-bit only)
Create and activate a Python virtual environment, then install directly from PyPI:
pip install imslib
2. Ubuntu 24.04
Create a virtual environment, then download the latest precompiled wheel from the Isomet website:
Install it with:
pip install ./imslib-<version>.whl
Running the Tests
Clone the GitHub repository:
git clone https://github.com/Isomet-Corporation/imslib-python.git
Activate your virtual environment and run the test scripts:
python3 <repo>/tests/<testfile>.py
Some tests require the matplotlib package.
Installing matplotlib
If you need to run tests that use plotting, install matplotlib within your virtual environment:
pip install matplotlib
Quick Start
A minimal workflow to verify your installation:
git clone https://github.com/Isomet-Corporation/imslib-python.git
cd imslib-python
python3 tests/test01_scan.py
Ensure your hardware is connected before running the test (see Hardware Connection Guide below).
Hardware Connection Guide
Linux
Use Ethernet to communicate with Isomet AOS hardware. USB drivers are not currently supported on Linux.
Windows
Windows supports all available interfaces, including:
- USB
- Ethernet
- Serial (if applicable)
Building
If you are on a platform without prebuilt wheels, you can build the Python package locally.
1. Clone the repository (with submodules)
git clone --recurse-submodules https://github.com/Isomet-Corporation/imslib-python.git
2. Install dependencies
Example for Ubuntu:
sudo apt install python3 python3-dev python3-venv python3-pip cmake ninja-build swig gcc-multilib g++-multilib
Then install the required Python packages:
python3 -m pip install --upgrade pip
python3 -m pip install setuptools build scikit-build-core ninja cmake conan swig
3. Configure Conan
conan profile detect -f
4. Build the wheel
From the project root:
python3 -m build --wheel --outdir wheelhouse .
Preconfigured helper scripts are provided:
build_wheels.batbuild_wheels.sh
These automate the wheel-building process where supported.
Metadata
Release files for imslib 2.0.10
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| imslib-2.0.10-cp38-abi3-win_amd64.whl | CPython 3.8 | abi3 | Windows x86-64 | Details for imslib-2.0.10-cp38-abi3-win_amd64.whl |
Release files / imslib-2.0.10-cp38-abi3-win_amd64.whl
| Download URL | imslib-2.0.10-cp38-abi3-win_amd64.whl |
|---|---|
| Size | 3.1 MB |
| Tags | CPython 3.8 Windows x86-64 abi3 |
|
SHA-256 checksum How to use checksums |
3294bde658c38a0b9162d516c05a54d9f47583bb0a9663af7a5b3e670b9fe60d
|
|
BLAKE2b-256 checksum How to use checksums |
bba36a6b0bdeff8e2a81a3310ac3fd49181720c58eafb4694285a91c74298edf
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.14.3
|
Security for imslib 2.0.10
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.