Module pyinotify
[hide private]
[frames] | no frames]

Module pyinotify

source code

pyinotify


Author: Sebastien Martini

License: GPLv2+

Contact: seb@dbzteam.org

Version: 0.8.6

Classes [hide private]
  PyinotifyError
Indicates exceptions raised by a Pyinotify class.
  UnsupportedPythonVersionError
Raised for unsupported Python version.
  UnsupportedLibcVersionError
Raised for unsupported libc version.
  SysCtlINotify
Access (read, write) inotify's variables through sysctl.
  EventsCodes
Set of codes corresponding to each kind of events.
  _Event
Event structure, represent events raised by the system.
  _RawEvent
Raw event, it contains only the informations provided by the system.
  Event
This class contains all the useful informations about the observed event.
  ProcessEventError
ProcessEventError Exception.
  _ProcessEvent
Abstract processing event class.
  _SysProcessEvent
There is three kind of processing according to each event:
  ProcessEvent
Process events objects, can be specialized via subclassing, thus its behavior can be overriden:
  ChainIfTrue
Makes conditional chaining depending on the result of the nested processing instance.
  Stats
  NotifierError
Notifier Exception.
  Notifier
Read notifications, process events.
  ThreadedNotifier
This notifier inherits from threading.Thread for instantiating a separate thread, and also inherits from Notifier, because it is a threaded notifier.
  Watch
Represent a watch, i.e.
  ExcludeFilter
ExcludeFilter is an exclusion filter.
  WatchManagerError
WatchManager Exception.
  WatchManager
Provide operations for watching files and directories.
  Color
Functions [hide private]
 
iglob(pathname) source code
 
glob1(dirname, pattern) source code
 
glob0(dirname, basename) source code
 
has_magic(s) source code
 
command_line() source code
Variables [hide private]
  __author__ = 'seb@dbzteam.org (Sebastien Martini)'
  LIBC = <CDLL 'libc.so.6', handle 2acf4c3599a0 at 2acf4f0f5e90>
  LIBC_VERSION = '2.9'
  log = logging.getLogger("pyinotify")
  console_handler = logging.StreamHandler()
  magic_check = re.compile(r'[\*\?\[]')
  ALL_EVENTS = 4095
  IN_ACCESS = 1
  IN_ATTRIB = 4
  IN_CLOSE_NOWRITE = 16
  IN_CLOSE_WRITE = 8
  IN_CREATE = 256
  IN_DELETE = 512
  IN_DELETE_SELF = 1024
  IN_DONT_FOLLOW = 33554432
  IN_IGNORED = 32768
  IN_ISDIR = 1073741824
  IN_MASK_ADD = 536870912
  IN_MODIFY = 2
  IN_MOVED_FROM = 64
  IN_MOVED_TO = 128
  IN_MOVE_SELF = 2048
  IN_ONESHOT = 2147483648
  IN_ONLYDIR = 16777216
  IN_OPEN = 32
  IN_Q_OVERFLOW = 16384
  IN_UNMOUNT = 8192
  __package__ = None
  attrname = 'max_user_watches'
  flagc = 'EVENT_FLAGS'
  max_queued_events = <max_queued_events=16384>
  max_user_instances = <max_user_instances=128>
  max_user_watches = <max_user_watches=8192>
  name = 'IN_UNMOUNT'
  val = 8192
  valc = {'IN_IGNORED': 32768, 'IN_Q_OVERFLOW': 16384, 'IN_UNMOU...
Variables Details [hide private]

valc

Value:
{'IN_IGNORED': 32768, 'IN_Q_OVERFLOW': 16384, 'IN_UNMOUNT': 8192}