inotify-simple
inotify_simple is a simple Python wrapper around inotify. No fancy bells
and whistles, just a literal wrapper with ctypes. Only ~100 lines of
code!
inotify_init1() is wrapped as a file-like object, INotify(), holding the
inotify file descriptor. INotify().read() reads available data from the
file descriptor and returns events as namedtuple objects after unpacking
them with the struct module. inotify_add_watch() and inotify_rm_watch()
are wrapped with no changes at all, taking and returning watch
descriptor integers that calling code is expected to keep track of
itself, just as one would use inotify from C.
Maintained by: Lockywolf
Keywords: python,inotify,wrapper
ChangeLog: python3-inotify-simple
Homepage:
https://pypi.org/project/inotify-simple/
Download SlackBuild:
python3-inotify-simple.tar.gz
python3-inotify-simple.tar.gz.asc (FAQ)
(the SlackBuild does not include the source)
Individual Files: |
README |
python3-inotify-simple.SlackBuild |
python3-inotify-simple.info |
slack-desc |
© 2006-2024 SlackBuilds.org Project. All rights reserved.
Slackware® is a registered trademark of
Patrick Volkerding
Linux® is a registered trademark of
Linus Torvalds