pytyler

a simple Python tail


License
Apache-2.0
Install
pip install pytyler==0.1.5

Documentation

TYLER

Tyler is just a simple "tail -f" command written in Python that can be used like a module to be integrated in own projects or as a standalone command from the command line (expecially useful on Windows where tail command does not exists).

INSTALL

To install Tyler simply use pip

$ pip install pytyler

USAGE

From the command line

c:\tyler prova.txt

As a module

import tyler

my_file = tyler.Tyler('filename_to_be_tailed.log')
while True:
    for line in my_file:
        # insert here whatever you whatn to do with the read line