Skip to main content

MeCom for Python

Project description

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

PyPI Code style: black

Currently, only communication via ethernet is supported (tested only with Lantronix XPort). Note that only a small subset of MeCom is implemented at this time.

Usage

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)

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.0.4.tar.gz (44.4 kB view details)

Uploaded Source

Built Distribution

meer_tec-0.0.4-py3-none-any.whl (30.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: meer_tec-0.0.4.tar.gz
  • Upload date:
  • Size: 44.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.17

File hashes

Hashes for meer_tec-0.0.4.tar.gz
Algorithm Hash digest
SHA256 8aef5fa89e13888a718aae81782d865b75dbafd705d6765578a0f0bde972b2ba
MD5 061d79ab5b6fb7d9fa8dae3088d6f75a
BLAKE2b-256 6b590b29c4ea04ced7e594c870c933cd609bba5600127e35bbd3d063433ff6d7

See more details on using hashes here.

File details

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

File metadata

  • Download URL: meer_tec-0.0.4-py3-none-any.whl
  • Upload date:
  • Size: 30.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.17

File hashes

Hashes for meer_tec-0.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 1505a261a37cd53969202dffb0b71a0a20b7e04b725cd9aea7a0329e307d03c8
MD5 74efde1235376352bd7e7329f5f352c0
BLAKE2b-256 debb4a48b93a460a532c9986a50a0efbb6fa14b445ef87b47f8ec00f337c7227

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