$npx skillfedfor your agent

asyncinotify

'A simple optionally-async python inotify library, focused on simplicity of use and operation, and leveraging modern Python features

Worth itPyPI LibrariesReleased Apr 2026582.7K downloads / moMPL-2.0Pure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — asyncinotify-4.4.4-py3-none-any.whl
v4.4.4 · released 2026-04-13 · Python <4,>=3.6

Yes. Zero dependencies, active maintenance, no known vulnerabilities, and a clean async API make it the right choice for any Python project needing inotify on Linux. The MPL-2.0 license is permissive for library use. Install friction is negligible and the codebase is intentionally simple to understand and modify.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires Linux with inotify support; FreeBSD 15+ and z/OS 2.5+ have partial/experimental support.
  • Low friction: pure Python wheel with zero runtime dependencies.
  • Actively maintained as of 2026-05-28 with regular releases.

License · maintenance · safety

MPL-2.0 (copyleft) — MPL-2.0 copyleft license explicitly compatible with secondary licenses; you can use it as a library without license concerns unless your own license is incompatible.

last release 2026-04-13 (123 days) · last repo commit 2026-05-28 · 47 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 582,656 downloads/mo, #5,899 on PyPI

Verify before relying

pip install asyncinotify

from asyncinotify import Inotify, Mask
import asyncio

async def main():
    with Inotify() as inotify:
        inotify.add_watch('/tmp', Mask.CREATE | Mask.DELETE)
        async for event in inotify:
            print(event)

asyncio.run(main())
  • Whether ctypes-based inotify binding has performance overhead compared to C extensions in high-event-rate scenarios.
  • Exact scope of FreeBSD 15+ and z/OS 2.5+ support and whether they are tested in CI.
Same gist for agents: .md · .json

What it is and what it does

asyncinotify wraps the Linux inotify API into a straightforward async/sync Python interface using ctypes, with no external C dependencies. It exposes filesystem events (file creation, deletion, modification, attribute changes, moves) through an async iterator or synchronous polling, with paths represented as pathlib Path objects and event masks as Python IntFlags for readable introspection.

The library prioritizes simplicity and Pythonic design over feature bloat: the core Inotify class handles the essential watch-and-iterate pattern, while optional features like recursive directory watching are implemented as separate classes. It caches events in bulk for minor performance gains and supports Python 3.6 through 3.14, making it suitable for long-running daemons, build tools, and development utilities that need to react to filesystem changes.

Use it for

  • Monitor a directory for new files and trigger processing pipelines when they arrive.
  • Watch configuration files and reload application state when they change.
  • Implement a file-based job queue or watch folder system.
  • Build development tools that rebuild or restart services on source code changes.
  • Track filesystem activity for audit or debugging purposes in long-running services.

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

Worth it

Yes.

Zero dependencies, active maintenance, no known vulnerabilities, and a clean async API make it the right choice for any Python project needing inotify on Linux. The MPL-2.0 license is permissive for library use. Install friction is negligible and the codebase is intentionally simple to understand and modify.

Install

asyncinotify on PyPI

Before you install

Low friction: pure Python wheel with zero runtime dependencies. Actively maintained as of 2026-05-28 with regular releases.

Requires Linux with inotify support; FreeBSD 15+ and z/OS 2.5+ have partial/experimental support.

License in practice

MPL-2.0 copyleft license explicitly compatible with secondary licenses; you can use it as a library without license concerns unless your own license is incompatible.

Quickstart

pip install asyncinotify

from asyncinotify import Inotify, Mask
import asyncio

async def main():
    with Inotify() as inotify:
        inotify.add_watch('/tmp', Mask.CREATE | Mask.DELETE)
        async for event in inotify:
            print(event)

asyncio.run(main())

Verify before relying

  • Whether ctypes-based inotify binding has performance overhead compared to C extensions in high-event-rate scenarios.
  • Exact scope of FreeBSD 15+ and z/OS 2.5+ support and whether they are tested in CI.

Package facts

LicenseMPL-2.0 copyleft
Python supportSupports the current Python release <4,>=3.6
Install frictionLow. Pure-Python wheel
Runtime dependenciesNone
MaintenanceActively maintained 123 days since the last release
Last repo commit
First released
Downloads582,656 / month, #5,899 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Development Status :: 6 - MatureFramework :: AsyncIOIntended Audience :: DevelopersOperating System :: POSIX :: BSD :: FreeBSDOperating System :: POSIX :: LinuxProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14Programming Language :: Python :: 3.6Programming Language :: Python :: 3.7Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9Topic :: Software Development :: LibrariesTopic :: Software Development :: Libraries :: Python Modules

Evidence: asyncinotify-4.4.4-py3-none-any.whl

Tags

Capabilities
async filesystem monitoringinotify python libraryfile system event watchinglinux file change detectionasync file watcherdirectory monitoring asyncfilesystem event listener
Topics
async-iofilesystem-eventslinux-native
PyPI keywords
asyncinotify

Let your AI agent find packages like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.

wish › “async filesystem monitoring”

  • asyncinotifyProvides async and sync Python bindings to Linux inotify for…
  • dirsqlWatches a local directory, indexes structured files into an in-memory…
  • morefsmorefs provides fsspec-based filesystem implementations including…

Give your agent the search over MCP, or paste the wish link into any chat.

More Libraries packages

urllib3 Worth it
PyPI · Libraries · released May 2026

urllib3 is an HTTP client library that provides thread-safe connection pooling, SSL/TLS verification, multipart file uploads, request retries, compression support, and proxy handling for Python applications.

MITpure Python · 3.10+
1.8Bdownloads / mo
requests Worth it
PyPI · Libraries · released May 2026

Requests is a Python HTTP library that simplifies sending HTTP/1.1 requests with automatic handling of headers, authentication, cookies, and response parsing.

Apache-2.0pure Python · 3.10+
1.8Bdownloads / mo
pluggy Worth it
PyPI · Libraries · released May 2025

Pluggy provides a plugin system that lets you define hook specifications and register implementations to be called in sequence, enabling extensible Python applications without tight coupling.

Install it if you're building an extensible application or framework.

MITpure Python · 3.9+aging
1.3Bdownloads / mo
python-dateutil Worth it
PyPI · Libraries · released Mar 2024

Provides parsing, arithmetic, and recurrence rule computation for dates and times, with timezone support and iCalendar RFC compliance.

Install it if you need to parse flexible date strings, compute relative dates, handle timezones, or work with recurrence rules—it's the de facto choice for these tasks.

Apache-2.0pure Python
1.2Bdownloads / mo
six With conditions
PyPI · Libraries · released Dec 2024

Six provides utility functions to write Python code that runs on both Python 2.7 and Python 3.3+, smoothing over language differences between the two versions.

MITpure Python
1.2Bdownloads / mo
pytest Worth it
PyPI · Libraries · released Jun 2026

pytest is a testing framework that lets you write test functions using plain assert statements and automatically discovers and runs them, with detailed failure reporting.

MITpure Python · 3.10+
1.1Bdownloads / mo

See also inotify-simple · pyinotify · inotify · watchdog · watchgod · pywatchman · watchfiles · django-watchfiles · pyobjc-framework-FSEvents · pytest-watcher