Mostly posting this for anyone interested in using this or finding issues with it, but the used asyncore library was deprecated and finally removed by Python 3.12. asyncore is used by imported library pyinotify. You (the end user and the repo owner) can fix this by adding pyasyncore to your dependencies.