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 interfacesInficonPCGGauge: 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.pyfor the sim suiteexamples/real_devices.pyfor readable hardware usage examples
Development Notes
- Source code lives under
src/ - Pytest uses
srcas 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)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| matterlab_pressure_gauges-1.2.1.tar.gz | 10.7 kB | Without provenance | Details for matterlab_pressure_gauges-1.2.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| matterlab_pressure_gauges-1.2.1-py3-none-any.whl | Python 3 | none | any | Details for matterlab_pressure_gauges-1.2.1-py3-none-any.whl |
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
|
Security for matterlab-pressure-gauges 1.2.1
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.