Skip to main content

DLT log reader

Project description

dltpy - library and utilities for DLT logging

Installing

Requirements (not handled by pip/setuptools)
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-print prints specified .dlt file as plain text. "text-like" payloads are decoded and printed as text, others are repr()ed
  • dltpy-filter filters out unneeded boring messages. Run it with -f IDS:OF YOUR:APPS and enjoy tiny logs that take seconds to load.
  • dltpy-receive demonstrates integration with asyncio and direct use of the native module, like dlt-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.

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

dltpy-0.3.6.9.tar.gz (595.0 kB view details)

Uploaded Source

File details

Details for the file dltpy-0.3.6.9.tar.gz.

File metadata

  • Download URL: dltpy-0.3.6.9.tar.gz
  • Upload date:
  • Size: 595.0 kB
  • Tags: Source
  • Uploaded using 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

File hashes

Hashes for dltpy-0.3.6.9.tar.gz
Algorithm Hash digest
SHA256 628eb33ff2550c5597371628ddea585cbf541113b262c23b8d011edd5f7fb168
MD5 4d79d84e1b6b550467cb384d8aefd85e
BLAKE2b-256 b77bd1e59035cadcd2f2b513d39a61bf79ab46caefd089a43563e731fb0e0420

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page