{ "info": { "author": "Hayato Tominaga", "author_email": "takemehighermore@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "License :: OSI Approved :: MIT License", "Programming Language :: Python :: 2.7", "Topic :: Utilities" ], "description": "JustWatch\n=========\n\n|forthebadge|\n\n|Build Status| |Coverage Status|\n\n\ud83d\udcc4 Overview\n---------------------------\n\nPython utility to watch the **file modification**. There are similar\nlibraries: `pyinotify `__,\n`watchdog `__. These libraries\nwatch the file system event, but JustWatch is supported modification **only**.\n\n\u270f\ufe0f Usage\n---------------\n\nquick start\n~~~~~~~~~~~\n\nFirst of all, import classes from ``justwatch``:\n\n.. code:: python\n\n from justwatch import WatchManager, Observer\n\nmake ``WatchManager`` instance and add file or directory:\n\n.. code:: python\n\n manager = WatchManager()\n manager.add_file(\"./README.md\")\n manager.add_dir(\"./tests\")\n\nmake ``Observer`` instance and set callback:\n\n.. code:: python\n\n observer = Observer(manager)\n\n @observer.set_callback\n def callback(item):\n print \"Catch the modification of '{0}'\".format(item.path)\n\nand run ``observer.watch``\n\n.. code:: python\n\n observer.watch()\n\nexample\n~~~~~~~\n\n\ud83d\udce5 Installation\n--------------------------\n\n::\n\n $ git clone git@github.com:alice1017/JustWatch.git\n $ cd JustWatch\n $ python setup.py build install\n\nTODO: I will upload pypi registry.\n\n\ud83d\udc40 Contribution\n-------------------\n\n1. Forks on `Github `__\n2. Find a bug? Send a pull request to get it merged and published.\n\n.. |forthebadge| image:: http://forthebadge.com/images/badges/made-with-python.svg\n :target: http://forthebadge.com\n.. |Build Status| image:: https://travis-ci.org/alice1017/JustWatch.svg?branch=master\n :target: https://travis-ci.org/alice1017/JustWatch\n.. |Coverage Status| image:: https://coveralls.io/repos/github/alice1017/JustWatch/badge.svg\n :target: https://coveralls.io/github/alice1017/JustWatch", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/alice1017/JustWatch", "keywords": "", "license": "MIT License", "maintainer": "", "maintainer_email": "", "name": "just-watch", "package_url": "https://pypi.org/project/just-watch/", "platform": "", "project_url": "https://pypi.org/project/just-watch/", "project_urls": { "Homepage": "https://github.com/alice1017/JustWatch" }, "release_url": "https://pypi.org/project/just-watch/1.0.0b1/", "requires_dist": null, "requires_python": "", "summary": "Python utility to watch the file modification only.", "version": "1.0.0b1" }, "last_serial": 3754517, "releases": { "1.0.0b1": [ { "comment_text": "", "digests": { "md5": "309f2f0fa4177cf034893b9f48a8b89f", "sha256": "f48a30fb7e2ad2d950af29b8657e5a73e639996b58a84fd44892e0ef46a07b78" }, "downloads": -1, "filename": "just_watch-1.0.0b1-py2.7.egg", "has_sig": false, "md5_digest": "309f2f0fa4177cf034893b9f48a8b89f", "packagetype": "bdist_egg", "python_version": "2.7", "requires_python": null, "size": 6955, "upload_time": "2018-04-11T06:16:15", "url": "https://files.pythonhosted.org/packages/ad/98/69896d114498d08a9b14d0bb0e972b0eed3993572a30b38776ab89bee75c/just_watch-1.0.0b1-py2.7.egg" }, { "comment_text": "", "digests": { "md5": "7762b6810ae53c2ce63408e62e96b0c1", "sha256": "10130481dfca382b8bf7b1c68babd6090229aa94da79602ec3edcc484d4860ed" }, "downloads": -1, "filename": "just-watch-1.0.0b1.tar.gz", "has_sig": false, "md5_digest": "7762b6810ae53c2ce63408e62e96b0c1", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3110, "upload_time": "2018-04-11T06:16:14", "url": "https://files.pythonhosted.org/packages/02/1b/747969b656549a292675d3628e6d88a3a1fd346c0d18e830f6f34f0691cc/just-watch-1.0.0b1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "309f2f0fa4177cf034893b9f48a8b89f", "sha256": "f48a30fb7e2ad2d950af29b8657e5a73e639996b58a84fd44892e0ef46a07b78" }, "downloads": -1, "filename": "just_watch-1.0.0b1-py2.7.egg", "has_sig": false, "md5_digest": "309f2f0fa4177cf034893b9f48a8b89f", "packagetype": "bdist_egg", "python_version": "2.7", "requires_python": null, "size": 6955, "upload_time": "2018-04-11T06:16:15", "url": "https://files.pythonhosted.org/packages/ad/98/69896d114498d08a9b14d0bb0e972b0eed3993572a30b38776ab89bee75c/just_watch-1.0.0b1-py2.7.egg" }, { "comment_text": "", "digests": { "md5": "7762b6810ae53c2ce63408e62e96b0c1", "sha256": "10130481dfca382b8bf7b1c68babd6090229aa94da79602ec3edcc484d4860ed" }, "downloads": -1, "filename": "just-watch-1.0.0b1.tar.gz", "has_sig": false, "md5_digest": "7762b6810ae53c2ce63408e62e96b0c1", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3110, "upload_time": "2018-04-11T06:16:14", "url": "https://files.pythonhosted.org/packages/02/1b/747969b656549a292675d3628e6d88a3a1fd346c0d18e830f6f34f0691cc/just-watch-1.0.0b1.tar.gz" } ] }