Skip to main content

Python logtail

Python implementation of the logtail tool for use in python projects to process log file lines that have not been read.

Usage

#!/usr/bin/env python3

from logtail import logtail

log = logtail("file.log")

for line in log.readline():
    if line:
        print(line.rstrip())

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pylogtail-0.9.2.tar.gz (2.6 kB view details)

Uploaded Source

File details

Details for the file pylogtail-0.9.2.tar.gz.

File metadata

  • Download URL: pylogtail-0.9.2.tar.gz
  • Upload date:
  • Size: 2.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.3.1 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.8.5

File hashes

Hashes for pylogtail-0.9.2.tar.gz
Algorithm Hash digest
SHA256 e67180e5123f95b57c349b6b12ce242bd01abfb489de04634c17d195e1f56a2f
MD5 b9e204ca6e5e2757a82ed1b0206880f8
BLAKE2b-256 3e4eda8e2085b78bac3ce5655d802058fb795e3c79ac8e9eae7bbb1573fc9853

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.9.2 This release

1 file

0.9.1

1 file

Supported by

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