{ "info": { "author": "Nicolas Dumazet", "author_email": "nicdumz@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Operating System :: MacOS :: MacOS X", "Programming Language :: C", "Programming Language :: Python :: 2.5", "Topic :: Software Development :: Libraries :: Python Modules", "Topic :: System :: Filesystems" ], "description": ".. contents::\n\nIntroduction\n============\npyfsevents is a C extension providing a Python interface for Mac OS X 10.5 and\nlater which allows monitoring for file system events, using FSEvents.\n\npyfsevents uses a callback mechanism: see `Module Documentation`_.\n\nInstallation\n============\n``python setup.py install``\n\nLicense\n=======\nDistributed under the terms of the MIT License.\n\nRequirements\n============\nMac OS X >= 10.5 Leopard\n\nLimitations\n===========\nThread-unsafe: CFRunLoop's and Python threads do not quite interact well\nwhen put together :)\n\nModule Documentation\n====================\npyfsevents uses a callback mechanism.\n\nIt provides two functions:\n\n* ``registerfd(fd, callback[, mask])``\n* ``registerpath(path, callback)``\n\nto register objects to monitor.\n\nAfter registration, ``listen()`` should be called to wait for events.\nThe call is blocking: callbacks are fired on events.\n\n``stop()`` is available to stop the ``listen()`` call. ``stop()`` should be called\nfrom a different thread.\n\nPlease see *examples/* for use cases of the extension.\n\ncallback signatures\n-------------------\nThe ``callback`` arguments passed to ``register*`` functions will be fired on\nevents. These callback functions should be functions callable with two\narguments, as ``listen`` will call these functions with two arguments:\n\n- For File descriptors, ``registerfd`` callbacks will be passed (fd, mask) arguments:\n\n *fd*\n file descriptor which changed and fired the callback.\n \n *mask*\n the POLLIN / POLLOUT mask, similar to the `select.poll `_ module.\n\n- For FSEvents, ``registerpath`` callbacks will be passed (path, recursive) arguments:\n\n *path*\n the path where the event occurred.\n \n *recursive*\n a boolean: if True, the caller should check recursively the directory tree for changes, and not only the specified directory.", "description_content_type": null, "docs_url": null, "download_url": "http://bitbucket.org/nicdumz/fsevents/", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "http://bitbucket.org/nicdumz/fsevents/", "keywords": null, "license": "MIT", "maintainer": null, "maintainer_email": null, "name": "pyfsevents", "package_url": "https://pypi.org/project/pyfsevents/", "platform": "Mac OS X", "project_url": "https://pypi.org/project/pyfsevents/", "project_urls": { "Download": "http://bitbucket.org/nicdumz/fsevents/", "Homepage": "http://bitbucket.org/nicdumz/fsevents/" }, "release_url": "https://pypi.org/project/pyfsevents/0.1/", "requires_dist": null, "requires_python": null, "summary": "Low level interface to FSEvents primitives", "version": "0.1" }, "last_serial": 797227, "releases": { "0.1": [ { "comment_text": "", "digests": { "md5": "edadbf0670ff96077fc05196817084e3", "sha256": "62756435bb3e9951a19cafff31929623b09ba42937314ca98137bc3545289ead" }, "downloads": -1, "filename": "pyfsevents-0.1.tar.gz", "has_sig": false, "md5_digest": "edadbf0670ff96077fc05196817084e3", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 12012, "upload_time": "2009-08-24T22:12:27", "url": "https://files.pythonhosted.org/packages/22/4b/7f3005f807d7f9149b811f3d9ce88763a639dc39b25e9a5d5744767a4f21/pyfsevents-0.1.tar.gz" } ], "0.2b1": [ { "comment_text": "", "digests": { "md5": "41b41d336ed402b9ad1486f441b51de4", "sha256": "3ce90f5c235f413178dfd78e8bef878077193a16ef3b38402a85e06f946c45c1" }, "downloads": -1, "filename": "pyfsevents-0.2b1.tar.gz", "has_sig": false, "md5_digest": "41b41d336ed402b9ad1486f441b51de4", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 11992, "upload_time": "2009-08-25T17:10:29", "url": "https://files.pythonhosted.org/packages/42/ec/41467e26479856f56eb68ce2ffaa948869526af5c0cff6dd773d2eb5371f/pyfsevents-0.2b1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "edadbf0670ff96077fc05196817084e3", "sha256": "62756435bb3e9951a19cafff31929623b09ba42937314ca98137bc3545289ead" }, "downloads": -1, "filename": "pyfsevents-0.1.tar.gz", "has_sig": false, "md5_digest": "edadbf0670ff96077fc05196817084e3", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 12012, "upload_time": "2009-08-24T22:12:27", "url": "https://files.pythonhosted.org/packages/22/4b/7f3005f807d7f9149b811f3d9ce88763a639dc39b25e9a5d5744767a4f21/pyfsevents-0.1.tar.gz" } ] }