This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

Watch files and directories in python. Also supports tailing and glob file patterns.

Project Description
# filewatch

## Getting Started

* python setup.py installer
* globtail -x '*.gz' '/var/log/*'

For developers, see filewatch.watch.Watch and filewatch.tail.Tail.

Tested on Linux/x86_64 and Mac OS/X.

All operating systems should be supported. If you run the tests on
another platform, please open a Github issue with the output (even
if it passes, so we can update this document).

## Overview

This project provide file and glob watching.
It is a re-implementation in python of the excellent
ruby-filewatch package
(https://github.com/jordansissel/ruby-filewatch)

Goals:

* to provide a python api to get notifications of file or glob changes

Example code (standalone):

from filewatch.tail import Tail

def func(path, line):
print "%s: %s" % (path, line)
t = Tail()
t.tail("/tmp/test*.log")
t.subscribe(func)
Release History

Release History

This version
History Node

0.0.3

History Node

0.0.2

History Node

0.0.1

Download Files

Download Files

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

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
pyfilewatch-0.0.3-py2.7.egg (13.1 kB) Copy SHA256 Checksum SHA256 2.7 Egg Jan 13, 2015
pyfilewatch-0.0.3-py2.py3-none-any.whl (8.0 kB) Copy SHA256 Checksum SHA256 py2.py3 Wheel Jan 13, 2015
pyfilewatch-0.0.3.tar.gz (5.7 kB) Copy SHA256 Checksum SHA256 Source Jan 13, 2015

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting