# seb-m/pyinotify

Monitoring filesystems events with inotify on Linux.

Repository: https://github.com/seb-m/pyinotify
Canonical: https://ross.abutalabs.com/products/pyinotify
Homepage: http://github.com/seb-m/pyinotify/wiki
Language: Python
License: MIT
License Family: permissive
Last push: 2024-07-02T14:14:00+00:00

## Health v2 (maintenance only)
Score: 32/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 0, release rhythm 35, longevity 100
- inputs: {"age_days": 5849, "days_push": 792, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 2304, forks 374 (observed 2026-08-28T04:06:35.668668+00:00)

## What it is
Pyinotify is a Python library for monitoring filesystem events on Linux using the kernel's inotify subsystem. It wraps the inotify system calls and provides an event-driven API for watching files and directories.

## Use cases
- watch a directory for file changes in python
- trigger actions when files are created or modified
- monitor config file changes on linux
- react to filesystem events in real time
- build a file sync or backup watcher
- detect when a log file is updated

## When to choose
- you need filesystem event monitoring on Linux in Python
- you want a lightweight wrapper around inotify
- you need to support both Python 2 and 3

## When to avoid
- you need cross-platform file watching (macOS/Windows)
- you want an actively developed library with modern features
- you are not on Linux kernel 2.6.13 or newer

## Facets
- artifact type: library
- maturity: maintenance
- function: file-system, monitoring
- domain: developer-tools, operating-systems
- platform: python
- tags: inotify, filesystem-watcher, file-monitoring, event-handling, automation, linux

## Member repositories
- seb-m/pyinotify (main) score 32

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:06:35.668668+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T02:39:43.932398+00:00, confidence not recorded.
  - readme: https://github.com/seb-m/pyinotify (fetched 2026-08-28T04:06:35.668668+00:00, sha a493a202c4ab)
  - homepage: http://github.com/seb-m/pyinotify/wiki (fetched 2026-08-29T10:20:09.164110+00:00, sha 80d78ae448ae)
  - registry_pypi: https://pypi.org/pypi/pyinotify/json (fetched 2026-08-29T10:20:09.166970+00:00, sha 791e6a857031)
- Data as of 2026-08-30T08:39:29.467469+00:00.
