skillfed

pyobjc-framework-FSEvents

Wrappers for the framework FSEvents on macOS

pyobjc-framework-fsevents v12.2.2 725.0K downloads/30d#5,221 on PyPI803
Permissive license MIT Active released

What it is and what it does

This package wraps macOS's native FSEvents framework, exposing it to Python through PyObjC. FSEvents is the system's native mechanism for observing filesystem changes at scale, and unlike polling-based approaches, it remains efficient even when your application is suspended or backgrounded. The wrapper translates between Python and Objective-C, letting you call FSEvents functions directly from Python code.

You use it when you need to build macOS tools that react to file or directory changes—file watchers, backup utilities, development tools, or system monitors. The package itself provides no high-level API; instead, it gives you direct access to Apple's FSEvents framework, so you'll need to consult both Apple's documentation and PyObjC's translation guide to write working code. It's a thin binding layer, not an abstraction.

Use it for:

  • Build a file watcher that triggers actions when files in a monitored directory change without polling
  • Implement a backup or sync tool that responds to filesystem events on macOS
  • Create a development tool that reloads or rebuilds when source files are modified
  • Monitor system directories for security or auditing purposes on macOS
  • Integrate filesystem monitoring into a larger PyObjC-based macOS application

Worth the install?

AI-flagged interpretation of the facts on this page — verify before relying

Provides Python bindings to macOS's FSEvents framework, allowing you to monitor filesystem changes reliably even when your program is not running continuously.

Yes, if you are building a macOS application that needs filesystem monitoring and you are already using PyObjC or are comfortable reading Apple's framework documentation. The package is actively maintained, has no known vulnerabilities, and provides direct access to a robust native API. No if you need cross-platform file watching or prefer higher-level abstractions—this is a low-level binding to macOS-only functionality.

Install

pyobjc-framework-fsevents on PyPI

pip

pip install pyobjc-framework-fsevents

uv

uv add pyobjc-framework-fsevents

poetry

poetry add pyobjc-framework-fsevents

Installing pyobjc-framework-FSEvents

Before you install

Medium install friction due to platform-specific wheels (macOS only) and two PyObjC dependencies. Actively maintained with a recent release (3 days old) and steady repository activity.

License in practice

MIT license permits commercial and private use with minimal restrictions; you may use, modify, and distribute this package freely provided you retain the license notice.

Quickstart

pip install pyobjc-framework-fsevents

from FSEvents import FSEventStreamCreate
# Use FSEvents API via PyObjC bindings to monitor filesystem

macOS only; requires Python 3.10 or later; depends on pyobjc-core and pyobjc-framework-Cocoa

Verify before relying

  • Specific code examples or tutorials for common monitoring patterns beyond Apple's documentation
  • Performance characteristics when monitoring large directory trees or high-frequency changes
  • Whether the package works reliably with Python's free-threading mode (3.13+)

Package facts

License MIT (permissive)
Python support supports the current Python release (>=3.10)
Install friction medium — platform-specific wheel
Runtime dependencies 2 — pyobjc-core, pyobjc-framework-Cocoa
Maintenance actively maintained — 3 days since the last release
Last repo commit
First released
Downloads 725,026/month — #5,221 on PyPI (30-day window, as of 2026-08-14)
Known vulnerabilities none known (OSV.dev, checked 2026-08-14)

Evidence: pyobjc_framework_fsevents-12.2.2-cp310-cp310-macosx_10_9_universal2.whl; pyobjc_framework_fsevents-12.2.2-cp311-cp311-macosx_10_9_universal2.whl; pyobjc_framework_fsevents-12.2.2-cp312-cp312-macosx_10_13_universal2.whl; pyobjc_framework_fsevents-12.2.2-cp313-cp313-macosx_10_13_universal2.whl; pyobjc_framework_fsevents-12.2.2-cp313-cp313t-macosx_10_13_universal2.whl; pyobjc_framework_fsevents-12.2.2-cp314-cp314-macosx_10_15_universal2.whl; pyobjc_framework_fsevents-12.2.2-cp314-cp314t-macosx_10_15_universal2.whl; pyobjc_framework_fsevents-12.2.2-cp315-cp315-macosx_10_15_universal2.whl; pyobjc_framework_fsevents-12.2.2-cp315-cp315t-macosx_10_15_universal2.whl

Keywords: PyObjC, FSEvents

Development Status :: 5 - Production/StableEnvironment :: ConsoleEnvironment :: MacOS X :: CocoaIntended Audience :: DevelopersNatural Language :: EnglishOperating System :: MacOS :: MacOS XProgramming Language :: Objective CProgramming Language :: PythonProgramming Language :: Python :: 3Programming Language :: Python :: 3 :: OnlyProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14Programming Language :: Python :: 3.15Programming Language :: Python :: Free Threading :: 3 - StableProgramming Language :: Python :: Implementation :: CPythonTopic :: Software Development :: Libraries :: Python ModulesTopic :: Software Development :: User Interfaces

Tags

macos filesystem monitoringfsevents python bindingswatch filesystem changes macpyobjc fsevents wrappermacos file system eventsreliable file change detectioncocoa filesystem observer
macos-onlyfilesystem-monitoringpyobjc-binding

More Python Modules packages

idna

Converts domain names between Unicode and…

permissive · top 100 on PyPI

setuptools

Setuptools is a Python build backend and…

permissive · top 100 on PyPI

PyYAML

PyYAML parses and emits YAML 1.1 data format,…

permissive · top 100 on PyPI

pydantic

Pydantic validates Python data structures…

permissive · top 100 on PyPI

annotated-types

Provides reusable metadata objects for use with…

permissive · top 100 on PyPI

typing-inspection

Provides runtime tools to inspect and…

permissive · top 100 on PyPI

pyobjc-framework-FSKit

Provides Python bindings to macOS's FSKit…

permissive · top 15,000 on PyPI

watchdog

Watchdog monitors file system events across…

permissive · top 1,000 on PyPI

pyobjc-framework-NetFS

Provides Python bindings to macOS's NetFS…

permissive · top 15,000 on PyPI

pyeventsystem

pyeventsystem provides event-driven middleware…

permissive · top 15,000 on PyPI

pywatchman

pywatchman is a Python client for Watchman, a…

permissive · top 15,000 on PyPI

pyobjc-framework-NotificationCenter

Provides Python bindings to macOS's…

permissive · top 15,000 on PyPI

pyobjc-framework-FileProvider

Provides Python bindings to macOS's…

permissive · top 15,000 on PyPI

pyobjc-framework-EventKit

Provides Python bindings to macOS's EventKit…

permissive · top 15,000 on PyPI

pyobjc-framework-UserNotifications

Provides Python bindings to macOS's…

permissive · top 15,000 on PyPI

pyobjc-framework-SystemExtensions

Provides Python bindings to macOS's…

permissive · top 15,000 on PyPI