{ "info": { "author": "Luke McCarthy", "author_email": "luke@iogopro.co.uk", "bugtrack_url": null, "classifiers": [], "description": "fsmonitor - Filesystem Monitoring for Python\n============================================\n\nSupported Platforms\n-------------------\n\n* Linux 2.6 (inotify)\n* Windows (ReadDirectoryChangesW with I/O completion ports)\n* Any other platform (polling)\n\nInstallation\n------------\n\n$ python setup.py install\n\nIntroduction\n------------\n\nThe fsmonitor module provides live filesystem monitoring. It can be used to monitor for\nevents such as file creation, deletion, modification and so on::\n\n from fsmonitor import FSMonitor\n\nThe FSMonitor class manages filesystem watches and is used to receive events. Call the\nadd_dir_watch() method to add a directory watch to the monitor::\n\n m = FSMonitor()\n watch = m.add_dir_watch(\"/dir/to/watch\")\n\nOnce a watch has been added, you can call read_events() to read a list of filesystem\nevents. This is a blocking call and in some cases it might return an empty list, so it\nneeds to be re-called repeatedly to get more events::\n\n while True:\n for evt in m.read_events():\n print evt.action_name, evt.name\n\nThe FSMonitorThread class can be used to receive events asynchronously with a callback.\nThe callback will be called from another thread so it is responsible for thread-safety.\nIf a callback is not specified, the thread will collect events in a list which can be\nread by calling read_events().\n\nMore Details\n------------\n\nSee the example code in the examples directory.\n\nContact Details\n---------------\n\nPlease send any comments or questions to: luke@iogopro.co.uk\n\nPlease report bugs on the `github issue tracker `_.\n\n-- Luke McCarthy\n", "description_content_type": null, "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "http://github.com/shaurz/fsmonitor", "keywords": "", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "fsmonitor", "package_url": "https://pypi.org/project/fsmonitor/", "platform": "", "project_url": "https://pypi.org/project/fsmonitor/", "project_urls": { "Homepage": "http://github.com/shaurz/fsmonitor" }, "release_url": "https://pypi.org/project/fsmonitor/0.1/", "requires_dist": null, "requires_python": "", "summary": "Filesystem monitoring", "version": "0.1" }, "last_serial": 3205132, "releases": { "0.1": [ { "comment_text": "", "digests": { "md5": "46c2fc01401bd6c79cf9eafef33db8c2", "sha256": "397fc47e339ce8aaa6f7a27fe376d4e614579038ff9c61bf28c6733fb1d0c5cd" }, "downloads": -1, "filename": "fsmonitor-0.1.tar.gz", "has_sig": false, "md5_digest": "46c2fc01401bd6c79cf9eafef33db8c2", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6340, "upload_time": "2017-09-26T20:54:47", "url": "https://files.pythonhosted.org/packages/31/15/62befc5ae5117fd4e6b7dfb367e992226080d6d206d27dd2212c03300b2d/fsmonitor-0.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "46c2fc01401bd6c79cf9eafef33db8c2", "sha256": "397fc47e339ce8aaa6f7a27fe376d4e614579038ff9c61bf28c6733fb1d0c5cd" }, "downloads": -1, "filename": "fsmonitor-0.1.tar.gz", "has_sig": false, "md5_digest": "46c2fc01401bd6c79cf9eafef33db8c2", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6340, "upload_time": "2017-09-26T20:54:47", "url": "https://files.pythonhosted.org/packages/31/15/62befc5ae5117fd4e6b7dfb367e992226080d6d206d27dd2212c03300b2d/fsmonitor-0.1.tar.gz" } ] }