Skip to main content

MeerTEC -- Python implemenation of the MeCom interface for Meerstetter TECs.

PyPI Test Status Test Coverage Code style: black

Both communication via USB and Lantronix XPort are supported.

Note that not all commands of MeCom are implemented at this time. Feel free to submit more commands via a Pull Request.

Usage

Connection

USB

from meer_tec.interfaces import USB
from meer_tec.tec import TEC
usb = USB("COM3")
tec = TEC(usb, 0)

XPort

Create a connection to the XPort and pass it as an argument to one of the TECs

from meer_tec.interfaces import USB
from meer_tec.tec import TEC
xp = XPort('192.168.1.123')
tec3 = TEC(xp, 3)

Commands

The commands are implemented as properties. For example the target temperature can be read by simply using

tec3.target_temperature
23.0

tec3.target_temperature = 23.1

Authors

License

MeerTEC -- Python implemenation of the MeCom interface for Meerstetter TECs.

Copyright © 2020-2023 B. Leykauf

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program. If not, see https://www.gnu.org/licenses/.

Metadata

Release files for meer-tec 1.0.0

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

Source distribution (sdist)

Source distribution for meer-tec 1.0.0
File Size Uploaded
meer_tec-1.0.0.tar.gz 47.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for meer-tec 1.0.0
File Interpreter ABI Platform
meer_tec-1.0.0-py3-none-any.whl Python 3 none any Details

Total release size: 80.1 kB

Release files / meer_tec-1.0.0.tar.gz

Download URL meer_tec-1.0.0.tar.gz
Size 47.8 kB
Tags Source
SHA-256 checksum
How to use checksums
7e526705020ffa62d71040ef4a9fb6cb9b129baf7515a5a5fbb51891a161721c
BLAKE2b-256 checksum
How to use checksums
6226501ebf43384aab4212aa27228e8bca43e234d0178978c7d400f06ef6e662
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/4.0.2 CPython/3.11.6

Release files / meer_tec-1.0.0-py3-none-any.whl

Download URL meer_tec-1.0.0-py3-none-any.whl
Size 32.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e65d05e3a21bc140c356728e2148b8dc1b8e6fbb0556d0c6ef702563ca7967fb
BLAKE2b-256 checksum
How to use checksums
ae6db0ee6e2b9344e3ddb0779155c19c3abe17be865e2242e1da291549d80cc4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/4.0.2 CPython/3.11.6

Release history Release notifications | RSS feed

This release

1.0.0 This release

2 release files

0.1.1

2 release files

0.1.0

2 release files

0.0.4

2 release files

0.0.3

2 release files

0.0.2

2 release files

0.0.1

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