Skip to main content

Logic Elements core utilities

Project description

LE core package

This is package of core python utils for LE containing:

  • Looger
  • Proprietary LeBin protocol
  • Proprietary Modbus RTU register map handling - VisualModbus
  • Test frame

Install

Install or update version

pip install lecore
pip install --upgrade lecore

Import

Import package as usual

import lecore

Looger

Class Looger allows for sending debug data into Development Debug Server (DDS) a.k.a. Looger. Public instance run on https://looger.jablotron.cz

Create instance when default public endpoint is to be used

import lecore
looger = lecore.Looger()

Set device

looger.set_device(0x111CC1234, 0, None)

Send data and log

data = {'data_1': 1, 'data_2': 2}
log = f"Message to log"
looger.send(data, log, 0)

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

lecore-0.1.11.tar.gz (28.9 kB view details)

Uploaded Source

Built Distribution

lecore-0.1.11-py3-none-any.whl (35.3 kB view details)

Uploaded Python 3

File details

Details for the file lecore-0.1.11.tar.gz.

File metadata

  • Download URL: lecore-0.1.11.tar.gz
  • Upload date:
  • Size: 28.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.7.2

File hashes

Hashes for lecore-0.1.11.tar.gz
Algorithm Hash digest
SHA256 633e99e5b52946e8bcf6cd3120b1fea3aedf5243253f58e7d1d5f09b7b8a3dc5
MD5 3bd3656154bb59cbee4c6a0218908b28
BLAKE2b-256 5bea39188689a157a55cdea99fd9d56c67d00f56f052788be87e44ac827aca71

See more details on using hashes here.

File details

Details for the file lecore-0.1.11-py3-none-any.whl.

File metadata

  • Download URL: lecore-0.1.11-py3-none-any.whl
  • Upload date:
  • Size: 35.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.7.2

File hashes

Hashes for lecore-0.1.11-py3-none-any.whl
Algorithm Hash digest
SHA256 358b94adb89bcf2118f6e9fad0f40c21c59483226ce3eb52d44cec2da376e35e
MD5 9fa4cc9633db8af765fcabbbce559fd4
BLAKE2b-256 3fd1f9fee0110e8d4362183df69d213f604b04db78d2d93b26a99e783a5eacd7

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