Logic Elements core utilities
Project description
LE core package
This is package of core python utils for LE containing:
- Looger
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
looger = 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)
Build [note to myself]
In command line (not venv) run:
Update PIP, build, twine
python -m pip install --upgrade build
python -m pip install --upgrade pip
python -m pip install --upgrade twine
Run Build
py -m build
Upload package to pypi.org server
py -m twine upload dist/*
Project details
Release history Release notifications | RSS feed
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.3.tar.gz
(24.1 kB
view details)
Built Distribution
lecore-0.1.3-py3-none-any.whl
(29.0 kB
view details)
File details
Details for the file lecore-0.1.3.tar.gz
.
File metadata
- Download URL: lecore-0.1.3.tar.gz
- Upload date:
- Size: 24.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.7.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b0086f3ebbab356c350e156203122e187327c71dce51cc55e699c3b9a307530a |
|
MD5 | 327b934678b79ea776e16ef0481fd597 |
|
BLAKE2b-256 | 81879e548198efcfd018d72eac3f482346cf8ad94baa876971afdc54812c5399 |
File details
Details for the file lecore-0.1.3-py3-none-any.whl
.
File metadata
- Download URL: lecore-0.1.3-py3-none-any.whl
- Upload date:
- Size: 29.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.7.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8f8b284b1db56541233460986d9e11f7a408bed311f89978ec2e6ed3508edf3f |
|
MD5 | 61e700fe1171e577fcfa77b6ba10dce5 |
|
BLAKE2b-256 | 356e15baf1e69a4f2d21ca4008f505dc60ab6e2a5c282e04ac3162a3b0c14c34 |