Skip to content

A generator that yields lines from the most recently modified file matching a glob pattern

Notifications You must be signed in to change notification settings

msabramo/python-globtailer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

python-globtailer

image

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)

About

A generator that yields lines from the most recently modified file matching a glob pattern

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages