Skip to main content

LE core package

CI PyPI Python License

Core Python utilities for Logic Elements:

  • Looger client
  • Proprietary LeBin protocol
  • Proprietary Modbus RTU register map handling - VisualModbus
  • Test frame
  • Logic Elements devices

Install

Requires Python 3.9 or newer.

pip install lecore
pip install --upgrade lecore

Optional extras: lecore[extra] (graphical UI, Word documentation) and lecore[tui] (terminal UI).

Usage

import lecore.Devices.RtdEmul as RE

# Create RTD emulator object and open communication at COM2 (default is COM1)
rtd = RE.RtdEmul()
rtd.open(comport='COM2')

# Read serial number
sn = rtd.read(RE.Reg.FACT_SERIAL_NUMBER)

# Write emulated temperature at output 1
rtd.write(RE.Reg.EMUL_TEMPERATURE_1, 30.5)

New device class (in the directory with the register map): python -m lecore new-device MyDevice, quick guide: python -m lecore guide.

Documentation

License

MIT, see LICENSE.

Metadata

Release files for lecore 0.2.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for lecore 0.2.3
File Size Uploaded Provenance
lecore-0.2.3.tar.gz 87.5 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for lecore 0.2.3
File Interpreter ABI Platform
lecore-0.2.3-py3-none-any.whl Python 3 none any Details

Total release size: 193.8 kB

Release files / lecore-0.2.3.tar.gz

Download URL lecore-0.2.3.tar.gz
Size 87.5 kB
Tags Source
SHA-256 checksum
How to use checksums
0969946c8aa904305933397b0d3e07a5931c1fcced8918819a14c3d2bdc4e8fb
BLAKE2b-256 checksum
How to use checksums
74457f1168b4c848af78b460cb535e5524edc2cdf2f2f13e6d60af38cdfb1df9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.7

Release files / lecore-0.2.3-py3-none-any.whl

Download URL lecore-0.2.3-py3-none-any.whl
Size 106.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
1a46105f3600e220c3696aa9106a6c22c4ed6ae54d06c33b3348b2004fba4f42
BLAKE2b-256 checksum
How to use checksums
776ba05bcae4534e8f1ca166cdc5e924c837a087f3c36a7e33bd98fadab3bfb5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.7

Security for lecore 0.2.3

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.2.3 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page