$npx skillfedfor your agent

PyVISA-sim

Simulated backend for PyVISA implementing TCPIP, GPIB, RS232, and USB resources

Worth itPyPI Python ModulesReleased Sep 2025188.1K downloads / mopermissive licensePure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — pyvisa_sim-0.7.1-py3-none-any.whl
v0.7.1 · released 2025-09-04 · Python >=3.10 · 4 runtime deps: pyvisa, PyYAML, stringparser, typing-extensions

Yes. PyVISA-sim fills a genuine gap for developers working with VISA-based instrument control: it eliminates the friction of installing NI-VISA and acquiring hardware just to test code. The package is actively maintained, has no known vulnerabilities, carries a permissive MIT license, and installs with minimal friction. Install it if you work with PyVISA and need to test offline or in automated environments.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires PyVISA 1.11+ and Python 3.10+; simulated device behavior must be configured via a plain text configuration file.
  • Low friction: pure Python wheel with four straightforward runtime dependencies (pyvisa, PyYAML, stringparser, typing-extensions).
  • Actively maintained with recent commits and no known vulnerabilities.

License · maintenance · safety

permissive license (permissive) — MIT license permits free use, modification, and distribution with minimal restrictions—suitable for both open-source and commercial projects.

last release 2025-09-04 (344 days) · last repo commit 2026-08-10 · 88 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 188,131 downloads/mo, #9,952 on PyPI

Verify before relying

pip install pyvisa-sim

import pyvisa
rm = pyvisa.ResourceManager('@sim')
inst = rm.open_resource('GPIB0::1::INSTR')
response = inst.query('*IDN?')
  • Extent of VISA method coverage beyond 'most of the methods' for Message Based communication
  • Whether simulated device behavior configuration supports all GPIB/USB/Serial/Ethernet protocol variants
Same gist for agents: .md · .json

What it is and what it does

PyVISA-sim is a backend plugin for PyVISA that replaces the need for the National Instruments VISA library and physical instruments with a software simulation. It implements most methods for Message Based communication over GPIB, USB, Serial, and Ethernet in a simulated environment, allowing you to develop and test instrument control code on any machine without hardware. The behavior of simulated devices is controlled by a plain text configuration file, making it easy to model different instrument responses.

The package has been actively maintained since 2015, supports Python 3.10 through 3.13, and integrates seamlessly with PyVISA's dynamic backend loading system. It's particularly useful for CI/CD pipelines, offline development, and testing measurement scripts before deploying them to real hardware.

Use it for

  • Test PyVISA measurement scripts in CI/CD pipelines without physical instruments or NI-VISA installed
  • Develop and debug GPIB/USB/Serial instrument control code offline on any machine
  • Mock instrument responses for unit testing measurement acquisition routines
  • Prototype new measurement workflows before deploying to real laboratory hardware
  • Train or demonstrate instrument control without requiring expensive test equipment

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

Worth it

Yes.

PyVISA-sim fills a genuine gap for developers working with VISA-based instrument control: it eliminates the friction of installing NI-VISA and acquiring hardware just to test code. The package is actively maintained, has no known vulnerabilities, carries a permissive MIT license, and installs with minimal friction. Install it if you work with PyVISA and need to test offline or in automated environments.

Install

pyvisa-sim on PyPI

Before you install

Low friction: pure Python wheel with four straightforward runtime dependencies (pyvisa, PyYAML, stringparser, typing-extensions). Actively maintained with recent commits and no known vulnerabilities.

Requires PyVISA 1.11+ and Python 3.10+; simulated device behavior must be configured via a plain text configuration file.

License in practice

MIT license permits free use, modification, and distribution with minimal restrictions—suitable for both open-source and commercial projects.

Quickstart

pip install pyvisa-sim

import pyvisa
rm = pyvisa.ResourceManager('@sim')
inst = rm.open_resource('GPIB0::1::INSTR')
response = inst.query('*IDN?')

