A plugin manager for modules that implement complex pyvisa resource interactions
Project description
Visadore
A plug-in manager for modules that implement complex pyvisa resource interactions. Visadore is built on top of the stevedore package module that provides a driver interface to plug-in modules. Each plug-in module is registered in setuptool's entry point registry.
#Invoking Visadore Invoking Visadore is easy...
Python 3.7.7 (default, May 6 2020, 11:45:54) [MSC v.1916 64 bit (AMD64)] :: Anaconda, Inc. on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> from visadore import get
>>> instrument = get("TCPIP::192.168.1.100::INSTR")
When invoked, the get() method queries the IDN string from the specified instrument. The instrument is specified using the standard VISA resource name syntax. Using the IDN string, Visadore searches for setuptools entry points that matches the instrument's manufacturer and model number. The is an unique entry point for each feature. When one or more matching entry points are found, Visadore dynamically creates a new class for that instrument. The new class includes all of the features identified during the entry point search.
#Features Implemented by Visadore
Visadore does not implement any actual instrument features. Instrument features must implemented by other package modules which import visadore and register the features as setuptools entry points.
Actually, there are a few features implemented in a "mock instrument" that is used solely by Visadore test code.
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
File details
Details for the file visadore-1.0.tar.gz
.
File metadata
- Download URL: visadore-1.0.tar.gz
- Upload date:
- Size: 9.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.2.0.post20200712 requests-toolbelt/0.9.1 tqdm/4.48.0 CPython/3.7.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a108a7ae459c175be01737e20fdcaab0d08f6334187b7547f1e37e99f3f112d2 |
|
MD5 | 2c2fec78b39dc7d19dafb607a77064e6 |
|
BLAKE2b-256 | 90d4a04de839937edf20b3e57aaaee7b9b0f88b12733e7146ca49f5d3c5cb20e |
File details
Details for the file visadore-1.0-py3-none-any.whl
.
File metadata
- Download URL: visadore-1.0-py3-none-any.whl
- Upload date:
- Size: 11.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.2.0.post20200712 requests-toolbelt/0.9.1 tqdm/4.48.0 CPython/3.7.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 46920edcab98a29c940d314b472e17daa24d784ba7cc17ecc9d476e3cf043a53 |
|
MD5 | 0fd91c5219b53ebf7f7dcbfafb5acd29 |
|
BLAKE2b-256 | 99a382b4e1e7f69c21f672bc21d8646438aeb6d82c4d4c2706e7dfe6f5fad7b1 |