Matter Lab Mass Flow Controllers
matterlab_mfcs provides Python drivers for mass flow controllers used in Matter Lab automation workflows.
The first supported device family is Alicat instruments using the Modbus RTU manual bundled with this workspace.
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_mfcs import AlicatMFC
mfc = AlicatMFC(com_port="COM5", address=1)
print(mfc.firmware_version)
print(mfc.serial_number)
print(mfc.pressure)
print(mfc.temperature)
Testing
Unit tests are the default:
pytest
Real hardware validation is opt-in:
pytest tests/test_alicat_mfc_real.py --run-real --com-port COM5 --address 1
Notes
- Source code lives under
src/ - Pytest uses
srcas the import root - Real hardware tests are skipped unless explicitly enabled
- The Alicat Modbus CRC implementation matches the Modbus RTU framing validated against the local device on
COM5 - Multi-read snapshots should live in scripts or tests, not inside the driver
Metadata
Release files for matterlab-mfcs 0.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_mfcs-0.2.1.tar.gz | 14.8 kB | Without provenance | Details for matterlab_mfcs-0.2.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| matterlab_mfcs-0.2.1-py3-none-any.whl | Python 3 | none | any | Details for matterlab_mfcs-0.2.1-py3-none-any.whl |
Total release size: 25.3 kB
Release files / matterlab_mfcs-0.2.1.tar.gz
| Download URL | matterlab_mfcs-0.2.1.tar.gz |
|---|---|
| Size | 14.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
5a0208b7c2a399096ae7a952c762f852421a9d38d45920e77fb0ef5d9d8d0765
|
|
BLAKE2b-256 checksum How to use checksums |
3810025f001a983ac1da2383ffeed205236025ca55f8c3d81c6bc1232ccccf55
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.10.13
|
Release files / matterlab_mfcs-0.2.1-py3-none-any.whl
| Download URL | matterlab_mfcs-0.2.1-py3-none-any.whl |
|---|---|
| Size | 10.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
4602f09dd1e02a56c8ea27a3e1a90edb558a416f0c56523dcec726b8a7564705
|
|
BLAKE2b-256 checksum How to use checksums |
e2e7ec0c6c0c64975bcf09a36d2954b2e878fef8f79bafa8c29cf1b5c4c1b660
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.10.13
|
Security for matterlab-mfcs 0.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.