Verify before relying

  • Extent of VISA method coverage beyond 'most of the methods' for Message Based communication
  • Whether simulated device behavior configuration supports all GPIB/USB/Serial/Ethernet protocol variants

Package facts

Licensepermissive license permissive
Python supportSupports the current Python release >=3.10
Install frictionLow. Pure-Python wheel
Runtime dependencies
4 packages
pyvisaPyYAMLstringparsertyping-extensions
MaintenanceActively maintained 344 days since the last release
Last repo commit
First released
Downloads188,131 / month, #9,952 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Development Status :: 4 - BetaIntended Audience :: DevelopersIntended Audience :: Science/ResearchLicense :: OSI Approved :: MIT LicenseOperating System :: MacOS :: MacOS XOperating System :: Microsoft :: WindowsOperating System :: POSIX :: LinuxProgramming Language :: PythonProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Topic :: Scientific/Engineering :: Interface Engine/Protocol TranslatorTopic :: Software Development :: Libraries :: Python Modules

Evidence: pyvisa_sim-0.7.1-py3-none-any.whl

Tags

Capabilities
VISA simulatormock instrument backendGPIB USB serial simulationPyVISA testing without hardwareinstrument communication mockVISA protocol simulatormeasurement device emulation
Topics
instrument-simulationtesting-mockhardware-abstraction
PyPI keywords
VISAGPIBUSBserialRS232measurementacquisitionsimulatormock

Let your AI agent find packages like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.

wish › “VISA simulator”

  • PyVISA-simPyVISA-sim provides a simulated VISA backend for PyVISA that lets you…
  • PyVISA-pyPyVISA-py is a pure Python backend for the VISA standard that enables…
  • PyVISAPyVISA provides Python bindings to VISA libraries for controlling…

Give your agent the search over MCP, or paste the wish link into any chat.

More Python Modules packages

idna Worth it
PyPI · Python Modules · released Jun 2026

Converts domain names between Unicode and ASCII-compatible encoding (Punycode) according to IDNA 2008 and Unicode Technical Standard 46, with security validation and broader script coverage than the standard library.

Install it if you work with internationalized domain names, need to validate domains, or use HTTP clients that depend on it transitively.

BSD-3-Clausepure Python · 3.9+
1.8Bdownloads / mo
setuptools Worth it
PyPI · Python Modules · released Aug 2026

Setuptools is a Python build backend and package management tool that handles building, distributing, and installing Python packages, including support for C/C++ extension modules.

MITpure Python · 3.10+
1.6Bdownloads / mo
PyYAML Worth it
PyPI · Python Modules · released Sep 2025

PyYAML parses and emits YAML 1.1 data format, enabling serialization and deserialization of configuration files and Python objects to and from human-readable YAML text.

MITcompiled wheel · 3.8+
1.2Bdownloads / mo
pydantic Worth it
PyPI · Python Modules · released May 2026

Pydantic validates Python data structures against type hints, coercing and checking input at runtime to ensure it matches a declared schema.

MITpure Python · 3.9+
1.1Bdownloads / mo
annotated-types Worth it
PyPI · Python Modules · released Jul 2026

Provides reusable metadata objects for use with PEP-593 `typing.Annotated` to express common constraints like bounds, collection sizes, and predicates on types.

Install it if you use or build libraries that need to express type constraints in a standardized, inspectable way—or if you want to annotate your own types with…

MITpure Python · 3.10+
871.3Mdownloads / mo
typing-inspection Worth it
PyPI · Python Modules · released Aug 2026

Provides runtime tools to inspect and introspect Python type annotations, enabling programmatic examination of type hints at execution time.

MITpure Python · 3.10+
783.0Mdownloads / mo

See also PyVISA-py · RsInstrument · PyVISA · snmpsim · pyftdi · PySpice · pyusb · zhinst-toolkit · MultiPyVu · hid