Skip to main content

MeCom for Python

Project description

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

PyPI 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

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

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/.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

meer_tec-0.1.1.tar.gz (45.7 kB view details)

Uploaded Source

Built Distribution

meer_tec-0.1.1-py3-none-any.whl (31.2 kB view details)

Uploaded Python 3

File details

Details for the file meer_tec-0.1.1.tar.gz.

File metadata

  • Download URL: meer_tec-0.1.1.tar.gz
  • Upload date:
  • Size: 45.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/4.0.2 CPython/3.11.6

File hashes

Hashes for meer_tec-0.1.1.tar.gz
Algorithm Hash digest
SHA256 794da89cf6aa042039109c959f97a598fa4ec7891739ffa0904b19b443d0873b
MD5 dad7b748c2e811ac89e1774b025446ca
BLAKE2b-256 66206ba4c6a50dc65b5e2c892b5ae7f553b16412004e1143cedbdbee59ed0729

See more details on using hashes here.

File details

Details for the file meer_tec-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: meer_tec-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 31.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/4.0.2 CPython/3.11.6

File hashes

Hashes for meer_tec-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 660ad1934eac5fbb8f4cce5c18ce87ca198576ba95f3f4b265e3c8b5e6412b94
MD5 051b3d301d6a645593408986ceaed91a
BLAKE2b-256 451ea289d0a9bb4f6cdd41b2fa77c6ff809c8ed33c41ec5f22367c2294b984ab

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page