Skip to main content

PyTAILer

PyTAILer is very simple implementation of the unix shell utility tail.

from pytailer import fail_tail

with fail_tail("some_file.txt", lines=10) as tail:
    for line in tail:  # be careful: infinite loop!
        print(line)

Of course, you can use async version:

import asyncio

from pytailer import async_fail_tail


async def main():
    with async_fail_tail("some_file.txt", lines=10) as tail:
        async for line in tail:  # be careful: infinite loop!
            print(line)


asyncio.run(main())  # python 3.7+ 

Metadata

Release files for pytailer 0.1.0

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

Source distribution (sdist)

Source distribution for pytailer 0.1.0
File Size Uploaded
pytailer-0.1.0.tar.gz 2.9 kB Details

Built distribution (wheel)

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

Total release size: 6.2 kB

Release files / pytailer-0.1.0.tar.gz

Download URL pytailer-0.1.0.tar.gz
Size 2.9 kB
Tags Source
SHA-256 checksum
How to use checksums
d51fae0da0d81e841358556352c29fb8d583d01ce2c87ab313e8e398402109db
BLAKE2b-256 checksum
How to use checksums
51174ee1dee82669a33ecee6b56a5b4984d024373b636d4cce7130026489cc6c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.1.12 CPython/3.6.8 Linux/5.4.0-73-generic

Release files / pytailer-0.1.0-py3-none-any.whl

Download URL pytailer-0.1.0-py3-none-any.whl
Size 3.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
016f1d4052095d8d3c63503bc5d4e5667125c4fe4d65bfa4a8246d5fd255d084
BLAKE2b-256 checksum
How to use checksums
9341f00a0379bbae58fbb17bf8882a42d9776da3c1a535c6ce65724baa608f4e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.1.12 CPython/3.6.8 Linux/5.4.0-73-generic

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files

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