{ "info": { "author": "Alex Honeywell", "author_email": "alex.honeywell@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 5 - Production/Stable", "Environment :: Console", "Intended Audience :: Developers", "Intended Audience :: System Administrators", "License :: OSI Approved :: GNU Library or Lesser General Public License (LGPL)", "Operating System :: OS Independent", "Programming Language :: Python", "Topic :: System :: Logging" ], "description": "h1. A log watcher written in Python\n\nAllows RegEx-based line matching for various actions.\n\nConfigs are JSON files of the following format:\n\nbc. [\n {\n \"regex\": \"\",\n \"action\": \"\"[,\n \"\": \"\"[, ...]\n ]\n }[, ...]\n]\n\nCurrently supported ConsoleUI actions:\n\n* *Print* (with colours!) - prints the line to stdout\n** additional arguments: _fore_, _back_, and _style_ (see \"colorama\":https://pypi.python.org/pypi/colorama for a list of supported values)\n\n* *Ignore* - ignores the input line\n\n* *Write* - write the line to a file. Multiple actions can write to the same file (_truncate_ must be the same).\n** additional arguments: _truncate_\n\n*Required action arguments:*\n* regex - the regular expression to match against\n* action - the action to perform if the regex matches a line from the input\n\n*Optional action arguments:*\n* continue - if set to true, matching will continue even if the action is called (default is false)\n\nh2. Example config for monitoring SASS output:\n\nbc. [\n {\n \"regex\": \"^>>>.*\",\n \"action\": \"Print\",\n \"fore\": \"GRAY\"\n },\n {\n \"regex\": \"^\\\\s+error.*\",\n \"action\": \"Print\",\n \"fore\": \"WHITE\",\n \"back\": \"RED\"\n },\n {\n \"regex\": \".*\",\n \"action\": \"Print\",\n \"fore\": \"YELLOW\",\n \"style\": \"DIM\"\n }\n]\n\n\nh3. Credits\n\n\"*colorama*\":https://pypi.python.org/pypi/colorama - Terminal output colours", "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/asoc/snakewatch", "keywords": "log,tail", "license": "LGPL", "maintainer": null, "maintainer_email": null, "name": "snakewatch", "package_url": "https://pypi.org/project/snakewatch/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/snakewatch/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/asoc/snakewatch" }, "release_url": "https://pypi.org/project/snakewatch/1.0.0/", "requires_dist": null, "requires_python": null, "summary": "snakewatch v1.0.0\nA log watcher", "version": "1.0.0" }, "last_serial": 1191665, "releases": { "1.0.0": [ { "comment_text": "", "digests": { "md5": "726abf0ce16d096e31fd5e138c0e8ea9", "sha256": "ab4d735daa95872cdc8294fbdd1410f37f6cbffe2e92891c97847a72b3028f17" }, "downloads": -1, "filename": "snakewatch-1.0.0.tar.gz", "has_sig": false, "md5_digest": "726abf0ce16d096e31fd5e138c0e8ea9", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 26530, "upload_time": "2014-08-15T16:58:12", "url": "https://files.pythonhosted.org/packages/ff/1c/d43219865f61c6ae6c8158ffaadb9bbf5a75d40cd65f290effe9dc01b0da/snakewatch-1.0.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "726abf0ce16d096e31fd5e138c0e8ea9", "sha256": "ab4d735daa95872cdc8294fbdd1410f37f6cbffe2e92891c97847a72b3028f17" }, "downloads": -1, "filename": "snakewatch-1.0.0.tar.gz", "has_sig": false, "md5_digest": "726abf0ce16d096e31fd5e138c0e8ea9", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 26530, "upload_time": "2014-08-15T16:58:12", "url": "https://files.pythonhosted.org/packages/ff/1c/d43219865f61c6ae6c8158ffaadb9bbf5a75d40cd65f290effe9dc01b0da/snakewatch-1.0.0.tar.gz" } ] }