# 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)
## 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)
Metadata
Release files for pyfilewatch 0.0.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| pyfilewatch-0.0.3.tar.gz | 5.7 kB | Details |
Built distributions (wheels)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pyfilewatch-0.0.3-py2.py3-none-any.whl | Python 3, Python 2 | none | any | Details |
| pyfilewatch-0.0.3-py2.7.egg | Legacy Egg format | - | - | Details |
Total release size: 26.9 kB
Release files / pyfilewatch-0.0.3.tar.gz
| Download URL | pyfilewatch-0.0.3.tar.gz |
|---|---|
| Size | 5.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
7446c7760d3dd6335e8a8ed7e441e44a42260add7480750820e205bad2a99a15
|
|
BLAKE2b-256 checksum How to use checksums |
72e1f3e932545aa358a16dbf8991e69fa4526c204cab4f80b681acab0f14a806
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / pyfilewatch-0.0.3-py2.py3-none-any.whl
| Download URL | pyfilewatch-0.0.3-py2.py3-none-any.whl |
|---|---|
| Size | 8.0 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
53688308c749ccbd566b0248e1b71cdae7bdf31cb8193bb50c55399f3666612b
|
|
BLAKE2b-256 checksum How to use checksums |
f00f6742e9f05f63e6da7fb7a0696f117cc403b579a8cd503c3b213c480cedbf
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / pyfilewatch-0.0.3-py2.7.egg
| Download URL | pyfilewatch-0.0.3-py2.7.egg |
|---|---|
| Size | 13.1 kB |
| Tags | Egg |
|
SHA-256 checksum How to use checksums |
212076eb8862c126577001a5461b74210587ab2185f3ef638ae5d9e348f843fb
|
|
BLAKE2b-256 checksum How to use checksums |
414ad8934a3973600823821fd59e29a0213c975188761d358078b9fbde2f9158
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |