Skip to main content

Matter Lab Pressure Gauges

matterlab_pressure_gauges provides Python drivers for pressure gauges used in Matter Lab automation workflows.

The package currently includes:

  • Gauge: abstract base class for pressure gauge interfaces
  • InficonPCGGauge: serial driver for Inficon PCG gauges

Installation

Use the matterlab conda environment and install the package in editable mode during development:

pip install -e .[dev]

The package depends on matterlab_serial_device for serial communication.

Quick Start

from matterlab_pressure_gauges import InficonPCGGauge

gauge = InficonPCGGauge(com_port="COM4", address=1)
print(gauge.pressure, gauge.unit)
print(gauge.error)
print(gauge.product_name)

Testing

Simulation tests are the default and are the only tests intended for CI enforcement.

One-click local sim run:

python examples/test_sim.py

Direct pytest run:

pytest

Real hardware tests are present for manual validation but are skipped unless explicitly enabled.

Run real tests with explicit hardware parameters:

pytest tests/test_inficon_gauge_real.py --run-real --com-port COM4 --address 1

You can also provide the settings through environment variables:

set PRESSURE_GAUGE_COM_PORT=COM4
set PRESSURE_GAUGE_ADDRESS=1
pytest tests/test_inficon_gauge_real.py --run-real

Examples

Additional examples live in examples/README.md:

  • examples/test_sim.py for the sim suite
  • examples/real_devices.py for readable hardware usage examples

Development Notes

  • Source code lives under src/
  • Pytest uses src as the import root
  • Hardware-backed tests are marked with @pytest.mark.real
  • Generated coverage, build, and cache artifacts are ignored

Metadata

Release files for matterlab-pressure-gauges 1.2.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for matterlab-pressure-gauges 1.2.1
File Size Uploaded
matterlab_pressure_gauges-1.2.1.tar.gz 10.7 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for matterlab-pressure-gauges 1.2.1
File Interpreter ABI Platform
matterlab_pressure_gauges-1.2.1-py3-none-any.whl Python 3 none any Details

Total release size: 19.6 kB

Release files / matterlab_pressure_gauges-1.2.1.tar.gz

Download URL matterlab_pressure_gauges-1.2.1.tar.gz
Size 10.7 kB
Tags Source
SHA-256 checksum
How to use checksums
bd18069ac44c25667b28ee168362187ca7ceaf6be27b25c95070f2efb750753d
BLAKE2b-256 checksum
How to use checksums
393c5f4bdb872f377b705afcc3b131cb415cbde4b8f4585722be21f6a4cba018
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.10.13

Release files / matterlab_pressure_gauges-1.2.1-py3-none-any.whl

Download URL matterlab_pressure_gauges-1.2.1-py3-none-any.whl
Size 8.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
55b5e2a080244763d6709f413b9aacedf3d45343b5a1190aeba5035ff5ed43e4
BLAKE2b-256 checksum
How to use checksums
e68662b03c6d5a55e8ccb57e9d77dbdadd615e5617f06e44a9e2c6ba81106db1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.10.13

Release history Release notifications | RSS feed

This release

1.2.1 This release

2 release files

1.1.0

2 release files

1.0.6

2 release 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