PyVISA-proxy
This plugin should extend PyVISA's funtionality mainly in order to address local hardware which is attached to a remote node, e.g. USB or GPIB. In the end, you can decouple your VISA instrument hosting where you need bare metal nodes and the test script runner.
Getting started
Installation
Using pip:
pip install pyvisa-proxy
Server
In order to make devices remotely available, just run the PyVISA-remote server on your node. The server will open new VISA resources per request. Just run
python -m pyivsa_proxy --port 5000
in order to host your "local" connections. Use any available port for network sharing.
Client
Use a client like a normal PyVISA class. The calls will be forwarded by reflection to the server. In order to get started, use the following snippet in your code.
import pyvisa
rm = pyvisa.ResourceManager("YourProxyServerIp:YourProxyServerPort@proxy")
instr = rm.open_resource(resource="GPIB0::1::INSTR")
print(instr.query("*IDN?"))
Contributing
I welcome any contributions, enhancements, and bug-fixes. Open an issue on GitHub and submit a pull request.
License
pyvisa-remote is 100% free and open-source, under the MIT license. Use it however you want.
This package is Treeware. If you use it in production, then we ask that you buy the world a tree to thank us for our work. By contributing to the Treeware forest you’ll be creating employment for local families and restoring wildlife habitats.
Metadata
Release files for PyVISA-proxy 0.1.3
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 |
|---|---|---|---|---|
| pyvisa_proxy-0.1.3.tar.gz | 40.9 kB | Without provenance | Details for pyvisa_proxy-0.1.3.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| PyVISA_proxy-0.1.3-py3-none-any.whl | Python 3 | none | any | Details for PyVISA_proxy-0.1.3-py3-none-any.whl |
Total release size: 56.7 kB
Release files / pyvisa_proxy-0.1.3.tar.gz
| Download URL | pyvisa_proxy-0.1.3.tar.gz |
|---|---|
| Size | 40.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
d6fc8488a9fc522c5bc39b5bce8d9055a52078c4a0737883aca8c48ffcc9c1ad
|
|
BLAKE2b-256 checksum How to use checksums |
8e3b936847e2cb1a184284f85a7b41391e07feadb26ddc951e2264534b1fea8f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.0 CPython/3.12.4
|
Release files / PyVISA_proxy-0.1.3-py3-none-any.whl
| Download URL | PyVISA_proxy-0.1.3-py3-none-any.whl |
|---|---|
| Size | 15.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
f579f824ec5d8bbc62c2b4f3fbd353e35e4d8c2ccc409656eaa02b65eedff1ff
|
|
BLAKE2b-256 checksum How to use checksums |
57daf667d28ec6e3b6663d4274525a08ed0949ed55761d36ec25c7bd75b506c1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.0 CPython/3.12.4
|
Security for PyVISA-proxy 0.1.3
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.