{ "info": { "author": "Reinis Ivanovs", "author_email": "dabas@untu.ms", "bugtrack_url": null, "classifiers": [ "Development Status :: 3 - Alpha", "Environment :: Console", "Intended Audience :: Developers", "License :: OSI Approved :: BSD License", "Operating System :: POSIX", "Programming Language :: Python", "Topic :: Software Development", "Topic :: Utilities" ], "description": "repython\n========\n\nrepython is a utility to run a command and then restart it based\non filesystem changes. It's useful for quickly testing changes to a\nrunning program. For instance, Django uses a similar but more\nsophisticated method to reload its source code when it detects\na change.\n\nrepython uses the pyinotify library to make monitoring for changes\nefficient compared to just polling the filesystem.\n\nInstallation\n------------\n\nDependencies:\n\n * [pyinotify](https://github.com/seb-m/pyinotify)\n * [twiggy](http://hg.wearpants.org/twiggy/)\n\nYou can install the repython module using:\n\n $ python setup.py install\n\nrepython is also available from the Cheeseshop:\n\n $ pip install repython\n\nOr using setuptools:\n\n $ easy_install repython\n\nUsage\n-----\n\nBasic example:\n\n $ python -m repython \"python example.py\"\n\nThis would open the command in a subprocess and recursively monitor\nthe current working directory for any changed files matching the *.py\nfilename pattern (default behavior).\n\nrepython is not limited to running Python programs, so a command like\nthis should work as well:\n\n $ python -m repython \"ruby example.rb\" -p \"*.rb\" \"*.txt\"\n\nThe `-p` or `--pattern` arguments determine which file changes\ntrigger restarting the run command.\n\nThe `-d` or `--directory` arguments allow monitoring other directories\nthan the current working directory. It can be used like this:\n\n $ python -m repython \"python example.py\" -d . ~/example\n\nThis command would make repython recursively monitor (i.e., including\nsubdirectories) both the working directory and the\n`~/example` directory.\n\nThe `-v` or `--verbose` argument can be used to get more detailed\noutput from repython, and the `-q` or `--quiet` argument can be used\nto suppress repython output.\n\nFor more details please see:\n\n $ python -m repython --help\n\nKnown issues\n------------\n\n[Python issue #9338](http://bugs.python.org/issue9338) causes the\nargument order to be wrong in the generated usage instructions\n(shown when using the `--help` argument). The `command` argument should\ncome before the optional arguments for the tool to work.", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/slikts/repython", "keywords": "cli restart inotify monitor", "license": "BSD", "maintainer": null, "maintainer_email": null, "name": "repython", "package_url": "https://pypi.org/project/repython/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/repython/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/slikts/repython" }, "release_url": "https://pypi.org/project/repython/0.1.4/", "requires_dist": null, "requires_python": null, "summary": "Tool to restart commands based on filesystem changes", "version": "0.1.4" }, "last_serial": 798873, "releases": { "0.1": [ { "comment_text": "", "digests": { "md5": "8cc7d60bff8c10d05c9f3ec39de3d238", "sha256": "d0349ab4c43fcd5097db241b76e0a7b418ea46573a6e6a3dffa3f00d421aa950" }, "downloads": -1, "filename": "repython-0.1.tar.gz", "has_sig": false, "md5_digest": "8cc7d60bff8c10d05c9f3ec39de3d238", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3087, "upload_time": "2012-07-23T18:41:36", "url": "https://files.pythonhosted.org/packages/63/2e/88b3fae2ee6c499ba54f23ab98e67eed68b68e435b8a3eed94fd234c91a9/repython-0.1.tar.gz" } ], "0.1.1": [ { "comment_text": "", "digests": { "md5": "fea1bee520d950be2e5e71c7eff0e271", "sha256": "e287c7a037a7a8cacab4fdb3110186d5c7c1b806a2baa7289d92ccd458dcfa45" }, "downloads": -1, "filename": "repython-0.1.1.tar.gz", "has_sig": false, "md5_digest": "fea1bee520d950be2e5e71c7eff0e271", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3143, "upload_time": "2012-07-23T20:46:10", "url": "https://files.pythonhosted.org/packages/1b/9e/20e47199fa2bc6df7812c1d17dcf0dd26f31f24b7e45e2464fc4d1ce8d0a/repython-0.1.1.tar.gz" } ], "0.1.2": [ { "comment_text": "", "digests": { "md5": "99caf920eed3e5a8a9e3988d08e3c021", "sha256": "87f25accaad3b091975fa5beea728250d0937ea80f3dbf05f40cd3f39fcee4ef" }, "downloads": -1, "filename": "repython-0.1.2.tar.gz", "has_sig": false, "md5_digest": "99caf920eed3e5a8a9e3988d08e3c021", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3403, "upload_time": "2012-07-24T14:34:28", "url": "https://files.pythonhosted.org/packages/2b/8e/d517ad40ab566c33e825963412a7515fc0aca36fec6d55d9f3b2bf80bbed/repython-0.1.2.tar.gz" } ], "0.1.3": [ { "comment_text": "", "digests": { "md5": "fc5c9e47f2ae17391e05c7458c9da662", "sha256": "a654574f99fd4bfee060cfb011004d7357b4a6a50019952e0c1f497679ea05cb" }, "downloads": -1, "filename": "repython-0.1.3.tar.gz", "has_sig": false, "md5_digest": "fc5c9e47f2ae17391e05c7458c9da662", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3392, "upload_time": "2012-07-24T14:37:19", "url": "https://files.pythonhosted.org/packages/c2/ab/35e0b8d63a416fce231a01a9bce7630fb0e3cbb7d3a9389750c040c503d8/repython-0.1.3.tar.gz" } ], "0.1.4": [ { "comment_text": "", "digests": { "md5": "8395d33f1d67a86d6a7a2f746ab0c7f8", "sha256": "594ef21ea4fbf5ca13c3fb966caf153e3624957d42b237dc117fd00f7e34771e" }, "downloads": -1, "filename": "repython-0.1.4.tar.gz", "has_sig": false, "md5_digest": "8395d33f1d67a86d6a7a2f746ab0c7f8", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3381, "upload_time": "2012-07-24T14:45:15", "url": "https://files.pythonhosted.org/packages/5b/64/6513c5f3b35dfbad25dbb6cabfc5e19aebaddbcdf173f41613205bc38da9/repython-0.1.4.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "8395d33f1d67a86d6a7a2f746ab0c7f8", "sha256": "594ef21ea4fbf5ca13c3fb966caf153e3624957d42b237dc117fd00f7e34771e" }, "downloads": -1, "filename": "repython-0.1.4.tar.gz", "has_sig": false, "md5_digest": "8395d33f1d67a86d6a7a2f746ab0c7f8", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3381, "upload_time": "2012-07-24T14:45:15", "url": "https://files.pythonhosted.org/packages/5b/64/6513c5f3b35dfbad25dbb6cabfc5e19aebaddbcdf173f41613205bc38da9/repython-0.1.4.tar.gz" } ] }