Shared VXI-11 and VISA interface classes for SRS instrument drivers
Project description
srsinst.interfaces
Shared VXI-11 and VISA interface classes for SRS instrument drivers.
This package provides Vxi11Interface and VisaInterface — thin wrappers
around python-vxi11 and pyvisa respectively — for use by srsinst.*
instrument drivers. It lives in the srsinst namespace alongside the drivers
that depend on it.
Installation
pip install srsinst.interfaces
For development (editable install):
git clone https://github.com/thinkSRS/srsinst.interfaces.git
cd srsinst.interfaces
pip install -e .
Backing libraries
python-vxi11 and pyvisa are not installed automatically — only install
what your hardware actually needs:
pip install python-vxi11 # for VXI-11 (Ethernet)
pip install pyvisa # for VISA (GPIB, USB, etc.)
If a backing library is missing, a clear ImportError is raised only when
that interface class is instantiated, not at import time. Users who connect
exclusively over TCP/IP or RS-232 need neither library.
Usage
srsinst.interfaces is not typically used directly — instrument drivers import
from it automatically. If you are writing a new srsinst.* driver, import the
classes you need:
from srsinst.interfaces import Vxi11Interface, VisaInterface
and add srsinst.interfaces to your pyproject.toml dependencies:
[project]
dependencies = [
"srsgui>=0.4.5",
"srsinst.interfaces",
]
Contents
| Class | Backing library | Connection type |
|---|---|---|
Vxi11Interface |
python-vxi11 |
VXI-11 over Ethernet |
VisaInterface |
pyvisa |
GPIB, USB, or any VISA resource |
Both classes inherit from srsgui's Interface base class and integrate with
the srsgui instrument connection framework.
License
MIT License — Copyright (c) 2026 Stanford Research Systems
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
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 srsinst_interfaces-0.1.0.tar.gz.
File metadata
- Download URL: srsinst_interfaces-0.1.0.tar.gz
- Upload date:
- Size: 6.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
bd0d8790515112af53cd04b7857c81511a70d9a4a56cd737e133fb1a24e260bd
|
|
| MD5 |
dcc0c686ed7b27ca343af2ac229efa66
|
|
| BLAKE2b-256 |
229954172c5041bf783cd4364fe2bbf56ea207bb2ad8a9271a8a188b8f133bc5
|
Provenance
The following attestation bundles were made for srsinst_interfaces-0.1.0.tar.gz:
Publisher:
python-publish.yml on thinkSRS/srsinst.interfaces
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
srsinst_interfaces-0.1.0.tar.gz -
Subject digest:
bd0d8790515112af53cd04b7857c81511a70d9a4a56cd737e133fb1a24e260bd - Sigstore transparency entry: 1229425964
- Sigstore integration time:
-
Permalink:
thinkSRS/srsinst.interfaces@6901fa304c07ce36fa69cb1611f4ed5a84f00a28 -
Branch / Tag:
refs/tags/v0.1.0 - Owner: https://github.com/thinkSRS
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
python-publish.yml@6901fa304c07ce36fa69cb1611f4ed5a84f00a28 -
Trigger Event:
release
-
Statement type:
File details
Details for the file srsinst_interfaces-0.1.0-py3-none-any.whl.
File metadata
- Download URL: srsinst_interfaces-0.1.0-py3-none-any.whl
- Upload date:
- Size: 5.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
badb4153b16994184495da360fcb02ac659614fdaabd6708e04364b747a1f6e8
|
|
| MD5 |
5961136c354ddb985674cd16543d52f9
|
|
| BLAKE2b-256 |
61b2a98a81e69c14924fa160b3bf55d0b8de25f4d790e1c7179d7aeea757d08b
|
Provenance
The following attestation bundles were made for srsinst_interfaces-0.1.0-py3-none-any.whl:
Publisher:
python-publish.yml on thinkSRS/srsinst.interfaces
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
srsinst_interfaces-0.1.0-py3-none-any.whl -
Subject digest:
badb4153b16994184495da360fcb02ac659614fdaabd6708e04364b747a1f6e8 - Sigstore transparency entry: 1229425995
- Sigstore integration time:
-
Permalink:
thinkSRS/srsinst.interfaces@6901fa304c07ce36fa69cb1611f4ed5a84f00a28 -
Branch / Tag:
refs/tags/v0.1.0 - Owner: https://github.com/thinkSRS
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
python-publish.yml@6901fa304c07ce36fa69cb1611f4ed5a84f00a28 -
Trigger Event:
release
-
Statement type: