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

Module pyinotify

source code

pyinotify


Author: Sebastien Martini

License: GPL 2

Contact: seb@dbzteam.org

Version: 0.8.0q

Classes [hide private]
  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:
  ChainIf
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.
  WatchManagerError
WatchManager Exception.
  WatchManager
Provide operations for watching files and directories.
  Color
  ColorTheme
  NoTheme
  AnsiColorTheme
  BlackAndWhite
  DefaultTheme
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 'None', handle b7fdc6e0 at 83c08ec>
  log = logging.getLogger("pyinotify")
  console_handler = logging.StreamHandler()
  magic_check = re.compile(r'[\*\?\[]')
  ALL_EVENTS = 4095
  color_theme = <DefaultTheme>
  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
  flagc = 'EVENT_FLAGS'
  i = 'max_user_watches'
  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}