Interface to Linux inotify subsystem
Project description
About python-inotify
This is python-inotify, a Python interface to the Linux 2.6 kernel’s inotify subsystem. The inotify subsystem provides an efficient way to let a process watch for changes to files and directories.
This package provides both low- and high-level interfaces to inotify.
The low-level interface is provided through the inotify module. It provides wrappers around the inotify system calls, a read function that returns useful event objects, and relevant constants.
The higher-level interface is more useful, and is provided through the inotify.watcher package. It provides two classes, Watcher and AutoWatcher, which allow you to not worry about file descriptor management, and a third, Threshold, which lets you decide whether you want to read queued events yet.
This package is not pyinotify
To confuse matters a little, there’s another Python inotify interface available, called pyinotify. I wrote python-inotify as a reaction to pyinotify, after trying to use pyinotify a little and finding it lacking. In my admittedly brief experience, pyinotify was buggy and slow to the extent that I stopped trying to fix its problems and wrote a new implementation instead.
You can find pyinotify at http://pyinotify.sourceforge.net/
Notice of copyright and license
This library is free software; you can redistribute it and/or modify it under the terms of version 2.1 of the GNU Lesser General Public License as published by the Free Software Foundation.
This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public License along with this library, in the file named COPYING; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file python-inotify-0.6-test.tar.gz
.
File metadata
- Download URL: python-inotify-0.6-test.tar.gz
- Upload date:
- Size: 19.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7521285f68aacc00ddf103ae5c21d9b7fe2ad80d8e3367e6e7e6a99986abdd40 |
|
MD5 | 5b77f96de061cea2bfffeb950114efec |
|
BLAKE2b-256 | 55f37f35bf5ea24ecb0cd9c5ec92b6105473f3322eb20c856f816b99e2eb42a1 |
File details
Details for the file python-inotify-0.6-test.linux-x86_64.tar.gz
.
File metadata
- Download URL: python-inotify-0.6-test.linux-x86_64.tar.gz
- Upload date:
- Size: 24.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 87933aa44216c7ed3e2998a0dc42e435cb2e759bb205dafd3428ddb6740c9669 |
|
MD5 | 28415492ec2de0312d84debdb0e9a037 |
|
BLAKE2b-256 | 5c196ef0c1f4745f709fe7e0efd4b77371ff7aa4a4813c7d2511e2a947cc7193 |