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

Uploaded Source

Built Distribution

lecore-0.1.12-py3-none-any.whl (42.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: lecore-0.1.12.tar.gz
  • Upload date:
  • Size: 34.2 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.12.tar.gz
Algorithm Hash digest
SHA256 47a8eab308ece6b528fbbade422b3a866d994bf2a8471a31c5502214bb8124ba
MD5 4f1078ca01fce9c6671a560ac6ee9a26
BLAKE2b-256 9e3099290d6a98d732def7b5f19a999a45c5a2285bb2a4bb6193c0d1e9f44166

See more details on using hashes here.

File details

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

File metadata

  • Download URL: lecore-0.1.12-py3-none-any.whl
  • Upload date:
  • Size: 42.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.12-py3-none-any.whl
Algorithm Hash digest
SHA256 bc3024fca45729fa07f6fa45e4dc2363582012c1195a8f1f7735acfa6911b793
MD5 a716b1caa34997c1c09bcc1da5c65764
BLAKE2b-256 167fa01fbeef001aeb9b12fabace47bbf5b86d559e83a0e6c0a5a937912a8ca9

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