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
Metadata
Release files for srsinst.interfaces 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| srsinst_interfaces-0.1.0.tar.gz | 6.0 kB | With provenance | Details for srsinst_interfaces-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| srsinst_interfaces-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for srsinst_interfaces-0.1.0-py3-none-any.whl |
Total release size: 11.4 kB
Release files / srsinst_interfaces-0.1.0.tar.gz
| Download URL | srsinst_interfaces-0.1.0.tar.gz |
|---|---|
| Size | 6.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
bd0d8790515112af53cd04b7857c81511a70d9a4a56cd737e133fb1a24e260bd
|
|
BLAKE2b-256 checksum How to use checksums |
229954172c5041bf783cd4364fe2bbf56ea207bb2ad8a9271a8a188b8f133bc5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Apr 3, 2026.
Transparency logRelease files / srsinst_interfaces-0.1.0-py3-none-any.whl
| Download URL | srsinst_interfaces-0.1.0-py3-none-any.whl |
|---|---|
| Size | 5.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
badb4153b16994184495da360fcb02ac659614fdaabd6708e04364b747a1f6e8
|
|
BLAKE2b-256 checksum How to use checksums |
61b2a98a81e69c14924fa160b3bf55d0b8de25f4d790e1c7179d7aeea757d08b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Apr 3, 2026.
Transparency logSecurity for srsinst.interfaces 0.1.0
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.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for srsinst_interfaces-0.1.0.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Apr 3, 2026.
Transparency logA 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.