A Python API for the rotavaps in the Matter Lab.
Project description
Matter Lab Rotavaps
matterlab_rotavaps provides Python drivers for rotary evaporators used in Matter Lab automation workflows.
The package currently includes:
Rotavap: abstract base class for rotavap interfacesIKARV10: serial driver for the IKA RV10 rotavap
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_rotavaps import IKARV10
rotavap = IKARV10(com_port="COM4", max_rpm=200)
print(rotavap.name)
print(rotavap.rpm)
rotavap.interval = 5
rotavap.timer = 1
rotavap.rpm = 80
rotavap.standby()
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 a COM port:
pytest tests/test_ika_rotavap_real.py --run-real --com-port COM4
You can also provide the port through an environment variable:
set ROTAVAP_COM_PORT=COM4
pytest tests/test_ika_rotavap_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
Project details
Release history Release notifications | RSS feed
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 matterlab_rotavaps-1.1.0.tar.gz.
File metadata
- Download URL: matterlab_rotavaps-1.1.0.tar.gz
- Upload date:
- Size: 9.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.10.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
06d3b204ab4a499e916026917deaeb3851a9812cf71ca458c361d1a05c9c794c
|
|
| MD5 |
7a742701ccb903d62d6802d68e124d54
|
|
| BLAKE2b-256 |
e48b3205edf551ca8adf36664d69e05b843682428f76cadde4d966ad99ce6f31
|
File details
Details for the file matterlab_rotavaps-1.1.0-py3-none-any.whl.
File metadata
- Download URL: matterlab_rotavaps-1.1.0-py3-none-any.whl
- Upload date:
- Size: 6.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.10.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c4a29a640a9a9c51a5f473f53fdd81c005870bf396547a69583a73db2128263b
|
|
| MD5 |
dec9d049fff5d73431c4e2f21cc886b9
|
|
| BLAKE2b-256 |
ffeb891442694b0e0cd6104d14af3df3a933f52283f9ac91a011c62b1b2c896b
|