Python FAM provides a Python module to use the File Alteration Monitor(ports/devel/fam) in Python.