A generator that yields lines from the most recently modified file matching a glob pattern
Python
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
globtailer
.gitignore
.travis.yml
README.rst
setup.py
tox.ini

README.rst

python-globtailer

https://secure.travis-ci.org/msabramo/python-globtailer.png

The main class is FileTailer, a generator that yields lines from the most recently modified file matching a glob pattern.

Example:

from globtailer import FileTailer

tailer = FileTailer("/path/to/*.log")

for line in tailer:
    print(line)