Skip to main content

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)

Source distribution for srsinst.interfaces 0.1.0
File Size Uploaded
srsinst_interfaces-0.1.0.tar.gz 6.0 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for srsinst.interfaces 0.1.0
File Interpreter ABI Platform
srsinst_interfaces-0.1.0-py3-none-any.whl Python 3 none any Details

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 log

Release 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 log

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page