{"categories":[{"label":"Monitoring","url":"https://skillfed.io/packages/category/system-monitoring/2"}],"enrichment":{"capability":"A lightweight Python wrapper around the Linux inotify API for monitoring file system events, implemented in pure Python with ctypes and minimal code.","skillfed_tags":["file-monitoring","linux-only"],"use_cases":["Monitor a directory for new files and trigger processing when they appear.","Track modifications to configuration files and reload application state on change.","Build a file watcher tool that reports file system events in real-time.","Implement cleanup logic when watched directories or files are deleted.","Debug file system activity by logging all events on a watched path."],"what_it_does":"inotify-simple is a minimal, pure-Python wrapper around the Linux inotify system call. It exposes inotify's core functionality\u2014initializing a watch, adding/removing watched paths, and reading file system events\u2014through a file-like object and namedtuple event objects, without adding abstraction layers or convenience features. The implementation uses ctypes to call the underlying C library, keeping the code under 100 lines and avoiding compiled dependencies.\n\nYou use it to monitor directories and files for changes (creation, deletion, modification, etc.) on Linux systems. It is designed for developers who want direct, low-level access to inotify semantics rather than a high-level abstraction; you manage watch descriptors yourself and interpret event masks using the provided flags enum.","worth_installing":"Yes, if you need file system event monitoring on Linux and prefer a minimal, dependency-free solution. The pure-Python implementation and explicit design philosophy for long-term stability make it reliable for straightforward use cases. Not suitable for Windows or macOS, and the aging maintenance status is normal by design\u2014choose it when you want simplicity over active feature development."},"id":"inotify-simple","links":{"html":"https://skillfed.io/packages/inotify-simple","md":"https://skillfed.io/packages/inotify-simple.md","pypi":"https://pypi.org/project/inotify-simple/"},"maintenance":{"status":"aging"},"meta":{"latest_release":"2025-08-25","license_spdx":"BSD-2-Clause","license_treatment":"permissive","name":"inotify-simple","python_support":"supports_current","summary":"A simple wrapper around inotify. No fancy bells and whistles, just a literal wrapper with ctypes. Under 100 lines of code!"},"popularity":{"monthly_downloads":1802132,"position":3541,"tier":"top_5000"},"security":{"n_vulnerabilities":0},"version":"2.0.1"}
