dltpy - library and utilities for DLT logging
Installing
Requirements (not handled by pip/setuptools)
- native build environment:
python3-dev,cmakeand a decent c++ compiler supporting c++17. fmtlibfor native logging and formatting exceptions
Installation
Once the requirements mentioned above are ready, you can install dltpy with pip just as any other python package:
- current master from git:
pip install --user git+https://github.com/Equidamoid/dltpy.git
- last version from pypi:
pip install --user dltpy
- an editable "developer" mode:
git clone https://github.com/Equidamoid/dltpy.git
pip install --user -e dltpy
Using
There are 3 commandline utilities that demonstrate usage of the library:
dltpy-printprints specified .dlt file as plain text. "text-like" payloads are decoded and printed as text, others arerepr()eddltpy-filterfilters out unneeded boring messages. Run it with-f IDS:OF YOUR:APPSand enjoy tiny logs that take seconds to load.dltpy-receivedemonstrates integration with asyncio and direct use of the native module, likedlt-receive. The main difference is that it gracefully reconnects if, for example, your device reboots.
Please note that non-verbose messages are skipped by DltFile since it has no way of decoding the payload.
Metadata
Release files for dltpy 0.3.6.9
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| dltpy-0.3.6.9.tar.gz | 595.0 kB | Without provenance | Details for dltpy-0.3.6.9.tar.gz |
Release files / dltpy-0.3.6.9.tar.gz
| Download URL | dltpy-0.3.6.9.tar.gz |
|---|---|
| Size | 595.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
628eb33ff2550c5597371628ddea585cbf541113b262c23b8d011edd5f7fb168
|
|
BLAKE2b-256 checksum How to use checksums |
b77bd1e59035cadcd2f2b513d39a61bf79ab46caefd089a43563e731fb0e0420
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.4.0 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.7.7
|
Security for dltpy 0.3.6.9
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.