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

Uploaded Source

Built Distribution

meer_tec-0.0.2-py3-none-any.whl (18.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: meer_tec-0.0.2.tar.gz
  • Upload date:
  • Size: 33.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.10.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.10.2

File hashes

Hashes for meer_tec-0.0.2.tar.gz
Algorithm Hash digest
SHA256 bd89bab673c64c78e7814a6b1723f67703f01061bee0788d4ad920163296dd5d
MD5 0f89d9b22853d5baeb880ac6cc9aef70
BLAKE2b-256 072ee0f1cfd7678de0fdb3b45627c4ff2139609a6ef04edfc6c226de6d9e50fd

See more details on using hashes here.

File details

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

File metadata

  • Download URL: meer_tec-0.0.2-py3-none-any.whl
  • Upload date:
  • Size: 18.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.10.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.10.2

File hashes

Hashes for meer_tec-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 79d0de2cf53d890dd89c6fd5c6662090a2ecd980201ec65c7b0bc9edc51473d6
MD5 ec2a1eb03201b63e41565a8aa21c577a
BLAKE2b-256 4e31d4cccc6f61d7bee17bf4b0bb715894e6c17ce9debd463e01f590c91d0eb5

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