{ "info": { "author": "Rob O'Dwyer", "author_email": "odwyerrob@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 3 - Alpha", "Environment :: Console", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Natural Language :: English", "Operating System :: OS Independent", "Programming Language :: Python :: 2.6", "Topic :: System :: Logging", "Topic :: System :: Monitoring", "Topic :: System :: Shells", "Topic :: System :: Systems Administration", "Topic :: Text Processing", "Topic :: Utilities" ], "description": "A super easy console highlighter. Text goes in, color comes out. rad can be\nused to process the output of commands, or to highlight single files.\n\nHow it works\n------------\n\nrad will read the file given with ``--file/-f``, or stdin if omitted.\n\nHighlighting is specified with re-usable colorer files. Colorer files are\nwritten in `YAML `_. They contain a collection of rules like\nthis::\n\n \"regex\":\n fore: green\n back: black\n style: normal\n\nor this::\n\n regex: {fore: red, back: white, style: bright}\n\nand are stored in ``~/.rad/`` by default. The simplest way to use rad is to give\nit the names of one or more colorers, like so::\n\n $ echo \"this is a test\" | rad colorer1 colorer2\n\nand all rules in the colorers ``~/.rad/colorer1.yaml`` and ``~/.rad/colorer2.yaml``\nwill be applied to the input text in order!\n\nrad can also make these files for you interactively, using the ``--new/-n`` option::\n\n $ rad -n\n Colorer name for this rule: logs\n Pattern to match: ERROR\n Foreground color [white]: red\n Background color [black]: \n Style [bright]: \n\n $ tail -f log.txt | rad logs\n\nColorer files will be appended to, so you can quickly build a colorer with\na bunch of rules by running this a few times.\n\nRoadmap\n-------\n\nI plan on supporting the following in future releases of rad, while trying to\nkeep the usage and syntax super-simple at the same time:\n\n* Multi-line highlighting, using start and stop regexes (e.g. highlight between HTML script tags or in tracebacks)\n* Support for syntax highlighting using Pygments by giving a lexer/formatter for a multi-line rule\n* Support for 256 colors (using Fabulous...?)\n* Other awesome stuff depending on how people want to use it", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "http://github.com/robbles/rad", "keywords": null, "license": "MIT", "maintainer": null, "maintainer_email": null, "name": "rad", "package_url": "https://pypi.org/project/rad/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/rad/", "project_urls": { "Download": "UNKNOWN", "Homepage": "http://github.com/robbles/rad" }, "release_url": "https://pypi.org/project/rad/0.1.2/", "requires_dist": null, "requires_python": null, "summary": "A super easy console highlighter. Text goes in, color comes out.", "version": "0.1.2" }, "last_serial": 798429, "releases": { "0.1.0": [], "0.1.1": [ { "comment_text": "", "digests": { "md5": "0398b825cfc3b2a605bdaab7e94af2c5", "sha256": "99733a8e880c2f4204df3066fe750fc6619be3a9b3ce129bb4ed5ce898dcf312" }, "downloads": -1, "filename": "rad-0.1.1-py2.6.egg", "has_sig": false, "md5_digest": "0398b825cfc3b2a605bdaab7e94af2c5", "packagetype": "bdist_egg", "python_version": "2.6", "requires_python": null, "size": 10130, "upload_time": "2010-08-31T03:17:30", "url": "https://files.pythonhosted.org/packages/b2/cb/6a060befc6c78a8328c903bf7ca78eda912f52f68222c1a42cf9ed8ac5fa/rad-0.1.1-py2.6.egg" }, { "comment_text": "", "digests": { "md5": "099693bc231be693d28c8ecd16fbd8e2", "sha256": "d4a15faafd19016a4e9f3b87186fc156985839fe083b075ee80b37b962294e05" }, "downloads": -1, "filename": "rad-0.1.1.tar.gz", "has_sig": false, "md5_digest": "099693bc231be693d28c8ecd16fbd8e2", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4631, "upload_time": "2010-08-31T03:17:38", "url": "https://files.pythonhosted.org/packages/25/a0/662b6d49d7611daec0c7a3b2d489dbcd0c4a30fedd462bc7e23c30971de0/rad-0.1.1.tar.gz" } ], "0.1.2": [ { "comment_text": "", "digests": { "md5": "648353038e261d5840891a18efb29849", "sha256": "8f059611bf3543a0cef7fd24a99ed93bbd18e7ac470b932de28041440896c6dd" }, "downloads": -1, "filename": "rad-0.1.2-py2.6.egg", "has_sig": false, "md5_digest": "648353038e261d5840891a18efb29849", "packagetype": "bdist_egg", "python_version": "2.6", "requires_python": null, "size": 10148, "upload_time": "2010-10-25T19:38:55", "url": "https://files.pythonhosted.org/packages/6e/b1/48279c7c33e7ecb4cddbfee336d83f3696257c89e58c0db44d0867829dd3/rad-0.1.2-py2.6.egg" }, { "comment_text": "", "digests": { "md5": "131438434fd27efbcac9d01427d01e78", "sha256": "21aea84c55479b7b4987aac5b85f4917b3228720c5cfeada44c184515f9a6f47" }, "downloads": -1, "filename": "rad-0.1.2.tar.gz", "has_sig": false, "md5_digest": "131438434fd27efbcac9d01427d01e78", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4876, "upload_time": "2010-10-25T19:39:02", "url": "https://files.pythonhosted.org/packages/22/09/fd32b9ffac80e0de7fb4db8d493e93905a64b00cd050a33883e519d29aad/rad-0.1.2.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "648353038e261d5840891a18efb29849", "sha256": "8f059611bf3543a0cef7fd24a99ed93bbd18e7ac470b932de28041440896c6dd" }, "downloads": -1, "filename": "rad-0.1.2-py2.6.egg", "has_sig": false, "md5_digest": "648353038e261d5840891a18efb29849", "packagetype": "bdist_egg", "python_version": "2.6", "requires_python": null, "size": 10148, "upload_time": "2010-10-25T19:38:55", "url": "https://files.pythonhosted.org/packages/6e/b1/48279c7c33e7ecb4cddbfee336d83f3696257c89e58c0db44d0867829dd3/rad-0.1.2-py2.6.egg" }, { "comment_text": "", "digests": { "md5": "131438434fd27efbcac9d01427d01e78", "sha256": "21aea84c55479b7b4987aac5b85f4917b3228720c5cfeada44c184515f9a6f47" }, "downloads": -1, "filename": "rad-0.1.2.tar.gz", "has_sig": false, "md5_digest": "131438434fd27efbcac9d01427d01e78", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4876, "upload_time": "2010-10-25T19:39:02", "url": "https://files.pythonhosted.org/packages/22/09/fd32b9ffac80e0de7fb4db8d493e93905a64b00cd050a33883e519d29aad/rad-0.1.2.tar.gz" } ] }