CTS Environmental Chamber Interface
Interface with a CTS Environmental Chamber.
Installation
$ pip install cts-chamber
Supported Features
- Temperature control
- Humidity control
- RS-232 communication
Usage
from cts_chamber import CTSChamber
chamber = CTSChamber(
serial_device='/dev/ttyUSB0',
)
chamber.set_temperature(30.0)
current, set_point = chamber.get_temperature()
print(f"Current temperture is {current} °C")
print(f"Setpoint is {set_point} °C")
chamber.start()
Running tests on hardware
During normal development and for the CI the unit test suite is executed on a mock
device using pyvisa-mock. It is also possible to run tests on real hardware connected
to your system. Just set the hil flag when running poe
$ uv run poe test_hil
By default it will try to connect to /dev/ttyUSB0, but you can specify a different
device using the --hil_serial_device option:
$ uv run poe test_hil --hil_serial_device /dev/ttyUSB1
Status
Currently, only the RS-232 communication has been tested on the device.
Documentation
Check out the API documentation of the module here.
Feeling like contributing?
Great! Check the Contributing Guide to get started.
Metadata
Release files for cts-chamber 0.3.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 | |
|---|---|---|---|
| cts_chamber-0.3.1.tar.gz | 154.5 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| cts_chamber-0.3.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 167.6 kB
Release files / cts_chamber-0.3.1.tar.gz
| Download URL | cts_chamber-0.3.1.tar.gz |
|---|---|
| Size | 154.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f34a9205e759574e90e5b5758421ba95f3bddefe550ef0a8fec2f76d70dbafac
|
|
BLAKE2b-256 checksum How to use checksums |
3288b5ddcd3bb23ab27247a53645cdadb1ffecc760839e509ea34029f3673e50
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Mar 20, 2026.
Transparency logRelease files / cts_chamber-0.3.1-py3-none-any.whl
| Download URL | cts_chamber-0.3.1-py3-none-any.whl |
|---|---|
| Size | 13.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
caf14c4533e8085991cae74450825a80b5812e832f4b76bc3b37077b78bbdbdc
|
|
BLAKE2b-256 checksum How to use checksums |
1efba797c096c9ea5d9674d2c57977377a9fe5797fc4eda5d1158f2976f25bad
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Mar 20, 2026.
Transparency log