Skip to main content

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

pyoil-0.0.13.tar.gz (18.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pyoil-0.0.13-py3-none-any.whl (24.3 kB view details)

Uploaded Python 3

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

Hashes for pyoil-0.0.13.tar.gz
Algorithm Hash digest
SHA256 ffc2f6c07137800a0db4b9aab3fd7afcc24b69293d43c4045fdc8a1c4209a42c
MD5 10c21e90787acc2e0e76545f13ffe887
BLAKE2b-256 298a6f399031c8d12bb8a0b430be9abc348445a9e21af9cb1dfc85fd49f6cc58

See more details on using hashes here.

Provenance

The following attestation bundles were made for pyoil-0.0.13.tar.gz:

Publisher: publish-pypi.yml on ok65/oil

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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

Hashes for pyoil-0.0.13-py3-none-any.whl
Algorithm Hash digest
SHA256 450e1223795d3385060c607fee6a8757c584e4b9920af8123840d51ea7783e3b
MD5 0d1b7f769df528e748f596732c7e64a6
BLAKE2b-256 e91c5d5b0d5fc231cedc2439568146c29f5a3beef48481458170bd733e4c16a6

See more details on using hashes here.

Provenance

The following attestation bundles were made for pyoil-0.0.13-py3-none-any.whl:

Publisher: publish-pypi.yml on ok65/oil

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Release history Release notifications | RSS feed

0.0.15

2 files

This release

0.0.13 This release

2 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