Why does Python not have a standard library module for just basic filesystem change watching?

For some reason all the tools I can find to do this seem to be gigantic and have C components?

Follow

@alexbuzzbee Probably because most of the standard library predates both Linux's inotify interface and PyPI and, since then, there's been a strong push to rely more on PyPI and pip so the standard library is less likely to accumulate more API design oopses like urllib and urllib2.

This looks like the closest thing to what you're asking for:

pypi.org/project/inotify-simpl

Sign in to participate in the conversation
Qoto Mastodon

QOTO: Question Others to Teach Ourselves
An inclusive, Academic Freedom, instance
All cultures welcome.
Hate speech and harassment strictly forbidden.