{ "info": { "author": "Julien Antony", "author_email": "julien.antony@scopart.fr", "bugtrack_url": null, "classifiers": [ "Development Status :: 5 - Production/Stable", "Environment :: Console", "License :: OSI Approved :: GNU General Public License (GPL)", "Topic :: System" ], "description": "colorex is a powerful console tool that displays files highlighting some patterns with colors\n Copyright (C) 2011 http://www.scopart.fr\n \n This program is free software: you can redistribute it and/or modify\n it under the terms of the GNU General Public License as published by\n the Free Software Foundation, either version 3 of the License, or\n (at your option) any later version.\n \n This program is distributed in the hope that it will be useful,\n but WITHOUT ANY WARRANTY; without even the implied warranty of\n MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n GNU General Public License for more details.\n \n You should have received a copy of the GNU General Public License\n along with this program. If not, see http://www.gnu.org/licenses/gpl-3.0.txt.\n\nInstallation\n============\nif you haven't setuptools installed you can just copy the \"colorex\" script into your path (eg: /usr/local/bin)\ndon't forget to check that colorex is executable.\n\nelse:\npython setup.py install\n \nUsage\n=====\n colorex [options] [file1] [file2] ...\n\nDisplay files or sdtin with pretty colors for matched patterns. if you don't specify\nfiles, stdin is used.\n\nOptions\n=======\n--version show program's version number and exit\n--help, -h show this help message and exit\n--blue=BLUE, -b BLUE display BLUE pattern in blue\n--red=RED, -r RED display RED pattern in red\n--green=GREEN, -g GREEN display GREEN pattern in green\n--yellow=YELLOW, -y YELLOW display YELLOW pattern in yellow\n--magenta=MAGENTA, -m MAGENTA display MAGENTA pattern in magenta\n--cyan=CYAN, -c CYAN display CYAN pattern in cyan\n--bblue=BBLUE, -B BBLUE display BBLUE pattern in blue background\n--bred=BRED, -R BRED display BRED pattern in red background\n--bgreen=BGREEN, -G BGREEN display BGREEN pattern in green background\n--byellow=BYELLOW, -Y BYELLOW display BYELLOW pattern in yellow background\n--bmagenta=BMAGENTA, -M BMAGENTA display BMAGENTA pattern in magenta background\n--bcyan=BCYAN, -C BCYAN display BCYAN pattern in cyan background\n--blink=BLINK, -K BLINK display BLINK pattern blinking (not widely supported)\n--bold=BOLD, -D BOLD display BOLD pattern in bold\n--undrln=UNDRLN, -u UNDRLN display UNDRLN pattern underlined\n--bisounours, -N display with random colors\n\nRegular expressions are interpreted, so if you want to match a '*' or a '[' or any element of the regexp grammar\nyou have to escape it with a backslash.\n\nExamples\n========\nto display every word \"ERROR\" in red of foo.txt, type:\ncolorex --red ERROR foo.txt\n\nto watch logfile.txt displaying \"WARNING\" in yellow and \"INFO\" in green:\ntail -f logfile.txt | colorex -y WARNING --green INFO\nexit with CTRL c\n\nto display \"(\" and \")\" contained in foo.txt in blue: \ncolorex -b '\\(|\\)' foo.txt\n\nto diplay in red \"FATAL\" or \"ERROR\" and strings like [1234] or [4567] with red background, just type:\ncolorex -r 'ERROR|FATAL' -R '\\[[0-9]{4}\\]'\n\nanother case:\ntail -f /var/log/syslog | colorex -G '[0-9]{2}:[0-9]{2}:[0-9]{2}' -b $(hostname) -M '\\[[0-9]{1,5}\\]' -y root", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "http://www.scopart.fr/index.php/colorex/", "keywords": "log color logfile", "license": "GPLv3", "maintainer": null, "maintainer_email": null, "name": "colorex", "package_url": "https://pypi.org/project/colorex/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/colorex/", "project_urls": { "Download": "UNKNOWN", "Homepage": "http://www.scopart.fr/index.php/colorex/" }, "release_url": "https://pypi.org/project/colorex/2.0/", "requires_dist": null, "requires_python": null, "summary": "console tool that displays files highlighting some patterns with colors", "version": "2.0" }, "last_serial": 788303, "releases": { "2.0": [ { "comment_text": "", "digests": { "md5": "1123bec19951f297534d0d529ef391fc", "sha256": "6893d03698bec64a8010786f7b484464ccb18596e93e78ed4fae507ff51ff481" }, "downloads": -1, "filename": "colorex-2.0.tar.gz", "has_sig": false, "md5_digest": "1123bec19951f297534d0d529ef391fc", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4184, "upload_time": "2011-04-28T18:38:07", "url": "https://files.pythonhosted.org/packages/9c/8a/8c941536d6f6586a15467f7c891b29333745aff70ef2e7f1b55b4459a354/colorex-2.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "1123bec19951f297534d0d529ef391fc", "sha256": "6893d03698bec64a8010786f7b484464ccb18596e93e78ed4fae507ff51ff481" }, "downloads": -1, "filename": "colorex-2.0.tar.gz", "has_sig": false, "md5_digest": "1123bec19951f297534d0d529ef391fc", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4184, "upload_time": "2011-04-28T18:38:07", "url": "https://files.pythonhosted.org/packages/9c/8a/8c941536d6f6586a15467f7c891b29333745aff70ef2e7f1b55b4459a354/colorex-2.0.tar.gz" } ] }