pyoil
pyoil is a Python library for controlling RF test equipment through PyVISA.
It currently includes drivers for the Rohde & Schwarz SMR20 signal generator,
Keysight E5071C vector network analyser, Keysight N9030 signal analyser, and a
dual-SP8T RF switch matrix.
The installed distribution is named pyoil; import the library as oil.
python -m pip install pyoil
from oil.core import ip_address_string
from oil.sig_gens import SMR20
signal_generator = SMR20(ip_address_string("192.168.1.20"))
signal_generator.frequency = 1_000_000
signal_generator.power = -10
The library also provides virtual instruments for unit tests, allowing driver behaviour to be verified without a physical instrument connection.
Development
Run the unit suite from the project root:
python -m pytest
Physical-instrument smoke tests remain necessary to confirm model- and firmware-specific SCPI behaviour.
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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file pyoil-0.0.13.tar.gz.
File metadata
- Download URL: pyoil-0.0.13.tar.gz
- Upload date:
- Size: 18.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ffc2f6c07137800a0db4b9aab3fd7afcc24b69293d43c4045fdc8a1c4209a42c
|
|
| MD5 |
10c21e90787acc2e0e76545f13ffe887
|
|
| BLAKE2b-256 |
298a6f399031c8d12bb8a0b430be9abc348445a9e21af9cb1dfc85fd49f6cc58
|
Provenance
The following attestation bundles were made for pyoil-0.0.13.tar.gz:
Publisher:
publish-pypi.yml on ok65/oil
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
pyoil-0.0.13.tar.gz -
Subject digest:
ffc2f6c07137800a0db4b9aab3fd7afcc24b69293d43c4045fdc8a1c4209a42c - Sigstore transparency entry: 2753773827
- Sigstore integration time:
-
Permalink:
ok65/oil@a740a7156db73dcf6ea26088ac18a4b93dfab076 -
Branch / Tag:
refs/tags/v0.0.13 - Owner: https://github.com/ok65
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-pypi.yml@a740a7156db73dcf6ea26088ac18a4b93dfab076 -
Trigger Event:
push
-
Statement type:
File details
Details for the file pyoil-0.0.13-py3-none-any.whl.
File metadata
- Download URL: pyoil-0.0.13-py3-none-any.whl
- Upload date:
- Size: 24.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
450e1223795d3385060c607fee6a8757c584e4b9920af8123840d51ea7783e3b
|
|
| MD5 |
0d1b7f769df528e748f596732c7e64a6
|
|
| BLAKE2b-256 |
e91c5d5b0d5fc231cedc2439568146c29f5a3beef48481458170bd733e4c16a6
|
Provenance
The following attestation bundles were made for pyoil-0.0.13-py3-none-any.whl:
Publisher:
publish-pypi.yml on ok65/oil
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
pyoil-0.0.13-py3-none-any.whl -
Subject digest:
450e1223795d3385060c607fee6a8757c584e4b9920af8123840d51ea7783e3b - Sigstore transparency entry: 2753773847
- Sigstore integration time:
-
Permalink:
ok65/oil@a740a7156db73dcf6ea26088ac18a4b93dfab076 -
Branch / Tag:
refs/tags/v0.0.13 - Owner: https://github.com/ok65
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-pypi.yml@a740a7156db73dcf6ea26088ac18a4b93dfab076 -
Trigger Event:
push
-
Statement type: